Skip to main content

Installation

TTOON 0.1.x packages are published to PyPI, npm, and crates.io. The official documentation site is ttoon.dev.

pip install ttoon

If you need to install from a source distribution manually:

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"