pip-extra-reqs(1)

pip-extra-reqs1

Find packages that should not be in requirements

Usage

pip-extra-reqs [options] files or directories

Overview

This manual page documents briefly the pip-extra-reqs command.

pip-extra-reqs is a program that looks for extra unnecessary dependencies in a project's requirements.txt.

Options

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

-h, --help

Show summary of options.

-f IGNORE_FILES, --ignore-file=IGNORE_FILES

File paths globs to ignore

--requirements-file=PATH

Path to the requirements file (defaults to "requirements.txt")

-m IGNORE_MODS, --ignore-module=IGNORE_MODS

Used module names (globs are ok) to ignore

-m IGNORE_REQS, --ignore-requirement=IGNORE_REQS

Reqs in requirements.txt to ignore

-s, --skip-incompatible

Skip requirements that have incompatible environment

-d, --debug

Be *really* verbose.

-v, --verbose

Be more verbose.

--version

Display version information.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

--requirements-file since Debian 12 (Bookworm); --skip-incompatible since Debian 12 (Bookworm); -s since Debian 12 (Bookworm).

From pip-check-reqs 2.5.3-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.