What is FawltyDeps?
mainFawltyDeps is a dependency checker for Python designed to identify discrepancies between your code's imports and your project's declared dependencies. It specifically detects:
- Undeclared dependencies: Modules that are
imported in your Python code (including regular.pyfiles and Jupyter notebooks) but are missing from your dependency declaration files. - Unused dependencies: Dependencies that are declared in your configuration files but are never actually
imported anywhere in your project.
By using FawltyDeps, you can keep your environments lean, reduce installation times, and avoid the 'Works on my machine' problem caused by missing declarations.