Metadata-Version: 2.4
Name: heeranjid
Version: 0.5.0
Classifier: License :: OSI Approved :: MIT License
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Dist: pytest>=8.0 ; extra == 'dev'
Requires-Dist: maturin>=1.0 ; extra == 'dev'
Provides-Extra: dev
Summary: 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.
Keywords: snowflake,uuid,id-generator,postgres,mssql,django
Author: Tarunvir Bains
License-Expression: MIT OR Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/TarunvirBains/HeeRanjID
Project-URL: Issues, https://github.com/TarunvirBains/HeeRanjID/issues
Project-URL: Repository, https://github.com/TarunvirBains/HeeRanjID

# 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

```python
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:

```bash
git submodule update --init --recursive
```

