back to home

astral-sh / rye

a Hassle-Free Python Experience

14,299 stars
466 forks
334 issues
RustC++Python

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing astral-sh/rye in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/astral-sh/rye)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center"> <img src="docs/static/favicon.svg" width="100"> <p><strong>Rye:</strong> a Hassle-Free Python Experience</p> </div>
<div align="center">

Rye

</div>

[!NOTE]

Rye is no longer developed. We encourage all users to use uv, the successor project from the same maintainers, which is actively maintained and much more widely used.

For current Rye users, please see the uv migration guide. While Rye will continue to be available, no further updates are planned, including security updates.

Rye is a comprehensive project and package management solution for Python. Born from its creator's desire to establish a one-stop-shop for all Python users, Rye provides a unified experience to install and manage Python installations, pyproject.toml based projects, dependencies and virtualenvs seamlessly. It's designed to accommodate complex projects, monorepos and to facilitate global tool installations. Curious? Watch an introduction.

A hassle-free experience for Python developers at every level.

<div align="center"> <a href="https://youtu.be/q99TYA7LnuA"> <img src="https://img.youtube.com/vi/q99TYA7LnuA/hqdefault.jpg" alt="Watch the instruction" width="40%"> </a> <p><em>Click on the thumbnail to watch a 16 minute introduction video</em></p> </div>

In The Box

Rye picks and ships the right tools so you can get started in minutes:

  • Bootstraps Python: it provides an automated way to get access to the amazing Indygreg Python Builds as well as the PyPy binary distributions.
  • Linting and Formatting: it bundles ruff and makes it available with rye lint and rye fmt.
  • Managing Virtualenvs: it uses the well established virtualenv library under the hood.
  • Building Wheels: it delegates that work largely to build.
  • Publishing: its publish command uses twine to accomplish this task.
  • Locking and Dependency Installation: is today implemented by using uv with a fallback to unearth and pip-tools.
  • Workspace support: Rye lets you work with complex projects consisting of multiple libraries.

Installation

The installation takes just a minute:

  • Linux and macOS:

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

    Download and run the installer (64-bit (x86-64) or 32-bit (x86)).

For more details and other options, refer to the installation instructions.

Learn More

Did I spark your interest?

More

  • Discussion Forum, to discuss the project on GitHub
  • Discord, for conversations with other developers in text form
  • Issue Tracker, if you run into bugs or have suggestions
  • Badges, if you want to show that you use Rye
  • License: MIT