pip VS PDM

Compare pip vs PDM and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pip PDM
108 47
9,264 6,553
1.0% 4.5%
9.8 9.6
5 days ago 1 day ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pip

Posts with mentions or reviews of pip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • How to Create Virtual Environments in Python
    4 projects | dev.to | 9 Feb 2024
    Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.
  • Boring Python: dependency management (2022)
    3 projects | news.ycombinator.com | 4 Feb 2024
    Unfortunately that feature is easy to break: https://github.com/pypa/pip/issues/9644
  • pip VS instld - a user suggested alternative
    2 projects | 9 Dec 2023
  • sudo pip install should be illegal
    1 project | /r/linuxmemes | 8 Dec 2023
    I think I did my part https://github.com/pypa/pip/issues/6409
  • Can't seem to install Python YAML support
    1 project | /r/Ubuntu | 29 Aug 2023
    $ sudo pip install y$ sudo pip install yaml WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. ERROR: Could not find a version that satisfies the requirement yaml (from versions: none) ERROR: No matching distribution found for yaml
  • Bun v0.6.0 – Bun's new JavaScript bundler and minifier
    9 projects | news.ycombinator.com | 16 May 2023
    What are you implying will happen?

    Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.

    If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.

    [1] https://github.com/pypa/pip/issues/4732

    [2] https://pip-tools.readthedocs.io/en/latest/#using-hashes

    [3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...

  • My Goldilocks Python Setup: pyenv, pipx, and pip-tools
    4 projects | /r/Python | 22 Apr 2023
    Here’s the issue, https://github.com/pypa/pip/issues/11664. I think the idea would be to have some file/json description of environment that could be passed to pip to allow it to fully cross compile. They are open to supporting it just needs contributor to be found to implement it and go through review/discussion.
  • Remote Code Execution Vulnerability in Google They Are Not Willing to Fix
    2 projects | news.ycombinator.com | 15 Apr 2023
    To be fair the only alternative is fixing Python, and even then you still would have to wait a good 5 years at least for all the old Python versions to dwindle.

    It doesn't look like the fixing effort is progressing very quickly: https://github.com/pypa/pip/issues/8606

    To their credit, at least they didn't close it "works as intended" which I imagine a lot of projects would.

  • Pip 23.1 Released - Massive improvement to backtracking
    5 projects | /r/Python | 15 Apr 2023
    Another good benchmark to trying to resolve apache-airflow[all]==1.10.13 using the state of PyPi on 2020-12-02, I give instructions here on how to reproduce that workflow: https://github.com/pypa/pip/issues/11836. Including a benchmark how how many extra packages your resolver should visit.
  • will upgrading pip break things?
    2 projects | /r/learnpython | 11 Apr 2023

PDM

Posts with mentions or reviews of PDM. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-13.
  • Implementing Quality Checks In Your Git Workflow With Hooks and pre-commit
    6 projects | dev.to | 13 Dec 2023
    # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-toml - id: check-added-large-files - repo: local hooks: - id: tox lint name: tox-validation entry: pdm run tox -e test,lint language: system files: ^src\/.+py$|pyproject.toml|^tests\/.+py$ types_or: [python, toml] pass_filenames: false - id: tox docs name: tox-docs language: system entry: pdm run tox -e docs types_or: [python, rst, toml] files: ^src\/.+py$|pyproject.toml|^docs\/ pass_filenames: false - repo: https://github.com/pdm-project/pdm rev: 2.10.4 # a PDM release exposing the hook hooks: - id: pdm-lock-check - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 3.0.0 hooks: - id: markdownlint
  • Beginning Python: Project Management With PDM
    4 projects | dev.to | 12 Oct 2023
    PDM is a solution that allows for easy creation and management of python projects. Some of the key features that will improve the management of python projects include:
  • A question about good practice when using docker.
    2 projects | /r/dataengineering | 26 May 2023
    You'd need a proper dependencies management tool like PDM or Poetry to exhaustively resolve and lock down all the transitive dependencies if you want to have anything closed to reproducible build.
  • pdm-dotenv: Simplify Your Project's Environment Variable Management
    3 projects | /r/Python | 16 Apr 2023
    Are you working on a Python project that uses pdm for dependency management and dotenv for local environment variable and secrets management? Do you find it frustrating when CLI tools like pgcli don't automatically pick up your .env file, forcing you to resort to npm install -g dotenv-cli? I've got a more convenient solution for you!
  • PEP 582 rejected - consensus among the community needed
    7 projects | /r/Python | 28 Mar 2023
    I first learned about PDM from a blog post written by one of the PDM contributers. The post was about OOPifying argparse to allow for easy creation/modification of subcommands that exist as their own classes/files, and to avoid maintaining a single long script with an endless number of subparser.add_argument(...) lines.
  • PEP 704 – Require virtual environments by default for package installers
    3 projects | news.ycombinator.com | 15 Mar 2023
    That's more or less what PEP 582 plans to do, but it's been stalled and mired in discussions for years. The PDM tool went ahead and implemented it though if you want to use it: https://github.com/pdm-project/pdm
  • This Week In Python
    5 projects | dev.to | 20 Jan 2023
    pdm – A modern Python package and dependency manager
  • Pdm: A modern Python dependency manager supporting the latest PEP standards
    1 project | news.ycombinator.com | 19 Jan 2023
  • How does a virtual environment work?
    2 projects | /r/Python | 5 Jan 2023
    pdm and PEP 582 enter the chat
  • Boring Python: Code Quality
    14 projects | news.ycombinator.com | 20 Dec 2022
    I'm liking PDM for a while now. Quicker than Poetry and built according to the Python package spec in mind and not as an afterthought. While it was originally meant to work with PEP 582, it works with virtual environments too (now default).

    https://github.com/pdm-project/pdm

What are some alternatives?

When comparing pip and PDM you can also consider the following projects:

mamba - The Fast Cross-Platform Package Manager

Poetry - Python packaging and dependency management made easy

conda - A system-level, binary package and environment manager running on all major operating systems and platforms.

pip-tools - A set of tools to keep your pinned Python dependencies fresh.

Pipenv - Python Development Workflow for Humans.

wheel - Adoption analysis of Python Wheels: https://pythonwheels.com/

PyFlow - Visual scripting framework for python - https://wonderworks-software.github.io/PyFlow

Curdling - Concurrent package manager for Python

pyenv - Simple Python version management