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

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.1
File Size Uploaded
hdtkit-0.2.1.tar.gz 16.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for hdtkit 0.2.1
File
hdtkit-0.2.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
hdtkit-0.2.1-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
hdtkit-0.2.1-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.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64, macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64) Details
hdtkit-0.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
hdtkit-0.2.1-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
hdtkit-0.2.1-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.1-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+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64 Details

Total release size: 12.7 MB

Release files / hdtkit-0.2.1.tar.gz

Download URL hdtkit-0.2.1.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c0dc6edc501aed86b2143c5a9c9843bc1c4bc9b54a07685a76998da6e4e4a2b2
BLAKE2b-256 checksum
How to use checksums
8786d1aab3bc3bd4bf011fe5fd4e2be5c8133c295b009598af9c2accd99b7ecb
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.1-cp313-cp313-win_amd64.whl

Download URL hdtkit-0.2.1-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
edd509114e694dc71aa6275d89d1e73cd23b80c18435bfef2631c163492c52c7
BLAKE2b-256 checksum
How to use checksums
034fc790ffb883a1121c4fc8db2e7c9d59b4ddada03a3868341a0f2579ea5df6
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.1-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL hdtkit-0.2.1-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.6 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
5f0bce659ec9ecc7336f59fcaea0ac547e56bb0506d8b79dace73eb2076e7f84
BLAKE2b-256 checksum
How to use checksums
4a6e40b72f632f5426fdf1de8293c9f20756f3036b93ce7da895cfe2fb8717a6
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.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hdtkit-0.2.1-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
2c5e554e1c1f843818b02855fbcf86337f3881e7eef8a0be3df20e94a5f8a18a
BLAKE2b-256 checksum
How to use checksums
303562dcf53109153677fbf7e261b3ef511d62d926e17774c68a8010232a5d07
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.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL hdtkit-0.2.1-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
2a21da777c04eae37d943cb4a7c5f5f76290d82ea22691db4b994ae8f5c3bf52
BLAKE2b-256 checksum
How to use checksums
6fd8586c43d46225e544d96c58ab99ef0da5b828c221cf469a0acd8cdf68245a
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.1-cp312-cp312-win_amd64.whl

Download URL hdtkit-0.2.1-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
ab1c6398bd6aadd637db8a6c1d5b788f1e71f1841a6af9c892520f4b47af5c3c
BLAKE2b-256 checksum
How to use checksums
6345b658ee285114e5b58cbcc51b460974eb534eb5602431c0dc21de871f5af7
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.1-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL hdtkit-0.2.1-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.6 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
14d57306d92b21afd9cebef8943967e478497fd24a693c425b4d7160dc5a3160
BLAKE2b-256 checksum
How to use checksums
1ef5d7765e8cd18bb4f5c675c01a99aced41721ffb64803b9efd050dbfe07d70
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.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hdtkit-0.2.1-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
eb617c0cc559e4210585be3307c86965bbd4787c83373f49b03118baa51d9a51
BLAKE2b-256 checksum
How to use checksums
339f77bdffbe04075e28af6f387ff6c5fa3967c0c37b9332c5bd390ec633e0ac
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.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL hdtkit-0.2.1-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
1de8ae18eb837b2d9c28c7351152a723e6b3d8fd296522f841660fe2dc62d81a
BLAKE2b-256 checksum
How to use checksums
a8e67b2dc38ca66eca7cd21b79ee40809dc6e069286d2c50ae2da24152f645d4
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

This release

0.2.1 This release

9 release files

0.2.0

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