atlas.analyzers.python_parser.parse_python_source

Details

Type: function

File: atlas/analyzers/python_parser.py

Lines: 234–266

Signature: (source: str, module_qname: str='') -> ParseResult

Docstring

Parse Python source and extract symbols and imports.

Parameters
----------
source:
    Python source text.
module_qname:
    Qualified module name used as prefix for top-level symbols.

Returns
-------
ParseResult containing module docstring, symbols, imports, and any parse errors.

Children

Name Type Line
atlas.analyzers.python_parser.parse_python_source.module_docstring attribute 258
atlas.analyzers.python_parser.parse_python_source.symbols attribute 259
atlas.analyzers.python_parser.parse_python_source.imports attribute 260

Actions

Analyse Impact Impact JSON