Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

tarka-rdf

Python bindings for tarka: turn Polars data frames, Parquet and CSV files into RDF with TARQL queries (SPARQL CONSTRUCT, as TARQL and oxi-gen run them) or OTTR templates (stOTTR), and run bOTTR mapping files. The engine is Rust; mapping runs release the GIL and use every core.

pip install tarka-rdf
import polars as pl
import tarka_rdf

m = tarka_rdf.Mapping.tarql_file("people.rq")                # a TARQL query
m = tarka_rdf.Mapping.ottr(["templates/"], ["ex:Person"])    # or OTTR templates: files or directories, root templates

df = pl.read_parquet("people.parquet")
triples = m.triplify(df)     # a DataFrame of N-Triples terms: subject, predicate, object
m.write(df, "people.ttl")    # Turtle, or format="ntriples" / "nquads" (with graph=…)
m.run_csv("people.csv", "people.ttl")                        # CSV in oxi-gen's dialect
shapes = m.shapes()          # SHACL shapes for what the mapping makes, as Turtle

tarka_rdf.expand(["templates/"], ["instances.stottr"], "people.ttl")    # OTTR instances, as Lutra does
tarka_rdf.bottr(["templates/"], ["people.bottr.ttl"], "people.ttl")     # bOTTR instance maps

Typed columns become typed literals for typed OTTR parameters (xsd:integer, xsd:date …), and list columns feed OTTR list parameters. A row with a value its parameter cannot take (n/a for an ottr:IRI) is left out, as bOTTR leaves out an instance: the rest is made, and a ValueError lists the rows left out, unless strict=False. The package is called tarka-rdf and imported as tarka_rdf, because tarka on PyPI is another project.

Licensed MIT OR Apache-2.0.

Metadata

Release files for tarka-rdf 0.31.0

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for tarka-rdf 0.31.0
File Size Uploaded Provenance Actions
tarka_rdf-0.31.0.tar.gz 1.0 MB With provenance Details for tarka_rdf-0.31.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tarka-rdf 0.31.0
File Actions
tarka_rdf-0.31.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for tarka_rdf-0.31.0-cp310-abi3-win_amd64.whl
tarka_rdf-0.31.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for tarka_rdf-0.31.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
tarka_rdf-0.31.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for tarka_rdf-0.31.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
tarka_rdf-0.31.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for tarka_rdf-0.31.0-cp310-abi3-macosx_11_0_arm64.whl
tarka_rdf-0.31.0-cp310-abi3-macosx_10_13_x86_64.whl CPython 3.10 abi3 macOS 10.13+ x86-64 Details for tarka_rdf-0.31.0-cp310-abi3-macosx_10_13_x86_64.whl

Total release size: 53.3 MB

Release files / tarka_rdf-0.31.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
61aa62d2ee4ec2fa068e7380ccc8b5b9e72662bbb851dca6757a77880a38b64e
BLAKE2b-256 checksum
How to use checksums
87ba12f4d73cec10e029fb808f118a51f42546648330e9c57a80228554e59fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tarka_rdf-0.31.0-cp310-abi3-win_amd64.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0-cp310-abi3-win_amd64.whl
Size 11.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e33efabe726a1b010c0805df7af15e55a0b7c2aaf9c6ce1b98010dd528f66410
BLAKE2b-256 checksum
How to use checksums
e91b91af13918d481ab76815e778c4445cf09d6cdbe33ec8bbb4e77cd828a76a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tarka_rdf-0.31.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 10.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
eae347edc02f453f953152c17031ccb923f62b8dd324e696bc99a708532382c9
BLAKE2b-256 checksum
How to use checksums
4ee84a3b3d4780b0f06896914468a714a5a88eede18515f46265b734251adfd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tarka_rdf-0.31.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 10.2 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
622885bb7c565487d5a6642c16344fe1d8e86452b807211b01993ed12655858b
BLAKE2b-256 checksum
How to use checksums
2c5f8f67ef17b3d0553a54e872744bbafaff9bc7ae9df85c993855956fd4667e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tarka_rdf-0.31.0-cp310-abi3-macosx_11_0_arm64.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0-cp310-abi3-macosx_11_0_arm64.whl
Size 9.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
40a11edb15b0cc85ec24378833e9a3daff13c8fba76dad13b9d52bb776d61ae5
BLAKE2b-256 checksum
How to use checksums
f60822fa63f3e6a42afd96a3b4838b64d8991bc83d13e3fec4411d07739a8a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tarka_rdf-0.31.0-cp310-abi3-macosx_10_13_x86_64.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL tarka_rdf-0.31.0-cp310-abi3-macosx_10_13_x86_64.whl
Size 10.5 MB
Tags CPython 3.10 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
66cf3a2ff202d28cc7cad1827bea3e1e94eb4dcaed370fea0fb3b8302f51e104
BLAKE2b-256 checksum
How to use checksums
f96203ab7e0bba17dc37e8b0a7a88fae4b17fe0defda1721c8a43e51d1d2c76e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for tarka-rdf 0.31.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Repository

Select from 6 files

Attestation for tarka_rdf-0.31.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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