semvec/pypi-packages huggingface dataset:
rajkumar-ml-contracts 0.1.0
Design-by-Contract for ML pipelines: fail-fast data/features/models
License: MIT
Requires Python: >=3.9
Keywords: contracts, ml, pipeline, validation

# ml-contracts
[![PyPI Version](https://img.shields.io/pypi/v/ml-contracts.svg)](https://pypi.org/project/ml-contracts/)
Design-by-Contract for ML: Enforce data/features/models pre-deployment.

## Install
```bash
pip install ml-contracts
```

## Quickstart
```python
from ml_contracts import DataContract
contract = DataContract(
    name="input-data",
    schema={"age": int},
    ranges={"age": (18, 75)},
    distribution={"age": "norm"}
)
```

Fits production pipelines—lightweight, no infra.