{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"}],"enrichment":{"capability":"Encodes and decodes data structures using TOON (Token-Oriented Object Notation), a compact format designed to reduce token usage when passing structured data to language models.","skillfed_tags":["llm-optimization","serialization","token-efficiency"],"use_cases":["Reduce token count in LLM API calls by encoding structured data in TOON format before sending prompts.","Serialize configuration or metadata objects for embedding in language model contexts with minimal overhead.","Convert between JSON and TOON formats to optimize data passed to AI systems where token budgets are constrained."],"what_it_does":"TOON Format is a Python implementation of Token-Oriented Object Notation, a serialization format that compresses structured data into a more compact representation than JSON. It is designed specifically for reducing token consumption when sending data to language models, where token count directly affects cost and latency. The format uses a column-oriented syntax that eliminates redundant key names and whitespace, allowing the same data to fit in fewer tokens.\n\nThe package provides encode() and decode() functions to convert between Python data structures and TOON strings. However, the current release (0.1.0) is marked as a namespace reservation, meaning the core implementation is not yet complete. It supports Python 3.10 through 3.14 and has no external runtime dependencies, making installation straightforward once the implementation is ready.","worth_installing":"No, not yet. The package is currently a namespace reservation with full implementation pending. While the concept is sound and the MIT license is permissive, installing 0.1.0 will not provide working encode/decode functions. Wait for a later release that completes the implementation before adopting this package."},"id":"toon-format","links":{"html":"https://skillfed.io/packages/toon-format","md":"https://skillfed.io/packages/toon-format.md","pypi":"https://pypi.org/project/toon-format/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-01","license_spdx":null,"license_treatment":"permissive","name":"toon-format","python_support":"supports_current","summary":"Token-Oriented Object Notation \u2013 a token-efficient JSON alternative for LLM prompts"},"popularity":{"monthly_downloads":548263,"position":6065,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
