Skip to main content

Distributed ID generation — HeerId (64-bit) and RanjId (128-bit UUIDv8) with configurable precision

Project description

heeranjid

HeerRanjId ([ɦiːɾ.ɾaːnd͡ʒ.ɪd])

Python bindings for the core HeerRanjId types.

The package exposes:

  • HeerId for compact 64-bit Snowflake-style identifiers
  • RanjId for UUIDv8-compatible 128-bit identifiers with sub-millisecond precision
  • bundled SQL assets used by higher-level integrations
from heeranjid import HeerId, RanjId

hid = HeerId(42)
rid = RanjId.from_str("00000000-0000-8000-8007-a120006400c8")

When building from a git checkout, initialize submodules first:

git submodule update --init --recursive

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

heeranjid-0.3.3-cp311-cp311-win_amd64.whl (237.2 kB view details)

Uploaded CPython 3.11Windows x86-64

heeranjid-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl (388.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

Details for the file heeranjid-0.3.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: heeranjid-0.3.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 237.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for heeranjid-0.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 27b146a3574e6b1ef9a2ed25521e23b3be5442d26c1e52bf6c9283cab7ddb195
MD5 a7a0b5559723c3566f74ba47f7998a1e
BLAKE2b-256 3d892c087eda1e333e353d706ddf0646b51244486af67478d4c3c47b9227b917

See more details on using hashes here.

File details

Details for the file heeranjid-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for heeranjid-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 fbc6ad9d6e1d4e88ae274a29289ea8a448eba77815758248f175f21a43478664
MD5 98bbd1e0cd410a0e7eef24166b21737b
BLAKE2b-256 33612d43a47bd7f6049fba70e245220d406007964552b9a12e8162eb986a7baa

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