llm-to-toon
Tiny wrapper around prompture that returns TOON
(Token-Oriented Object Notation) instead of JSON. Under the hood it uses
prompture.extract_and_jsonify(..., output_format="toon") and converts the result
into the ultra-compact TOON text automatically.
Install:
pip install llm-to-toon
Usage:
from llm_to_toon import from_llm_text
schema = {"name": "string", "age": "int"}
toon_text = from_llm_text("Name: Juan Age: 30", schema)
print(toon_text)
By default the helper spins up the local Ollama driver (gemma:latest). Pass your
own Prompture driver if you want to call OpenAI, Azure, Groq, etc. For the full
Prompture feature-set see the main project: https://github.com/jhd3197/prompture
Metadata
Release files for llm-to-toon 1.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_to_toon-1.18.0.tar.gz | 2.1 kB | Without provenance | Details for llm_to_toon-1.18.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_to_toon-1.18.0-py3-none-any.whl | Python 3 | none | any | Details for llm_to_toon-1.18.0-py3-none-any.whl |
Total release size: 4.4 kB
Release files / llm_to_toon-1.18.0.tar.gz
| Download URL | llm_to_toon-1.18.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d483dbb5ae644b86cbfc0e112343d5b15fc2e1bdca3913cd89c969454b09e11
|
|
BLAKE2b-256 checksum How to use checksums |
9c2322779eab8e1d5ed321312031c5cf5c129d8c2b04d8d3169a1bb1ae58622b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / llm_to_toon-1.18.0-py3-none-any.whl
| Download URL | llm_to_toon-1.18.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61cd4ca9c04f45cfc923deaf5d22473fe062862ad73a7cb2353fd57e616df254
|
|
BLAKE2b-256 checksum How to use checksums |
e52b6ef783370d56f3ead183ec8347e4239d9770d40e31d2d0d858b93846d5b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for llm-to-toon 1.18.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.