Skip to main content

SageMaker MLflow Plugin

What does this Plugin do?

This plugin generates Signature V4 headers in each outgoing request to the Amazon SageMaker with MLflow capability, determines the URL of capability to connect to tracking servers, and registers models to the SageMaker Model Registry. It generates a token with the SigV4 Algorithm that the service will use to conduct Authentication and Authorization using AWS IAM.

Installation

To install this plugin, run the following command inside the directory:

pip install .

Eventually when the plugin gets distributed, it will be installed with:

pip install sagemaker-mlflow-skinny

Running this will install the Auth Plugin and mlflow.

To install a specific mlflow version

pip install .
pip install mlflow==2.13

Development details

setup.py

setup.py Contains the primary entry points for the sdk. install_requires Installs mlflow. entry_points Contains the entry points for the sdk. See https://mlflow.org/docs/latest/plugins.html#defining-a-plugin for more details.

Running tests

Setup

To run tests using tox, run:

pip install tox

Installing tox will enable users to run multi-environment tests. On the other hand, if running individual tests in a single environment, feel free to continue to use pytest instead.

Running format checks

tox -e flake8,black-check,typing,twine

Formatting code to comply with format checks

tox -e black-format

Running unit tests

tox --skip-env "black.*|flake8|typing|twine" -- test/unit

Running integration tests

tox --skip-env "black.*|flake8|typing|twine" -- test/integration

Available test environments by default

tox.ini contains support for py39, py310, py311, with mlflow 2.11.* and 2.12.*. To add test environments on tox for additional versions of python or mlflow, modify the environment configs in envlist, as well as deps and depends in [testenv].

Metadata

Release files for sagemaker-mlflow-skinny 0.1.1

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

Source distribution (sdist)

Source distribution for sagemaker-mlflow-skinny 0.1.1
File Size Uploaded
sagemaker_mlflow_skinny-0.1.1.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sagemaker-mlflow-skinny 0.1.1
File Interpreter ABI Platform
sagemaker_mlflow_skinny-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / sagemaker_mlflow_skinny-0.1.1.tar.gz

Download URL sagemaker_mlflow_skinny-0.1.1.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
206b20ed07a93d99a6c686da5e8f1663fb06eeb89e8ad214f2e40856ea55e1cf
BLAKE2b-256 checksum
How to use checksums
d6fdc8eafec24f028a40516716d9593ce64f49fdf2769bba6b7bbb940a0b49af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.2

Release files / sagemaker_mlflow_skinny-0.1.1-py3-none-any.whl

Download URL sagemaker_mlflow_skinny-0.1.1-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d66f1fbdc069e309118c044b3144a44af28f43cec4b497379e694889ec5fec4e
BLAKE2b-256 checksum
How to use checksums
166a79a42d3d07b212b56d87e09c49901aa3a53ed9d9ac8d3216149499d294ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.2
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