hrid

The human readable id generator library for python3


Keywords
human, identity, name, naming, uuid, uuid-generator
License
MIT
Install
pip install hrid==0.2.2

Documentation

N|Solid

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 ?

  • Comaparing to UUID, hrid is extremely easy to remember, that why this package named human readable, example red-bird-fly-crazily versus 206dbaab-526b-41cd-aa6f-7febd82e83ab.
  • Over 800 bilions alphabet hrid can be generated by default (or many more if include more factor to format). In the other hand, with a large numbers of ids, This library can guarentee that the uuid mostly not occur twice.
  • Customizable structure for uuid, eg {adj}{noun} or {number}{adj}{noun}{verb}{adverd} or add whatever you want prefix, postfix

Credit

License

MIT