python-toon and toons

These are competing implementations of the same TOON serialization format standard, where users would typically choose one based on performance requirements and download patterns rather than use them together.

python-toon
52
Established
toons
44
Emerging
Maintenance 6/25
Adoption 14/25
Maturity 22/25
Community 10/25
Maintenance 10/25
Adoption 5/25
Maturity 22/25
Community 7/25
Stars: 331
Forks: 12
Downloads:
Commits (30d): 0
Language: Python
License: MIT
Stars: 11
Forks: 1
Downloads:
Commits (30d): 0
Language: Rust
License: Apache-2.0
No risk flags
No Dependents

About python-toon

xaviviro/python-toon

🐍 TOON for Python (Token-Oriented Object Notation) Encoder/Decoder - Reduce LLM token costs by 30-60% with structured data.

This tool helps anyone working with Large Language Models (LLMs) significantly reduce their token usage and associated costs when sending structured data. It takes standard data formats like JSON and converts them into a compact "Token-Oriented Object Notation" (TOON), which is specifically optimized for LLM processing. This means you feed in your data, get back a much smaller representation, and then send that to your LLM.

LLM-cost-optimization prompt-engineering AI-application-development data-transmission

About toons

alesanfra/toons

A high-performance TOON (Token Oriented Object Notation) parser and serializer for Python.

This tool helps developers working with Large Language Models (LLMs) to reduce the token count of data exchanged with these models. It takes standard Python data structures or TOON-formatted strings/files as input and outputs the equivalent in the token-efficient TOON format, or converts TOON back to Python data structures. Developers building LLM applications, especially those sensitive to token costs and context window limits, would use this.

LLM development token optimization data serialization AI application development API cost reduction

Related comparisons

Scores updated daily from GitHub, PyPI, and npm data. How scores work