Skip to main content

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


Download files

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

Source Distribution

mlflow-dbstore-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

mlflow_dbstore-1.0.0-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mlflow-dbstore-1.0.0.tar.gz.

File metadata

  • Download URL: mlflow-dbstore-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 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

Hashes for mlflow-dbstore-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2c962c4ae070639d5ffd91a6a7e5d58af078bf40595fc23973732f60c60a0feb
MD5 ba9e5a84df79eb121b27678a91e6390f
BLAKE2b-256 dc3cc91c4f9cceb8037c88de810cb6d48f1f341746ce6801115d9847a136d78f

See more details on using hashes here.

File details

Details for the file mlflow_dbstore-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mlflow_dbstore-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 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

Hashes for mlflow_dbstore-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1eea22e6f9aa0968277b9f0061481d00ef23c070bca57790e76ce73ae2ec5044
MD5 896f0e7c0de4e9dda05f56f95a5ca6d9
BLAKE2b-256 c1b8ba09a8246a4a9ed369a8ee72702e88fbf02a97d1dbced4c4f01ffcf91a99

See more details on using hashes here.

Supported by

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