Skip to main content

Python helpers for first-class TILE prompt tables.

Project description

software-dlc-tile

Python helpers for first-class TILE prompt tables.

This package is an incubating Python surface for @software-dlc/tile. It starts with first-class TILE because that is the smallest useful API for Python, data, and LLM users who already have structured rows and want compact prompt context.

from software_dlc_tile import encode_first_class_tables_to_tile

tile = encode_first_class_tables_to_tile({
    "delimiter": "pipe",
    "tables": [
        {
            "id": "packages",
            "columns": ["name", {"embedded_columns": ["dependency"]}],
            "rows": [
                ["fastapi", "pydantic"],
                ["", "starlette"],
            ],
        }
    ],
})

This first Python package does not yet implement lossless JSON-to-TILE encoding or TILE-to-JSON decoding. Those should come after shared conformance coverage is expanded for the full wire format.

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

software_dlc_tile-0.2.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

software_dlc_tile-0.2.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file software_dlc_tile-0.2.2.tar.gz.

File metadata

  • Download URL: software_dlc_tile-0.2.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for software_dlc_tile-0.2.2.tar.gz
Algorithm Hash digest
SHA256 41570d733a8e38f1725d1886678e1e1a0aaa2e1a0139c221b6f2fd4e3fa85e38
MD5 0e6423ac274f727b19781677cb050131
BLAKE2b-256 6312c69b454555aff3189ab1d6cbfc7f92d94becc91ee96e495d3fe2df2e74ce

See more details on using hashes here.

File details

Details for the file software_dlc_tile-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for software_dlc_tile-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b42dbca0b1a7e0f403b8895570215f06a17106ccf635d6dfc7fab0f3c5e32063
MD5 c1069d2e0e36fc2946bf535ca1d6103a
BLAKE2b-256 30185d5b3f0c7984bd8211e8288aea264bf6a79220e52c47678b5a141b4401cd

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