Skip to main content

ttoon

ttoon is the Python SDK for TTOON.

Features

  • T-TOON and T-JSON serialization and parsing
  • Conversion between Python values and typed values
  • Arrow-based workflows for pyarrow and polars

Installation

pip install ttoon

Quick Example

import ttoon

text = ttoon.dumps({"name": "Alice", "score": 95})
data = ttoon.loads(text)

typed_json = ttoon.to_tjson({"name": "Alice"})
fmt = ttoon.detect_format(text)

Arrow Example

import polars as pl
import ttoon

df = pl.DataFrame({"name": ["Alice", "Bob"], "score": [95, 87]})
text = ttoon.dumps(df)
table = ttoon.read_arrow(text)

Notes

  • dumps() accepts standard Python objects as well as polars.DataFrame, pyarrow.Table, and pyarrow.RecordBatch.
  • read_arrow() returns a pyarrow.Table.
  • loads() automatically detects T-TOON, T-JSON, and typed_unit inputs.

See docs/public/en/ for guides and API reference material.

Metadata

Release files for ttoon 0.1.0

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

Source distribution (sdist)

Source distribution for ttoon 0.1.0
File Size Uploaded Provenance Actions
ttoon-0.1.0.tar.gz 90.5 kB Without provenance Details for ttoon-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ttoon 0.1.0
File Interpreter ABI Platform Actions
ttoon-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for ttoon-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl

Total release size: 2.6 MB

Release files / ttoon-0.1.0.tar.gz

Download URL ttoon-0.1.0.tar.gz
Size 90.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7d57b0be70a20677c799fa0621963d8be12d85b181117e77ea4daafe9fe44b64
BLAKE2b-256 checksum
How to use checksums
f4937663d5442264b4330ed0e003230240ab7609cc6b45e1695f3a9e36b984c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / ttoon-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL ttoon-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl
Size 2.5 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
3e8f2d99889851065c5a4d1bd0d37d2af3397743a10897426d26a034f357bdf6
BLAKE2b-256 checksum
How to use checksums
e44282eefbfb2b5b18f50da626945566525547f66dbe5b2bb5c06806bb4894da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for ttoon 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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