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.0 โ Stable Governance Release
La versiรณn 1.0.0 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) โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ง Core Services
godml/
โโโ ๐ง advisor_service/ # AI-powered recommendations
โ โโโ advisor_orchestrator.py
โ โโโ doc_rag_advisor.py
โ โโโ metric_judge.py
โ โโโ model_selector.py
โโโ ๐ก๏ธ compliance_service/ # Regulatory compliance (GDPR, PCI-DSS)
โ โโโ pci_dss.py
โ โโโ pii_detector.py
โ โโโ validation_helpers.py
โโโ โ๏ธ config_service/ # Configuration management
โ โโโ loader.py
โ โโโ resolver.py
โ โโโ schema.py
โโโ ๐ฏ core_service/ # ML pipeline execution
โ โโโ executors.py
โ โโโ parser.py
โ โโโ validators.py
โโโ ๐ dataprep_service/ # Data preparation & transformation
โ โโโ connectors/
โ โโโ transforms/
โ โโโ recipe_executor.py
โโโ ๐ deploy_service/ # Deployment & serving
โ โโโ server.py
โ โโโ env_config.py
โ โโโ app.py
โโโ ๐ค model_service/ # Model registry & management
โ โโโ model_registry/
โ โโโ model_loader.py
โโโ ๐ monitoring_service/ # Observability & metrics
โ โโโ logger.py
โ โโโ metrics.py
โ โโโ observability.py
โโโ ๐ providers/ # Cloud integrations
โโโ mlflow.py
โโโ sagemaker.py
โโโ vertex.py
๐ 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
Feature GODML MLflow Kubeflow SageMaker
Ease of Use โญโญโญโญโญ โญโญโญโญ โญโญโญ โญโญโญโญ
Governance โญโญโญโญโญ โญโญโญ โญโญโญโญ โญโญโญ
Compliance โญโญโญโญโญ โญโญ โญโญโญ โญโญโญ
Cost Efficiency โญโญโญโญโญ โญโญโญโญ โญโญโญ โญโญ
๐ข 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
godml validate -f <config.yml> # Validate configuration
Model Management
godml model list --env=production # List models by environment
godml model promote <name> --to=prod # Promote model between environments
godml model rollback <name> --version=1.2 # Rollback to previous version
Deployment
godml deploy <project> <env> # Deploy to environment
godml scale <deployment> --replicas=5 # Scale deployment
godml logs <service> --follow # View service logs
๐ 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 GODML Team
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.0.tar.gz.
File metadata
- Download URL: godml-1.0.0.tar.gz
- Upload date:
- Size: 79.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63ca8039e6b0c0cc0fad5dace2a854b4db7dc93e22c4fff1477a13ccbe03dedd
|
|
| MD5 |
97203fe306f9b890af23db594eb5da9c
|
|
| BLAKE2b-256 |
d2a2753474c6dcdc4fddd86978723017ae38fd9a1503df7d3f93157189d393b9
|
File details
Details for the file godml-1.0.0-py3-none-any.whl.
File metadata
- Download URL: godml-1.0.0-py3-none-any.whl
- Upload date:
- Size: 99.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a99fa92424a705ebaa99586f5a40e6e3ef668edb978896e7cc809206ad8a34c
|
|
| MD5 |
05b52f8d1ccca3ea4c4249ca737fa0d6
|
|
| BLAKE2b-256 |
6fe1c791a12eb0521828fa23ccbdefc3c882928adfaf0651bd026ce6418d1cc1
|