Skip to main content

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


Download files

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

Source Distribution

mlflow-server-proxy-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

mlflow_server_proxy-0.1.0-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

Supported by

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