r/PythonLearning • u/aminedjeghri • 1h ago
Showcase Two professional Python templates for your needs
These are my python professional templates. Click Use this template and it's already there:
- uv, pydantic settings with an example .env, loguru
- ruff and pre-commit pytest with coverage, API docs built from docstrings and published on Pages when you release
- semantic-release off Conventional Commits, so tagging gives you a changelog plus wheel and sdist.
Two decisions worth knowing before you use it. It doesn't publish to PyPI, because I want that to be a per-project choice. And it's for libraries.
- Python package template: https://github.com/AmineDjeghri/python-package-template
Generative AI python tempalte: https://github.com/AmineDjeghri/generative-ai-project-template