Template for generating Python Packages using Copier (https://github.com/copier-org/copier).
Installs and uses pre-commit (https://pre-commit.com) in generated Package.
Suggested way of installing the dependencies is pipx (https://pypa.github.io/pipx):
# Install pipx
python3 -m pip install --user pipx
python3 -m pipx ensurepath
# Install dependencies
pipx install copier pre-commit
Create a new Package MyPackage
with:
copier copy --trust https://github.com/Daemo00/Python-Package-Template-using-Copier MyPackage
Update an existing Package in MyPackage
directory with:
cd MyPackage
copier update --trust .
pre-commit run --all-files
git commit --all --message "Template Update" # Check the changes and commit