Skip to main content

Python Snowflake-style distributed ID generator: 64-bit sortable bigint IDs and UUIDv8-compatible 128-bit IDs for Postgres and MSSQL, with Django and cross-language ORM support.

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

Uploaded CPython 3.11Windows x86-64

heeranjid-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl (389.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: heeranjid-0.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 234.7 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.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 da25742bcee10990cc987da105310f69c275d5fa32a1eb124a53e43e228b7dbe
MD5 d03ba2008ecc4cb9a7545fa08429222d
BLAKE2b-256 c702430b2af45bcf4c603685493d33d911a841393923994a5490a94f96b61261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for heeranjid-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6a880f8055be261b56afa74adbfd408bbf18af8a5ffc00b5fdd883c9ecab2ba7
MD5 d13a6adf60fb4a0fa4f9ff80f195b0c5
BLAKE2b-256 a41c7065366aec42653fd2ba43909091da5dee097fc498b810ffc4e6941c049f

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