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 ?

  • 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

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.2.4.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

hrid-0.2.4-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for hrid-0.2.4.tar.gz
Algorithm Hash digest
SHA256 9b2808d275c628e2f72ef09228a902ef1b1f28f7206bece528fda9b6db872020
MD5 c3df2634bbcac86de0485dae415a5790
BLAKE2b-256 ad4469d8e7cb93947655003a9a31d8d5cd838653f241d747289eb9786a586cc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hrid-0.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.1 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.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a86cdfd6952ae5b84362c3c508a387d4936d1cf58b15321dab4d65cb196539a6
MD5 48beae54b548cd156e9077f1a3f267c7
BLAKE2b-256 fe7ca58a1eedc19ea41262ff946cd9dc6f4e27fc430e204eaf87cd8acf4bff08

See more details on using hashes here.

Supported by

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