Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.
 
 

Repository files navigation

copier-template

Copier template for pure Python libraries. Adapted from the copier template by the LIAC.

As simple as possible. No magic.

Adapted from copier-pylib.

Features

  • Hatch for packaging.
  • pytest for testing.
  • tox for automation of test runners and other stuff.
  • Sphinx for documentation
  • GitHub Actions for continuous integration and publishing to PyPI.
  • mypy for type checks.
  • ruff for style checks and automatic Python code formatting.
  • pre-commit for optional automation of style checks.

Usage

Install copier:

pip install copier

Generate a Python package (make sure to create the directory of the project first):

copier copy gh:mlederbauer/copier-template path/to/destination

Create a new repository on github and run

git init
git remote add origin git@github.com:USERNAME/PROJECTNAME.git
git branch -M main
git add .
git commit -m "Initial commit"
git push -u origin main

License

MIT License

About

(legacy) my go-to customizable template for python-based projects, copy in 1 line.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages