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

Uploaded CPython 3.11Windows x86-64

heeranjid-0.3.6-cp311-cp311-manylinux_2_34_x86_64.whl (390.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: heeranjid-0.3.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 241.0 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.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a49beb85c22a90fe410f727c92116e94e53564e23e40cf801863d9863e25b344
MD5 2d589749981623c045eb70039cc6c562
BLAKE2b-256 99fa0d5523cebda9c3c11b78d763da656774a5f6804eebfbae4c4e8b674d633a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heeranjid-0.3.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7bffecf13c1a805a41179342d40e4d1cd5ef92d51e2dea550b00562c67a00095
MD5 d015479c8b7124472e27962cccff9c09
BLAKE2b-256 85536869d4b013c86d789f133833a4d2c0a24fef56ee1fef6eb8ec25221f1dfe

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