TOON (Token-Oriented Object Notation) Python Library
JSON →Toonify is a Python implementation of TOON (Token-Oriented Object Notation), a compact, human-readable serialization format designed specifically for use with Large Language Models (LLMs). It aims to reduce token consumption by 30-60% compared to JSON, while preserving data structure, type safety, and human readability. The library provides functions to encode Python dictionaries and Pydantic models into TOON strings and decode them back. It is actively maintained with a regular release cadence.
Traffic · last 30 days ↑320% vs prev 7d
total hits 29
actors 6 distinct systems
last hit 3d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇳🇴 Norway · 🇩🇪 Germany
Resources
packagepypi.org/project/toonify/ ↗
API endpoints
full doc /v1/registry/toonify
install /v1/registry/toonify/install
compatibility /v1/registry/toonify/compatibility