fawltydeps
Find undeclared and unused 3rd-party dependencies in your Python project.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9.2 or later; works with Python 3.9 through 3.13.
- Low friction installation with seven runtime dependencies, all common Python packaging tools.
- The project is aging (435 days since last release) but the repository remains active with recent commits and no archival.
License · maintenance · safety
permissive license (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions; suitable for both open-source and commercial projects.
last release 2025-06-05 (435 days) · last repo commit 2025-07-01 · 289 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 182,668 downloads/mo, #10,090 on PyPI
Alternatives
Verify before relying
pip install fawltydeps
fawltydeps
This scans the current directory for Python code, extracts declared dependencies, and reports undeclared and unused ones.- Whether the tool handles monorepo structures or multi-package projects beyond single-directory scans.
- Performance characteristics on large codebases or projects with hundreds of dependencies.
- Support for dependency extras, optional dependencies, or conditional imports.
What it is and 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.
It depends on standard Python packaging libraries—importlib_metadata, isort, packaging, pydantic, PyYAML, tomli, and pip-requirements-parser—to 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
fawltydeps on PyPI
Before you install
Low friction installation with seven runtime dependencies, all common Python packaging tools. The project is aging (435 days since last release) but the repository remains active with recent commits and no archival.
Requires Python 3.9.2 or later; works with Python 3.9 through 3.13.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions; suitable for both open-source and commercial projects.
Quickstart
pip install fawltydeps
fawltydeps
This scans the current directory for Python code, extracts declared dependencies, and reports undeclared and unused ones.
Verify before relying
- Whether the tool handles monorepo structures or multi-package projects beyond single-directory scans.
- Performance characteristics on large codebases or projects with hundreds of dependencies.
- Support for dependency extras, optional dependencies, or conditional imports.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9.2 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesimportlib_metadataisortpackagingpip-requirements-parserpydanticPyYAMLtomli |
| Maintenance | Aging 435 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 182,668 / month, #10,090 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTopic :: UtilitiesTyping :: Typed |
Evidence: fawltydeps-0.20.0-py3-none-any.whl
Tags
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 › “detect undeclared imports”
- fawltydepsFawltydeps identifies undeclared dependencies (imports without…
- tachTach enforces module boundaries, dependency rules, and public…
- flake8-tidy-importsA flake8 plugin that detects and reports unnecessary import aliases,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also deptry · pip-check-reqs · tach · creosote · flake8-requirements · pyflakes · deadcode · uncalled · autoflake · cppclean