Metadata-Version: 2.4
Name: hdtkit
Version: 0.2.1
Requires-Dist: pytest>=8 ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Convert between RDF Turtle (.ttl) and HDT (.hdt) — ttl2hdt, hdt2ttl, hdtcat.
License: MIT
Requires-Python: >=3.12, <3.14
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/Shyam-Sundar-Reddy/hdtkit
Project-URL: Repository, https://github.com/Shyam-Sundar-Reddy/hdtkit

# hdtkit

An importable Python package to convert between RDF Turtle (`.ttl`) and HDT (`.hdt`):

- `.ttl` → `.hdt`
- `.hdt` → `.ttl`
- combine two or more `.hdt` files into one

No CLI — `import hdtkit` is the interface.

## Install (dev)

```bash
pip install -e ".[dev]"
```

## Usage

```python
from hdtkit import ttl2hdt, hdt2ttl, hdtcat

ttl2hdt("graph.ttl", "graph.hdt")
hdt2ttl("graph.hdt", "graph.ttl")
hdtcat(["a.hdt", "b.hdt"], "combined.hdt")
```

## Status

Early scaffold. The public API shape above is stable, but conversion is not
implemented yet — each function currently raises `NotImplementedError`. The
conversion core is being built in Rust (exposed via PyO3); see `phase.md` for
the build plan (not tracked in this repo).

