A modern Python project template to jumpstart development with best practices, tools, and automation.
- Python environment management with uv and pyenv
- Pre-configured CI/CD (Dependabot, pre-commit)
- Out-of-the-box Makefile for testing, linting, and syncing
- Example code and tests
- Python >=3.11
- uv
- Clone the repository:
git clone https://github.com/yourusername/python-project-template.git cd python-project-template - Initialize the environment and install dependencies:
make sync
- Run the main function:
python -m python_project_template
This template includes a sample main function. To run it:
from python_project_template import main
main() # prints "Hello from python-project-template!"make testmake lintFeel free to fork, open issues, and submit PRs to improve this template!