The Real Python Podcast cover image

The Real Python Podcast

Charlie Marsh: Accelerating Python Tooling With Ruff and uv

Feb 7, 2025
Charlie Marsh, founder of Astral and creator of the tools Ruff and UV, discusses the exciting advances in Python tooling. He shares how Ruff evolved from a simple linter to a comprehensive tool with over 800 rules for better code quality. UV, designed in Rust, simplifies project management, replacing multiple tools with one efficient solution. Charlie also touches on building a community around open-source software and the importance of sustaining such projects, all while navigating the challenges of his professional journey.
01:30:37

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Ruff significantly enhances Python linting speed by achieving 10 to 1000 times faster performance, supporting over 800 built-in linting rules.
  • UV consolidates various Python project management tools into a single command structure, simplifying dependency management and automatic virtual environment handling.

Deep dives

Introduction to Ruff and Its Speed Improvements

Ruff is a tool designed to significantly enhance the speed of Python linting and code formatting. Initially created as a proof of concept, Ruff started with basic linting functionalities and has expanded to include over 800 built-in linting rules. It aims to provide faster feedback to developers by achieving speeds 10 to 1000 times faster than traditional tools, allowing for immediate code analysis and fixes. The tool's performance improvements have led it to be adopted by major projects in the Python ecosystem, demonstrating a high demand for faster linting solutions.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner