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!
- PDM setup, with pre-defined
- 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.6 or above
CHANGELOG.mdfrom git commits (using Angular message style)
CREDITS.mdfrom Python dependencies
- 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.