Skip to main content

Module qc data tools

Project description

module QC data tools v1.0.16

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-data-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 module-qc-data-tools==1.0.16

Developer

versioning

In case you need to tag the version of the code, you need to have either hatch or pipx installed.

  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.

Release candidates can be bumped as e.g.:

$ hatch run tag x.y.zrc0

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-1.0.16.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

module_qc_data_tools-1.0.16-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: module_qc_data_tools-1.0.16.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for module_qc_data_tools-1.0.16.tar.gz
Algorithm Hash digest
SHA256 ea09be07a5b5ace5730b44a4b05d0761aca173663ab6f91c2da579d75805b32c
MD5 f91301abe4dcd3162a16df17341ee79a
BLAKE2b-256 4e6b8ce12098a826f11c89ebedca0ad175d2545dbb332733e864b12ddd4fcf9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for module_qc_data_tools-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b449781fa623a2c97351aa5183aeccdacc7127b7308ac61bc8c826fb71c32e73
MD5 4d4a1de295226c164d9c4c9cfb6d6f53
BLAKE2b-256 7ae1c388dfadc713c40e5ca8025941c80f3aef134c6f9839831b84aae10a9e1d

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