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
- 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.0b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14057c2d07513c1fe859878cadb843ced84c2a5c31777a10b27f22e0bfaaf407 |
|
MD5 | 4ca72a73b32e7459d5a097050923ebf2 |
|
BLAKE2b-256 | 5f9ac54c3c58e045798a28c7b177a93304ca9c61a09ec6ed2fcdbdae056b14b2 |
Close
Hashes for pip_upgrade_outdated-1.0b2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff60685213b68f74915285b9999e298ed559656a5e714afe4486c566cc34a0c |
|
MD5 | 2be8cfb494eeba04e4245719de1f372a |
|
BLAKE2b-256 | e9684974e5eb876f081e8c443187093a711dd6798a37c54becb8868ad6100994 |