Copier template for modern Python packages.
Note
This Copier template requires:
- Git version 2.
- Python 3.10 or more.
- Copier version 9.6 or more.
- Copier Template-Extensions version 0.3.2 or more.
To install Git, download and install it from git-scm.com.
To install Python, download and install it from python.org, or install uv to install it.
To install Copier and Copier Template-Extensions, use uv or pipx:
# Use uv.
uv tool install copier --with copier-template-extensions
# Use pipx.
pipx install copier
pipx inject copier copier-template-extensionsRun copier copy to generate your Python package:
# Use HTTPS.
copier copy --trust gh:leodevian/modern-python ./path/to/directory
# Use SSH.
copier copy --trust git@github.com:leodevian/modern-python ./path/to/directoryRun copier update to update your Python package to the latest version:
copier update --trust