Find outdated dependencies in your requirements.txt or setup.cfg
Project description
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.7.0 (Aug 13, 2024)
Change: ignore InvalidVersion error.
0.6.0 (Jan 1, 2023)
Bump dependencies.
Drop cchardet.
Change: fetch package version from pip CLI, so we can get package version in venv.
0.5.0 (Jan 12, 2022)
Bump dependencies.
Add: typehint.
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)
Bump dependencies:
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.
Source Distribution
Built Distribution
File details
Details for the file pip_outdated-0.7.0.tar.gz
.
File metadata
- Download URL: pip_outdated-0.7.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1189520166f47a42c4dac78b83842dc68181786a95c7226f717ade0cd948c1d |
|
MD5 | 64805798528e379c3037561d749b4da5 |
|
BLAKE2b-256 | d808398cb53d3a0ab4929e561141fe9abddba6fd2eb151f2295fb50d770b92bb |
File details
Details for the file pip_outdated-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: pip_outdated-0.7.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe053e639b8db687c4c552d6b258e76fd92e336e53b7db32886d8592ca11be7 |
|
MD5 | fe5eaeb69be7bcb96112bee8cc4e15c1 |
|
BLAKE2b-256 | c4f20807e1574127b893f941830d05e4b4a45a49ae6c19bc3a9b8ee456ea7cae |