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.1.0.tar.gz (131.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.1.0-cp314-abi3-win_amd64.whl (706.1 kB view details)

Uploaded CPython 3.14+Windows x86-64

tstring_bindings-0.1.0-cp314-abi3-manylinux_2_28_x86_64.whl (893.0 kB view details)

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

tstring_bindings-0.1.0-cp314-abi3-macosx_11_0_arm64.whl (794.3 kB view details)

Uploaded CPython 3.14+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: tstring_bindings-0.1.0.tar.gz
  • Upload date:
  • Size: 131.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.1.0.tar.gz
Algorithm Hash digest
SHA256 28eb918825b04d109f2967001bbc0dc4f46756c2809b84fb5f971cc69b4fefe7
MD5 53a105a823b6dd8239ff3fb986cfa4b3
BLAKE2b-256 8587878c64fbc8c4ab618dc45faa5f66c8dd9a2ad11797c98fca99b78e2c0ede

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.1.0.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.1.0-cp314-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.1.0-cp314-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 37224b007df474472163ae44258f8a58c2146a3fa97fe844cad1165d5c7993ae
MD5 0211eac85e360898f3c89de0aa7ed539
BLAKE2b-256 03234c131dd80c902ec4efad46bc5fb8feedd631f1bd1b0d71efc84de97f1826

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.1.0-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.1.0-cp314-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.1.0-cp314-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ee15592224b1f8949dd20f42061a3accda1b70c89e2a892fad7421747a54b08
MD5 db0bed4a290da53fb3e1987db1107409
BLAKE2b-256 66a943cf0cf14e25ce069d14872bc469c50edad748add703a851def1c31a3e7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.1.0-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.1.0-cp314-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tstring_bindings-0.1.0-cp314-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c38e64f0566394e7d1d386d33118138bbf679d9d7029c1594a5f333189c368fc
MD5 d2158071b93f12d823c05ef2cae5cc0c
BLAKE2b-256 90ff699b92eab89a0a908c6ceb41bd9e48cd087d7cbf0f53c5b437a122ef1674

See more details on using hashes here.

Provenance

The following attestation bundles were made for tstring_bindings-0.1.0-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