Workflow
uv
icon
Search documents
十年来Python生态最好工具,引爆全社区的uv到底是什么?
机器之心· 2025-10-30 03:49
机器之心报道 编辑:Panda uv,我们也该报道一下它了。 这个用 Rust 写的 Python 包和项目管理工具近日在 Hacker News 上再次引发广泛关注。原因很简单,来自英国的天文学家和科学传播者 Emily L. Hunt 博士在自己的 博客上发布了一篇文章,称「uv 是近十年来 Python 生态系统发生的最好的事情」。 博客不长,但被分享到 Hacker News 后却引发了广泛共鸣和讨论,也收获了上千点赞(虽然很多讨论的焦点是 Rust)。 不过在看这篇博客之前,我们先简单了解一下 uv 这个项目本身。 简单来说,uv 是一个面向 Python 生态系统的高速「一体化」工具,可用于包管理、环境管理、项目初始化、工具执行、Python 版本管理等。其由 Astral(同样推 出了知名工具 Ruff)开发,底层使用 Rust 语言实现,以追求极致性能。对于已有的工作流、pip、virtualenv、pipx、poetry 等工具,uv 提供极强的兼容性并且在某 些场景下速度可提升 10–100 倍。 截至目前,该项目在 GitHub 已经收获了超 7.1 万 star! 项目:https:/ ...
X @Avi Chawla
Avi Chawla· 2025-10-14 06:31
Finally, Python 3.14 lets you disable GIL!It's a big deal because earlier, even if you wrote multi-threaded code, Python could only run one thread at a time, giving no performance benefit.But now, Python can run your multi-threaded code in parallel.And uv fully supports it! https://t.co/pfqh58En3K ...
X @Avi Chawla
Avi Chawla· 2025-07-03 19:22
uv is incredibly fast!- Creating virtual envs. with uv is ~80x faster than python -m venv.- Package installation is 4–12x faster without caching, and ~100x with caching.Check a detailed guide to uv in the thread below: https://t.co/fhaBTZ1IEcAvi Chawla (@_avichawla):uv in Python, clearly explained (with code): ...