rye README

The project's README from github.com/astral-sh/rye. As one markdown file: README.md.

Rye: a Hassle-Free Python Experience


Rye

[!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.

Watch the instruction

Click on the thumbnail to watch a 16 minute introduction video

In The Box

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

Installation

The installation takes just a minute:

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

Learn More

Did I spark your interest?

More

rye (astral-sh/rye)

Searching Database…

14.1K ·GitHub
archived
这是什么?Rye 是一个面向 Python 的一体化项目与包管理工具,可以在一个地方完成安装 Python 版本、管理基于 pyproject.toml 的项目、依赖项和虚拟环境等工作。
这是命令行工具,还是我可以在代码里导入的库?它是一个独立的命令行工具,需要安装到你的电脑上,不是可以在 Python 项目中导入的东西。
使用它之前,我需要先安装 Python 吗?不需要。Rye 会借助 Indygreg Python Builds 和 PyPy 的二进制发行版自行引导安装 Python,因此你无需事先安装 Python。
Rye 还在继续开发吗?不再开发。Rye 已归档,不再维护,也不再提供安全更新;维护者现在推荐大家改用其继任项目 uv。
Rye 底层捆绑了哪些工具?它捆绑了用于代码检查和格式化的 ruff、用于创建虚拟环境的 virtualenv、用于构建 wheel 的 build、用于发布的 twine,以及用于锁定和安装依赖的 uv(不可用时回退到 unearth/pip-tools)。
新项目应该用 Rye 还是 uv?请改用 uv。它是同一团队开发、仍在积极维护的继任项目,而 Rye 本身已不再更新。
Rye 能管理多包项目吗?可以,Rye 内置了工作区(workspace)支持,可以处理由多个库组成的复杂项目。
如何将现有的 Rye 项目迁移出去?该项目会引导现有用户查阅 uv 官方的迁移指南,以便从 Rye 迁移。
What are similar projects?poetry, pip, composer, uv, pyinstaller, gvm, dep, pipx
Creator
astral-sh
Size
3.5 MB
Stars
14.1K
Age
3y
Commits · 90 Days