Utility for searching of unused code in python projects, such as module’s global classes, functions and names.
pip install pydead
Usage: pydead [OPTIONS]
Options:
-d, --directory TEXT Directory of your project.
-e, --exclude TEXT Exclude files and directories by the given pattern.
Unix filename pattern matching used.
--help Show this message and exit.
Search in current directory
$ pydead
Search in specific directory
$ pydead -d directory
Exclude files and directories
$ pydead -e '*settings*' -e 'script_*.py'