HRID: Human Readable Identifier
The Human Readable ID Generator Library For Python3
Usage
Install
pip3 install hrid
Use in Python code
from hrid import HRID
hruuid = HRID()
uuid = hruuid.generate()
print(uuid)
Why HRID ?
- Comapareing to UUID, it's extremely easy to remember, that why this package named
human readable
, examplered-bird-fly-crazily
versus206dbaab-526b-41cd-aa6f-7febd82e83ab
. - Over 800 bilions alphabet uuid can be generated by default (or many more if include more element). In the other hand, this library can guarentee that rarely, the uuid will be generated twice .
- Customizable structure for uuid, eg {
adj
}{noun
} or {number
}{adj
}{noun
}{verb
}{adverd
} or add whatever you wantprefix
,postfix