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?
- Should the script explicitly return a value to the shell?
Sources
- code based on https://gist.github.com/serafeimgr/b4ca5d0de63950cc5349d4802d22f3f0
- project structure based on https://gehrcke.de/2014/02/distributing-a-python-command-line-application/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pip_upgrade_outdated-1.0b6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02ccbe15dad08f616a41c82e802f834d83478689851fb761fe87ad6f41a9b03 |
|
MD5 | 5c453b7ba2415d8378b63f604061ee64 |
|
BLAKE2b-256 | 2ae7f49ab71c332ef0559950be5abfc6e0bc78532b6ebaf40d7a0e69b12c12fe |
Close
Hashes for pip_upgrade_outdated-1.0b6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc963349b38023f5be50e7485d68a4530813b930e166f7c73b0ab343431fcec |
|
MD5 | c2f5c6a50b9be6b2bda484ff1170ca9a |
|
BLAKE2b-256 | 3a704e4036d1f66eb17041d3393a720733fe7a52f08f8bc9db174a264cc7037d |