| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/jedi/__pycache__/ |
Upload File : |
�
p�{c� � � � d Z dZddlmZmZmZmZ ddlmZ ddl m
Z
mZmZm
Z
mZmZmZ ddlmZmZ ddlmZmZ ddlmZ [d S )
a�
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 <https://github.com/davidhalter/jedi-vim>`_. 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
<Script: 'example.py' ...>
>>> completions = script.complete(3, len('json.lo'))
>>> completions
[<Completion: load>, <Completion: loads>]
>>> print(completions[0].complete)
ad
>>> print(completions[0].name)
load
z0.18.2� )�Script�Interpreter�set_debug_function�preload_module)�settings)�find_virtualenvs�find_system_environments�get_default_environment�InvalidPythonEnvironment�create_environment�get_system_environment�InterpreterEnvironment)�Project�get_default_project)�
InternalError�RefactoringError)�registryN)�__doc__�__version__�jedi.apir r r r �jedir �jedi.api.environmentr r r
r r r
r �jedi.api.projectr r �jedi.api.exceptionsr r �jedi.pluginsr � � �//usr/lib/python3/dist-packages/jedi/__init__.py�<module>r s� ��� �: �� L� L� L� L� L� L� L� L� L� L� L� L� � � � � � �3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� :� 9� 9� 9� 9� 9� 9� 9� ?� ?� ?� ?� ?� ?� ?� ?� "� !� !� !� !� !��H�Hr