V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
chinesehuazhou
V2EX  ›  Python

Rust 开发的高性能 Python 包管理工具,可替换 pip、pip-tools 和 virtualenv

  •  
  •   chinesehuazhou · 53 天前 · 1846 次点击
    这是一个创建于 53 天前的主题,其中的信息可能已经有所发展或是发生改变。

    uv: Python packaging in Rust ( https://astral.sh/blog/uv)

    文章翻译版: https://pythoncat.top/posts/2024-03-05-uv

    13 条回复    2024-03-18 18:02:53 +08:00
    shinession
        1
    shinession  
       53 天前
    uv 据说速度挺快, 刚开始试, 还要多验证先
    vvhy
        2
    vvhy  
       53 天前
    关注。不得不说 rust 是真有点东西。
    之前还看到一个取代 conda 的 mamba ,C++写的,不知道和这个相比怎么样。
    NessajCN
        3
    NessajCN  
       52 天前
    试用了一下,还是要手动创建和 source 虚拟环境的,跟现在的 venv 和 pip 相比只是速度快了点,没有啥颠覆性的改良,就不打算迁移了。
    至少等它能像 cargo 那样用再考虑替换
    另外我觉得 python 更需要 rustup
    vvhy
        4
    vvhy  
       52 天前
    @NessajCN #3 对标 cargo/rustup 的应该是同组织下的 rye
    qsnow6
        5
    qsnow6  
       52 天前
    速度不是关键啊,好用、省心才是
    NoOneNoBody
        6
    NoOneNoBody  
       52 天前   ❤️ 1
    恕我直言,不是稳定的大团队不敢用啊
    不然下次换版本时发现他们停更了……
    chaunceywe
        7
    chaunceywe  
       52 天前
    可以用基于 uv 的 rye ,体验很好。不用再装 pyenv 了。
    noahlias
        8
    noahlias  
       52 天前
    openai-python 就是用的 rye
    https://github.com/openai/openai-python
    yh7gdiaYW
        9
    yh7gdiaYW  
       52 天前
    这类东西你们会关注性能吗?在我看来就算速度差个几倍也无所谓,只要稳定就好
    l4ever
        10
    l4ever  
       50 天前
    pyenv 管理 python 版本
    poetry 管理依赖版本,虚拟环境
    julyclyde
        11
    julyclyde  
       49 天前
    替换这种低频的东西有啥用啊
    还不如替换 python 运行引擎呢
    encro
        12
    encro  
       40 天前
    pdm 使用 python ,也还行啊
    encro
        13
    encro  
       40 天前
    我说为啥 pdm 这么慢,看来我得换 uv 试试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1472 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:59 · PVG 00:59 · LAX 09:59 · JFK 12:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.