Skip to main content

Python Development Master

Project description

PDM - Python Development Master

A modern Python package manager with PEP 582 support. 中文版本说明

Github Actions

What is PDM?

PDM is meant to be a next generation Python package management tool. It is originally built for personal interest. If you feel you are going well with Pipenv or Poetry and don't want to introduce another package manager, just stick to it. But if you are missing something that is not present in those tools, you can probably find some goodness in pdm.

Open for feature requests, find yourself at https://github.com/pdm-project/call-for-features.

Highlights of features

  • PEP 582 local package installer and runner, no virtualenv involved at all.
  • Simple and relatively fast dependency resolver, mainly for large binary distributions.
  • A PEP 517 build backend.

Why not virtualenv?

Now the majority of Python packaging tools also act as virtualenv managers. It is for the benifit of isolating project environments. But things will get tricky when it comes to nested venvs: One installs the virtualenv manager using a venv capsulated Python, and create more venvs using the tool which is based on a capsulated Python. One day a minor release of Python out and one has to check all those venvs and upgrade them if required.

While PEP 582, in the other hand, introduce a way to decouple Python interpreter with project environments. It is a relative new proposal and there are not many tools supporting it, among which there is pyflow, but it is written with Rust and can't get much help from the big Python community. Moreover, due to the same reason, it can't act as a PEP 517 backend.

Installation:

$ pipx install pdm

It is recommended to install pdm in an isolated enviroment, with pipx.

Or you can install it under user site:

$ pip install --user pdm

Usage

python -m pdm --help should be a good guidance.

0.1.0 Roadmap

  • A dependency resolver that just works.
  • A PEP 582 installer.
  • PEP 440 version specifiers.
  • PEP 508 environment markers.
  • Running scripts with PEP 582 local packages.
  • Console scripts are injected with local paths.
  • A neet CLI.
  • add, lock, list, update, remove, build commands.
  • PEP 517 build backends.
  • Continuous Integration.

Credits

This project is strongly inspired by pyflow and poetry.

License

This project is open sourced under MIT license, see the LICENSE file for more details.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdm-0.0.3.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

pdm-0.0.3-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

Details for the file pdm-0.0.3.tar.gz.

File metadata

  • Download URL: pdm-0.0.3.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.4

File hashes

Hashes for pdm-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4bbe9df7d348eb14723a1dc46036317e171cc3e4c906c0b0a8d50fbe0d6dbbfa
MD5 c7e3a45cd54bed30c2c6c3d268083659
BLAKE2b-256 377b71b77d5f9911fba0e77eb014c8fc6eedd8b77af85acea7c785eb2aaeef34

See more details on using hashes here.

Provenance

File details

Details for the file pdm-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pdm-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 64.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.4

File hashes

Hashes for pdm-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 100135d5edcf03dd2604144a8a35f985b9c54a21fea410dd9ec09252f6008b8d
MD5 b218d710e89af1d8374853a3e28f7ae2
BLAKE2b-256 68d7695564956bd6472fd14d37d1e79965ad4bf9140077d51658c556a6e92267

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page