Skip to main content

Skinny Version of AWS Plugin for MLflow with SageMaker

Project description

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].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sagemaker_mlflow_skinny-0.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sagemaker_mlflow_skinny-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file sagemaker_mlflow_skinny-0.1.0.tar.gz.

File metadata

  • Download URL: sagemaker_mlflow_skinny-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for sagemaker_mlflow_skinny-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6441c690d13b02830c82eda7630a9fa779f01785b8d59f42de24bf1c8d50cd75
MD5 b67f1ed9b41110b32facd2e95bb54176
BLAKE2b-256 9b3cf7a43ee3805d15fdd1782c094652f2d2cb6f2fbcfd55657001995872314d

See more details on using hashes here.

File details

Details for the file sagemaker_mlflow_skinny-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sagemaker_mlflow_skinny-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97fae874ee301733f57bc2f31b297eebb05c2ee06b88a43a34f297bf3919dafc
MD5 7f3d06d1c066c5b075bdc17daaab5bdf
BLAKE2b-256 289c299ede4505ea2763848d07eedbc0564317e155245046ed078823a706ecc7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page