3

Astral unveils ‘extremely fast’ Python package installer

 7 months ago
source link: https://www.infoworld.com/article/3712790/astral-unveils-extremely-fast-python-package-installer.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Astral unveils ‘extremely fast’ Python package installer

Rust-based uv package manager promises to be a drop-in replacement for pip and up to 115x faster than pip when running with a warm cache.

By Paul Krill

Editor at Large,

InfoWorld | Feb 16, 2024 2:00 am PST

speed fast race car shutterstock 1168856884

Jamesboy Nuchaikong / Shutterstock

Astral, which makes high-performance Python tools such as the Ruff 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 uv via Astral’s stand-alone installers or from Pypl.

Like Ruff, uv was implemented with an obsessive focus on performance, Astral said. The company’s benchmarks show uv to be 8x to 10x faster than pip and pip-tools without caching, and 80x to 115x faster when running with a warm cache.

The package manager was also designed to pose minimal barriers to adoption. uv’s initial release centered on supporting pip and pip-tools APIs behind a uv pip interface, making uv usable by existing projects with no configuration required.

0 seconds of 30 secondsVolume 0%
This ad will end in 28

uv ships as a single static binary and supports modern Python packaging features including editable installs, Git dependencies, URL dependencies, local dependencies, constraint files, source distributions, and custom indexes. uv supports Linux, Windows, and macOS.

Paul Krill is an editor at large at InfoWorld, whose coverage focuses on application development.

Copyright © 2024 IDG Communications, Inc.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK