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-tstringtoml-tstringyaml-tstringtstring-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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tstring_bindings-0.2.0.tar.gz.
File metadata
- Download URL: tstring_bindings-0.2.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b7fd087813c4c02c22d5292289cb77382a439db0b8b5352d442086c3962ffb3
|
|
| MD5 |
74a0901a510d612c4016dabe2d9ff4f1
|
|
| BLAKE2b-256 |
4380a8029c6f3543ea99baaa20acab9c59b7859cab56e62d263a2b372e3a1e43
|
Provenance
The following attestation bundles were made for tstring_bindings-0.2.0.tar.gz:
Publisher:
publish-python.yml on koxudaxi/tstring-structured-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tstring_bindings-0.2.0.tar.gz -
Subject digest:
9b7fd087813c4c02c22d5292289cb77382a439db0b8b5352d442086c3962ffb3 - Sigstore transparency entry: 1124430202
- Sigstore integration time:
-
Permalink:
koxudaxi/tstring-structured-data@05fa824a105cb87e90662f465cd0d744314fa863 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@05fa824a105cb87e90662f465cd0d744314fa863 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tstring_bindings-0.2.0-cp314-abi3-win_amd64.whl.
File metadata
- Download URL: tstring_bindings-0.2.0-cp314-abi3-win_amd64.whl
- Upload date:
- Size: 708.7 kB
- Tags: CPython 3.14+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da248f460f70f6f25d88a99b0d1321e773900bd2843630ecaf7d3818276fdc5e
|
|
| MD5 |
1a36364d28e1eff39283cd3da0477d7f
|
|
| BLAKE2b-256 |
ef986d3710b2368f9d9eef044b6701aff514181da7a3d44c539834f89c48361d
|
Provenance
The following attestation bundles were made for tstring_bindings-0.2.0-cp314-abi3-win_amd64.whl:
Publisher:
publish-python.yml on koxudaxi/tstring-structured-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tstring_bindings-0.2.0-cp314-abi3-win_amd64.whl -
Subject digest:
da248f460f70f6f25d88a99b0d1321e773900bd2843630ecaf7d3818276fdc5e - Sigstore transparency entry: 1124430265
- Sigstore integration time:
-
Permalink:
koxudaxi/tstring-structured-data@05fa824a105cb87e90662f465cd0d744314fa863 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@05fa824a105cb87e90662f465cd0d744314fa863 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tstring_bindings-0.2.0-cp314-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tstring_bindings-0.2.0-cp314-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 895.1 kB
- Tags: CPython 3.14+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3965c5d4512d02989b4c7e44fb14259e445eb128da725564e09cb8d63494908c
|
|
| MD5 |
5c4cc4e11264f4ac36044aff51d243e7
|
|
| BLAKE2b-256 |
5fcebe5b588ee725f15a797f201349893c3fcdf6cf2b1b44b78863eb96f1b400
|
Provenance
The following attestation bundles were made for tstring_bindings-0.2.0-cp314-abi3-manylinux_2_28_x86_64.whl:
Publisher:
publish-python.yml on koxudaxi/tstring-structured-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tstring_bindings-0.2.0-cp314-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
3965c5d4512d02989b4c7e44fb14259e445eb128da725564e09cb8d63494908c - Sigstore transparency entry: 1124430421
- Sigstore integration time:
-
Permalink:
koxudaxi/tstring-structured-data@05fa824a105cb87e90662f465cd0d744314fa863 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@05fa824a105cb87e90662f465cd0d744314fa863 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tstring_bindings-0.2.0-cp314-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tstring_bindings-0.2.0-cp314-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 796.0 kB
- Tags: CPython 3.14+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f005d0e6b7b80f8a78644b961786b3e78b0b24c3e9bf66a53ce0cb97442358d0
|
|
| MD5 |
efa668b5039200379c055dfae7b879bc
|
|
| BLAKE2b-256 |
aabb28a61c4db830688833b0c9354163d108543112c1fdabc655b31ba118ba4e
|
Provenance
The following attestation bundles were made for tstring_bindings-0.2.0-cp314-abi3-macosx_11_0_arm64.whl:
Publisher:
publish-python.yml on koxudaxi/tstring-structured-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tstring_bindings-0.2.0-cp314-abi3-macosx_11_0_arm64.whl -
Subject digest:
f005d0e6b7b80f8a78644b961786b3e78b0b24c3e9bf66a53ce0cb97442358d0 - Sigstore transparency entry: 1124430319
- Sigstore integration time:
-
Permalink:
koxudaxi/tstring-structured-data@05fa824a105cb87e90662f465cd0d744314fa863 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@05fa824a105cb87e90662f465cd0d744314fa863 -
Trigger Event:
push
-
Statement type: