modern-python

modern python

trailofbits 6.2k ↓ 6.2k CC-BY-SA-4.0 updated 28d ago
Claude Code
View source ↗

What it does

  • Creating a new Python project or package
  • Setting up pyproject.toml configuration
  • Configuring development tools (linting, formatting, testing)
  • Writing Python scripts with external dependencies
  • Migrating from legacy tools (when user requests it)
  • User wants to keep legacy tooling: Respect existing workflows if explicitly requested
  • Python < 3.11 required: These tools target modern Python

Requirements & configuration

  • requires-python = ">=3.11"
  • Note: Complex version specifiers may need manual handling
  • Use uv run --with for one-off commands that need packages not in your project:
  • [ ] Set requires-python = ">=3.11"

Configuration: MANIFEST

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

modern python

Source

Repository: https://github.com/trailofbits/skills

modern-python FAQ

What does the modern-python skill do?

Configures Python projects with modern tooling (uv, ruff, ty). Use when creating projects, writing standalone scripts, or migrating from pip/Poetry/mypy/black. Creating a new Python project or package Setting up pyproject.toml configuration

What does modern-python require?

requires-python = ">=3.11" Note: Complex version specifiers may need manual handling Use uv run --with for one-off commands that need packages not in your project: [ ] Set requires-python = ">=3.11" Configuration keys: MANIFEST.

How do I install modern-python?

Run: npx -y skills add https://github.com/trailofbits/skills --skill modern-python --agent claude-code — the source lives at github.com/trailofbits/skills.

Maintain modern-python?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

modern-python on getagentictools
[![modern-python on getagentictools](https://getagentictools.com/badge/skills/trailofbits-skills-modern-python.svg)](https://getagentictools.com/skills/trailofbits-skills-modern-python?ref=badge)
npx agentictools info skills/trailofbits-skills-modern-python

The second line is the CLI lookup for this page — handy in READMEs and docs.