Skip to main content

A kedro-plugin to use mlflow in your kedro projects

Project description

General informations

Python Version License Code Style: Black SemVer Powered by Kedro


Package manager Software repository Latest release Total downloads
pip PyPI PyPI version Downloads
conda conda-forge conda version Downloads

Code health


Branch Tests Coverage Links Documentation Deployment Activity
master test codecov links Documentation publish commit

If you like the repo, please give it a :star:

What is kedro-mlflow?

kedro-mlflow logo

kedro-mlflow is a kedro-plugin for lightweight and portable integration of mlflow capabilities inside kedro projects. It enforces Kedro principles to make mlflow usage as production ready as possible. Its core functionalities are :

  • experiment tracking: kedro-mlflow intends to enhance reproducibility for machine learning experimentation. With kedro-mlflow installed, you can effortlessly register your parameters or your datasets with minimal configuration in a kedro run. Later, you will be able to browse your runs in the mlflow UI, and retrieve the runs you want. This is directly linked to Mlflow Tracking.
  • pipeline as model: kedro-mlflow intends to be be an agnostic machine learning framework for people who want to write portable, production ready machine learning pipelines. It offers a convenient API to convert a Kedro pipeline to a model in the mlflow sense. This "model" is self contained : it includes preprocessing and postprocessing steps as well as artifacts produced during training. Consequently, you can serve your Kedro pipeline as an API with one line of code and share. This is directly linked to Mlflow Models.

How do I install kedro-mlflow?

Important: kedro-mlflow is only compatible with kedro>=0.16.0 and mlflow>=1.0.0. If you have a project created with an older version of Kedro, see this migration guide.

You can install kedro-mlflow with several tools and from several packaging platforms:

Logo Platform Command
PyPI logo PyPI pip install kedro-mlflow or uv pip install kedro-mlflow
Conda Forge logo Conda Forge conda install kedro-mlflow --channel conda-forge
GitHub logo GitHub pip install --upgrade git+https://github.com/Galileo-Galilei/kedro-mlflow.git

I strongly recommend to use a package manager (like conda) to create a virtual environment and to read kedro installation guide.

Getting started

The documentation contains:

Some frequently asked questions on more advanced features:

Release and roadmap

The release history centralizes packages improvements across time. The main features coming in next releases are visible on the repo's project. Feel free to upvote/downvote and discuss prioritization in associated issues.

Disclaimer

This package is still in active development. We use SemVer principles to version our releases. Until we reach 1.0.0 milestone, breaking changes will lead to <minor> version number increment, while releases which do not introduce breaking changes in the API will lead to <patch> version number increment.

The user must be aware that we will not reach 1.0.0 milestone before Kedro does (mlflow has already reached 1.0.0). That said, the API is considered as stable from 0.8.0 version and user can reliably consider that no consequent breaking change will happen unless necessary for Kedro compatibility (e.g. for minor or major Kedro version).

If you want to migrate from an older version of kedro-mlflow to most recent ones, see the migration guide.

Can I contribute?

We'd be happy to receive help to maintain and improve the package. Any PR will be considered (from typo in the docs to core features add-on) Please check the contributing guidelines.

Main contributors

The following people actively maintain, enhance and discuss design to make this package as good as possible:

Many thanks to Adrian Piotr Kruszewski for his past work on the repo.

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

kedro_mlflow-0.14.4.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

kedro_mlflow-0.14.4-py3-none-any.whl (54.5 kB view details)

Uploaded Python 3

File details

Details for the file kedro_mlflow-0.14.4.tar.gz.

File metadata

  • Download URL: kedro_mlflow-0.14.4.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for kedro_mlflow-0.14.4.tar.gz
Algorithm Hash digest
SHA256 9446075e1618dcf87e7df330810ecd0e32baa46c66686d131b1035f66091df92
MD5 67b5748830e19eb6228a35008d79d91f
BLAKE2b-256 f42d588e5848dc61272ed29fad3bbfed94928c71d7789482d4a364353f8b85ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for kedro_mlflow-0.14.4.tar.gz:

Publisher: publish.yml on Galileo-Galilei/kedro-mlflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kedro_mlflow-0.14.4-py3-none-any.whl.

File metadata

  • Download URL: kedro_mlflow-0.14.4-py3-none-any.whl
  • Upload date:
  • Size: 54.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for kedro_mlflow-0.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bb96de3bc831c407abe5b5f5464d2d94af8e4b5a516910f164a049e7b2b874d9
MD5 b9f8eeb907f52bf9baa98260b3ded31a
BLAKE2b-256 32e88b6c8f87099bd5c081eb7cd1d019d3589ed36d1fd8e279f17e5d35385bef

See more details on using hashes here.

Provenance

The following attestation bundles were made for kedro_mlflow-0.14.4-py3-none-any.whl:

Publisher: publish.yml on Galileo-Galilei/kedro-mlflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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