jedi API reference
54 public APIs from jedi (davidhalter/jedi) — 25 classes, 13 functions, 16 methods. Signatures extracted by static analysis of the actual source.
Repository: davidhalter/jedi
| Kind | Count |
|---|---|
| Classes | 25 |
| Functions | 13 |
| Methods | 16 |
API list
class
jedi.api.InterpreterJedi's API for Python REPLs.
method
jedi.api.Script.complete(line=None, column=None, *fuzzy=False)Completes objects under the cursor.
method
jedi.api.Script.help(line=None, column=None)Used to display a help window to users.
method
jedi.api.Script.inline(line=None, column=None)Inlines a variable under the cursor.
method
jedi.api.Script.search(string, *all_scopes=False)Searches a name in the current file.
class
jedi.api.classes.BaseNameThe base class for all definitions, completions and signatures.
method
jedi.api.classes.BaseName.full_name()Dot-separated path of this object.
method
jedi.api.classes.BaseName.module_path() -> Optional[Path]Shows the file path of a module.
method
jedi.api.classes.BaseName.name()Name of variable/function/class/module.
method
jedi.api.classes.BaseName.type()The type of the definition.
class
jedi.api.classes.Completion``Completion`` objects are returned from :meth:`.Script.complete`.
method
jedi.api.classes.Completion.complete()Only works with non-fuzzy completions.
method
jedi.api.classes.Completion.type()Documented under :meth:`BaseName.type`.
method
jedi.api.environment.Environment.get_sys_path()The sys path for this environment.
class
jedi.api.exceptions.InternalErrorThis error might happen a subprocess is crashing.
class
jedi.api.exceptions.RefactoringErrorRefactorings can fail for various reasons.
method
jedi.api.project.Project.load(path)Loads a project from a specific path.
method
jedi.api.project.Project.path()The base path for this project.
method
jedi.api.project.Project.sys_path()The sys path provided to this project.
func
jedi.cache.memoize_method(method)A normal memoize function.
func
jedi.debug.increase_indent(func)Decorator for makin
class
jedi.file_io.ZipFileIOFor .zip and .egg archives
func
jedi.inference.arguments.try_iter_content(types, depth=0)Helper method for static analysis.
class
jedi.inference.base_value.ValueTo be implemented by subclasses.
func
jedi.inference.cache.inference_state_method_generator_cache()This is a special memoizer.
class
jedi.inference.compiled.mixed.MixedNameThe ``CompiledName._compiled_value`` is our MixedObject.
class
jedi.inference.compiled.mixed.MixedObjectA ``MixedObject`` is used in two ways: 1.
class
jedi.inference.compiled.subprocess.InferenceStateSameProcessBasically just an easy access to functions.py.
class
jedi.inference.compiled.subprocess.InferenceStateSubprocessAPI to functionality which will run in a subprocess.
class
jedi.inference.compiled.value.EmptyCompiledNameAccessing some names will raise an exception.
class
jedi.inference.context.ValueContextShould be defined, otherwise the API returns empty types.
func
jedi.inference.gradual.annotation.infer_annotation(context, annotation)Inferes an annotation node.
class
jedi.inference.gradual.typing.TypedDictRepresents the instance version of ``TypedDictClass``.
class
jedi.inference.lazy_value.LazyKnownValuedata is a Value.
class
jedi.inference.lazy_value.LazyKnownValuesdata is a ValueSet.
class
jedi.inference.lazy_value.MergedLazyValuesdata is a list of lazy values.
class
jedi.inference.names.AbstractArbitraryNameWhen you e.g.
class
jedi.inference.recursion.ExecutionRecursionDetectorCatches recursions of executions.
func
jedi.inference.syntax_tree.check_tuple_assignments(name, value_set)Checks if tuples are assigned.
func
jedi.inference.syntax_tree.infer_atom(context, atom)Basically to process ``atom`` nodes.
func
jedi.inference.utils.reraise_uncaught(func)Re-throw uncaught `AttributeError`.
class
jedi.inference.value.instance.SelfNameThis name calculates the parent_context lazily.
class
jedi.inference.value.iterable.GeneratorHandling of `yield` functions.
class
jedi.inference.value.klass.DataclassDecoratorA dataclass(-like) decorator with custom parameters.
method
jedi.inference.value.klass.DataclassTransformer.init_mode_from_new() -> boolDefault value if missing is ``True``
class
jedi.inference.value.klass.DataclassWrapperA class with dataclass semantics from a decorator.
func
jedi.inference.value.klass.get_dataclass_param_names(cls) -> List[DataclassParamName]``cls`` is a :class:`ClassMixin`.
class
jedi.inference.value.namespace.ImplicitNamespaceValueProvides support for implicit namespace packages
method
jedi.inference.value.namespace.ImplicitNamespaceValue.py__package__()Return the fullname
func
jedi.parser_utils.get_executable_nodes(node, last_added=False)For static analysis.
func
jedi.parser_utils.get_parent_scope(node, include_flows=False)Returns the underlying scope.
func
jedi.parser_utils.get_parso_cache_node(grammar, path)This is of course not public.
func
jedi.parser_utils.move(node, line_offset)Move the `Node` start_pos.
class
jedi.plugins.stdlib.SuperInstanceTo be used like the object ``super`` returns.
About this data
These signatures were extracted from the public source of davidhalter/jedi
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.