{"library":"toon-format","type":"library","category":null,"description":"TOON (Token-Oriented Object Notation) is a compact, human-readable data format designed for LLM prompts to reduce token usage by 30-60% compared to JSON. It achieves this by eliminating redundant punctuation and using a tabular format for uniform data structures. The Python implementation, currently in beta (v0.9.0-beta.1), provides encoding and decoding functionalities, aiming for full compliance with the TOON specification.","language":"python","status":"active","version":"0.9.0-beta.1","tags":["LLM","AI","serialization","token-efficient","JSON alternative","data format"],"last_verified":"Mon May 25","install":[{"cmd":"pip install toon-format","imports":["from toon_format import encode","from toon_format import decode","from toon_format import load, dump"]},{"cmd":"pip install toon-format[openai]","imports":[]},{"cmd":"pip install git+https://github.com/toon-format/toon-python.git","imports":[]}],"homepage":"https://toonformat.dev","github":"https://github.com/toon-format/toon-python","docs":"https://github.com/toon-format/toon","changelog":null,"pypi":"https://pypi.org/project/toon-format/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":67,"avg_install_s":1.9,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/toon-format/compatibility"}}