Open source code for the mflux-ai python package
Project description
mflux-ai
Open source code for the mflux-ai
python library.
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.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
File details
Details for the file mflux-ai-0.3.0.tar.gz
.
File metadata
- Download URL: mflux-ai-0.3.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
26f6e2cde157cf31df834ecd743f2ef5241229482a8b33ca7681d9ec47872293
|
|
MD5 |
7b42c975961872df06585af478b6049c
|
|
BLAKE2b-256 |
b4c914e703ca4ff4f04ed83f15faf0ad307cbd70f519a02afdd7522939946c76
|
File details
Details for the file mflux_ai-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mflux_ai-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5c34ceb283ed4a7143ba0a1e1ed6b78ecfc3ef149164144f49f299d6ebb9c29f
|
|
MD5 |
dc26130c65509a232cc19e5ee9307120
|
|
BLAKE2b-256 |
b7f32e1dadac6103450844696f9f58a970f699a55a2d5f6b497f883977445e1a
|