Skip to main content

Find outdated dependencies in your requirements.txt or setup.cfg

Project description

https://travis-ci.com/eight04/pip-outdated.svg?branch=master https://codecov.io/gh/eight04/pip-outdated/branch/master/graph/badge.svg

Find outdated dependencies in your requirements.txt or setup.cfg file. Report missing/outdated/incompatible packages with table and colors.

This tool compares the version number with the version specifier in requirements.txt or setup.cfg. If you just want to list all updatable package, simply use pip list --outdated command.

Installation

From pypi

pip install pip-outdated

Usage

usage: pip-outdated [-h] [-v] [-q] [<file> [<file> ...]]

Find outdated dependencies in your requirements.txt or setup.cfg file.

positional arguments:
  <file>         Read dependencies from requirements files. This option
                 accepts glob pattern. (default: ['requirements.txt',
                 'setup.cfg'])

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Print verbose information. (default: False)
  -q, --quiet    Don't return exit code 1 if not everything is up to date.
                 (default: False)

Check multiple files e.g. test-requirements.txt and dev-requirements.txt:

pip-outdated *-requirements.txt

Check files under requirements folder:

pip-outdated requirements/*.txt

Todos

  • Add options to update the package?
  • Add options to update the requirements.txt/setup.cfg file?
  • Add options to list all packages? (e.g. -g, --global)

Changelog

  • 0.4.0 (Jan 30, 2020)
    • Breaking: bump Python to 3.7
    • Add: request in parallel.
    • Add: --quiet option.
  • 0.3.0 (Oct 13, 2019)
    • Breaking: set exit code to 1 if not all good.
    • Fix: don’t check prereleases.
    • Add: check setup_requires and extras_require in cfg files.
  • 0.2.0 (Feb 10, 2019)
  • 0.1.0 (May 12, 2018)
    • First release.

Project details


Download files

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

Files for pip-outdated, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size pip_outdated-0.4.0-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pip-outdated-0.4.0.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page