This Rust-based project uses the tree-sitter parser to analyze Python code and generate a graph representation of functions, classes, endpoints, and their relationships.
- Parses Python files to detect:
- Functions
- Classes
- Endpoints (via decorators like
@app.route)
- Creates a graph of nodes (classes, functions, endpoints) and edges (relationships between them).
To run the tests and see detailed output, use the -- --nocapture flag:
cargo test -- --nocaptureThis will display logs, & information about:
- Classes and functions found in Python files
- Created endpoints and their relationships