Governed, Observable & Declarative Machine Learning Framework
Project description
๐ค GODML โ Governed, Observable & Declarative Machine Learning
Framework de MLOps con Gobernanza, Trazabilidad y Supply Chain Verificada
๐ GODML v1.0.2 โ Stable Governance Release
La versiรณn 1.0.2 marca un hito en la madurez del framework, incorporando trazabilidad completa, publicaciรณn verificada en PyPI y una cadena de suministro auditada mediante Sigstore + SLSA.
๐งฉ Caracterรญsticas clave
- โ Framework estable y modular
- ๐ Supply Chain firmada (SBOM + Provenance)
- ๐งพ Cumplimiento SLSA v1 y SPDX
- ๐ฆ Publicaciรณn segura via PyPI Trusted Publisher (OIDC)
- ๐ง Notebook API integrada (
GodmlNotebook) - โ๏ธ CLI declarativa (
godml run -f godml.yml) - ๐ชถ Licencia MIT
๐ Supply Chain & Seguridad
GODML adopta un enfoque de transparencia verificable, integrando herramientas de seguridad nativas:
| Artefacto | Estรกndar | Firma | Transparencia |
|---|---|---|---|
sbom.spdx.json |
SPDX | โ Cosign OIDC | Rekor Log |
provenance.json |
SLSA v1 | โ Cosign OIDC | Rekor Log |
๐ Verificaciรณn reproducible
cosign verify-blob \
--bundle sbom.spdx.bundle \
--certificate-identity-regexp "github.com/DAGMALIA" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
sbom.spdx.json
Proyecto de Machine Learning generado automรกticamente con GODML Framework - Governed, Observable & Declarative ML
๐ GODML Framework
https://pypi.org/project/godml/
https://python.org
LICENSE
https://pypi.org/project/godml/
Governed, Observable & Declarative Machine Learning
Enterprise-grade MLOps platform for production-ready ML pipelines
๐ Quick Start โข ๐ Documentation โข ๐๏ธ Architecture โข ๐ค Contributing
๐ฏ Overview
GODML is a comprehensive MLOps framework that unifies Governance, Observability, and Declarative configuration for enterprise Machine Learning workflows. Built for organizations that require complete traceability, regulatory compliance, and scalable model deployment.
๐ Key Features
* ๐๏ธ Governance: Automatic traceability, metadata management, and compliance
* ๐๏ธ Observability: Complete MLflow integration with real-time monitoring
* ๐ Declarative: Simple YAML configuration for reproducible pipelines
* ๐ Production-Ready: Docker, Kubernetes, and cloud-native deployment
* ๐ก๏ธ Compliance: Built-in PCI-DSS, GDPR, and HIPAA support
* ๐ง AI-Powered: LLM-assisted pipeline optimization and recommendations
GODML Performance Metrics
๐ฏ Business Impact
Metric Traditional ML With GODML Improvement
Time to Production 6 months 2 weeks 92% faster
Model Accuracy 78% 89% 14% better
Compliance Violations 12/year 0/year 100% reduction
Operational Cost $50K/month $15K/month 70% savings
๐ Quick Start
Installation
# Install GODML
pip install godml
# Verify installation
godml --version
Create Your First Project
# Initialize new project
godml init my-ml-project
cd my-ml-project
# Configure your pipeline
vim godml.yml
# Train your model
godml run -f godml.yml
# Deploy to production
godml deploy my-ml-project production
๐ Basic Configuration
name: customer-churn-prediction
version: 1.0.0
provider: mlflow
dataset:
uri: ./data/customer_data.csv
hash: auto
model:
type: xgboost
hyperparameters:
{"max_depth": 6}
{"learning_rate": 0.1}
{"n_estimators": 300}
metrics:
- name: auc
threshold: 0.85
- name: accuracy
threshold: 0.80
governance:
owner: "ml-team@company.com"
tags:
- project: customer-retention
- compliance: gdpr
- environment: production
deploy:
realtime: true
batch_output: ./outputs/predictions.csv
๐งช Notebook Integration
Quick Training
from godml import GodmlNotebook, quick_train
# Method 1: Full pipeline setup
godml = GodmlNotebook()
godml.create_pipeline(
name="churn-model",
model_type="xgboost",
hyperparameters={"max_depth": 6, "eta": 0.1},
dataset_path="./data/churn.csv"
)
godml.train()
godml.save_model(model_name="churn_v1", environment="production")
# Method 2: One-liner training
quick_train(
model_type="random_forest",
hyperparameters={"n_estimators": 300},
dataset_path="./data/churn.csv"
)
AI-Powered Optimization
from godml.notebook_api import advisor_full_report, tune_model
# Get AI recommendations
report = advisor_full_report(df, target="churn")
print(f"Recommended models: {report['models']}")
print(f"Suggested metrics: {report['metrics']}")
# Auto-tune hyperparameters
result = tune_model(
model_type="xgboost",
X=X_train, y=y_train,
max_trials=100,
metric="roc_auc"
)
print(f"Best AUC: {result['best_score']:.4f}")
๐ง System Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฏ GODML Framework โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Frontend Layer โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ Web UI โ โ ๐ Jupyter โ โ ๐ฅ๏ธ CLI Tool โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ API Gateway โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ช FastAPI Gateway (Authentication & Routing) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Core Services โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ๐ง Advisor โ โโ๏ธ Config โ โ๐ฏ Pipeline Engine โ โ
โ โService โ โService โ โ โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ML Services โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ๐ DataPrep โ โ๐ค Model โ โ๐ Monitoring โ โ
โ โService โ โService โ โService โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Infrastructure โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ๐พ PostgreSQLโ โ๐๏ธ Redis โ โโ๏ธ Cloud Storage โ โ
โ โDatabase โ โCache โ โ(S3/Azure/GCS) โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Data Flow Pipeline
๐ Raw Data โ ๐ DataPrep โ ๐ก๏ธ Compliance โ ๐ค Training โ ๐ Validation โ ๐ฆ Registry โ ๐ Deployment โ ๐ Monitoring
โ โ โ โ โ โ โ โ
S3/Local Transforms PII Detection XGBoost/RF Cross-Val MLflow Store Docker/K8s Drift Detection
๐ก๏ธ Enterprise Features
Compliance & Security
๐ Data Protection: Encryption at rest and in transit
๐ก๏ธ PII Detection: Automatic identification and masking
๐ Regulatory Support: GDPR, PCI-DSS, HIPAA, SOX compliance
๐ Audit Trail: Complete lineage and change tracking
Scalability & Performance
โธ๏ธ Kubernetes Native: Cloud-native deployment
๐ Auto-scaling: Dynamic resource allocation
โก Low Latency: <50ms prediction SLA
๐ High Throughput: 10K+ predictions/second
๐ข Enterprise Use Cases
Financial Services
* Fraud Detection: Real-time transaction scoring with PCI-DSS compliance
* Credit Risk: Automated underwriting with regulatory reporting
* Algorithmic Trading: Low-latency prediction models
Healthcare
* Diagnostic Assistance: HIPAA-compliant medical image analysis
* Drug Discovery: Molecular property prediction pipelines
* Clinical Trials: Patient stratification and outcome prediction
Retail & E-commerce
* Recommendation Systems: Personalized product suggestions
* Demand Forecasting: Inventory optimization models
* Price Optimization: Dynamic pricing strategies
๐ ๏ธ CLI Reference
Project Management
godml init <project-name> # Initialize new project
godml run -f <config.yml> # Execute pipeline
Deployment
godml deploy <project> <env> # Deploy to environment
๐ Cloud Deployment
Docker Deployment
# Build and run
docker build -t my-godml-model .
docker run -p 8080:8080 my-godml-model
# Health check
curl http://localhost:8080/health
๐ Roadmap
๐ฏ 2025 Q2 - Intelligence
* ๐ง Advanced AutoML capabilities
* ๐ค GPT-4 powered pipeline generation
* ๐ Interactive web dashboard
* ๐ Explainable AI integration
๐ฏ 2025 Q3 - Scale
* โธ๏ธ Kubernetes operator
* ๐ Real-time streaming ML
* ๐ A/B testing framework
* ๐ Advanced drift detection
๐ฏ 2025 Q4 - Enterprise
* ๐ข Multi-tenant architecture
* ๐ Zero-trust security model
* ๐ Global edge deployment
* ๐ SOC2/ISO27001 certification
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
-- Next Repo
๐ License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
๐ Support
* Enterprise Support: mailto:agtzrubio@dagmalia.com
* Community Support: mailto:agtzrubio@dagmalia.com
* Documentation: https://godmlcore.com/
* Status Page: https://godmlcore.com/
Built with โค๏ธ by the GODM
https://github.com/godml/godml (Proximamente)
https://twitter.com/godml_ai (Proximamente)
https://linkedin.com/company/godml (Proximamente)
Transforming Enterprise ML Operations ๐
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godml-1.0.2.tar.gz.
File metadata
- Download URL: godml-1.0.2.tar.gz
- Upload date:
- Size: 84.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53a78d78eae57bab6fa927056beb435579332c11cc7b58ba93bdc368a802e9d9
|
|
| MD5 |
68ca67ca0ff0e4cf044fd0634cec8491
|
|
| BLAKE2b-256 |
c4b72a359fb56e827699b6c73d9d80ae1a411186e44efb272878ffb928503e76
|
Provenance
The following attestation bundles were made for godml-1.0.2.tar.gz:
Publisher:
safety_scan.yml on DAGMALIA/godml_v2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godml-1.0.2.tar.gz -
Subject digest:
53a78d78eae57bab6fa927056beb435579332c11cc7b58ba93bdc368a802e9d9 - Sigstore transparency entry: 653412321
- Sigstore integration time:
-
Permalink:
DAGMALIA/godml_v2@2814e073d1c24217a958e83fdc31c930e4352424 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DAGMALIA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
safety_scan.yml@2814e073d1c24217a958e83fdc31c930e4352424 -
Trigger Event:
push
-
Statement type:
File details
Details for the file godml-1.0.2-py3-none-any.whl.
File metadata
- Download URL: godml-1.0.2-py3-none-any.whl
- Upload date:
- Size: 107.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3305680cfcc550f5fb1b42838418eca6e5e5eae004dd2151c353bd98963ec1af
|
|
| MD5 |
b5f653ed308736459a4f9b4d812c55fa
|
|
| BLAKE2b-256 |
a49a8cc91b4512a8a2fd8abb84fb0039f9c02cf1e00d101a0077d89feb1e4d96
|
Provenance
The following attestation bundles were made for godml-1.0.2-py3-none-any.whl:
Publisher:
safety_scan.yml on DAGMALIA/godml_v2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godml-1.0.2-py3-none-any.whl -
Subject digest:
3305680cfcc550f5fb1b42838418eca6e5e5eae004dd2151c353bd98963ec1af - Sigstore transparency entry: 653412324
- Sigstore integration time:
-
Permalink:
DAGMALIA/godml_v2@2814e073d1c24217a958e83fdc31c930e4352424 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/DAGMALIA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
safety_scan.yml@2814e073d1c24217a958e83fdc31c930e4352424 -
Trigger Event:
push
-
Statement type: