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.0b2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pip_upgrade_outdated-1.0b2-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 2 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