/opt/imh-python/lib/python3.9/site-packages/jedi
NameSizeModeActions
api/-0755rm
inference/-0755rm
plugins/-0755rm
third_party/-0755rm
__pycache__/-0755rm
cache.py36740644editdlrm
common.py6680644editdlrm
debug.py35040644editdlrm
file_io.py23370644editdlrm
parser_utils.py110000644editdlrm
settings.py38270644editdlrm
utils.py46800644editdlrm
_compatibility.py14910644editdlrm
__init__.py14860644editdlrm
__main__.py19500644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/jedi/__init__.py (1486B)
""" Jedi is a static analysis tool for Python that is typically used in IDEs/editors plugins. Jedi has a focus on autocompletion and goto functionality. Other features include refactoring, code search and finding references. Jedi has a simple API to work with. There is a reference implementation as a `VIM-Plugin `_. Autocompletion in your REPL is also possible, IPython uses it natively and for the CPython REPL you can install it. Jedi is well tested and bugs should be rare. Here's a simple example of the autocompletion feature: >>> import jedi >>> source = ''' ... import json ... json.lo''' >>> script = jedi.Script(source, path='example.py') >>> script >>> completions = script.complete(3, len('json.lo')) >>> completions [, ] >>> print(completions[0].complete) ad >>> print(completions[0].name) load """ __version__ = '0.19.2' from jedi.api import Script, Interpreter, set_debug_function, preload_module from jedi import settings from jedi.api.environment import find_virtualenvs, find_system_environments, \ get_default_environment, InvalidPythonEnvironment, create_environment, \ get_system_environment, InterpreterEnvironment from jedi.api.project import Project, get_default_project from jedi.api.exceptions import InternalError, RefactoringError # Finally load the internal plugins. This is only internal. from jedi.plugins import registry del registry