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.1.tar.gz (26.8 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.1-py2.py3-none-any.whl (24.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: hrid-0.3.1.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hrid-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ee75a3ec02f3078c3779d1af9ae59fed6af17d8e178f012d6f46110182eb4a2d
MD5 baa152e65fc06ee43b74f436c0f80dcb
BLAKE2b-256 2b2f7644ddcaec6a8a80ef331f5458853801cd4dfa791fa1cbe4a0d93c8d2892

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hrid-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hrid-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b5b82241e4a2f55cca8f282412ab7815a914ea08f88e224617e320caacbeb49
MD5 7c7b418946d219583835cf5316183fd9
BLAKE2b-256 3bd4f31fa825fccc5a898066f4fc3acf802538bfe7950c23b967e72438932668

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