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.1-cp311-cp311-win_amd64.whl (236.9 kB view details)

Uploaded CPython 3.11Windows x86-64

heeranjid-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl (387.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: heeranjid-0.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 236.9 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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 49745b2a7db3217288199cd5b7a1572a998946f66eb09da137d3f0ecd32ef3d1
MD5 d1dc51fa0412e4fa43cc3f13228ce71e
BLAKE2b-256 9304e35a46e9c34439aa4d0cd1eb36a048035ab52dc8c6ec2c8f53cb2a2bd51b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heeranjid-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f643bed7826fcdf9d1cc73fe8fa2bccbba43c6679d50e767bf834877bf142bec
MD5 2de7e8aebec5e5c7088f91026079f7cc
BLAKE2b-256 1bb76f286aaf5802212d37b4991f8d459c33195b31b90ded90a95fddc5bfc597

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