An open API service indexing awesome lists of open source software.

https://github.com/ankandrew/python-project-template

Modern Python Project Template
https://github.com/ankandrew/python-project-template

cookiecutter-python project-template python-project python-project-template python-repositories python-template

Last synced: 5 months ago
JSON representation

Modern Python Project Template

Awesome Lists containing this project

README

          

[//]: # (TODO)

# ๐Ÿ Python Project Template ๐Ÿš€

[//]: # (TODO)
![example workflow](https://github.com/ankandrew/python-project-template/actions/workflows/test.yaml/badge.svg)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)

A modern Python project template to kickstart your next Python project with all the necessary tools and configurations.

## Features

- โœจ **Poetry**: Manage your project's dependencies and packaging with Poetry.
- ๐Ÿ“ **Editorconfig**: Ensure consistent code formatting across different editors.
- ๐Ÿ”ง **Formatter**: Automatically format your code using Ruff formatter and import sorter.
- ๐Ÿ” **Linters**: Catch and prevent errors in your code. Ruff is used for linting and MyPy for type checking.
- ๐Ÿ“‹ **Makefile**: Easily execute common project tasks with a Makefile.
- ๐Ÿงช **Test**: Write and run tests for your project using pytest.
- ๐Ÿ”— **GitHub Workflow**: Automated GitHub workflow for linting, formatting, and testing your code.

## Getting Started

1. Select `Use this template > Create a new repository`.

2. Install Poetry (if not already installed):

```bash
pipx install poetry

3. Replace `TODO` comments in files with project/repo specific.