What problem does it solve?
Provide clear, repeatable guidance and enforcement for writing production-quality Python code, reducing defects and manual tool configuration while ensuring consistent formatting, typing, testing, logging, and security practices.
Core Features & Use Cases
- Tooling orchestration and commands for formatting, linting, and type checking (black, ruff, mypy/pyright) to enforce consistent code quality.
- Testing and CI patterns with pytest and coverage targets, secure secrets handling with Pydantic, async HTTP best practices with httpx and tenacity, and Docker integration for reproducible builds.
- Code review and security guidance including bandit, pip-audit, semgrep recommendations, and concrete examples for FastAPI, Click, dataclasses, and dependency injection.
Quick Start
Generate a new typed Python module src/myproject/utils.py with Google-style docstrings, full type hints, a matching pytest test file, and run uvx black and uvx ruff check to validate style.