semvec/pypi-packages huggingface dataset:
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
Design-by-Contract for ML: Enforce data/features/models pre-deployment.

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