What problem does it solve?
This Skill addresses the challenges of maintaining high-quality, efficient, and modern Python codebases by providing comprehensive guidance on best practices, project structure, and tooling.
Core Features & Use Cases
- Project Structure: Implements the recommended
src layout for better organization and import management.
- Package Management: Leverages
uv for fast, reproducible dependency management and locking.
- Modern Tooling: Integrates
ruff for linting and formatting, and mypy for strict type checking.
- Type Hinting: Enforces modern type hinting practices for improved code clarity and safety.
- API Development: Demonstrates patterns for building robust APIs with FastAPI and Pydantic.
- Testing: Guides on effective testing strategies using
pytest, including async tests and mocking.
- Security: Highlights essential security practices to prevent common vulnerabilities.
Quick Start
Follow the guidance in this skill to set up a new Python project using uv, ruff, and mypy.