Metadata-Version: 2.1
Name: adamops
Version: 0.1.1
Summary: A comprehensive MLOps library for end-to-end machine learning workflows
Home-page: https://github.com/Ayushmishra05/ADAMOPS
Author: Team ADAM
Author-email: Team ADAM <ayush89718@gmail.com>
Maintainer-email: Team ADAM <ayush89718@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Ayushmishra05/ADAMOPS
Project-URL: Documentation, https://github.com/Ayushmishra05/ADAMOPS#readme
Project-URL: Repository, https://github.com/Ayushmishra05/ADAMOPS
Project-URL: Bug Tracker, https://github.com/Ayushmishra05/ADAMOPS/issues
Keywords: mlops,machine-learning,data-science,automl,model-deployment,model-monitoring,feature-engineering
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=1.5.0
Requires-Dist: numpy>=1.23.0
Requires-Dist: scikit-learn>=1.2.0
Requires-Dist: joblib>=1.2.0
Requires-Dist: matplotlib>=3.6.0
Requires-Dist: seaborn>=0.12.0
Requires-Dist: xgboost>=1.7.0
Requires-Dist: lightgbm>=3.3.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: click>=8.1.0
Requires-Dist: rich>=13.5.0
Provides-Extra: dev
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Provides-Extra: api
Requires-Dist: fastapi>=0.100.0; extra == "api"
Requires-Dist: uvicorn>=0.22.0; extra == "api"
Requires-Dist: flask>=2.3.0; extra == "api"
Requires-Dist: streamlit>=1.25.0; extra == "api"
Provides-Extra: automl
Requires-Dist: optuna>=3.0.0; extra == "automl"
Provides-Extra: explainability
Requires-Dist: shap>=0.41.0; extra == "explainability"
Requires-Dist: lime>=0.2.0; extra == "explainability"
Provides-Extra: export
Requires-Dist: onnx>=1.14.0; extra == "export"
Requires-Dist: skl2onnx>=1.15.0; extra == "export"
Provides-Extra: tracking
Requires-Dist: mlflow>=2.5.0; extra == "tracking"
Provides-Extra: all
Requires-Dist: optuna>=3.0.0; extra == "all"
Requires-Dist: shap>=0.41.0; extra == "all"
Requires-Dist: lime>=0.2.0; extra == "all"
Requires-Dist: onnx>=1.14.0; extra == "all"
Requires-Dist: skl2onnx>=1.15.0; extra == "all"
Requires-Dist: fastapi>=0.100.0; extra == "all"
Requires-Dist: uvicorn>=0.22.0; extra == "all"
Requires-Dist: flask>=2.3.0; extra == "all"
Requires-Dist: streamlit>=1.25.0; extra == "all"
Requires-Dist: mlflow>=2.5.0; extra == "all"

# 🚀 AdamOps

[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://python.org)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![Version](https://img.shields.io/badge/version-0.1.0-orange.svg)](https://github.com/adamops/adamops)

**AdamOps** is a comprehensive MLOps library for end-to-end machine learning workflows. It provides a unified interface for data processing, model training, evaluation, deployment, and monitoring.

## ✨ Features

### 📊 Data Module (DataOps)
- **Loaders**: CSV, Excel, JSON, SQL, API, compressed files with auto-encoding detection
- **Validators**: Type validation, missing values, duplicates, shape, statistical checks
- **Preprocessors**: Missing value imputation, outlier handling, text cleaning
- **Feature Engineering**: Encoding, scaling, feature selection, auto feature generation
- **Splitters**: Train/test, time-series, K-Fold, stratified splitting

### 🤖 Model Module (ModelOps)
- **Regression**: Ridge, Lasso, ElasticNet, XGBoost, LightGBM
- **Classification**: Decision Tree, Gradient Boosting, XGBoost, LightGBM, Naive Bayes, KNN
- **Clustering**: K-Means, DBSCAN, Hierarchical, GMM
- **Ensembles**: Voting, Stacking, Blending, Weighted averaging
- **AutoML**: Model selection, hyperparameter tuning (Grid, Random, Bayesian)

### 📈 Evaluation Module
- **Metrics**: Classification, regression, and clustering metrics
- **Visualization**: Confusion matrices, ROC curves, feature importance plots
- **Explainability**: SHAP and LIME explanations
- **Reports**: HTML/PDF report generation

### 🚀 Deployment Module
- **Exporters**: ONNX, PMML, TFLite, CoreML
- **APIs**: FastAPI, Flask, Streamlit
- **Containerization**: Docker, Kubernetes
- **Cloud**: AWS, GCP, Azure

### 📡 Monitoring Module
- **Drift Detection**: Data and concept drift
- **Performance Tracking**: Model metrics over time
- **Alerts**: Performance degradation notifications
- **Dashboards**: Real-time monitoring dashboards

### 🔄 Pipelines Module
- **Workflows**: End-to-end ML workflows as DAGs
- **Orchestration**: Scheduling and pipeline execution

## 🛠️ Installation

### Basic Installation
```bash
pip install adamops
```

### Development Installation
```bash
git clone https://github.com/adamops/adamops.git
cd adamops
pip install -e ".[dev]"
```

### Full Installation (all extras)
```bash
pip install adamops[all]
```

## 🚀 Quick Start

### Data Loading
```python
from adamops.data import loaders

# Load CSV with auto-encoding detection
df = loaders.load_csv("data.csv")

# Load from SQL database
df = loaders.load_sql("SELECT * FROM table", "sqlite:///database.db")
```

### Data Validation
```python
from adamops.data import validators

# Create validation report
report = validators.validate(df)
print(report.summary())
```

### Data Preprocessing
```python
from adamops.data import preprocessors

# Handle missing values
df = preprocessors.handle_missing(df, strategy="knn")

# Handle outliers
df = preprocessors.handle_outliers(df, method="iqr")
```

### Feature Engineering
```python
from adamops.data import feature_engineering

# Encode categorical variables
df = feature_engineering.encode(df, method="onehot", columns=["category"])

# Scale numerical features
df = feature_engineering.scale(df, method="standard", columns=["value"])
```

### Model Training
```python
from adamops.models import modelops

# Train a model
model = modelops.train(
    X_train, y_train,
    task="classification",
    algorithm="xgboost"
)

# Predict
predictions = model.predict(X_test)
```

### AutoML
```python
from adamops.models import automl

# Run AutoML
best_model = automl.run(
    X_train, y_train,
    task="classification",
    tuning="bayesian",
    time_limit=3600
)
```

### Evaluation
```python
from adamops.evaluation import metrics

# Compute metrics
results = metrics.evaluate(y_true, y_pred, task="classification")
print(results)
```

### CLI Usage
```bash
# Train a model
adamops train --data data.csv --target y --algorithm xgboost

# Evaluate a model
adamops evaluate --model model.pkl --data test.csv

# Deploy as API
adamops deploy --model model.pkl --type api --port 8000
```

## 📁 Project Structure

```
adamops/
├── adamops/
│   ├── __init__.py
│   ├── cli.py
│   ├── data/
│   │   ├── loaders.py
│   │   ├── validators.py
│   │   ├── preprocessors.py
│   │   ├── feature_engineering.py
│   │   └── splitters.py
│   ├── models/
│   │   ├── modelops.py
│   │   ├── registry.py
│   │   ├── ensembles.py
│   │   └── automl.py
│   ├── evaluation/
│   │   ├── metrics.py
│   │   ├── visualization.py
│   │   ├── explainability.py
│   │   ├── comparison.py
│   │   └── reports.py
│   ├── deployment/
│   │   ├── exporters.py
│   │   ├── api.py
│   │   ├── containerize.py
│   │   └── cloud.py
│   ├── monitoring/
│   │   ├── drift.py
│   │   ├── performance.py
│   │   ├── alerts.py
│   │   └── dashboard.py
│   ├── pipelines/
│   │   ├── workflows.py
│   │   └── orchestrators.py
│   └── utils/
│       ├── config.py
│       ├── logging.py
│       └── helpers.py
├── tests/
├── examples/
├── docs/
├── setup.py
├── requirements.txt
└── README.md
```

## 📚 Documentation

Full documentation is available at [https://adamops.readthedocs.io](https://adamops.readthedocs.io)

## 🤝 Contributing

Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🙏 Acknowledgments

- scikit-learn team for their excellent ML library
- XGBoost and LightGBM teams for gradient boosting implementations
- SHAP and LIME teams for explainability tools
- The entire open-source ML community

---

**Made with ❤️ by the AdamOps Team**
