Skip to main content

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


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

Uploaded Source

File details

Details for the file pip-ppm-0.0.2.1.tar.gz.

File metadata

  • Download URL: pip-ppm-0.0.2.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for pip-ppm-0.0.2.1.tar.gz
Algorithm Hash digest
SHA256 55cbfffb556eeaa471558be6543739054b94257996ed6d9cbf559e9716f3c842
MD5 98f214b5dd0c8d4376a02a10ecb9481a
BLAKE2b-256 e286899513af4b4ef882bb0691c9a6b8bd6049b05ded63e4dea216f4321df9d5

See more details on using hashes here.

Supported by

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