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

Uploaded CPython 3.11Windows x86-64

heeranjid-0.1.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: heeranjid-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 185.3 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.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cee07578b8bb5c1548424953732dd8a4aa6d36a7e6bdc7215301a731991aff2d
MD5 f826849ce37db1faa952e7f5b8758b8b
BLAKE2b-256 fab7c12a1c9514f8f4793570fd467fabb59e9e14b7ad0af3d72c7ae4766bcb47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heeranjid-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 eeac6b57a7c5b3a3a1f193cea878f336de2a41d6fb455f4b5965b4d6c83c33f2
MD5 e641d1743a47bb602449cdd0173040c3
BLAKE2b-256 bb98b8e997a0e5350c4661bac516f9a4a00d745ec2fcbcfde800363fb77d6f78

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