Skip to main content

Foodx DevOps pipeline utilities.

1 Installation

The foodx_devops_tools package is available from PyPI. Installing into a virtual environment is recommended.

python3 -m venv .venv; .venv/bin/pip install foodx_devops_tools

2 Developers

The first time you clone this project use the following command to set up the virtual environment for the project. Ensure that you have Python3, git and the Python package venv installed on your system.

Note that while venv is in the Python standard library, in Ubuntu it is not installed with the standard Python 3 apt package so you must explicitly install it with sudo apt install python3-venv.

git clone <foodx_devops_tools repo url>
cd foodx_devops_tools
python3 -m venv .venv; .venv/bin/pip install build_harness; .venv/bin/build-harness install

Run the same static analysis as the pipeline using the build-harness utility:

# apply PEP-8 formatting to the code (mandatory as the pipeline will fail if not PEP-8 compliant formatting)
build-harness formatting
# apply formatting and then do additional static checks using flake8, mypy and pydocstyle
build-harness static-analysis
# run unit tests - for this project the test dir specification is necessary to avoid running manual tests
build-harness unit-test --test-dir tests/ci
# generate unit test coverage report
build-harness unit-test --test-dir tests/ci --coverage-html

Examine the .gitlab-ci.yml file for more examples of using the build-harness utility.

Release files for foodx-devops-tools 0.16.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 foodx-devops-tools 0.16.0
File Size Uploaded
foodx_devops_tools-0.16.0.tar.gz 110.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for foodx-devops-tools 0.16.0
File Interpreter ABI Platform
foodx_devops_tools-0.16.0-py3-none-any.whl Python 3 none any Details

Total release size: 211.7 kB

Release files / foodx_devops_tools-0.16.0.tar.gz

Download URL foodx_devops_tools-0.16.0.tar.gz
Size 110.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb78ad36ad9abab72dcfa74b7bb97c65da3dd4e15750a33b68d0420becb0edc7
BLAKE2b-256 checksum
How to use checksums
a17fdcbd996cce4f5e3aeb597e0ac7236d5aa2822c9973dde4e2e524d06f47af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / foodx_devops_tools-0.16.0-py3-none-any.whl

Download URL foodx_devops_tools-0.16.0-py3-none-any.whl
Size 101.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5454557bc39b7ae2d6e10b6f14c5d94f0405a3bda20ea8c72232f5fd304538a7
BLAKE2b-256 checksum
How to use checksums
b96641ff0573ce9ea2d0fa2c2f1ed03c593131d9cff1f3d99ed105444fe44c7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.16.0 This release

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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