mlrun_connect
A collection of tools to simplify integration between MLRun and services from cloud providers.
Quickstart
The package can be installed using:
pip install mlrun_connect
MLRun is an open-source MLOps orchestration framework. It enables end-to-end development of machine learning models, from exploratory data analysis to prototyping to operationalization.
A common use case would be to install MLRun on-premise or with a cloud provider, and connect to data sources for exploratory analysis. While the Nuclio library offers a HTTP-based approach to integration with external services, there are a variety of other approaches that may be prefered (i.e. messaging systems).
mlrun_connect will provide tools to ease integration with these services.
Azure Service Bus Queue
The AzureSBTMLRun class can be in conjunction with a Nuclio function to initiate the execution of a mlrun pipeline based on an incoming message. The AzureSBToMLRun object becomes the parent to a new class that is instantiated within the Nuclio init_context function, as follows:
from mlrun_connect.azure import AzureSBToMlrun
def init_context(context):
pipeline = load_project(<PATH_TO_MLRUN_PROJECT>)
class SBHandler(AzureSBToMLRun):
def run_pipeline(self, event):
arguments = {"incoming_data": event["key"]}
workflow_id = pipeline.run(arguments = arguments)
return workflow_id
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mlrun_connect-2021.9.0.tar.gz.
File metadata
- Download URL: mlrun_connect-2021.9.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8770cb25532c75e9c30142679bfbdd228226c94c4fff36ddb0139bc6340b6bc
|
|
| MD5 |
4d3671ea452bf8fdd27951a4b52056ce
|
|
| BLAKE2b-256 |
3f9c84ced18e8e349a07094bfd8a44e9dbc7eba5c701d6e47738eb2380609915
|