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