Skip to content

monora/copier-pdm

 
 

Repository files navigation

Copier PDM

Copier template for PDM projects.

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

You need to install Copier first.

Features

Package manager

The template project uses PDM setup, with pre-defined pyproject.toml

Documentation and changelog

Pre-commit and linter

pre-commit is used for both commit hook and linting, including the following hooks:

VSCode default settings

The .vscode/settings.json will also be generated with the project, to enable Pylance auto-completions and test discovery in VSCode.

Tests

  • Tests run with pytest
  • Multi-environment testing powered by nox

Typer

The generated project has a template for a CLI which uses Typer.

Requirements

Make below requirements are met to use the copier template:

Optional

Quick Start

copier copy "https://github.com/monora/copier-pdm.git" <project_name>

Or even shorter:

copier copy "gh:monora/copier-pdm" <project_name>

See the documentation for more details.

About

Copier template for PDM projects

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jinja 50.8%
  • Python 35.4%
  • Shell 13.8%