# Copier PDM [![ci](https://github.com/pawamoy/copier-pdm/workflows/ci/badge.svg)](https://github.com/pawamoy/copier-pdm/actions?query=workflow%3Aci) [![documentation](https://img.shields.io/badge/docs-mkdocs%20material-blue.svg?style=flat)](https://pawamoy.github.io/copier-pdm/) [![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#copier-pdm/community:gitter.im) [Copier](https://github.com/copier-org/copier) template for Python projects managed by [PDM](https://github.com/pdm-project/pdm). > [!WARNING] > I personally don't use this template anymore, > so it is maintained by the community. I will still review and merge PRs though. > I can add you as a contributor if you wish to maintain the template > for the community (for personal needs, please fork instead). Similar templates: - [copier-poetry](https://github.com/pawamoy/copier-poetry), with [Poetry](https://github.com/python-poetry/poetry) - [copier-uv](https:///github.com/pawamoy/copier-uv), with [uv](https://github.com/astral-sh/uv) ## Features - Support for Insiders versions of projects (e.g. see [@pawamoy's insiders](https://pawamoy.github.io/insiders/)) - [PDM](https://github.com/pdm-project/pdm) setup, with pre-defined `pyproject.toml` - Documentation built with [MkDocs](https://github.com/mkdocs/mkdocs) ([Material theme](https://github.com/squidfunk/mkdocs-material) and "autodoc" [mkdocstrings plugin](https://github.com/mkdocstrings/mkdocstrings)) - Pre-configured tools for code formatting, quality analysis and testing: - [black](https://github.com/psf/black), - [blacken-docs](https://github.com/adamchainz/blacken-docs), - [ruff](https://github.com/charliermarsh/ruff), - [mypy](https://github.com/python/mypy), - [safety](https://github.com/pyupio/safety) - Tests run with [pytest](https://github.com/pytest-dev/pytest) and plugins, with [coverage](https://github.com/nedbat/coveragepy) support - Cross-platform tasks with [duty](https://github.com/pawamoy/duty) - Support for GitHub workflows - Python 3.8 or above - Auto-generated `CHANGELOG.md` from git commits (using Angular message style) - All licenses from [choosealicense.com](https://choosealicense.com/appendix/) - Makefile for convenience ## Quick setup and usage Make sure all the [requirements](https://pawamoy.github.io/copier-pdm/requirements) are met, then: ```bash copier copy --trust "https://github.com/pawamoy/copier-pdm.git" /path/to/your/new/project ``` Or even shorter: ```bash copier copy --trust "gh:pawamoy/copier-pdm" /path/to/your/new/project ``` See the [documentation](https://pawamoy.github.io/copier-pdm) for more details.