configuring-modern-python-projects

Configure Python projects with uv, ruff, ty, and pyproject.toml.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/somachak/claude-code-skills-db --skill configuring-modern-python-projects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configuring-modern-python-projects
Source: https://github.com/somachak/claude-code-skills-db/tree/main/skills/backend/configuring-modern-python-projects
Command: npx skills add https://github.com/somachak/claude-code-skills-db --skill configuring-modern-python-projects

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python projects often accumulate fragmented tooling and inconsistent configurations. This skill standardizes Python project setup with a cohesive modern tooling stack (uv for environments, ruff for lint and format, ty for type checking, and PEP 735 dependency groups, plus PEP 723 inline script deps), reducing setup time and onboarding effort.

Core Features & Use Cases

  • Unified tooling: centralizes dependency management, linting, type checking, and packaging configuration for FastAPI or Django projects.
  • Migration-friendly: simplifies moving from pip/Poetry/mypy/black to a unified uv-based workflow.
  • On-boarding ready: provides clear patterns for new projects and standalone scripts, with inline script dependencies.

Quick Start

Create a new Python project (e.g., FastAPI or Django) using the unified tooling stack to bootstrap a ready-to-develop repository.

Frequently Asked Questions about configuring-modern-python-projects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a modern Python project with uv and ruff?

Configuring a modern Python project involves using uv for dependency management, ruff for linting and formatting, and ty for type checking, all centralized within a single pyproject.toml file to streamline setup and reduce onboarding effort.

Can I migrate my Python project from Poetry and mypy to uv?

Yes, you can migrate your Python project from pip, Poetry, mypy, or black to a unified uv-based workflow. This migration simplifies your tooling by consolidating environment, linting, and packaging configurations into a single source of truth.

What is the best way to manage FastAPI project dependencies and linting?

The best way to manage FastAPI dependencies and linting is centralizing configuration in pyproject.toml using uv for environments, ruff for formatting, and ty for type checking. This unified stack streamlines bootstrapping ready-to-develop services.

Does this Python tooling setup support PEP 735 dependency groups and PEP 723 inline scripts?

Yes, this Python tooling setup fully supports PEP 735 dependency groups and PEP 723 inline script dependencies. This allows you to manage complex project requirements and write standalone scripts with clearly defined dependencies.

When do I need a single pyproject.toml file for my Django service?

You need a single pyproject.toml file for your Django service when you want to enforce a single source of truth for dependency management, linting, type checking, and packaging. This eliminates fragmented tooling and inconsistent project configurations.