Skip to main content

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
            

Metadata

Release files for mlrun-connect 2021.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlrun-connect 2021.9.0
File Size Uploaded
mlrun_connect-2021.9.0.tar.gz 24.3 kB Details

Release files / mlrun_connect-2021.9.0.tar.gz

Download URL mlrun_connect-2021.9.0.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b8770cb25532c75e9c30142679bfbdd228226c94c4fff36ddb0139bc6340b6bc
BLAKE2b-256 checksum
How to use checksums
3f9c84ced18e8e349a07094bfd8a44e9dbc7eba5c701d6e47738eb2380609915
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2021.9.0 This release

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