A Python library for FAIR AI/ML ops pipelines
Project description
FAIRops
Installation
To install the fairops library:
pip install fairops
For developers of the fairops library:
conda env create -f environment_dev.yml
conda activate fairopsdev
Programmatic Usage
Documentation for programmatic usage of the fairops library can be found at: https://fairops.readthedocs.io/en/latest
CLI Usage
Configure Environment Variables
The python-dotenv library is used for configuration management via environment variables (only needed if using methods that depend on the variable, such as Zenodo/Figshare). The environment variables can be set manually or within a configuration file. The order or priority is:
- .env file within the current working directory
- .env file located in /USERHOME/.config/fairops
- Existing environment variables
If a .env configuration file is present, use of the fairops CLI will overwrite the existing environment variables. The .env files can be generated manually or via the CLI. For details on which modules need to be/can be configured, run:
fairops configure
The .env file can also be generated manually with the following variables:
FIGSHARE_API_TOKEN=yourtoken
ZENODO_API_TOKEN=yourtoken
To determine which variables are currently being used by the CLI, run:
fairops configure which
Docker Image Preservation
To generate an archive/artifact for a Docker image and publish it to a repository, run the following command (requires Docker to be running locally):
fairops docker publish IMAGEREPO IMAGETAG
Demo Applications
Two demo applications have been developed to showcase implementation and integration of the fairops library:
- DataOps Demo: https://github.com/acomphealth/dataops
- MLOps Demo: https://github.com/acomphealth/mlops
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fairops-0.2.7.tar.gz.
File metadata
- Download URL: fairops-0.2.7.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0e0c3b9ab1c8e1cca5e6418212f56d53281760e31777ef242a5f6c8044fed39
|
|
| MD5 |
54be3ee72807d2924e64d39555bfd6f6
|
|
| BLAKE2b-256 |
0a48e7742dd9a9850296ac5459338960961bcd6e9238b1a5b3873c0a6fbc7b0d
|
File details
Details for the file fairops-0.2.7-py3-none-any.whl.
File metadata
- Download URL: fairops-0.2.7-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73984b30bc473a3f0b7fffccef71b0c2459fad1b3b2af50444d0b33b3396338
|
|
| MD5 |
dee4b3f6d516b21d626b35c64071ae1e
|
|
| BLAKE2b-256 |
fcc94c2651901105d89e1b85e04b76994ee5278b673df057bd2ba4ab1d5c8936
|