Metadata-Version: 2.4
Name: software-dlc-tile
Version: 0.2.2
Summary: Python helpers for first-class TILE prompt tables.
Project-URL: Homepage, https://github.com/SoftwareDLC/tile#readme
Project-URL: Repository, https://github.com/SoftwareDLC/tile
Project-URL: Issues, https://github.com/SoftwareDLC/tile/issues
Author: SoftwareDLC
License-Expression: MIT
License-File: LICENSE
Keywords: json,llm,prompt-engineering,prompt-optimization,structured-data,tile
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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.

```python
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.
