---
name: "pip-extra-reqs"
section: "1"
platform: "linux"
package: "pip-check-reqs"
version: "2.5.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pip-extra-reqs"
---

# pip-extra-reqs(1)

find packages that should not be in requirements

## NAME

pip-extra-reqs - find packages that should not be in requirements

## SYNOPSIS

**pip-extra-reqs** \[*options*\] *files or directories*

## DESCRIPTION

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.

## SEE ALSO

[**pip-missing-reqs**(1)](/pip-missing-reqs/1.md),
