Skip to main content

Module qc data tools

Project description

module QC data tools v0.1.0

this project contains the modules needed to write/read the data files used in the module QC flow. This project is to be added as a submodule in other projects.

Installation

Note that please use the latest python version. Python3.7 is the minimum requirement for developers.

via clone

First clone the project:

git clone https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-tools.git

Upon a successful checkout, cd to the new module-qc-data-tools directory and run the following to install the necessary software:

$ python -m venv venv
$ source venv/bin/activate
$ python -m pip install --upgrade pip
$ python -m pip install -e .

via pip

python -m venv venv
source venv/bin/activate
python -m pip install -U pip
python -m pip install module-qc-data-tools==0.1.0 --extra-index-url https://gitlab.cern.ch/api/v4/projects/142063/packages/pypi/simple

Developer

versioning

It helps if you have either hatch or pipx installed to run some useful things with.

  1. Activate python environment, e.g. source venv/bin/activate.
  2. Run python -m pip install hatch or python -m pip install pipx.

You can bump the version via:

pipx run hatch run tag x.y.z
# or
hatch run tag x.y.z

where x.y.z is the new version to use. This should be run from the default branch (main / master) as this will create a commit and tag, and push for you. So make sure you have the ability to push directly to the default branch.

pre-commit

Install pre-commit to avoid CI failure. Once pre-commit is installed, a git hook script will be run to identify simple issues before submission to code review.

Instruction for installing pre-commit in a python environment:

  1. Activate python environment, e.g. source venv/bin/activate.
  2. Run python -m pip install pre-commit.
  3. Run pre-commit install to install the hooks in .pre-commit-config.yaml.

After installing pre-commit, .pre-commit-config.yaml will be run every time git commit is done. Redo git add and git commit, if the pre-commit script changes any files.

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

module_qc_data_tools-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

module_qc_data_tools-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file module_qc_data_tools-0.1.0.tar.gz.

File metadata

  • Download URL: module_qc_data_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.6

File hashes

Hashes for module_qc_data_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebab1e68763db272003b0d72b8af713f95388d45a72730e49deb421347039e0d
MD5 643704b9717b84dfcfa9a2195b44a88a
BLAKE2b-256 0162af6bd73bbddad1c9dc6e67b5ea43c48a4d2936283c43da181889a22e10d8

See more details on using hashes here.

File details

Details for the file module_qc_data_tools-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for module_qc_data_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3ed027047fb15d6b7b82f4a2b66a2ac5c2eacb6c7944d2d844c032e3bfd320a
MD5 6e34b8a814046442ec532a683ab460b0
BLAKE2b-256 7de99132a9148fb703bb7f9829ea3ec9e486c839fdaf677e3d6209e44c1d57d9

See more details on using hashes here.

Supported by

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