Skip to main content

tstring-bindings

Native Python bindings for the tstring-structured-data backend family.

Requires Python 3.14+.

This package is a native PyO3 extension. Release automation currently publishes wheels for Linux x86_64 GNU, macOS Apple Silicon, and Windows x86_64. Other environments require a local Rust 1.94.0 toolchain build.

Public API

The public Python import is tstring_bindings.

Supported public functions:

  • render_json(template, profile="rfc8259")
  • render_json_text(template, profile="rfc8259")
  • render_toml(template, profile="1.1")
  • render_toml_text(template, profile="1.1")
  • render_yaml(template, profile="1.2.2")
  • render_yaml_text(template, profile="1.2.2")

Exported profile aliases:

  • JsonProfile = Literal["rfc8259"]
  • TomlProfile = Literal["1.0", "1.1"]
  • YamlProfile = Literal["1.2.2"]

Unknown profile strings raise ValueError in the public Python wrapper layer. The Rust extension also rejects unsupported profile strings defensively.

Internal Surface

This package also ships the extension submodule tstring_bindings.tstring_bindings, which is used internally by:

  • json-tstring
  • toml-tstring
  • yaml-tstring
  • tstring-core

That extension submodule is retained for packaging compatibility and internal imports, but it is not part of the public contract. Its underscore result-payload helpers remain private implementation details for the wrapper packages.

See also

Metadata

Release files for tstring-bindings 0.2.2

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

Source distribution (sdist)

Source distribution for tstring-bindings 0.2.2
File Size Uploaded
tstring_bindings-0.2.2.tar.gz 141.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tstring-bindings 0.2.2
File Interpreter ABI Platform
tstring_bindings-0.2.2-cp314-abi3-win_amd64.whl CPython 3.14 abi3 Windows x86-64 Details
tstring_bindings-0.2.2-cp314-abi3-manylinux_2_28_x86_64.whl CPython 3.14 abi3 Linux glibc 2.28+ x86-64 Details
tstring_bindings-0.2.2-cp314-abi3-macosx_11_0_arm64.whl CPython 3.14 abi3 macOS 11.0+ ARM64 Details

Total release size: 2.5 MB

Release files / tstring_bindings-0.2.2.tar.gz

Download URL tstring_bindings-0.2.2.tar.gz
Size 141.4 kB
Tags Source
SHA-256 checksum
How to use checksums
856196e5b6236ca841dad09fd6325099a38e84fc81145c8a2948adfa0d8f440d
BLAKE2b-256 checksum
How to use checksums
c55e67bca109ea65df783fc46f5de01204b32a1679ba3f5b5c5f7b6ce8afc30c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 2, 2026.

Transparency log

Release files / tstring_bindings-0.2.2-cp314-abi3-win_amd64.whl

Download URL tstring_bindings-0.2.2-cp314-abi3-win_amd64.whl
Size 709.9 kB
Tags CPython 3.14 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ccfb2a085c07f8042f8cc0efc88087b2f04dc80e4ed10f56252aa4bd17da00fb
BLAKE2b-256 checksum
How to use checksums
831d1d15635c6935c088e7117cabcb9c4ec67d0e84de907fd761a3a816c2cc6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 2, 2026.

Transparency log

Release files / tstring_bindings-0.2.2-cp314-abi3-manylinux_2_28_x86_64.whl

Download URL tstring_bindings-0.2.2-cp314-abi3-manylinux_2_28_x86_64.whl
Size 896.0 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
41059a4b5d9342d43d16f6dae8b9827112e2311ea1601b484e4f838df592854b
BLAKE2b-256 checksum
How to use checksums
1b278c303cc07a529a550a5afb9f6bd19c49eb7d39fe3176d3ca8e4f6309457c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 2, 2026.

Transparency log

Release files / tstring_bindings-0.2.2-cp314-abi3-macosx_11_0_arm64.whl

Download URL tstring_bindings-0.2.2-cp314-abi3-macosx_11_0_arm64.whl
Size 796.0 kB
Tags CPython 3.14 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
229953c56f21f52e7fbff879909fe96f76cd131bf281262ef9973bf1951a29a2
BLAKE2b-256 checksum
How to use checksums
44f9bb3785f409fcc0f05bb09c2fca82748e245599bb1bac0055e5473ec09009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

4 release files

0.2.1

4 release files

0.2.0

4 release files

0.1.1

4 release files

0.1.0

4 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