class documentation
This class is an upgraded implementation of import graph which will be removed in to later releases. It is a data structure that allows users to manipulate different files under a Python project. It leverage import relations in each of source files along with their absolute import name.
| Method | __init__ |
To constuct a the filesystem. Args: entry_point: the top level folder (packaage) path such as "my-python-projects/homework1". file_ext: the file extension type of building this class. It is intended to be either Python source files or stub files. |
| Method | build |
To build enhanced directory tree for further analysis |
| Method | get |
To return all the leaf nodes in this tree. Each of leaf nodes represents a single Python script. During the transversal, full path names to the top level module for each leaf node are generated. We will support the intermediate subfolders next. |
| Method | get |
Undocumented |
| Instance Variable | all |
Undocumented |
| Instance Variable | entry |
Undocumented |
| Instance Variable | file |
Undocumented |
| Method | _meta |
To parse each of modules and extract meta information. |
To constuct a the filesystem. Args: entry_point: the top level folder (packaage) path such as "my-python-projects/homework1". file_ext: the file extension type of building this class. It is intended to be either Python source files or stub files.