Python Completer (xonsh.completers.python)

xonsh.completers.python.attr_complete(prefix, ctx, filter_func)[source]

Complete attributes of an object.

xonsh.completers.python.complete_import(prefix, line, start, end, ctx)[source]

Completes module names and contents for “import ...” and “from ... import ...”

xonsh.completers.python.complete_module(prefix)[source]
xonsh.completers.python.complete_python(prefix, line, start, end, ctx)[source]

Completes based on the contents of the current Python environment, the Python built-ins, and xonsh operators.

xonsh.completers.python.complete_python_mode(prefix, line, start, end, ctx)[source]

Python-mode completions for @( and ${