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.1.tar.gz (137.1 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.1-cp314-abi3-win_amd64.whl (708.3 kB view details)

Uploaded CPython 3.14+Windows x86-64

tstring_bindings-0.1.1-cp314-abi3-manylinux_2_28_x86_64.whl (894.4 kB view details)

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

tstring_bindings-0.1.1-cp314-abi3-macosx_11_0_arm64.whl (794.5 kB view details)

Uploaded CPython 3.14+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: tstring_bindings-0.1.1.tar.gz
  • Upload date:
  • Size: 137.1 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.1.tar.gz
Algorithm Hash digest
SHA256 a4906d0f44bc2207c97e15355c80435fdc8750ec2f6976ea4c16fc03e3ef9d6e
MD5 d8576e8c5a9e3a193fa9c08030eeb21a
BLAKE2b-256 19945ce57619a92046bfb08ed17ecad5692f2277ebfa2e2372921e6a67c26acf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tstring_bindings-0.1.1-cp314-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bd62c1b57b6156af006ee9dac272d96dc6d037d3f0cf46c17de0191ef818c69c
MD5 116be849b97229db4fb3a0a08997f35d
BLAKE2b-256 68eda057396d57629ec91ad88a04f16c1661e0b1e89638d60d0cf0a008ecf5e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tstring_bindings-0.1.1-cp314-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc0b90064024bbd4bf6c90fe06003c138eb167f037feebf96ecb08500fb9bf75
MD5 5443dd08b538c0b09d26bf9cabf2efca
BLAKE2b-256 a96ab3724158219fbd9c31cf9ed185eca6a3613723bf94509388d1e4d9ed4995

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tstring_bindings-0.1.1-cp314-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f1fbe38321d057eee64213a9bc9acdb4df907743910e5d8deedfd19947940d44
MD5 3a3eb9af1421755a68a637a6b2829897
BLAKE2b-256 d80dc7ab424f4c97212d131d24b4003c225420208c6540f44e971aa1d4f2d65b

See more details on using hashes here.

Provenance

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