Back to Explore

toon-format/toon-python

GitHub
3 updates · last 90 daysOpen source

Last release:

Community-driven Python implementation of the TOON format, providing encode and decode functions plus a CLI for converting between compact, human-readable TOON strings and Python data. Useful for serializing and parsing LLM context data, including tabular array syntax, with optional Pydantic integration for validated structured outputs and beta (v0.9.x) status with ongoing spec compliance.

Project status

  • The source appears actively maintained, with an upstream GitHub push on 2026-10-18 and recent tagged updates continuing through October 2026 (v1.2.0 on 2026-10-18, v1.1.0 on 2026-10-06, v1.0.0 on 2026-10-02).
  • The apparent update cadence is fairly regular over this period, roughly weekly between v1.1.0 and v1.2.0, then a short gap between v1.0.0 and v1.1.0 (a few days).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.2.0

    v1.2.0 updates toon-format to target TOON specification v4.4, including decoder behavior and documentation/fixtures. The release notes only state spec support, but the code diff shows multiple substantial decoding rule changes, especially around strict vs non-strict parsing, header grammar classification, indentation/blank-line handling, and out-of-range number handling.

    BreakingFeatures
  • v1.1.0

    v1.1.0 updates the library to target TOON specification 4.2 (and spec 4.2.1 fixtures), with corresponding changes to the decoder and encoder behavior. While the provided release notes mostly mention spec support and docs, the code diff shows multiple parsing behavior changes that can affect how existing inputs are accepted and how errors are raised.

    Features
  • v1.0.0

    v1.0.0 is the initial public release that rewrites the library to fully support TOON specification 4.1, replacing the earlier placeholder/stub implementation. It introduces a json-like public API (dumps/loads, with encode/decode as aliases), adds a Pydantic integration, and updates CI and PyPI publishing workflows. The codebase refactors the public surface significantly compared to the prior version.

    BreakingFeatures
  • v0.9.0-beta.1

    This is the v0.9.0-beta.1 initial beta release. The provided release notes do not include any specific feature, bug fix, security, performance, or migration details beyond linking to a full changelog.