importlab1
A library to calculate python dependency graphs.
Overview
usage: importlab [-h] [--tree] [--unresolved] [-V PYTHON_VERSION]
-
[-P PYTHONPATH] [--trim] [-v] [input ...]
positional arguments:
- input
-
Input files or directories. Directories will be recursively scanned for .py files
options:
-
-h, --help -
show this help message and exit
-
--tree -
Display import tree.
-
--unresolved -
Display unresolved dependencies.
-
-V, --python_version PYTHON_VERSION -
Python version of target code, e.g. "2.7"
-
-P, --pythonpath PYTHONPATH -
Directories for reading dependencies - a list of paths separated by ":".
-
--trim -
Trim the dependencies of builtin and system files.
-
-v, --version -
Script version
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.