Skip to main content

Upgrade all python packages.

Project description

PUPG

Python script for upgrading all python packages, which is still a big missing pip functionality. The script runs pip list -o command to get all outdated packages. Then it creates a thread for all of the found upgradable packages and runs pip install -U %pckg on them.

Installation

pip install pupg

Usage

python -m pupg [-h] [-l LIMIT] [-c] [-v]

optional arguments:

  • -h, --help - show help message and exit
  • -l LIMIT, --limit LIMIT - set default upgrade try limit (default=3) allowing safely abort upgrade of a package after given number of tries
  • -c, --check - check if upgrade was successful at the and of the script; simply runs pip list -o again and check if the list is zero
  • -v, --verbose - not implemented yet

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

pupg-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pupg-0.0.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

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