Skip to main content

A Python library for FAIR AI/ML ops pipelines

Project description

FAIRops

PyPi Build Status

CodeCov Status

ReadTheDocs

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:

  1. .env file within the current working directory
  2. .env file located in /USERHOME/.config/fairops
  3. 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:

  1. DataOps Demo: https://github.com/acomphealth/dataops
  2. MLOps Demo: https://github.com/acomphealth/mlops

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

fairops-0.2.5.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fairops-0.2.5-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file fairops-0.2.5.tar.gz.

File metadata

  • Download URL: fairops-0.2.5.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for fairops-0.2.5.tar.gz
Algorithm Hash digest
SHA256 e6f7757df7c2eab0004a2d8a493ebaad391699f0a2a501b980f2d30fab7c46e7
MD5 53b7b298e67519af48eb5807173308ca
BLAKE2b-256 ca7d119e3a675705edcfc7df9303cb5dae1e6ab33b83b183e56454edbe5f44d8

See more details on using hashes here.

File details

Details for the file fairops-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: fairops-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for fairops-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 36c58aa2adebc44e26a197d991a17f171884759966b9d8e8f852d25fe2c85baf
MD5 47d25a9a2854bddaf1c1f5c59b8b8ae7
BLAKE2b-256 fed6988a4171e6936c1e4e86daeb1899bcea43d9afde45b078a99c8732a009ec

See more details on using hashes here.

Supported by

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