django-hashids icon indicating copy to clipboard operation
django-hashids copied to clipboard

Python-hashids is being depreciated in favor of python-sqids

Open gabn88 opened this issue 2 years ago • 2 comments

The old hashids package is replaced by sqids (https://sqids.org/python).

Although this happened very recently I wanted to open this issue to discuss the path forward for the django-hashids package.

What are your thoughts on this?

I'm in favor of making the default "hashid" library used a setting, for example: "HASHID_LIBRARY_USED", which can be hashids or sqids or something else.

gabn88 avatar Sep 06 '23 11:09 gabn88

Thanks for the heads up. That's a good suggestion, I'll look into it later.

ericls avatar Sep 06 '23 19:09 ericls

@gabn88 thank you for bringing this new library to my attention. I've always preferred this project over the alternative (django-hashid-field) so I went ahead and forked this project and adapted it to Sqids: https://github.com/julianwachholz/django-sqids - feel free to check it out :)

julianwachholz avatar Jan 28 '24 12:01 julianwachholz