Skip to main content

Installation

TTOON 0.1.x packages are not published to PyPI, npm, or crates.io. Public releases provide local-install package artifacts only. Download the matching artifact from GitHub Releases or GitHub Actions, then install from the local file.

Download the python-wheel-* or python-sdist artifact first.

pip install ./ttoon-0.1.0-*.whl

If you only have the source distribution:

pip install ./ttoon-0.1.0.tar.gz

pyarrow and polars are already declared as package dependencies. No extra step is needed for the normal wheel install.

The current Python package depends on pyarrow>=23.0.0 and polars>=1.37.1.

If you are working from a stripped-down environment, install them explicitly:

pip install pyarrow polars

Requires Python 3.11+. Installing from wheel does not require a Rust toolchain; installing from sdist does.

Official SDKs

All SDKs share the same Rust core, ensuring consistent parsing and serialization behavior. The JS packages are split by runtime target, but @ttoon/node and @ttoon/web are thin re-exports of @ttoon/shared.

LanguagePackageArchitecture
PythonttoonRust core via PyO3
JS / TS@ttoon/sharedRust core via WASM
Node.js@ttoon/nodeRe-exports shared
Web@ttoon/webRe-exports shared
Rustttoon-coreCore engine

Verify Installation

import ttoon
print(ttoon.dumps({"hello": "world"}))
# hello: "world"