# astral-sh/rye

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/astral-sh-rye).**

14,209 stars · 471 forks · Rust · MIT · archived

## Links

- GitHub: https://github.com/astral-sh/rye
- Homepage: https://rye.astral.sh
- awesome-repositories: https://awesome-repositories.com/repository/astral-sh-rye.md

## Topics

`package-manager` `packaging` `python`

## Description

Rye is a comprehensive Python toolchain manager, package manager, and virtual environment orchestrator. It provides a unified system for installing Python runtimes, resolving dependencies, and coordinating isolated environments across different projects.

The project distinguishes itself through workspace management capabilities that coordinate dependencies and builds across multiple libraries within a single multi-package project structure. It further enables the global installation of Python tools into sandboxed environments, making them accessible system-wide without manual environment activation.

The toolset covers the end-to-end Python lifecycle, including reproducible dependency locking via lockfiles, package building and publishing to registries, and runtime version management. It also includes utilities for code quality enforcement, such as linting and formatting.

## Tags

### Development Tools & Productivity

- [Python Package Managers](https://awesome-repositories.com/f/development-tools-productivity/dependency-managers/python-package-managers.md) — Provides comprehensive management of Python project dependencies, including resolution and version locking.
- [Build Reproducibility Lockfiles](https://awesome-repositories.com/f/development-tools-productivity/global-package-managers/global-dependency-upgrading/global-dependency-pinning/build-reproducibility-lockfiles.md) — Uses lockfiles to pin exact dependency versions, ensuring reproducible builds across development and production environments.
- [Package Dependency Managers](https://awesome-repositories.com/f/development-tools-productivity/package-dependency-managers.md) — Implements a robust engine for resolving and installing project dependencies defined in configuration files. ([source](https://rye.astral.sh/guide/))
- [Deterministic Dependency Locking](https://awesome-repositories.com/f/development-tools-productivity/reproducible-build-environments/deterministic-dependency-locking.md) — Uses lockfiles to guarantee identical package versions across development and production environments. ([source](https://cdn.jsdelivr.net/gh/astral-sh/rye@main/README.md))
- [Multi-Package Workspaces](https://awesome-repositories.com/f/development-tools-productivity/workspace-management/project-workspaces/multi-package-workspaces.md) — Provides integrated support for managing multiple Python packages within a single repository via root manifest registration.
- [Command Interception Shims](https://awesome-repositories.com/f/development-tools-productivity/command-interception-shims.md) — Implements proxy executables that intercept commands and route them to the correct version-specific Python runtime.
- [Global Tool Isolation](https://awesome-repositories.com/f/development-tools-productivity/dependency-isolation-tools/global-tool-isolation.md) — Provides a way to install global CLI tools into isolated environments to prevent pollution of project dependencies.
- [Package Publishing](https://awesome-repositories.com/f/development-tools-productivity/dependency-managers/artifact-distribution-systems/package-publishing.md) — Compiles source code into distributable formats and uploads them to package registries. ([source](https://cdn.jsdelivr.net/gh/astral-sh/rye@main/README.md))
- [Monorepo Workflow Orchestration](https://awesome-repositories.com/f/development-tools-productivity/monorepo-workflow-orchestration.md) — Coordinates complex build and dependency lifecycles across multiple packages within a Python monorepo workspace.
- [Workspace Managers](https://awesome-repositories.com/f/development-tools-productivity/package-managers/dependency/workspace-managers.md) — Coordinates shared dependencies and build targets across multiple interconnected packages within a single project workspace.

### Programming Languages & Runtimes

- [Python Runtime Managers](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/runtime-environments/runtimes/runtime-management-systems/python-runtime-managers.md) — Provides a comprehensive system for downloading and managing specific Python interpreter binaries to ensure consistent runtimes. ([source](https://cdn.jsdelivr.net/gh/astral-sh/rye@main/README.md))
- [Virtual Environment Isolation](https://awesome-repositories.com/f/programming-languages-runtimes/expression-evaluators/python-runtimes/virtual-environment-isolation.md) — Creates discrete directory structures for project dependencies to prevent version conflicts between separate applications.
- [Python Version Managers](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/runtime-environments/runtime-management-utilities/python-version-managers.md) — Enables users to install and switch between different Python interpreter versions to meet project-specific requirements. ([source](https://rye.astral.sh/))
- [Toolchain Installers](https://awesome-repositories.com/f/programming-languages-runtimes/toolchain-installers.md) — Downloads and manages pre-compiled Python binaries to provide consistent runtimes independent of system installations.

### DevOps & Infrastructure

- [Virtual Environment Managers](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/environment-scoping-controls/virtual-environment-managers.md) — Orchestrates the creation and maintenance of isolated virtual environments to prevent dependency conflicts. ([source](https://rye.astral.sh/))
- [Isolated Global Installations](https://awesome-repositories.com/f/devops-infrastructure/package-installations/isolated-global-installations.md) — Deploys Python CLI utilities into isolated global environments for use across any directory.
- [Python Distribution Packaging](https://awesome-repositories.com/f/devops-infrastructure/python-distribution-packaging.md) — Handles the building and preparation of Python projects specifically for publication to package registries.
