Skip to main content

Dependency Update Checker for Pip

Project description

Check Dependency Updates

Code Style Black License pypi Version

This is a tool used for checking dependency versions in requirements.txt style files. Inspired by tools such as npm-check-updates.

Note this is a very simple and targeted tool. It will look at a requirements.txt file, and print which dependencies with a version are out of date, with the current latest version. This is in contrast to tools like pur or pip-upgrader etc, as this is trying to only do a single thing.

If you have pip and installed, this does not require any other dependencies, as it uses pip's native vendored dependencies in order to keep footprint down. This also allows this tool to be 'portable' in the sense where you can just take the single python file and use it on any machine with pip installed.

Install

You can install this with pip:

pip install check-dep-updates

If you do this, it should automatically get installed and be available with the cdu command

Alternatively, you can copy and use the single python file __init__.py directly on any system with pip installed.

Usage

Once installed, the cdu command should be the aliased commmand.

Within A Project Directory

$ ls
my_app/
requirements.txt
$ cdu
Newer version of requests: 2.24.0
Done

With a Specific requirements File

$ cdu -f dev_requirements.txt
Newer version of black: 19.10b0
Done

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

check_dep_updates-0.2.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

check_dep_updates-0.2.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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