$npx skillfedfor your agent

fawltydeps

Find undeclared and unused 3rd-party dependencies in your Python project.

With conditionsPyPI Python ModulesReleased Jun 2025182.7K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fawltydeps-0.20.0-py3-none-any.whl
v0.20.0 · released 2025-06-05 · Python >=3.9.2 · 7 runtime deps: importlib_metadata, isort, packaging, pip-requirements-parser, pydantic, PyYAML, tomli

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9.2
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
importlib_metadataisortpackagingpip-requirements-parserpydanticPyYAMLtomli
MaintenanceAging 435 days since the last release
Last repo commit
First released
Downloads182,668 / month, #10,090 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
find unused dependencies pythondetect undeclared importsdependency checker pythonmissing dependency declarationsclean up project dependenciesdependency audit toolpython import validator
Topics
dependency-managementlintingci-cd
PyPI keywords
dependencieslinterspackaging

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

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also deptry · pip-check-reqs · tach · creosote · flake8-requirements · pyflakes · deadcode · uncalled · autoflake · cppclean