Development¶
Contributin code the dplib-py is simple as it is a pure Python library. Please read the following instructions:
Prerequisites¶
To start working on the project:
- Python 3.8+
Enviroment¶
Note
For development orchestration we use Hatch for Python (defined in pyproject.toml)
Python¶
Before starting with the project we recommend configuring hatch. The following line will ensure that all the virtual environments will be stored in the .python directory in project root:
Now you can setup you IDE to use a proper Python path:
Documentation¶
Documentation is written with Mkdocs (defined in mkdocs.yaml). The source articles are in the docs directory. To start a live-reload server:
Building the docs:
Testing¶
To run all the checks on the codebase:
Releasing¶
You need to have a
mainbranch push permissions
Update the version and initiate the release script: