Skip to main content

The human readable id generator library for python3

Project description

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?

  • Comparing 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 billion 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 has a very slim chance of collision.
  • Customizable structure for uuid, eg {adjective}{noun} or {number}{adjective}{noun}{verb}{adverd} or add whatever you want prefix, postfix

Credit

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hrid-0.3.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hrid-0.3.0-py2.py3-none-any.whl (24.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hrid-0.3.0.tar.gz.

File metadata

  • Download URL: hrid-0.3.0.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for hrid-0.3.0.tar.gz
Algorithm Hash digest
SHA256 09e3d0cb070814529ab6126f60903c08223430e611df8a519b6c9f0f2edbb102
MD5 cd1ff8c049dda9e7bcb2e35368dd815f
BLAKE2b-256 9b9b42e83e3b59349fab1b93855fcef709c12aae0c523fbebe379f25e93c2078

See more details on using hashes here.

File details

Details for the file hrid-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hrid-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for hrid-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 145dfb1d63d79b4655e4e852c485099ee010c070169386418d12d7d438b97920
MD5 7ea9acdcc2a135cedbc1448d37d894d4
BLAKE2b-256 ec6164259e47f57ebab485d57408aebacffdde5964e8e9f25edefe1691c6b3f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page