sephera_graph_python 0.7.1

Python dependency extraction for Sephera graph.
Documentation

sephera_graph_python

sephera_graph_python is Python import extraction and resolution.

You want it when you are building a resolver and Python is one of the languages it handles. The traps are shape-specific: import typing as t holds typing as t in the statement's own name field, and from . import helper puts only the dots in module_name.

Most users should install the CLI

cargo install sephera

The CLI is the finished tool: argument parsing, rendering, and a graph over all eight supported languages, with no API to learn. Install this crate directly only if you are building something on top of Sephera's internals.

What it depends on

  • sephera_core
  • sephera_compression
  • sephera_symbols

sephera_core is the one every crate shares. It holds the plugin traits, the graph's types, the declaration index and the path helpers -- the vocabulary rather than the analysis, because the six language crates have to be able to name it.