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 identifiers
  • RanjId for UUIDv8-compatible external identifiers
  • 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 Distribution

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

heeranjid-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (333.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

File hashes

Hashes for heeranjid-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ca6c182509a05614a88dd012d9dcca09d116c321f11e0c95d1c9e96450e156b5
MD5 83b0d9d540e5c857ace713164068f12f
BLAKE2b-256 1b1e6304eea6e47c54541b5e1a72f94b3a5408f8e90ac7aaa181f93d9081e41b

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