Valiron
AI Regulatory Compliance Validation for Python
Valiron is a Python library that helps ML engineers and data scientists validate their AI/ML models against global regulatory frameworks — before deployment.
Problem
Deploying AI in regulated industries (healthcare, finance, HR) requires compliance with frameworks like the EU AI Act, FDA AI/ML SaMD guidance, CDSCO MDSW, and RBI ML Model Risk guidelines. Manual compliance checks are slow, inconsistent, and expensive.
Solution
Valiron automates compliance validation with a simple API:
import valiron
result = valiron.evaluate(
model=my_sklearn_model,
X_test=X_test,
y_test=y_test,
regulation="eu_ai_act",
use_case="medical_diagnosis"
)
report = valiron.report(result, format="pdf")
Compliance Coverage
| Regulation | Status | Key Checks |
|---|---|---|
| EU AI Act Annex III | ✅ | High-risk classification, transparency, human oversight |
| FDA AI/ML SaMD | ✅ | Predetermined change control, performance monitoring |
| CDSCO MDSW (India) | ✅ | Software as medical device validation |
| RBI ML Model Risk | ✅ | Model governance, bias detection, explainability |
Quickstart
pip install valiron
import valiron
from sklearn.ensemble import RandomForestClassifier
# Train your model
model = RandomForestClassifier()
model.fit(X_train, y_train)
# Validate compliance
result = valiron.evaluate(
model=model,
X_test=X_test,
y_test=y_test,
regulation="cdsco_mdsw",
use_case="diagnostic_aid",
sensitive_features=["age", "gender"]
)
# Check results
print(result.compliant) # True/False
print(result.score) # 0.0 - 1.0
print(result.failing_checks) # list of failed requirements
# Generate report
valiron.report(result, format="html", output="compliance_report.html")
Supported Frameworks
- scikit-learn
- PyTorch
- ONNX
- Raw predictions (numpy arrays)
Data Privacy Architecture
- No data leaves your machine. All validation runs locally.
- No model weights are transmitted.
- Reports are generated on-device.
- Optional: anonymize test data before validation with
valiron.anonymize().
Roadmap
- ISO 42001 (AI Management Systems)
- HIPAA AI compliance checks
- SEBI AI governance framework
- CI/CD integration (GitHub Actions, GitLab CI)
- VS Code extension
License
MIT — see LICENSE
Metadata
Release files for valiron 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valiron-0.1.0.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valiron-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.4 kB
Release files / valiron-0.1.0.tar.gz
| Download URL | valiron-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84cd9dd64cfc0d404eabc6bda366df68934c13a3313b146732cf8e9215318ed1
|
|
BLAKE2b-256 checksum How to use checksums |
addf9fa27648300f867efdbb7e6d9d6ae275a10f03de0e1831e5522409db2a2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / valiron-0.1.0-py3-none-any.whl
| Download URL | valiron-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75b69360b824bceacbf7adbd037956f7a739d499efa2924d29869ecf49f7d36d
|
|
BLAKE2b-256 checksum How to use checksums |
74a6119d30fbe849ddf7b61749976aae91865d841e58c9fbeb816967c45ccd4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|