Skip to content

project-defiant/Modern-Python-Package

Repository files navigation

Modern-python-package

This repo is created as a template for modern python packaging setup

Some of the tools used by this template

  • hatch as a package manager
  • ruff
  • pytest
  • black
  • towncrier
  • mypy
  • pre-commit
  • coverage
  • click

To use this template

  • remove this readme
  • change template from package name
mv src/template src/{your package name}
sed -i 's/template/{your package name}/g' pyproject.toml Makefile docker/Dockerfile
  • install package
make install