Skip to content

worldworm/copier-poetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 copier-poetry

Copier template for poetry projects.

GitHub repo stars License GitHub last commit (main) GitHub release GitHub commits since latest release Copier supported version

Features

  • 📦 Poetry setup with a pre-defined pyproject.toml
  • 🔁 Continuous integration (CI) pipelines for Github Actions and GitLab CI/CD
  • 🐳 Docker support with build and publish pipelines
  • ⚙️ Settings management using pydantic-settings
  • 🗄️ Database support with sqlmodel and mysql, postgres or sqlite configuration
  • ▶️ alembic database migrations
  • 🏃 poethepoet task runner
  • 🪝 pre-commit hooks
  • 🔍 pylint code linter
  • 🏁 mypy static type checker
  • 🧪 pytest unit tests
  • 🛡️ bandit code security check
  • 🎨 autopep8 and pydocstringformatter code formatter and styling
  • 🆚 VSCode configuration

Requirements

First install copier:
(from the official installation documentation)

pip install copier

Usage

Make sure the requirements are met, then:

copier copy --trust "https://github.com/worldworm/copier-poetry.git" .

Update

To update a template after creating a project, run:

copier update --trust -a .project/.copier-answers.poetry.yml .

Explore more Copier templates

In addition to this template, there are a number of other Copier templates available. For an overview of all available templates, visit the Templates Showcase repository.


© worldworm 2023-2024
Licensed under MIT