The Python client for MFlux.ai
Project description
mflux-ai
This is the official mflux-ai
python library for MFlux.ai
Features
Fetch connection strings and tell MLflow how to connect with MFlux.ai
Download and upload objects/datasets from/to the MFlux.ai cloud service
Quickstart
Installation
pip install mflux-ai
Basic usage
import mflux_ai
mflux_ai.init("INSERT_YOUR_PROJECT_TOKEN_HERE")
# MLflow now knows how to connect with your project server, hosted on MFlux.ai
Store and retrieve datasets
my_dataset = np.zeros(shape=(10000, 100), dtype=np.float32)
dataset_filename = "my-dataset.pkl"
mflux_ai.put_dataset(my_dataset, dataset_filename)
my_loaded_dataset = mflux_ai.get_dataset(dataset_filename)
assert_array_equal(my_dataset, my_loaded_dataset)
History
v0.5.1 (2019-09-12)
Add support for MLflow authentication
Improve the performance of
mflux_ai.put_dataset
Correctly reset the MinIO client when
init
completes successfullySpecify the desired API version and let the user know if an upgrade is needed
v0.4.0 (2019-09-01)
Mark
mflux_ai.set_env_vars()
as deprecated. Usemflux_ai.init()
instead.Remove support for Python 3.4
Add support for secure MinIO connections
v0.3.0 (2019-08-16)
Add a function
init
that will eventually replaceset_env_vars
Check if the provided project token is valid.
v0.2.1 (2019-08-16)
Set licence to Apache License 2.0
Transition from pre-alpha to alpha.
v0.2.0 (2019-08-14)
Add convenience functions for storing and retrieving datasets
v0.1.1 (2019-08-14)
First release on PyPI. Has support for setting environment variables for MLflow based on an MFlux.ai project token.
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
Hashes for mflux_ai-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b00b41658a9ca69a8d5f729bb8b54f1715b5de6c779f68f7ab456d528eef3c51 |
|
MD5 | e6843b0092d3872f12deba958fef322b |
|
BLAKE2b-256 | d99bb3aa262c595d350c4fea004312b4845cc72376f2fd929ac67e9abc1599b8 |