Instalación
Requisitos
- Python 3.11, 3.12 o 3.13
- pip 23+
Python 3.10 y anteriores
godml no soporta Python < 3.11. Si tienes una versión anterior, actualiza con conda install python=3.12 o desde python.org.
Instalación base
- pip
- virtualenv
- conda
pip install godml
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install godml
conda create -n godml python=3.12 -y
conda activate godml
pip install godml
Incluye: CLI, MLflow provider, modelos sklearn/XGBoost, compliance PCI-DSS, DataPrep service.
Extras disponibles
# AWS SageMaker support
pip install godml[aws]
# Deep learning (LSTM con TensorFlow)
pip install godml[deep]
# AI Advisor (selección de modelo con LLM)
pip install godml[advisor]
# Conectores de datos extendidos (Parquet, MySQL)
pip install godml[data]
# Todo en uno (sin dev tools)
pip install godml[all]
# Desarrollo y testing
pip install godml[dev]
Verificar instalación
godml --version
# godml 1.1.1
Desde el código fuente
git clone https://github.com/DAGMALIA/godml.git
cd godml
pip install -e ".[dev]"
Dependencias principales
| Paquete | Uso |
|---|---|
typer | CLI |
pydantic | Validación del YAML |
mlflow | Tracking y registro de modelos |
xgboost | Modelo por defecto |
scikit-learn | Modelos sklearn, métricas |
pandas | Manipulación de datos |
rich | Output en terminal |
Con SageMaker
pip install godml[aws]
Agrega: boto3, sagemaker SDK. Requiere credenciales AWS configuradas:
export AWS_ACCESS_KEY_ID=AKIA...
export AWS_SECRET_ACCESS_KEY=...
export AWS_DEFAULT_REGION=us-east-1
export SAGEMAKER_ROLE_ARN=arn:aws:iam::123456789012:role/SageMakerRole
→ YAML Schema — estructura completa del godml.yml