Skip to main content

Command-line tool to updated outdated python packages

Project description

pip_upgrade_outdated

Run pip install --upgrade for all outdated packages (pip list --outdated).

Allow specifying which version of pip to run, and parallel or serial execution of the upgrade step.

Command line usage

usage: pip_upgrade_outdated [-h] [-3 | -2 | --pip_cmd PIP_CMD] [--verbose]
                            [--dry_run] [--serial] [--version]

Upgrade outdated python packages with pip.

optional arguments:
  -h, --help         show this help message and exit
  -3                 use pip3
  -2                 use pip2
  --pip_cmd PIP_CMD  use PIP_CMD (default pip)
  --verbose, -v      may be specified multiple times
  --dry_run, -n      get list, but don't upgrade
  --serial, -s       upgrade in serial rather than parallel
  --version          show program's version number and exit

TODO

  • does it work with environment variables?
  • need better error handling?
  • have it run with --format columns when using --dry_run and --verbose?
  • Should the script explicitly return a value to the shell?

Sources

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_upgrade_outdated-1.0b3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_upgrade_outdated-1.0b3-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pip_upgrade_outdated-1.0b3.tar.gz.

File metadata

File hashes

Hashes for pip_upgrade_outdated-1.0b3.tar.gz
Algorithm Hash digest
SHA256 4133e0357206b24ffcbf3da73795700948ede01af60d63e2340db2b5b4c340a6
MD5 0bb0265cf16b5c4ac93dd12f42267cc4
BLAKE2b-256 9b274464608be6ba16ee63922f198f48c6802a301812b8de26db257c6837f4d9

See more details on using hashes here.

File details

Details for the file pip_upgrade_outdated-1.0b3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pip_upgrade_outdated-1.0b3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 29c5bb90676eb15e81f70aa069c2a7cdb84ba0fc129b8ea700ea7ffc169dc2c6
MD5 efd736dba09509f6aefb3d631d0a7383
BLAKE2b-256 f394dda015a2ec6c09dd7d586eead0609c34bb0a555c720ebdd8f729011b8fbf

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