toons 0.4.0__cp37-abi3-win32.whl → 0.5.0__cp37-abi3-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
toons/toons.pyd
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toons
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -24,6 +24,17 @@ Project-URL: Source, https://github.com/alesanfra/toons
|
|
|
24
24
|
|
|
25
25
|
TOONS - Token Oriented Object Notation Serializer - is a fast Rust-based library that provides a Python interface mirroring the `json` module API, making it easy to work with the TOON format—a token-efficient data serialization format designed specifically for Large Language Models.
|
|
26
26
|
|
|
27
|
+
|
|
28
|
+
## Documentation
|
|
29
|
+
|
|
30
|
+
📖 Read the full documentation at **[toons.readthedocs.io](https://toons.readthedocs.io/en/stable/)**.
|
|
31
|
+
|
|
32
|
+
Quick start pages:
|
|
33
|
+
- 🚀 **[Getting Started](https://toons.readthedocs.io/en/stable/getting-started/)** - Installation and first steps
|
|
34
|
+
- 💡 **[Examples](https://toons.readthedocs.io/en/stable/examples/)** - Practical usage examples
|
|
35
|
+
- 📚 **[API Reference](https://toons.readthedocs.io/en/stable/api-reference/)** - Complete API documentation
|
|
36
|
+
|
|
37
|
+
|
|
27
38
|
## Why TOON?
|
|
28
39
|
|
|
29
40
|
The TOON format achieves **30-60% fewer tokens** than equivalent JSON, making it ideal for LLM contexts where token count impacts costs and context capacity.
|
|
@@ -50,7 +61,7 @@ users[2]{name,age}:
|
|
|
50
61
|
- 🚀 **Fast**: Rust implementation with PyO3 bindings
|
|
51
62
|
- 📊 **Token-Efficient**: 30-60% fewer tokens than JSON
|
|
52
63
|
- 🔄 **Familiar API**: Drop-in replacement for `json` module
|
|
53
|
-
- ✅ **Spec Compliant**: Full TOON Specification
|
|
64
|
+
- ✅ **Spec Compliant**: Full TOON Specification v3.0 support
|
|
54
65
|
- 🐍 **Python Native**: Works with standard Python types
|
|
55
66
|
|
|
56
67
|
## Quick Start
|
|
@@ -97,15 +108,6 @@ with open("data.toon", "r") as f:
|
|
|
97
108
|
data = toons.load(f)
|
|
98
109
|
```
|
|
99
110
|
|
|
100
|
-
## Documentation
|
|
101
|
-
|
|
102
|
-
📖 **[Read the full documentation at toons.readthedocs.io](https://toons.readthedocs.io/en/stable/)**
|
|
103
|
-
|
|
104
|
-
- 🚀 **[Getting Started](https://toons.readthedocs.io/en/stable/getting-started/)** - Installation and first steps
|
|
105
|
-
- 💡 **[Examples](https://toons.readthedocs.io/en/stable/examples/)** - Practical usage examples
|
|
106
|
-
- 📚 **[API Reference](https://toons.readthedocs.io/en/stable/api-reference/)** - Complete API documentation
|
|
107
|
-
- 📋 **[TOON Specification](https://toons.readthedocs.io/en/stable/specification/)** - Format specification v2.0
|
|
108
|
-
|
|
109
111
|
## Development
|
|
110
112
|
|
|
111
113
|
```bash
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
toons\__init__.py,sha256=FeMo3C_AqmrESdp4A_TqxfpJxmqSmSa1vqBotRTVjzA,103
|
|
2
|
+
toons\toons.pyd,sha256=p1kHQ_VjFb-euSCjQPu8Mou-iwUn7qtMd_lOGaoUCUg,328704
|
|
3
|
+
toons-0.5.0.dist-info\METADATA,sha256=3lvFR5FSUhgvnE5MXg-rKTyrxdmleFWSSXZq74yM7Tk,4441
|
|
4
|
+
toons-0.5.0.dist-info\WHEEL,sha256=hfkWaPgT5ELgjDhRnK_NkNNdkvUwoEoJy2QANKL_tfs,91
|
|
5
|
+
toons-0.5.0.dist-info\licenses\LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
6
|
+
toons-0.5.0.dist-info\RECORD,,
|
toons-0.4.0.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
toons-0.4.0.dist-info/METADATA,sha256=B4DpBFi2D0QTFAVWKoao2jlhhLBQFYYFbf2tZNoIqfE,4532
|
|
2
|
-
toons-0.4.0.dist-info/WHEEL,sha256=Wk5Fd_lTEzYPUyNAg_8onKUGSv_hYjos3aDyUsI9euQ,91
|
|
3
|
-
toons-0.4.0.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
4
|
-
toons/__init__.py,sha256=FeMo3C_AqmrESdp4A_TqxfpJxmqSmSa1vqBotRTVjzA,103
|
|
5
|
-
toons/toons.pyd,sha256=_bl4lfMcntTAg8h2s6b86lPJgbsvyr-Byja6gc8VKCg,299520
|
|
6
|
-
toons-0.4.0.dist-info/RECORD,,
|
|
File without changes
|