Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for pipplus, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pipplus-0.1.0-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pipplus-0.1.0.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page