Skip to content

ScanPyImports

ScanPyImports

ScanPyImports is a Python package designed to scan, track, and analyze import statements across Python files and Jupyter notebooks.

Modules:

  • scan

    Handles directory scanning and the parsing of Python scripts and notebooks.

  • analyzer

    Structures the parsed data into DataFrames and performs basic data cleaning and analysis.

  • plotter

    Manages visualization tools.

The core of the package uses a set of regular expressions to parse import statements.

Regular Expressions
Yep! super Re. Attribution: xkcd.com