V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Mar 5, 2024 · 3963 views
    This topic created in 783 days ago, the information mentioned may be changed or developed.

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

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

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