Plugin that provides DB Artifact Store functionality for MLflow
Project description
SQL Server plugin for MLflow
This repository provides a MLflow plugin that allows users to use SQL Server as the artifact store for MLflow.
Implementation overview
This repository contains one Python package:
dbstoreplugin
: This package includes the DBArtifactRepository
class that is used to read and write artifacts from SQL databases. This class sets the attribute is_plugin = True
in order to indicate that the class is an MLflow artifact repository plugin. This package also includes the SQLAlchemy database models referenced by DBArtifactRepository
. The package's setup.py
file defines entrypoints that tell MLflow to automatically associate the mssql
URIs with the DBArtifactRepository
implementation when the dbstoreplugin
library is installed. The entrypoints are configured as follows:
entry_points={
"mlflow.artifact_repository": [
"mssql=sqlplugin.store:DBArtifactRepository"
]
},
User experience
The proposed plugin structure and development workflow provide the following experience to the end user:
Users can simply install MLflow with the SQL Server plugin via pip install mlflow[sqlserver]
and then use MLflow as normal. The SQL Server artifact support will be provided automatically using the previously-described setup entrypoints mechanism.
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-dbstore-1.0.1.tar.gz
.
File metadata
- Download URL: mlflow-dbstore-1.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a796b15b185196ac9106686cedce81485cd2122576ad2fbbcafad3340886c07a |
|
MD5 | 0128f822ece273091ada6bf8aa76c084 |
|
BLAKE2b-256 | 0af11ccb59c4b16b44c6c92a327648462f348b8be43e2caf8964b2b8f52f9c12 |
File details
Details for the file mlflow_dbstore-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: mlflow_dbstore-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fe7e427fb8384ba5dc38f17c4b67240631d6e43689b150248905720321f405 |
|
MD5 | 147e67f1be52cfab7ceff7d17fd3d8c4 |
|
BLAKE2b-256 | b53fc90b7e413774c138dcb98665be98d4047bd00dc8f358af7b33ce5592126c |