gmpg/analysis
Tools for metamodern software development.
Includes support for testing, syntax checking and metrics measurement using pytest, flake8, radon respectively.
Provides code analysis and package/interface introspection.
get_metrics(code) # [source]
Return metrics for given code.
Uses radon to analyze line counts, complexity and maintainability.
get_api(mod, pkg=None) -> dict # [source]
Return a dictionary containing contents of given module.