Skip to main content

mflux-ai

https://img.shields.io/pypi/v/mflux_ai.svg https://img.shields.io/travis/AIAScience/mflux-ai-python.svg?branch=master

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.7.0 (2020-01-14)

  • Implement mflux_ai.get_best_run(), which returns the best run in a model group defined in MFlux.ai.

v0.6.0 (2019-12-13)

  • Move functions from mflux_ai.mflux_ai to mflux_ai.core. The API stays backwards-compatible for now, but warnings are shown if the old API is used. This change was applied to get cleaner and more consistent import statements.

v0.5.3 (2019-09-23)

  • Improve the performance and the support for special characters in object names in mflux_ai.get_dataset by unpickling in memory instead of using a temporary file on disk.

  • Don’t expose non-public variables and imports on the top-level package

v0.5.2 (2019-09-20)

  • Improve the performance of mflux_ai.put_dataset by pickling in memory instead of using a temporary file on disk.

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 successfully

  • Specify 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. Use mflux_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 replace set_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.

Metadata

Release files for mflux-ai 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mflux-ai 0.7.0
File Size Uploaded
mflux-ai-0.7.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mflux-ai 0.7.0
File Interpreter ABI Platform
mflux_ai-0.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 27.7 kB

Release files / mflux-ai-0.7.0.tar.gz

Download URL mflux-ai-0.7.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4bb93ec7302e0cb01550ef143404faa65e7dd20feb306da1544ab0b4bffe73e2
BLAKE2b-256 checksum
How to use checksums
16b40e2690f08296161868f64b31ee679cafc506547b0bf199bf685b39f41810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6

Release files / mflux_ai-0.7.0-py2.py3-none-any.whl

Download URL mflux_ai-0.7.0-py2.py3-none-any.whl
Size 11.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
dd1c23770de4f5ede6e27417e6c1256a367c6ccebfe706e06fa14813a1e60e86
BLAKE2b-256 checksum
How to use checksums
319639eff7f3aef05df09d791dd6b136dc56a663bc8d3d420c229566044098a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.0

1 release file

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page