/opt/imh-python/lib/python3.9/site-packages/jedi/api
NameSizeModeActions
refactoring/-0755rm
__pycache__/-0755rm
classes.py296000644editdlrm
completion.py283790644editdlrm
completion_cache.py9540644editdlrm
environment.py172540644editdlrm
errors.py12530644editdlrm
exceptions.py9900644editdlrm
file_name.py56200644editdlrm
helpers.py189820644editdlrm
interpreter.py24150644editdlrm
keywords.py11920644editdlrm
project.py165430644editdlrm
replstartup.py9500644editdlrm
strings.py37110644editdlrm
__init__.py324280644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/jedi/api/replstartup.py (950B)
""" To use Jedi completion in Python interpreter, add the following in your shell setup (e.g., ``.bashrc``). This works only on Linux/Mac, because readline is not available on Windows. If you still want Jedi autocompletion in your REPL, just use IPython instead:: export PYTHONSTARTUP="$(python -m jedi repl)" Then you will be able to use Jedi completer in your Python interpreter:: $ python Python 3.9.2+ (default, Jul 20 2020, 22:15:08) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.path.join('a', 'b').split().in # doctest: +SKIP ..dex ..sert """ import jedi.utils from jedi import __version__ as __jedi_version__ print('REPL completion using Jedi %s' % __jedi_version__) jedi.utils.setup_readline(fuzzy=False) del jedi # Note: try not to do many things here, as it will contaminate global # namespace of the interpreter.