PyUow package is available on PyPI:
$ python -m pip install pyuow
PyUow officially supports Python >= 3.8.
This project is managed with poetry
. All python dependencies have to be specified inside pyproject.toml
file. Don't use pip
directly, as the installed dependencies will be overridden by poetry during next poetry install
run.
-
Install poetry globally:
curl -sSL https://install.python-poetry.org | python -
Optionally you can specify
POETRY_HOME
to install poetry to a custom directory:curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=`pwd`/.poetry python -
Follow the steps in the command's output to add
poetry
toPATH
. -
Install dependencies to virtualenv:
poetry env use python poetry shell poetry install
make tests
The repo contains configuration for pre-commit
hooks that are run automatically before git commit
command. Inspect .pre-commit-config.yaml
to learn which hooks are installed.
pre-commit install
Then changes staged for committing will be automatically fixed and styled.
pre-commit run
pyuow
├── pyuow # library sources
└── tests # tests package (structure is mirrored from src)