tree-sitter-stack-graphs-python 0.3.0

Stack graphs definition for Python using tree-sitter-python
Documentation
#------ path: one/two.py -----------#

# module
import a.b.c

d = 1

e = a.b

#------ path: three/__init__.py ---#

# module
f = 3

#------ path: main.py -------------#

from one.two import d, e.c
#        ^ defined: 3
#                   ^ defined: 6
#                      ^ defined: 4, 8

import three
#      ^ defined: 12

print(d, e.c)
#     ^ defined: 6, 17
#          ^ defined: 4, 17

print three.f
#     ^ defined: 12, 22
#           ^ defined: 13