Metadata-Version: 2.1
Name: mlOpus
Version: 0.2.0
Summary: MLOps tools for research and development.
Author-email: Lariel Fernandes <lariel.c2.fernandes@gmail.com>
License: LGPL-3.0-or-later
Project-URL: Repository, https://github.com/lariel-fernandes/mlopus
Classifier: Environment :: Console
Classifier: Operating System :: Unix
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Requires-Python: <4,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pytz>=2024
Requires-Dist: dacite~=1.5
Requires-Dist: pyyaml<7,>=5
Requires-Dist: urllib3~=2.2
Requires-Dist: pydantic<3,>=1.10.17
Requires-Dist: packaging>=22
Requires-Dist: rclone-python~=0.1
Requires-Dist: importlib-metadata>=6.8
Provides-Extra: search
Requires-Dist: mongomock~=4.1; extra == "search"
Provides-Extra: mlflow
Requires-Dist: mlflow-skinny~=2.9; extra == "mlflow"

# MLOpus
[![Test Coverage](https://lariel-fernandes.github.io/mlopus/coverage/coverage.svg)](https://lariel-fernandes.github.io/mlopus/coverage)

A collection of MLOps tools for AI/ML/DS research and development.

### Main features:
- **Agnostic experiment tracking and model registry:**
  - Compatible with any "MLflow-like" provider through plugins.
  - Search entities in MongoDB Query Language with predicate push-down to the MLflow provider.
  - Local cache for artifacts and entity metadata.
  - Offline mode to work with local cache only.
  - Support for nested tags/params/metrics and JSON-encoded tags/params for non-scalar types.
  - Not dependent on env vars, global vars or a single global active run.


- **Artifact Schemas**:
  - Packaging framework for models and datasets.
  - Can be used with or without MLflow and/or Kedro.
  - Schemas can be registered by alias at the experiment, run, model or model version.
  - Artifacts catalog for type-safe, configuration-based artifact loading/downloading in serving applications.


Check the [tutorials](https://github.com/lariel-fernandes/mlopus/tree/main/examples)
for a friendly walkthrough of (almost) everything you can do with MLOpus.

A minimal API reference is also available [here](https://lariel-fernandes.github.io/mlopus/docs/api/stable/latest).

### Installation

**Recommended software:**
- [Rclone CLI](https://rclone.org/install/#script-installation) (required for artifact transfer from/to cloud storage)

**Optional extras:**
- `mlflow`: Enables support for the default MLflow plugin, which handles communication with open-source MLflow servers.
- `search`: Enables searching entities with MongoDB query syntax

**Using pip:**
```bash
pip install mlopus[mlflow,search]
```

**Using Poetry:**
```bash
poetry add mlopus --extras "mlflow,search"
```

**Using UV:**
```bash
uv add mlopus --extra mlflow --extra search
```
