Skip to content

Rye

A Python project and package manager, now archived and superseded by uv.

Stars
14.1k
Forks
467
Licence
MIT
Language
Rust
Last update
9 months ago
Type
Dev tool

This repository is archived and no longer maintained.

What it is

Rye is a tool that manages Python itself, along with Python projects, dependencies, and virtual environments, through one command-line interface. It can download Python installations, bundles ruff for linting and formatting, and uses existing libraries such as virtualenv, build, and twine for environments, packaging, and publishing. The project is archived: its README says it is no longer developed, no further updates are planned, and users are directed to uv, its successor from the same maintainers.

  • Install and switch between Python versions using Rye's automated Python bootstrapping
  • Create and manage a pyproject.toml-based project with dependencies and a virtualenv
  • Run linting and formatting with the bundled ruff via rye lint and rye fmt
  • Work across a monorepo with multiple libraries using workspace support

Great for

  • Developers who already run Rye and need a reference for its existing workflow
  • People reading about Python tooling history who want to understand the Rye-to-uv transition
  • Teams with existing Rye projects who are planning a migration to uv

Not ideal for

  • New projects: the README says Rye receives no further updates, including security updates, and recommends uv instead
  • Anyone who needs security fixes going forward, since none are planned
  • Users who want an actively maintained tool today

How to get it

  1. 1

    See the README

    Install on Linux and macOS

    curl -sSf https://rye.astral.sh/get | bash
  2. 2

    Run it

    • Install Rye using the command above, or download the Windows installer from the README links
    • Follow the installation instructions at https://rye.astral.sh/guide/installation/
    • Use the documented rye commands to create or manage a project
    • If you already use Rye, follow the uv migration guide at https://rye.astral.sh/guide/uv/
  3. 3

    Get the most out of it

    • Read the uv migration guide at https://rye.astral.sh/guide/uv/ to move existing projects to uv
    • Use rye lint and rye fmt to get ruff-based checks without installing ruff separately
    • Use workspace support to manage several related libraries in one repository

Downloads

Strengths

  • Provides one interface for Python installations, projects, dependencies, and virtualenvs
  • Bundles and wires together established Python tools such as ruff, build, and twine
  • Released under the permissive MIT license

Trade-offs

  • Archived: no further updates or security fixes are planned, according to the README
  • The README recommends uv as the successor, so new adoption is discouraged

How it compares

ProjectStarsTypeLevelUpdatedBest for
rye (this)14.1kDev toolbeginner9 months agoDevelopers who already run Rye and need a reference for its existing workflow
poetry34.3kDev toolintermediate5 days agoPython developers starting a new project who want one config file for dependencies and packaging
pyenv45.2kDev toolintermediate5 days agoDevelopers who work on several Python projects that need different Python versions
composer29.6kDev toolbeginner4 days agoPHP developers starting a new project who want standard third-party libraries
vcpkg27.6kDev toolintermediate4 days agoC and C++ developers who need third-party libraries in their projects
pnpm37kDev toolbeginner4 days agoDevelopers working in Node.js projects who want faster installs and less disk use

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.