{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Fawltydeps identifies undeclared dependencies (imports without corresponding declarations) and unused dependencies (declared but never imported) in Python projects.","skillfed_tags":["dependency-management","linting","ci-cd"],"use_cases":["Audit an existing project to find forgotten dependency declarations before deploying to production.","Clean up requirements files by identifying and removing packages that are no longer used.","Enforce dependency hygiene in CI/CD pipelines to catch undeclared imports before merge.","Validate that a refactored codebase still declares all the packages it actually needs.","Reduce container image or virtual environment size by removing unnecessary declared dependencies."],"what_it_does":"Fawltydeps is a linter for Python project dependencies that compares what your code actually imports against what you've declared in your dependency files. It catches two common problems: undeclared dependencies (you import something but forgot to add it to requirements.txt or pyproject.toml, risking runtime errors) and unused dependencies (you listed something but never use it, wasting installation space and increasing breakage risk). The tool scans Python source code in your project directory, parses your dependency declarations, and reports the gaps.\n\nIt depends on standard Python packaging libraries\u2014importlib_metadata, isort, packaging, pydantic, PyYAML, tomli, and pip-requirements-parser\u2014to handle the parsing and comparison. You run it as a command-line tool from your project root, and it outputs a report of what's missing or superfluous. The project is in beta status and supports Python 3.9 through 3.13.","worth_installing":"Yes, if you want automated dependency auditing. The tool is straightforward to install and run, has no known vulnerabilities, and uses permissive MIT licensing. The aging maintenance status (435 days since last release) is a minor concern for a stable linter, but the repository is not archived and remains active. Worth adding to development dependencies to catch dependency mismatches early."},"id":"fawltydeps","links":{"html":"https://skillfed.io/packages/fawltydeps","md":"https://skillfed.io/packages/fawltydeps.md","pypi":"https://pypi.org/project/fawltydeps/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-05","license_spdx":null,"license_treatment":"permissive","name":"fawltydeps","python_support":"supports_current","summary":"Find undeclared and unused 3rd-party dependencies in your Python project."},"popularity":{"monthly_downloads":182668,"position":10090,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.20.0"}
