Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lorien/pyproject

Repository files navigation

Python Project Template for Cookiecutter

This is a cookiecutter template I use to start a new python project.

Template features

  • Makefile for "make" utility to run linters, tests and other things
  • Tools to build virtual environment and install project requirements
  • Default configurations for all tools used in the template
  • Linters:
    • ruff with almost all rules enabled
    • pylint
  • Type checkers:
    • mypy in strict mode
  • Tests:
    • pytest
  • Tool's configurations are stored in pyproject.toml
  • Tools to build python package and upload it to pypi

Usage

  • Install cookiecutter: pip install cookiecutter
  • Run command: cookiecutter gh:lorien/pyproject and provide answers for questions which cookiecutter will ask you. The value of "project_name" will be used to create a new directory with project contents.

Feedback

Telegram English chat: https://t.me/grablab

Telegram Russian chat: https://t.me/grablab_ru

About

Python Project Template for Cookiecutter

Topics

Resources

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /