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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sagemaker_mlflow_skinny-0.1.0.dev2.tar.gz.
File metadata
- Download URL: sagemaker_mlflow_skinny-0.1.0.dev2.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5fe18c533722079254a3b4700957c4811fcee408d79f1301ec149df345b4ac2
|
|
| MD5 |
59f5f796d33e5d0698563b1faab3a131
|
|
| BLAKE2b-256 |
49c9099784211d8c23d70619008f4e49f1ab88b411c5908605046ff28f4804ce
|
File details
Details for the file sagemaker_mlflow_skinny-0.1.0.dev2-py3-none-any.whl.
File metadata
- Download URL: sagemaker_mlflow_skinny-0.1.0.dev2-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940c7f3e8388dc45ec0fd3176c8363803efe97f39c29b8fa72ac194fbb0050ce
|
|
| MD5 |
79cc182af5f6aeda505baa79b386f28b
|
|
| BLAKE2b-256 |
ef44b50b376ed8a8144070fb2c20ea3e53f31d024f0d1181322989db69b11b55
|