modern-python

Configure Python projects with uv, ruff, and ty tooling.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill modern-python-manuelbrandner85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/manuelbrandner85/Weltenbibliothekapp/tree/main/.agents/skills/modern-python
Command: npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill modern-python-manuelbrandner85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the fragmentation and inefficiency of legacy Python tooling by providing a unified, high-performance workflow based on modern standards like uv, ruff, and ty.

Core Features & Use Cases

  • Unified Tooling: Replaces pip, virtualenv, black, flake8, and mypy with a faster, integrated stack.
  • Dependency Management: Simplifies project setup and dependency handling using PEP 723 and dependency groups.
  • Use Case: Use this Skill to migrate an aging project from requirements.txt and legacy linters to a modern, high-performance environment that enforces strict type checking and automated formatting.

Quick Start

Use the modern-python skill to initialize a new project structure with uv and configure the recommended development tools.

Frequently Asked Questions about modern-python

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

FAQPage Schema
How do I migrate a legacy Python project to uv and ruff?

To modernize Python projects with uv and ruff, you replace legacy tools like pip, virtualenv, black, and flake8 with this unified stack. This migration enables strict type checking with ty and automated security auditing for Python 3.11+ environments.

What is PEP 723 metadata for standalone Python scripts?

PEP 723 metadata for standalone Python scripts allows you to declare dependencies directly within script files. This Skill facilitates implementing PEP 723, simplifying dependency management and execution for standalone scripts without requiring a full project structure.

Does uv replace virtualenv and pip for Python dependency management?

Yes, uv replaces virtualenv and pip for Python dependency management by providing a faster, integrated approach. It handles project setup, dependency groups, and environment synchronization within modern Python 3.11+ development workflows.

Can I use ruff instead of black and flake8 for Python linting?

You can use ruff instead of black and flake8 for Python linting and formatting as part of a modernized toolchain. Ruff provides high-performance, integrated code analysis that replaces multiple legacy linters while enforcing strict type safety.

What are the requirements for setting up a modern Python 3.11+ environment?

Setting up a modern Python 3.11+ environment requires configuring uv for dependency management, ruff for linting, and ty for type checking. This stack satisfies requirements for strict type safety, automated security auditing, and high-performance formatting.

When should I not use ty for Python type checking?

You should not use ty for Python type checking if your project does not require strict type safety or remains on legacy Python versions below 3.11. Ty is designed for modern, high-performance environments enforcing strict type constraints.