Skip to main content

COIL – Compact Object Intermediate Language for LLM-efficient data encoding

Project description

COIL – Compact Object Intermediate Language

COIL is a token-optimized, LLM-friendly encoding format designed to reduce JSON token cost while preserving semantic structure.

Installation

pip install coil
import COIL as C

C.debugMode(True)

encoded = C.encode(data)
decoded = C.decode(encoded)

Features

Token-efficient encoding

Schema-aware decoding

LLM-friendly structure

Zero external dependencies (except optional tokenizer)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coil_python-0.1.4.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coil_python-0.1.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file coil_python-0.1.4.tar.gz.

File metadata

  • Download URL: coil_python-0.1.4.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for coil_python-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b6060d1fff7f38cb5e303400e39409eb56f436867648c7c0d9c2f744faa0858d
MD5 69faaf69c9b816a8f2fce2a1855742e2
BLAKE2b-256 fd807c82b2b32b05950420fa114b49d1831d746dfd9da62651649e6929d4bc26

See more details on using hashes here.

File details

Details for the file coil_python-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: coil_python-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for coil_python-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a48d16fd2bfb6ae52772407b8e7d301410345c85fecae9fb5bf6664160bae64
MD5 20760747b09bf2d112e395853d97a3f9
BLAKE2b-256 eee3795441073998b6048570f3509b167262ec251ed7f95e5dbc7adcf3490853

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page