Astral, which makes high-performance Python tools like Raft Linter, has launched UV, an “extremely fast” Python package installer and resolver written in Rust.
Designed as a drop-in replacement for pip
And pip-tools
UV is ready for production use today in projects built around those workflows, Astral wrote in a blog post announcing the product. Developers can install UVs through Astral’s stand-alone installers or from PyPL.
Astral said, like Rough, UV was implemented with an obsessive focus on performance. The company’s benchmarks show UV to be more than 8x to 10x brighter pip
And pip-tools
80x to 115x faster when running without caching, and with warm cache.
The package manager was also designed to pose minimal barriers to adoption. The initial release of UV focused on support pip
And pip-tools
API behind A uv pip
The interface makes UV usable by existing projects without requiring any configuration.
UV comes as a single stable binary and supports modern Python packaging features including editable installs, Git dependencies, URL dependencies, local dependencies, constraint files, source distribution, and custom indexes. uv supports Linux, Windows and macOS.
Copyright © 2024 IDG Communications, Inc.