Best of PIP2025

  1. 1
    Article
    Avatar of appsignalAppSignal·35w

    Switching from Pip to uv in Python: A Comprehensive Guide

    uv is a Rust-based Python package manager that offers 10-100x faster performance than traditional tools like pip, virtualenv, and pip-tools. It serves as a comprehensive replacement for multiple Python development tools, providing unified project management, automatic Python version handling, and modern packaging standards with pyproject.toml configuration. The guide covers installation, migration from pip, virtual environment management, dependency handling, and project lifecycle management with practical examples and performance comparisons.

  2. 2
    Article
    Avatar of socketdevSocket·1y

    Python Tools Are Quickly Adopting the New pylock.toml Standa...

    The new pylock.toml lock file format, introduced by PEP 751, is rapidly being adopted by Python tools such as pip, pip-audit, and PDM. This format aims to enhance reproducibility, security, and interoperability by standardizing the recording of exact dependency versions, hashes, and install metadata. The new 'pip lock' command will generate PEP 751-compliant lock files, and pip-audit can now scan these files for vulnerabilities. Additionally, foundational libraries are updating to support the new markers introduced by pylock.toml, signaling a significant step forward for unified and secure Python environments.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·29w

    How to Manage Python Packages with uv

    uv is a fast, Rust-based Python package manager that simplifies dependency management, virtual environments, and Python version control. The guide covers installation across platforms, project initialization, adding and removing dependencies, running code within virtual environments, managing multiple Python versions, and migrating from pip. Key features include automatic virtual environment creation, lock files for reproducible builds, and the ability to run tools in isolated environments without adding them as dependencies.

  4. 4
    Article
    Avatar of hnHacker News·1y

    uv overtakes Poetry

    uv has surpassed Poetry as the second most popular package installer for Wagtail users, following pip. The shift in usage is likely influenced by more than just new users. Wagtail needs to ensure compatibility with uv and update its documentation to reflect this change, given the evolving expectations of Python developers.