Skip to main content

Datarisk MLOps - SDK

ikjo

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


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)

Source distribution for datarisk-mlops-codex 4.0.2
File Size Uploaded
datarisk_mlops_codex-4.0.2.tar.gz 117.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datarisk-mlops-codex 4.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

4.0.2 This release

2 release files

3.0.0

1 release file

2.2.11

1 release file

2.2.10

1 release file

2.2.9

1 release file

2.2.8

1 release file

2.2.7

1 release file

2.2.6

1 release file

2.2.5

1 release file

2.2.4

1 release file

2.2.3

1 release file

2.2.2

1 release file

2.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page