Metadata-Version: 2.1
Name: devo-mlmodelmanager
Version: 1.2.0
Summary: A client for Devo's ML model manager
Home-page: https://github.com/DevoInc/python-mlmodelmanager-client
License: MIT
Author: Devo ML Team
Author-email: machine.learning@devo.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
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: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: requests (>=2.28.1,<3.0.0)
Requires-Dist: validators (>=0.20.0,<0.21.0)
Project-URL: Documentation, https://devoinc.github.io/python-mlmodelmanager-client/
Project-URL: Repository, https://github.com/DevoInc/python-mlmodelmanager-client
Description-Content-Type: text/markdown

![License](https://img.shields.io/github/license/DevoInc/python-mlmodelmanager-client)
![Release](https://img.shields.io/github/v/release/DevoInc/python-mlmodelmanager-client?display_name=tag&sort=semver)
![Tests](https://github.com/DevoInc/python-mlmodelmanager-client/actions/workflows/test-tox.yml/badge.svg)
![Python](https://img.shields.io/pypi/pyversions/devo-mlmodelmanager)

# Devo Python ML Model Manager Client

The **ML Model Manager** is a service to register machine learning models on
[Devo](https://www.devo.com) platform. These models can be used through the
query engine using the `mlevalmodel(...)`  operation or through the
[FLOW](https://docs.devo.com/space/latest/95213164/Flow) correlation engine
including in the context the
[MlSingleModelEval](https://docs.devo.com/space/latest/95214962/ML+Single+Model+Evaluator)
unit.

**devo-mlmodelmanager** provides an easy-to-use client for Devo’s ML Model
Manager. Built on top of the widely used
[Requests](https://requests.readthedocs.io/en/latest/) library exposes a
simplified interface for model management, allowing you to focus in the machine
learning workflows and not worry about the integration with Devo platform.

## A simple example

``` python
from devo_ml.modelmanager import create_client_from_token

url = "<model-manager-server-url>"
token = "<valid-access-token>"

client = create_client_from_token(url, token)

client.add_model(
   "pokemon_onnx_regression",          # model name
   "ONNX",                             # model engine
   "~/models/pokemon.onnx",            # model file
   description="A funny Pokemon prediction"
)
```

## Requirements

* Python 3.7+

## Install

``` console
$ pip install devo-mlmodelmanager
```

## Documentation

Explore the [documentation](https://devoinc.github.io/python-mlmodelmanager-client/) to learn more.

