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.0.0.post67

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.0.0.post67
File Size Uploaded
foodx_devops_tools-0.0.0.post67.tar.gz 97.5 kB Details

Built distribution (wheel)

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

Total release size: 186.8 kB

Release files / foodx_devops_tools-0.0.0.post67.tar.gz

Download URL foodx_devops_tools-0.0.0.post67.tar.gz
Size 97.5 kB
Tags Source
SHA-256 checksum
How to use checksums
825a0e6e1b36e54b48609b53b627656cdd12e7dc8b9e0b8ce105b19111d29379
BLAKE2b-256 checksum
How to use checksums
12f8341eda9d9e291270a9b4cb1d8d3a28e3c9932ae9948c8ff9f2cddbd06523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release files / foodx_devops_tools-0.0.0.post67-py3-none-any.whl

Download URL foodx_devops_tools-0.0.0.post67-py3-none-any.whl
Size 89.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4feaa0d018757dd50fe90f07eb61d5999fb9cf677f686bdb7a4452aee86eb6b5
BLAKE2b-256 checksum
How to use checksums
cbdd3bedb3a6332f0b758e90739ede28d82bd1c7fff613754472f0288883c818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release history Release notifications | RSS feed

0.16.0

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

This release

0.0.0.post67 This release

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