How to use numbers only in alphabet
See original GitHub issueI use
hashids = Hashids(salt="hello", min_length=6, alphabet='0123456789')
But “Alphabet must contain at least 16 unique characters.” execption raised.
Why Alphabet must contain at least 16?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Only alphabets, numbers and Period to be allowed in textbox
I have 2 asp.net text box in which I want to check that only alphabets, numbers and period character can be used.
Read more >javascript - Allow numbers only after some alphabet?
I need to make sure that a certain field only takes numbers as after some default alphabetic characters Like XXX-XX-1234. Here XXX-XX- are ......
Read more >JavaScript: HTML Form - checking for numbers and letters
Javascript function to check if a field input contains letters and numbers only.
Read more >password should have alphabets & numbers only example ...
password should have alphabets & numbers only example meaning in Hindi बिल्कुल शुरुआत से घर बैठे इंग्लिश ...
Read more >Convert number to letters and letters to numbers by ... - YouTube
This video explains, how to convert capital and small alphabets into numbers and numbers to alphabets.We can use Code Function and Char ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would I be right in saying that this would simply be a case of removing the raise exception on line 194? Or is there more to it than that?
Apologies for the long silence here.
Yes, the limitation exists for compatibility with JS. I don’t have any strong opinions on that though, and if there’s interest I’d be happy to accept a PR that removes the limitation.
Thanks!