Jupyter server proxy extension for mlflow tracking server
Project description
MLFlow Server Proxy
MLFlow Server Proxy lets you run arbitrary external MLFlow tracking server alongside your notebook server and provide authenticated web access to them using a path /mlflow
next to others like /lab
.
Alongside the python package that provides the main functionality, the JupyterLab extension @jupyterlab/server-proxy provides buttons in the JupyterLab launcher window to get to MLFlow tracking server.
This package was built using the jupyter-server-proxy
cookiecutter template.
🤹Installation
Python package
You can currently install this package from PyPI.
pip install mlflow-server-proxy
To install with all the resources then use
pip install 'mlflow-server-proxy[resources]'
The above command will install MLFlow as well.
🤹Setup
The environment variable MLFLOW_STORE
has to be set as backend storage for MLFlow to log models and artifacts. Default is /tmp
This environment variable is then used in setting server uri while using MLFlow in your code as below:
import mlflow
server_uri = os.environ["MLFLOW_STORE"]
mlflow.set_tracking_uri(server_uri)
Requirements
Install MLFlow
This package's executes the standard mlflow server
command. This command assumes the mlflow
executable required to start the application is globally available.
pip install mlflow
Install Jupyter Notebook
This extension relies on the Jupyter Notebook to run. Refer to Jupyter's official documentaion for installation instructions.
Release History
- Version 0.1.0
- Initial release - File based backend
Maintainer
🏆Contributing
We welcome Your interest in the American Express Open Source Community on Github. Any Contributor to any Open Source Project managed by the American Express Open Source Community must accept and sign an Agreement indicating agreement to the terms below. Except for the rights granted in this Agreement to American Express and to recipients of software distributed by American Express, You reserve all right, title, and interest, if any, in and to Your Contributions. Please fill out the Agreement.
🗝️License
Any contributions made under this project will be governed by the Apache License 2.0.
🗣️Code of Conduct
This project adheres to the American Express Community Guidelines. By participating, you are expected to honor these guidelines.
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
File details
Details for the file mlflow-server-proxy-0.1.0.tar.gz
.
File metadata
- Download URL: mlflow-server-proxy-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec90927c1ecc9cd3b247daa0e42b40aa6d93556738f439d4bd4353ef89c7b56f |
|
MD5 | 0f83597a3b327fa0e0914ce70d8eedc9 |
|
BLAKE2b-256 | 97b2ad030769a0affb7346d348e9143f783a9b944e800598ca187a5933df9d40 |
File details
Details for the file mlflow_server_proxy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: mlflow_server_proxy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2d566ebc3392a78658317ef90d522a34dc069f5a1bf3e418eaed516f4e16f2 |
|
MD5 | 3ca7ba0293a66189cd021df601bc6b6f |
|
BLAKE2b-256 | 1d54f8a5f4e97ef2327a89ce1af7f023ab7d9308008d4441312c8b68ac74aefe |