KTZ Python Tools#

Welcome to Kantholtz’ Python toolbox. Here, common functionality is gathered which is used throughout my different projects. Although this mostly meant to be my own personal toolkit, maybe you find interesting things to use too. Pull requests, questions etc. are always welcome!

Indices and Tables#

Installation#

Python 3.9 is required.

conda create -n ktz python=3.9
conda activate ktz
pip install ktz

For a local installation with all dev dependencies:

conda create -n ktz python=3.10
conda activate ktz
pip install -r requirements.txt
pip install -e .

Run tests

pytest

Continually run tests

ptw -c

Check code coverage

coverage run -m pytest
coverage report
coverage html

Module Overview#

Table of Contents