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.post65

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.post65
File Size Uploaded
foodx_devops_tools-0.0.0.post65.tar.gz 96.8 kB Details

Built distribution (wheel)

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

Total release size: 185.8 kB

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

Download URL foodx_devops_tools-0.0.0.post65.tar.gz
Size 96.8 kB
Tags Source
SHA-256 checksum
How to use checksums
89ee132cb9587b7c43e39c7338c0938bde12aef3dbd5c8364d40405f40f851ca
BLAKE2b-256 checksum
How to use checksums
70212480d0c7716cca503bb657305140af29468c4eb1046b7e630fde07d567b1
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.post65-py3-none-any.whl

Download URL foodx_devops_tools-0.0.0.post65-py3-none-any.whl
Size 89.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d69637edc6bb07d7f2c6b8ea2c8048e24ef92575fbebeaa3e07748215fbb636d
BLAKE2b-256 checksum
How to use checksums
b063b8df33915379c483f52c6e0b76b61fe65c07fb0f105b8dc697abc60963d8
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.post65 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