Metadata-Version: 2.4
Name: heeranjid
Version: 0.3.6
Classifier: License :: OSI Approved :: MIT 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: Distributed ID generation — HeerId (64-bit) and RanjId (128-bit UUIDv8) with configurable precision
Keywords: distributed,id,uuid,snowflake,heerid
Author: Tarunvir Bains
License-Expression: MIT
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
```

