Datarisk MLOps - SDK
A Python SDK for interacting with the MLOps API, providing tools for training, deploying, and monitoring machine learning models.
Table of Contents
Installation
pip install datarisk-mlops-codex
Getting started
To use the SDK, you must be logged in to the application. This can be done by importing one of the provided clients, as shown in the example below
from mlops_codex.model import MLOpsModelClient
client = MLOpsModelClient()
Example of usage
PATH = './samples/asyncModel/'
# Deploying a new model
model = client.create_model(
model_name='Teste notebook Async',
model_reference='score',
source_file=PATH+'app.py',
model_file=PATH+'model.pkl',
requirements_file=PATH+'requirements.txt',
schema=PATH+'schema.csv',
python_version='3.9',
operation="Async",
input_type='csv',
group='datarisk'
)
PATH = './samples/asyncModel/'
execution = model.predict(data=PATH+'input.csv', group_token='TODO', wait_complete = False)
There's also some example notebooks.
Support
- For help or questions, visit the documentation
Contributing
- To learn more about making a contribution to datarisk-mlops-codex, please see our Contributing guide.
Metadata
Release files for datarisk-mlops-codex 4.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datarisk_mlops_codex-4.0.2.tar.gz | 117.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datarisk_mlops_codex-4.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 180.5 kB
Release files / datarisk_mlops_codex-4.0.2.tar.gz
| Download URL | datarisk_mlops_codex-4.0.2.tar.gz |
|---|---|
| Size | 117.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6873087032ad847c43cb0bac2ef94675ac16a4c9ebad4a9a5d8314a43a3bb890
|
|
BLAKE2b-256 checksum How to use checksums |
8450e23298b63218fba05fed4eb1889e10ee6ceaf832ed8ac13a17f1ed6f7b46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.4
|
Release files / datarisk_mlops_codex-4.0.2-py3-none-any.whl
| Download URL | datarisk_mlops_codex-4.0.2-py3-none-any.whl |
|---|---|
| Size | 63.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d6230f7c382dd53ba1de4a185b2b16c128575f2be6dbe783b9f53edd0c25d76
|
|
BLAKE2b-256 checksum How to use checksums |
1ff03aef214eef13d113e371f65ff258bf466ff27d60e04ffb001f3b7ffefd50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.4
|