explaingit

astral-sh/rye

14,228RustAudience · developerComplexity · 2/5Setup · easy

TLDR

Rye was an all-in-one Python project manager that handled installing Python, managing dependencies, and running formatters, now officially retired and replaced by its faster successor, uv.

Mindmap

mindmap
  root((repo))
    What it was
      Python project manager
      Version installer
      Dependency manager
    Features
      Virtual environments
      pyproject.toml config
      Ruff linting bundled
    Status
      No longer maintained
      Replaced by uv
      Migration guide included
    Platforms
      Linux and macOS
      Windows installer
    Audience
      Python developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Migrate an existing Rye-based Python project to uv using the migration guide included in the repository.

USE CASE 2

Study how Rye managed Python version installation and virtual environments as historical context before adopting uv.

Tech stack

RustPython

Getting it running

Difficulty · easy Time to first run · 5min

No longer maintained and receives no security fixes, the README recommends switching to uv instead.

In plain English

Rye was a tool for managing Python projects from one command-line interface. It handled installing Python itself, creating isolated project environments, managing package dependencies, running code formatters and linters, and building packages for distribution. The goal was to give Python developers a single tool that covered the full project lifecycle without needing to coordinate several separate tools. Important note: Rye is no longer actively developed. The same team that built it now maintains a successor called uv, which they describe as more capable and more widely used. The README explicitly recommends that all users switch to uv and provides a migration guide. Rye will remain available for download but will receive no further updates, including security fixes. For anyone still reviewing the project historically: Rye automatically downloaded Python from pre-built binaries, managed virtual environments (isolated folders that keep each project's packages separate), and used a standard configuration file format called pyproject.toml to track project settings and dependencies. It bundled a fast linting and formatting tool called Ruff and used uv itself for dependency installation. It also supported monorepo setups, where a single repository contains multiple related packages. Installation on Linux and macOS was a single command in the terminal. Windows users downloaded an installer file. The documentation and website remain online. If you are starting a new Python project today, the README's guidance is to use uv rather than Rye.

Copy-paste prompts

Prompt 1
I have an existing project set up with Rye. Walk me through migrating it to uv step by step using the migration guide.
Prompt 2
What does a Rye pyproject.toml configuration look like for a monorepo with multiple packages, and how does the equivalent uv setup differ?
Prompt 3
Explain how Rye managed Python version installation and isolated virtual environments, and what uv does differently that makes it the recommended successor.
Open on GitHub → Explain another repo

← astral-sh on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.