The code is a modified version of https://github.com/MartinHeinz/python-project-blueprint . Unlike the original template, this one is supports multiple modules in the src directory. Moreover, this template use virtualenv instead of docker for dev and testing.
The "module name str" (with hyphens) can be replaced with the name of your own app by running the following script.
./configure.sh my_new_module_name
Create a virtual environment and activate it.
virtualenv venv
source venv/bin/activate
Install the build dependencies.
pip install -r requirements.txt
Install the dev dependencies.
pip install pylint flake8 bandit
Run a module using the following command.
make run module=my_new_module_name
Run the tests with,
make test
Run the lints with,
make lint