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.1.tar.gz (5.6 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.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coil_python-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 fc6a677d7f905a3b0c91d2fa2a793ba3d453c0756e718568918fd1ef960c8ca5
MD5 12c484ef4f2fde5be9201ddc8b61f3f3
BLAKE2b-256 bb3955bee45e08f26366d7fcd8c8bda4884a0bec16334f6258841d3b9cd725c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coil_python-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d919cc7a173dead698c484c46348fdfe9b173e87c9038b4f27192f7b1108777
MD5 9c3c120658823573c5724e863d5c1538
BLAKE2b-256 5f5fa12e0df805848dedc88df60c98a0537628ef8d2521c005552bdb47a39236

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