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]
                            [--serial | --parallel] [--dry_run] [--verbose]
                            [--version] [--exclude PKG]

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)
  --serial, -s          upgrade in serial (default)
  --parallel, -p        upgrade in parallel
  --dry_run, -n         get list, but don't upgrade
  --verbose, -v         may be specified multiple times
  --version             show program's version number and exit
  --exclude PKG, -x PKG
                        exclude PKG; may be specified multiple times

TODO

  • Need better error handling?
  • Should the script explicitly return a value to the shell?
  • pass command-line options to pip (e.g., --upgrade-strategy)
  • allow patterns in exclude option

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.2.tar.gz (3.9 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.2-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pip_upgrade_outdated-1.2.tar.gz.

File metadata

File hashes

Hashes for pip_upgrade_outdated-1.2.tar.gz
Algorithm Hash digest
SHA256 7cef5f7975e0de04a2168e470ea541f1694892cf58295a7dd4ebc26ea2cac300
MD5 282bce8c31f806e61a9b0691800fc1f2
BLAKE2b-256 1f84a84945a98b944525a4f8b88facfe90cc4095deddce617dd6a6104fdb5b0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pip_upgrade_outdated-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81c84f92de9548c37a0f66c849a6a62f38f8b51f1b18fd8282cbc6f024e7dd51
MD5 17bc5e826c47624194f056dd659ec4c7
BLAKE2b-256 ab9dd49ce37d7bee6af28afba1f7ecea74be989d4e88238a391353e38e816e95

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