Skip to main content

pyhdtkit

A pure-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 pyhdtkit is the interface. No Rust, no native extension.

Install (dev)

pip install -e ".[dev]"

Usage

from pyhdtkit import ttl2hdt, hdt2ttl, hdtcat

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

Status

Base scaffold. The public API shape above is stable, but conversion is not implemented yet — each function currently raises NotImplementedError.

Metadata

Release files for pyhdtkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhdtkit 0.1.0
File Size Uploaded
pyhdtkit-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhdtkit 0.1.0
File Interpreter ABI Platform
pyhdtkit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / pyhdtkit-0.1.0.tar.gz

Download URL pyhdtkit-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
631662bd4da2bd23d90bacf259dec9e288c1941807e11288adb6e971b4930e04
BLAKE2b-256 checksum
How to use checksums
43c5e444b3fac6b094cebbdfc5ea1bb35ba8f716ceff680f98faf08395780978
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pyhdtkit-0.1.0-py3-none-any.whl

Download URL pyhdtkit-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01b44790eecbc4518de3f849ca8f8699228d26ddcbbec641434e8bcfa91627ea
BLAKE2b-256 checksum
How to use checksums
c5168ead4d8de0b23ebf32616983463626df362d6ac7b97fd66675a004734fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page