A pip alternative for managing python packages
Project description
A shameless clone of npm for managing python packages.
Do not take this project seriously
it's just a pip install
command with some features for personal needs.
Installation
pip install pip-ppm
requirements.json file initialization
ppm init
ppm init
command creates a file contains:
{
"name": "test",
"version": "1.0.0",
"description": "",
"author": "",
"license": "ISC",
}
Install a package and save to the requirements.json file
ppm install flask --save
ppm install flask==1 --save
ppm install flask ipython --save
When you use ppm install
command with --save
flag,
it's saving installed packages to the requirements.json
file
{
...
"requirements": {
"django": "2",
"djangorestframework": ""
}
}
Install packages pre-defined in requirements.json file
ppm install
...
Successfully installed django-2.0 djangorestframework-3.10.3
Available commands
Usage: ppm [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
init Initializes requirements.json file
install Installs given package[s]
uninstall Uninstalls given package[s]
dump Dumps requirements.json file to `pip freeze` format
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
pip-ppm-0.0.2.1.tar.gz
(3.3 kB
view hashes)