{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Encodes and decodes TOON (Token-Oriented Object Notation), a compact data format designed to represent structured data in 30-60% fewer tokens than JSON, optimized for transmission to Large Language Models.","skillfed_tags":["llm-optimization","data-serialization","token-efficiency"],"use_cases":["Prepare structured data for LLM prompts where token count directly affects API cost or response latency.","Convert existing JSON datasets to TOON format for more efficient LLM ingestion via CLI or programmatic API.","Encode tabular data (lists of uniform objects) into compact CSV-like TOON format for batch LLM processing.","Bidirectionally convert between JSON and TOON in data pipelines that feed language models.","Validate TOON-formatted input with strict mode or parse lenient TOON variants with relaxed validation."],"what_it_does":"python-toon is a bidirectional encoder/decoder for TOON, a data format that combines YAML-style indentation for nested objects with CSV-like tabular format for uniform arrays. It targets LLM token efficiency by eliminating redundant punctuation (braces, brackets, most quotes) while maintaining semantic clarity. The package provides both a Python API (encode/decode functions) and a command-line tool for converting between JSON and TOON formats.\n\nThe format supports nested objects, primitive arrays with length markers, tabular arrays (uniform object collections), and mixed arrays. It implements the official TOON specification with strict validation by default, optional lenient parsing, and configurable delimiters (comma, tab, pipe). Since its first release in October 2025, it has reached version 0.1.3 and supports Python 3.8 through 3.12.","worth_installing":"Yes, if you are building LLM applications where token efficiency matters and you want a standards-compliant TOON implementation. The package is lightweight (no dependencies), well-documented, and covers both API and CLI use cases. The aging maintenance status (283 days since last commit) is a minor concern for a stable format encoder, but the unarchived repository and recent release history suggest it is not abandoned. No known security vulnerabilities."},"id":"python-toon","links":{"html":"https://skillfed.io/packages/python-toon","md":"https://skillfed.io/packages/python-toon.md","pypi":"https://pypi.org/project/python-toon/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-04","license_spdx":"MIT","license_treatment":"permissive","name":"python-toon","python_support":"supports_current","summary":"TOON (Token-Oriented Object Notation) encoder/decoder for Python - Bidirectional JSON-to-TOON converter optimized for LLMs"},"popularity":{"monthly_downloads":605211,"position":5797,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
