Skip to content

jaspetry/copier-pdm

 
 

Repository files navigation

Copier PDM

Copier template for Python projects managed by PDM.

This copier template is mainly for my own usage, but feel free to try it out, or fork it!

Also checkout copier-poetry, which is the same template but with Poetry instead of PDM. If you are using it, see how to migrate to copier-pdm.

Features

  • PDM setup, with pre-defined pyproject.toml
  • Documentation built with MkDocs (Material theme and "autodoc" mkdocstrings plugin)
  • Pre-configured tools for code formatting, quality analysis and testing:
  • Tests run with pytest and plugins, with coverage support
  • Cross-platform tasks with duty
  • Support for GitHub workflow and Gitlab CI
  • Python 3.7 or above
  • Auto-generated CHANGELOG.md from git commits (using Angular message style)
  • All licenses from choosealicense.com
  • Makefile for convenience

Quick setup and usage

Make sure all the requirements are met, then:

copier "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project

Or even shorter:

copier "gh:pawamoy/copier-pdm" /path/to/your/new/project

See the documentation for more details.

About

Copier template for Python projects managed by PDM.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 59.1%
  • Python 23.8%
  • Shell 12.4%
  • Makefile 2.6%
  • Batchfile 2.1%