Rye: A Rust‑Based Python Package Manager That Quickly Topped GitHub Trending
Rye, a Rust‑written Python package manager created by Flask author Armin Ronacher, quickly topped GitHub Trending, offering one‑stop management of Python packages, environments, and projects with features like automatic installation, global isolation tools, and seamless pyproject.toml handling, illustrated through command‑line examples and praised by developers such as Simon Willison.
Flask creator Armin Ronacher recently released a new open‑source project called Rye , a Python package manager written in Rust that rose to the top of GitHub Trending within days.
Rye aims to replace tools such as poetry, pip, pipenv, pyenv, venv, virtualenv, pdm, and hatch by providing a single, unified solution for installing and managing Python packages, handling pyproject.toml, managing virtual environments, and supporting monorepos and global tool installations.
Key features include automatic installation and management of Python versions, a global isolation tool for installing binaries, and automatic updates of virtual environments. Example commands are shown below:
$ rye pin 3.11
$ rye run python
Python 3.11.1 (main, Jan 16 2023, 16:02:03) [Clang 15.0.7] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> $ rye install maturin $ rye add flask
$ rye syncThe tool quickly attracted attention from the community; Django founder Simon Willison posted a short guide after trying Rye, linking to his detailed write‑up.
Despite its popularity, Ronacher notes that Rye is still a work in progress and was originally intended as a personal project rather than a public open‑source release, as he worries about adding to the already fragmented Python packaging ecosystem.
The article also highlights the broader trend of Rust influencing Python tooling, mentioning the high‑performance Python linter Ruff (written in Rust) and its rapid rise in stars, as well as the formation of a new company, Astral, to continue building Rust‑based developer tools for Python.
Overall, Rye exemplifies the growing synergy between Python and Rust, aiming to simplify developers' daily workflow by consolidating multiple packaging and environment management tasks into a single, efficient tool.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Python Programming Learning Circle
A global community of Chinese Python developers offering technical articles, columns, original video tutorials, and problem sets. Topics include web full‑stack development, web scraping, data analysis, natural language processing, image processing, machine learning, automated testing, DevOps automation, and big data.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
