$npx skillfedfor your agent

toon-format

Token-Oriented Object Notation – a token-efficient JSON alternative for LLM prompts

SkipPyPI Python ModulesReleased Nov 2025548.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — toon_format-0.1.0-py3-none-any.whl
v0.1.0 · released 2025-11-01 · Python >=3.10

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; package is currently in alpha and full implementation is not yet complete.
  • Low friction install with no runtime dependencies.
  • The package is actively maintained and supports modern Python versions (3.10–3.14), though it is currently in alpha status and marked as a namespace reservation with full implementation pending.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2025-11-01 (286 days) · last repo commit 2026-05-20 · 757 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 548,263 downloads/mo, #6,065 on PyPI

Verify before relying

pip install toon-format

from toon_format import encode, decode

data = {"users": [{"id": 1, "name": "Alice"}]}
toon_string = encode(data)
decoded = decode(toon_string)
  • Whether encode() and decode() functions are currently implemented or if the package is still a placeholder.
  • Performance benchmarks comparing token reduction versus JSON for typical LLM use cases.
  • Compatibility with specific LLM APIs or frameworks beyond the general use case.
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

toon-format on PyPI

Before you install

Low friction install with no runtime dependencies. The package is actively maintained and supports modern Python versions (3.10–3.14), though it is currently in alpha status and marked as a namespace reservation with full implementation pending.

Requires Python 3.10 or later; package is currently in alpha and full implementation is not yet complete.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install toon-format

from toon_format import encode, decode

data = {"users": [{"id": 1, "name": "Alice"}]}
toon_string = encode(data)
decoded = decode(toon_string)

Verify before relying

  • Whether encode() and decode() functions are currently implemented or if the package is still a placeholder.
  • Performance benchmarks comparing token reduction versus JSON for typical LLM use cases.
  • Compatibility with specific LLM APIs or frameworks beyond the general use case.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 286 days since the last release
Last repo commit
First released
Downloads548,263 / month, #6,065 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: toon_format-0.1.0-py3-none-any.whl

Tags

Capabilities
token-efficient data formatllm prompt serializationcompact json alternativetoon format encoder decoderreduce tokens in prompts
Topics
llm-optimizationserializationtoken-efficiency
PyPI keywords
toonserializationllmdata-formattoken-efficient

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “token-efficient data format”

  • toon-formatEncodes and decodes data structures using TOON (Token-Oriented Object…
  • python-toonEncodes and decodes TOON (Token-Oriented Object Notation), a compact…
  • toonstoons is a Rust-backed Python parser and serializer for the TOON…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also python-toon · toons · doclang · py-ubjson · dataclasses-json · banks · simplejson · json-flatten · dataclasses-json-speakeasy · avro