Module qc data tools
Project description
module QC data tools v1.0.17
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.17
Developer
versioning
In case you need to tag the version of the code, you need to have either hatch
or pipx
installed.
- Activate python environment, e.g.
source venv/bin/activate
. - Run
python -m pip install hatch
orpython -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:
- Activate python environment, e.g.
source venv/bin/activate
. - Run
python -m pip install pre-commit
. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file module_qc_data_tools-1.0.17.tar.gz
.
File metadata
- Download URL: module_qc_data_tools-1.0.17.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c858cc8efdae4f34970ef9357e0805bbbaaffe75f60b37881c5a2bdc6e63d2d6 |
|
MD5 | 22fb8db0fd059613d59db638cdf22e10 |
|
BLAKE2b-256 | e0e9616bc298952d6a77df7d4fb347a527f57d022f1771f19924ce10d258a307 |
File details
Details for the file module_qc_data_tools-1.0.17-py3-none-any.whl
.
File metadata
- Download URL: module_qc_data_tools-1.0.17-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678d504813625b8576a82e2fbbe6ba217a84c1a8280903f2abd5dbd56801a80a |
|
MD5 | 398a39af5079a4b526754a3056a4ab9c |
|
BLAKE2b-256 | 6b71f82e8f3b42d8d73dea039b48dbfc681afd404905c6357eac326773074910 |