{"repo":"BastiTee/python-boilerplate","free":true,"listed":false,"github":"https://github.com/BastiTee/python-boilerplate","clone":"git clone https://github.com/BastiTee/python-boilerplate.git","description":"A best-practices template project for Python modules","language":"Makefile","stars":13,"topics":["python","python3","boilerplate","template","best-practice"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"python-boilerplate A best-practices template project for Python modules This boilerplate gives you a production-ready Python project structure with modern tooling. Clone it, rename it, and start coding - linting, formatting, type checking, testing, and CI are already configured. No more setting up the same tools for every new project. Setup - Create a new repository using this template. - Make sure that python is installed and available on system path. - Make sure uv is installed. This usually just means python -m pip install uv . - Rename the project using the provided script: ./rename template.sh . - Run make to initialize the project configuration and build everything. - Refer to the Makefile to learn about the various operations available. Most of them are just facades for uv . Features - Basic project/module organization according to - Makefile bootstrapping script - uv with virtual environments and project builds - Ruff for linting and code formatting (replaces black, flake8, isort) - Security scanning via Ruff's flake8-bandit rules - Dependency vulnerability scanning with pip-audit ( make audit ) - Unit testing with pytest including coverage enforcement ( pytest-cov ) and randomized test order ( pytest-randomly ) - mypy for static type checking - PEP 561 compliant ( py.typed marker included) - pre-commit hooks for Ruff and file hygiene ( make pre-commit ) - Publishing to PyPi.org - vscode editor configuration including plugin recommendations, debugging support, unit te","default_branch":null,"files":null,"tree":[],"storefront":"/r/BastiTee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BastiTee/python-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}