Skip to content

Py-module-parser 0.4.0 - First stable release

Latest
Compare
Choose a tag to compare
@xnuinside xnuinside released this 10 May 12:55
· 8 commits to main since this release

0.4.0 - First stable release

Python Module Parser is a library that parses Python modules and outputs information about imports, functions, variables, and their corresponding line numbers. Base on pure Python AST library.

  1. Renamed FuncCallOutput to CallOutput to include Class calls as well as function calls.
  2. Added Enum to define available NodeTypes as py_module_parser.NodeTypes.
  3. Added parsing of function definition nodes.
  4. Implemented parsing of decorators.
  5. Parser results can now be dumped to Python dictionaries or JSON, as well as grouped by type. For more details, please refer to the example/ directory and the README file.