$npx skillfedfor your agent

pip-check-reqs

Find packages that should or should not be in requirements for a project

Worth itPyPI Build ToolsReleased Jul 202688.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pip_check_reqs-3.0.0-py3-none-any.whl
v3.0.0 · released 2026-07-30 · Python >=3.10 · 2 runtime deps: packaging, pip

Yes. This is a stable, actively maintained linter that solves a real problem—keeping requirements.txt in sync with actual code. Low install friction, no security issues, and MIT-licensed. Worth adding to any Python project's CI pipeline, especially if you want to avoid the surprise of discovering you've been relying on a transitive dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; project must have a requirements.txt or pyproject.toml file to check against.
  • Low friction install with only two stable runtime dependencies (packaging and pip).
  • Active maintenance with a recent release 15 days ago and consistent commits.

License · maintenance · safety

permissive license (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2026-07-30 (15 days) · last repo commit 2026-08-13 · 135 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,980 downloads/mo, #13,758 on PyPI

Verify before relying

pip install pip-check-reqs

# In your project directory:
pip-missing-reqs --ignore-file=tests/* myproject
pip-extra-reqs --ignore-file=tests/* myproject
  • Whether the tool correctly handles all edge cases in conditional imports and dynamic dependency inclusion.
  • Performance characteristics when analyzing very large codebases with thousands of modules.
Same gist for agents: .md · .json

What it is and what it does

pip-check-reqs is a linter that compares your project's actual code imports against your declared dependencies. It runs two checks: pip-missing-reqs finds modules you're importing that aren't listed in requirements.txt (catching transitive dependencies you've accidentally relied on), and pip-extra-reqs finds packages in requirements.txt that your code never imports (identifying dead weight). The tool supports excluding test files and conditionally-imported modules via command-line flags, and can work with either requirements.txt or pyproject.toml.

You run it as a command-line tool in your project directory, pointing it at your source code. It parses all imports, maps them to their package names using packaging metadata, and reports mismatches. It's designed to integrate into CI/CD via tox or similar test runners, letting you catch dependency drift before it causes production surprises.

Use it for

  • Detect transitive dependencies you've accidentally relied on so you can add them explicitly to requirements.txt.
  • Find and remove unused packages from requirements.txt to reduce your dependency footprint and attack surface.
  • Validate that a refactored codebase still has all the dependencies it needs after removing old code.
  • Integrate into CI to prevent dependency drift—catching missing or extra packages before they reach production.
  • Audit legacy projects to understand which declared dependencies are actually used versus which are cruft.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a stable, actively maintained linter that solves a real problem—keeping requirements.txt in sync with actual code. Low install friction, no security issues, and MIT-licensed. Worth adding to any Python project's CI pipeline, especially if you want to avoid the surprise of discovering you've been relying on a transitive dependency.

Install

pip-check-reqs on PyPI

Before you install

Low friction install with only two stable runtime dependencies (packaging and pip). Active maintenance with a recent release 15 days ago and consistent commits.

Requires Python 3.10 or later; project must have a requirements.txt or pyproject.toml file to check against.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install pip-check-reqs

# In your project directory:
pip-missing-reqs --ignore-file=tests/* myproject
pip-extra-reqs --ignore-file=tests/* myproject

Verify before relying

  • Whether the tool correctly handles all edge cases in conditional imports and dynamic dependency inclusion.
  • Performance characteristics when analyzing very large codebases with thousands of modules.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
packagingpip
MaintenanceActively maintained 15 days since the last release
Last repo commit
First released
Downloads87,980 / month, #13,758 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Build Tools

Evidence: pip_check_reqs-3.0.0-py3-none-any.whl

Tags

Capabilities
check missing requirementsfind unused dependenciesaudit requirements.txtlint pip dependenciesvalidate project imports
Topics
dependency-auditrequirements-lint
PyPI keywords
lintpip

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “audit requirements.txt”

  • pip-check-reqsAudits Python project imports against requirements.txt to find…
  • liccheckScans Python project dependencies in requirements.txt or…
  • uv-secureScans uv.lock, pylock.toml, and requirements.txt files for known…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also creosote · fawltydeps · flake8-requirements · deptry · pipreqs-fivetran · update_checker · requirements-detector · depgather · pipreqs · liccheck