Metadata-Version: 2.3
Name: index.toml-contracts
Version: 0.2.0
Summary: Schema and validation for ecosystem-neutral package indexes
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: jsonschema>=4.22,<5
Requires-Dist: tomli>=2,<3 ; python_full_version < '3.11'
Requires-Python: >=3.10, <3.16
Project-URL: Repository, https://github.com/groupsum/index.toml
Description-Content-Type: text/markdown

# index.toml Contracts

The distribution includes `index-v1.schema.json`, a JSON Schema for the data decoded from a UTF-8 TOML index. The Python API provides `schema()`, `validate(mapping)`, `loads(text)`, and `load(path)`. Invalid input raises `IndexValidationError`.

Validation covers record structure, portable paths, layer and package references, dependency policy, and cycles. Any language can use the bundled schema and implement the semantic rules described in the [repository contract](https://github.com/groupsum/index.toml/blob/master/README.md).
