Skip to main content

Update all pip-installed packages

Project description

pipdate

PyPi Version Anaconda Cloud PyPI pyversions GitHub stars PyPi downloads

gh-actions codecov Code style: black

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipdate-0.5.6.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

pipdate-0.5.6-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

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

Hashes for pipdate-0.5.6.tar.gz
Algorithm Hash digest
SHA256 1b6b7ec2c5468fb7036ec9d6b2ced7a8a538db55aaca03f30199216d3bbd264b
MD5 15a29269c13138aae3a2c60d4dbb75cb
BLAKE2b-256 bc71bf74121bed1b3209b56dd8f4232a3db07a63d1e3b45818f30c7684cd38cf

See more details on using hashes here.

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

Hashes for pipdate-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9cb4eec6fd4a0f3b00cb053bf095654b381207e4b7f0511e7e531a33ac30c904
MD5 a400973693e3a60d6cfeca8e143386d1
BLAKE2b-256 36723de1c19d654bbec54c15cc0d25313a49573ed59e2668a138d62aba3b1d8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page