importlab(1)

A library to calculate python dependency graphs.

Section 1 python3-importlab bookworm source

Description

IMPORTLAB

NAME

importlab - A library to calculate python dependency graphs.

DESCRIPTION

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

Python version of target code, e.g. "2.7"

-P PYTHONPATH, --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

SEE ALSO

The full documentation for importlab is maintained as a Texinfo manual. If the info and importlab programs are properly installed at your site, the command

info importlab

should give you access to the complete manual.