Skip to main content

pipdate

CircleCI codecov Code style: black PyPi Version GitHub stars

pipdate is a collection of small pip update helpers. The commands

pipdate
pipdate3

updates all your pip{3}-installed packages. (Only works on Unix.)

There's a Python interface as well that can be used for update notifications. This

import pipdate
msg = pipdate.check('matplotlib', '0.4.5')
print(msg)

will print

╭──────────────────────────────────────────────╮
│                                              │
│        Update available 0.4.5 → 2.2.2        │
│   Run pip3 install -U matplotlib to update   │
│                                              │
╰──────────────────────────────────────────────╯

If you guard the check with

if pipdate.needs_checking('matplotlib'):
    print(pipdate.check('matplotlib', '0.4.5'), end='')

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

This can, for example, be used by module authors to notify users of upgrades of their own modules.

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

Distribution

To create a new release

  1. bump the __version__ number,

  2. publish to PyPi and GitHub:

    $ make publish
    

License

pipdate is published under the MIT license.

Metadata

Release files for pipdatedd 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipdatedd 0.3.3
File Size Uploaded
pipdatedd-0.3.3.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipdatedd 0.3.3
File Interpreter ABI Platform
pipdatedd-0.3.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.9 kB

Release files / pipdatedd-0.3.3.tar.gz

Download URL pipdatedd-0.3.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
531c282df6634f06bd91572de810955f82dc92983f633c4752eb8411da86570d
BLAKE2b-256 checksum
How to use checksums
2f65a2141fe8788cdbc20c62ee47e15e9cf937a50590f53752604ead59e4e067
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release files / pipdatedd-0.3.3-py2.py3-none-any.whl

Download URL pipdatedd-0.3.3-py2.py3-none-any.whl
Size 7.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1c046a24da39d2cd44a18a01c6f41e799e1441a253592cf519deadac12333a04
BLAKE2b-256 checksum
How to use checksums
87a5cb5498e681c7ed9cd8f020abc3dd7b4bdb706f34047df31fdb41daf5541f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page