Skip to main content

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

Release files for pip-ppm 0.0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-ppm 0.0.2.1
File Size Uploaded
pip-ppm-0.0.2.1.tar.gz 3.3 kB Details

Release files / pip-ppm-0.0.2.1.tar.gz

Download URL pip-ppm-0.0.2.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
55cbfffb556eeaa471558be6543739054b94257996ed6d9cbf559e9716f3c842
BLAKE2b-256 checksum
How to use checksums
e286899513af4b4ef882bb0691c9a6b8bd6049b05ded63e4dea216f4321df9d5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2.1 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page