Skip to main content

Open source code for the mflux-ai python package

Project description

mflux-ai

https://img.shields.io/pypi/v/mflux_ai.svg https://img.shields.io/travis/AIAScience/mflux_ai.svg

Open source code for the mflux-ai python library.

Features

  • Acquire and set environment variables required by mflux-server

Quickstart

Installation

pip install mflux-ai

Usage

import mflux_ai

mflux_ai.set_env_vars(token="insert_your_token_here")

Storing and retrieving 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.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


Download files

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

Source Distribution

mflux-ai-0.2.1.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

mflux_ai-0.2.1-py2.py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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