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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page