Update all pip-installed packages
Project description
pipdate
pipdate is a collection of small pip update helpers. The command
pipdate
# or python3.9 -m pipdate
updates all your pip-installed packages. (Only works on Unix.)
There's a Python interface as well that can be used for update notifications. This
import pipdate
pipdate.check("matplotlib", "0.4.5")
will print
This can, for example, be used by package authors to notify users of upgrades of their own packages.
If you guard the check with
import pipdate
if pipdate.needs_checking("matplotlib"):
pipdate.check("matplotlib", "0.4.5")
then it will be performed at most every k seconds, where k is specified
in the config file $HOME/.config/pipdate/config.ini
, e.g., once a day
[DEFAULT]
secondsbetweenchecks = 86400
Installation
pipdate is available from the Python Package Index, so simply type
pip install pipdate
Testing
To run the pipdate unit tests, check out this repository and type
pytest
License
This software is published under the GPLv3 license.
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
File details
Details for the file pipdate-0.5.6.tar.gz
.
File metadata
- Download URL: pipdate-0.5.6.tar.gz
- Upload date:
- Size: 42.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6b7ec2c5468fb7036ec9d6b2ced7a8a538db55aaca03f30199216d3bbd264b |
|
MD5 | 15a29269c13138aae3a2c60d4dbb75cb |
|
BLAKE2b-256 | bc71bf74121bed1b3209b56dd8f4232a3db07a63d1e3b45818f30c7684cd38cf |
File details
Details for the file pipdate-0.5.6-py3-none-any.whl
.
File metadata
- Download URL: pipdate-0.5.6-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb4eec6fd4a0f3b00cb053bf095654b381207e4b7f0511e7e531a33ac30c904 |
|
MD5 | a400973693e3a60d6cfeca8e143386d1 |
|
BLAKE2b-256 | 36723de1c19d654bbec54c15cc0d25313a49573ed59e2668a138d62aba3b1d8d |