jedi の API リファレンス
jedi (davidhalter/jedi) の公開 API 54 件 —— クラス 25、関数 13、メソッド 16。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: davidhalter/jedi
| 種別 | 件数 |
|---|---|
| クラス | 25 |
| 関数 | 13 |
| メソッド | 16 |
API 一覧
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.
この情報について
掲載しているシグネチャは davidhalter/jedi の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。