Skip to content

Statkern15/python_copier_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python Copier Template

A Copier template for quickly scaffolding new Python projects with modern tooling and best practices.

What is this?

This template generates a standardized Python project structure with:

  • Modern pyproject.toml configuration
  • Ruff linting and formatting setup
  • Docker support
  • Configurable Python version support
  • Pre-configured project metadata

Usage

Generate a new project from this template:

copier copy gh:statkern15/python_copier_template /path/to/new/project

Or use a local copy:

copier copy /path/to/python_copier_template /path/to/new/project

You'll be prompted for:

  • Project name
  • Project description
  • Author name and email
  • Python version

Next Steps After Generation

Once your project is created:

  1. Navigate to the project directory:

    cd /path/to/new/project
  2. Initialize git repository (if not already done):

    git init
    git add .
    git commit -m "Initial commit from template"
  3. Set up Python environment and install dependencies:

    uv sync --group dev
  4. Verify Ruff configuration:

    uv run ruff check .
    uv run ruff format .
  5. Start coding! Your project structure is ready with best practices configured.

Updating Existing Projects

Update a project created from this template to get the latest changes:

cd /path/to/project
copier update

Or specify the template path:

copier update --vcs-ref=HEAD /path/to/project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors