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.
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.
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.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work