Skip to main content

32-character RFC 4648 lowercase Base32 IDs

Project description

ID32

No more ugly IDs!

ID32s look like: m6ov3liumm6trqulojtj6yselragllbg

  • 32 lowercase characters of RFC 4648 Base32 (a-z2-7)
    • represents 20 bytes (160 bits) of randomness
  • Easily double-clickable (no hyphens or underscores)
    • NanoID: 0klp0QFYiS_dOUzhF-y_g
    • UUID: 10dd71ca-6030-407b-89a4-55c4e11006cd
    • ID32: trhfnnxkrotlcc3gluyl4mqr6aomt4e7

The code is essentially the same as Nanoid, and is available on NPM, [PyPi] and Cargo.

Installation

pip install id32

Usage

from id32 import id32

id32() # h3uu3spo3skwzidi62gk6vzfr4ifxsf3

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

id32-1.1.1.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file id32-1.1.1.tar.gz.

File metadata

  • Download URL: id32-1.1.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for id32-1.1.1.tar.gz
Algorithm Hash digest
SHA256 789a196d4e891b37f39f238d1125589532601be312dcf56a06b4c87a1d92e37a
MD5 4a2d2cbf7915d2d7ab76170f37947018
BLAKE2b-256 c41200864360fc0778814889ca7efee18e9956abb085787b71fed5f2bb39481b

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