Skip to main content

Native Python bindings for t-string structured data backends

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tstring_bindings-0.2.1.tar.gz (138.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tstring_bindings-0.2.1-cp314-abi3-win_amd64.whl (709.1 kB view details)

Uploaded CPython 3.14+Windows x86-64

tstring_bindings-0.2.1-cp314-abi3-manylinux_2_28_x86_64.whl (894.8 kB view details)

Uploaded CPython 3.14+manylinux: glibc 2.28+ x86-64

tstring_bindings-0.2.1-cp314-abi3-macosx_11_0_arm64.whl (795.9 kB view details)

Uploaded CPython 3.14+macOS 11.0+ ARM64

File details

Details for the file tstring_bindings-0.2.1.tar.gz.

File metadata

  • Download URL: tstring_bindings-0.2.1.tar.gz
  • Upload date:
  • Size: 138.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tstring_bindings-0.2.1.tar.gz
Algorithm Hash digest
SHA256 545a46b996e4ff423886cc25565c0e214cff2ee2114c2e6eeb2dc5a063ad5094
MD5 985cc049b7796d69e2d4ff8bebffd794
BLAKE2b-256 5035f08965e52e5f8a6466bebe357cce3c2b12ea862c12f9afed51d458a56923

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.2.1.tar.gz:

Publisher: publish-python.yml on koxudaxi/tstring-structured-data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tstring_bindings-0.2.1-cp314-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.2.1-cp314-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 07a5e994cd43f550fa99f6be27bdc1dcdea6b87c58bb26467c5ba0b20f67863a
MD5 e9929a428fae7560dde822fd642bb5a5
BLAKE2b-256 b3ea20558af7e0877831dc757acacbaf107057192d4885eafa54324162450112

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.2.1-cp314-abi3-win_amd64.whl:

Publisher: publish-python.yml on koxudaxi/tstring-structured-data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tstring_bindings-0.2.1-cp314-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.2.1-cp314-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 21eea3afa1a8754ee21c62963aebe7ac7e9bc38756bb451b3790f80cb0eb583b
MD5 0d09bdc6a2bfb00d71605d881060ede5
BLAKE2b-256 cd6f8b79ec118d9f6bb048ca7c8f06091ee9331b7870b8edaacdfa30e19236a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.2.1-cp314-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-python.yml on koxudaxi/tstring-structured-data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tstring_bindings-0.2.1-cp314-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.2.1-cp314-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5043190709c5de18b8a60e5bc1254ef034d9eedd5a6b68dbd46f70aef2fc9542
MD5 fb63a2635196769edec7f38692e710dc
BLAKE2b-256 5cfa4f30ab22572af55571743cb639228ca7ea57f5e9e0dbc3f093b1f7f4c3bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.2.1-cp314-abi3-macosx_11_0_arm64.whl:

Publisher: publish-python.yml on koxudaxi/tstring-structured-data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page