Poetry Template

screenshot of Poetry Template

Template for a redistributable Django app, using poetry, pytest, pylint, flake8, mypy

Overview:

The Poetry Template is a Django app template that uses poetry-python as a dependency manager. It is designed to be a reusable template for redistributable apps. The template includes various features such as poetry for dependency management, ruff and black for linting and formatting, pre-commit for running linting tasks, mypy for type checking, and tox and Github Actions for builds and CI. The template also provides default config files for linting and mypy. The main goal of this project is to provide a consistent set of standards for Python/Django projects and encourage principles such as simplicity for developers, consistent style, and full type hinting. It currently supports Python 3.7+ and Django 3.2+.

Features:

  • Poetry for dependency management
  • Ruff and Black for linting/formatting
  • Pre-commit for running linting tasks
  • Mypy for type checking
  • Tox and Github Actions for builds and CI
  • Default config files for linting and mypy

Summary:

The Poetry Template is a Django app template that provides a set of features and tools to streamline the development process. It uses poetry-python as a dependency manager and includes linting, formatting, type checking, and CI tools. The template aims to promote simplicity, consistent style, and full type hinting in Python/Django projects. It supports Python 3.7+ and Django 3.2+, and provides default config files for linting and mypy. By following the installation guide, developers can easily set up the template and start developing redistributable apps with ease.