Skip to main content

A pip addon that expands what's possible with python package management

Project description

pipplus

An enhancement for pip that enables npm type commands for your python project.

Works with Python 3.6+

Commands

Currently supports npm run ... type commands for scripts setup in the pyproject.toml file like so:

[tool.pipplus.scripts]
autopep8 = "autopep8 -i -r -vv ."

pipplus works either with the pipplus command or the ppm command for ease of transition for those used to npm:

$> ppm run autopep8
pipplus run autopep8 => "autopep8 -i -r -vv ."
enable pyproject.toml config: key=max_line_length, value=120
[file:setup.py]
...

OS dependant scripts are also possible (where pipplus will determin the correct script per run based on os.name):

[tool.pipplus.scripts]
autopep8 = "autopep8 -i -r -vv ."


[tool.pipplus.scripts.clean]
nt = "del /Q /Y build"
posix = "rm -rf build"

TODO

  • init
  • install (including save and save-XXX)
  • uninstall
  • update
  • Other commands (hoping to have a full superset of pip and npm type commands if possible)

Project details


Download files

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

Source Distribution

pipplus-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

pipplus-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pipplus-0.1.0.tar.gz.

File metadata

  • Download URL: pipplus-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.12

File hashes

Hashes for pipplus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98f2e9d440e10596482f094e771c134a73a3937a92c8b107db18664559be97ea
MD5 8383f780104ff95a02ac2605f31d9cce
BLAKE2b-256 e0c4b6ee5653c1b35a7d61a5d464c58a87871a59e951f93dde297227ae606410

See more details on using hashes here.

File details

Details for the file pipplus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pipplus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.12

File hashes

Hashes for pipplus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbeaf59b95ef63a713068f120c0b3b9d80de70d4fdff9174adbc6d1df90c82d3
MD5 9f894505335c9735f6ec7643c89b81d6
BLAKE2b-256 de4142af70505ae572b8d67215e7604404074a09ddd13ead38ea3ecf4cafa51f

See more details on using hashes here.

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