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

Uploaded CPython 3.11Windows x86-64

heeranjid-0.3.5-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.5-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: heeranjid-0.3.5-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.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9b70ce2d8d710a8ba0f97ba37b9d7b810f773da7978d2a2023480133b0224457
MD5 d0aa8970e48763dcf818448554b0416e
BLAKE2b-256 a09dc77e43bdbe4dfc06e90963eb5bf9a8deab284c79f925ad1c9a57eae811ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heeranjid-0.3.5-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 eb18021b6605681f61c23a216abbd575e38f2320c0eebbde64152b16a0d4d89c
MD5 4fe9c060d16705490b2cedcd4de823a7
BLAKE2b-256 ddac00f3832d07282416803a3d94e82b64df327eb852c010edeb37c98083b782

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