Metadata-Version: 2.4
Name: toon-pyrs
Version: 0.1.2
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Summary: Rust-based Python bindings for Token-Oriented Object Notation
Keywords: llm,json,serialization,encoding,toon,token-efficient
Author-email: Jad Jabbour <jad.jabbour@cryptoware.me>
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/JadJabbour/toon-rs
Project-URL: Repository, https://github.com/JadJabbour/toon-rs
Project-URL: Issues, https://github.com/JadJabbour/toon-rs/issues

# TOON Python Bindings (toon-pyrs)

Rust-based Python bindings for TOON (Token-Oriented Object Notation).

## Build and Install

```bash
# Install maturin
pip install maturin

# Build and install in development mode
maturin develop

# Or build a wheel
maturin build --release
pip install target/wheels/*.whl
```

## Usage

```python
import json
import toon

data = {"name": "Ada", "active": True}
result = toon.encode(json.dumps(data))
print(result)
```

## Publish

```bash
maturin build --release
pip install twine
twine upload target/wheels/*
```

