Skip to main content

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)

pip install -e ".[dev]"

Usage

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).

Metadata

Release files for hdtkit 0.2.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 hdtkit 0.2.0
File Size Uploaded
hdtkit-0.2.0.tar.gz 16.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for hdtkit 0.2.0
File
hdtkit-0.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
hdtkit-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
hdtkit-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
hdtkit-0.2.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.13 CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 Details
hdtkit-0.2.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
hdtkit-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
hdtkit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
hdtkit-0.2.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64, macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64) Details

Total release size: 13.5 MB

Release files / hdtkit-0.2.0.tar.gz

Download URL hdtkit-0.2.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d2afe421ddd10bcbc24d88e996367417a8487aab5d7895b49f04c1a513c48cf9
BLAKE2b-256 checksum
How to use checksums
7c2bf294e963a6e28f6614b87968c1b3aae66c43df1970328907bd263695c48e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp313-cp313-win_amd64.whl

Download URL hdtkit-0.2.0-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c349b29c9c39df1dbb4dda4cde013c7f9041ea3bf53b78bc6cdfbf790ac3b947
BLAKE2b-256 checksum
How to use checksums
2d8222a50991e1731ae9f8c759918ba0dbd2ba56cb64dafc5fe65e907a5f8ca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL hdtkit-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.9 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
63e86d759f09b011a3dcf7f3e600060bfa1f418a03ac5dc9a8eb9fddbc657d21
BLAKE2b-256 checksum
How to use checksums
ca921a63b8d5dd4e3bcea50557a138fc5ecda87801deeec1c828c776f08f4ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hdtkit-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
575445591e66b33a43d8601f0c1f8537b45d1e2c1dc6d34885f6be1568c11424
BLAKE2b-256 checksum
How to use checksums
d8a853bfe2dc5cb7d3e6b10d9c0af484ec4a6d08ccfdfec946bb887808ef0d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL hdtkit-0.2.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 2.4 MB
Tags CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2701c02305f7a868af23716570a3d807a36e673b4fbd9a07f225ca4103abb98d
BLAKE2b-256 checksum
How to use checksums
ccebf0664a41df17c8362dea5bcf2bd87c7544547be2b3c27a4741303af15b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp312-cp312-win_amd64.whl

Download URL hdtkit-0.2.0-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a55fd708f19c5cb1ca4a4428d9395429d58af4d6169ad5c096b782c0a9d0b76d
BLAKE2b-256 checksum
How to use checksums
16c270e4c8c1950c4681bdb59244c6afc7d1f334dfe278aeb480af4e692846c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL hdtkit-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
1fe7f5c001bee298c395e0d5e00d31fda2d15846395450780da240a8993bf734
BLAKE2b-256 checksum
How to use checksums
5b693cb9c7b9c0c51035735ab75db701bbf3fa35d922a4538a7e450e744ebe67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hdtkit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4513d5acdb1e0433f6ffc9971501d57cbcbd4119374f65d33df75905312b51bc
BLAKE2b-256 checksum
How to use checksums
aecc3f4f0679a2fa825d539b643bb0bd287a3ba942228d094f1f6436cfdaf177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hdtkit-0.2.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL hdtkit-0.2.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 2.4 MB
Tags CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ad6bfd3ee4ab01ed0a53508ef8cddce1c50fe0aa11bfe7e3c3273e3f917e7652
BLAKE2b-256 checksum
How to use checksums
035846158caa6d6baae62c4aef47f04303a55c31c2b52d5d3132a66c30fbdc57
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.2.1

9 release files

This release

0.2.0 This release

9 release files

0.1.0

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