Skip to content

hratcliffe/flask_route_trees

Repository files navigation

Flask Route Trees

Simple code to generate pretty graphs of the routing trees for a flask app. Indentifies @route decorators and attempts to form a tree from the url hierarchy. Flask placeholders are handled partly heuristically, controllable through config.

The example app in examples/example.py demonstrates all possible function, although some parts rely on a particular coding style.

Dependencies

astroid https://github.com/PyCQA/astroid for generating the syntax trees graphviz https://pypi.python.org/pypi/graphviz for generating plots

About

Simple code to generate routing tree graphs for flask apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published