Skip to content

modern-python

Copier Latest release CI License mypy black Ruff uv

Copier template for modern Python packages.

Prerequisites

This Copier template requires:

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:

uv tool install copier --with copier-template-extensions
pipx install copier
pipx inject copier copier-template-extensions

Usage

Run copier copy to generate your Python package:

copier copy --trust gh:leodevian/modern-python ./path/to/directory
copier copy --trust git@github.com:leodevian/modern-python ./path/to/directory

Run copier update to update your Python package to the latest version:

copier update --trust