{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"Audits Python project imports against requirements.txt to find missing or unused dependencies, helping keep your dependency list accurate and complete.","skillfed_tags":["dependency-audit","requirements-lint"],"use_cases":["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\u2014catching missing or extra packages before they reach production.","Audit legacy projects to understand which declared dependencies are actually used versus which are cruft."],"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.\n\nYou 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.","worth_installing":"Yes. This is a stable, actively maintained linter that solves a real problem\u2014keeping 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."},"id":"pip-check-reqs","links":{"html":"https://skillfed.io/packages/pip-check-reqs","md":"https://skillfed.io/packages/pip-check-reqs.md","pypi":"https://pypi.org/project/pip-check-reqs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":null,"license_treatment":"permissive","name":"pip-check-reqs","python_support":"supports_current","summary":"Find packages that should or should not be in requirements for a project"},"popularity":{"monthly_downloads":87980,"position":13758,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
