Table of Contents
A Python app that reticulates splines.
To install this package, run:
pip install python-app-template
Alternatively, if you are developing the project, install its dependencies with Poetry:
poetry install
To view the CLI help information, run:
python-app-template --help
Development environments
The following development environments are supported:
-
⭐️ GitHub Codespaces: Click on Open in GitHub Codespaces to start developing in your browser.
-
⭐️ Poetry: Clone this repository and run the following from the root of the repository:
# Install project dependencies poetry install # Activate the virtual environment source ./activate.sh # Install the pre-commit hooks task pre-commit:init
-
PyCharm Dev Container: Clone this repository, open it with PyCharm, create a Dev Container with Mount Sources, and configure an existing Python interpreter at
/opt/venv/bin/python
.
Developing
- This project follows the Conventional Commits standard to automate Semantic Versioning and Keep A Changelog with Commitizen.
- Run
poe
from within the development environment to print a list of Poe the Poet tasks available to run on this project. - Run
poetry add {package}
from within the development environment to install a runtime dependency and add it topyproject.toml
. Add--dev
to install a development dependency. - Run
poetry update
to upgrade all dependencies to the latest versions allowed bypyproject.toml
. - Run
cz bump
to bump the app's version, update theCHANGELOG.md
, and create a git tag. Then push the changes and the git tag withgit push origin main --tags
.