A utility to automatically check for updates of installed Python packages and update them to the latest versions.
Project description
PythonPackageUpdateChecker
PythonPackageUpdateChecker is a utility that allows to automatically check for updates of installed Python packages and update them to the latest versions.
It uses asynchronous requests to PyPI to fetch information about newest versions of packages, compares them to locally installed ones and executes pip commands to update packages if needed.
Progress of update is displayed using tqdm library and overall execution time is measured.
Usage
To use PythonPackageUpdateChecker, simply run the python script. It will:
- Get local Python packages and versions
- Fetch latest versions from PyPI asynchronously
- Determine which packages need update
- Display list of outdated packages
- Update required packages with pip
- Show progress bars during update
- Play sound on finish
- Print total execution time
Requirements
The following libraries are required:
- pkg_resources
- subprocess
- asyncio
- time
- aiohttp
- tqdm
- winsound
Python 3.6 or later is required.
License
This project is licensed under the MIT license. See the LICENSE file for details.
Author
Andrii Bohachev
Email: andriybogachev@gmail.com
Social profiles:
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
Hashes for PythonPackageUpdateChecker-1.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb3f7a58eb830019b1b27fc5a0864ecfb74e98ca2628a0bc46db5732df0aa3a4 |
|
MD5 | 436eedbba99028490fcba8ea99bbe717 |
|
BLAKE2b-256 | ebd1e6881a0015d4412d0122284cc0ecdde4d778fac7b7167e9e57a60e10e90d |
Hashes for PythonPackageUpdateChecker-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc24c5dfa29c4e958139e860b185b1e0922c53fa1a779e8eb44b58d419ecca87 |
|
MD5 | 022f6f868bb12509f5fab49774284fea |
|
BLAKE2b-256 | 06475e020d4dece65cc65f85623bd598ac59615f716c05425e7474b7145749ce |