content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
from jedi.inference.value import ModuleValue\nfrom jedi.inference.context import ModuleContext\n\n\nclass DocstringModule(ModuleValue):\n def __init__(self, in_module_context, **kwargs):\n super().__init__(**kwargs)\n self._in_module_context = in_module_context\n\n def _as_context(self):\n re... | .venv\Lib\site-packages\jedi\inference\docstring_utils.py | docstring_utils.py | Python | 759 | 0.85 | 0.285714 | 0 | vue-tools | 215 | 2023-11-29T02:08:26.335879 | Apache-2.0 | false | 99be28b9b30dfd9d92ccbe94726aa7f3 |
"""\nOne of the really important features of |jedi| is to have an option to\nunderstand code like this::\n\n def foo(bar):\n bar. # completion here\n foo(1)\n\nThere's no doubt wheter bar is an ``int`` or not, but if there's also a call\nlike ``foo('str')``, what would happen? Well, we'll just show both. B... | .venv\Lib\site-packages\jedi\inference\dynamic_params.py | dynamic_params.py | Python | 8,154 | 0.95 | 0.227679 | 0.089947 | python-kit | 436 | 2023-09-01T02:35:11.871616 | MIT | false | b8c3047103b1e473acb81954b5c91b34 |
"""\nSearching for names with given scope and name. This is very central in Jedi and\nPython. The name resolution is quite complicated with descripter,\n``__getattribute__``, ``__getattr__``, ``global``, etc.\n\nIf you want to understand name resolution, please read the first few chapters\nin http://blog.ionelmc.ro/201... | .venv\Lib\site-packages\jedi\inference\finder.py | finder.py | Python | 5,326 | 0.95 | 0.315068 | 0.07438 | node-utils | 591 | 2023-07-17T20:25:32.228558 | Apache-2.0 | false | a1bc08adeca45a79d45e1f58dc5929b5 |
from typing import Dict, Optional\n\nfrom jedi.parser_utils import get_flow_branch_keyword, is_scope, get_parent_scope\nfrom jedi.inference.recursion import execution_allowed\nfrom jedi.inference.helpers import is_big_annoying_library\n\n\nclass Status:\n lookup_table: Dict[Optional[bool], 'Status'] = {}\n\n def ... | .venv\Lib\site-packages\jedi\inference\flow_analysis.py | flow_analysis.py | Python | 4,583 | 0.95 | 0.288 | 0.079208 | python-kit | 667 | 2025-06-22T14:15:16.340986 | Apache-2.0 | false | dc0668ed2a95e3fd80656cdf8ca0900b |
import copy\nimport sys\nimport re\nimport os\nfrom itertools import chain\nfrom contextlib import contextmanager\n\nfrom parso.python import tree\n\n\ndef is_stdlib_path(path):\n # Python standard library paths look like this:\n # /usr/lib/python3.9/...\n # TODO The implementation below is probably incorrect ... | .venv\Lib\site-packages\jedi\inference\helpers.py | helpers.py | Python | 5,943 | 0.95 | 0.237624 | 0.089172 | node-utils | 171 | 2024-04-30T00:31:30.934134 | Apache-2.0 | false | f9b425a1468bd8da52067139d455fcf9 |
"""\n:mod:`jedi.inference.imports` is here to resolve import statements and return\nthe modules/classes/functions/whatever, which they stand for. However there's\nnot any actual importing done. This module is about finding modules in the\nfilesystem. This can be quite tricky sometimes, because Python imports are not\na... | .venv\Lib\site-packages\jedi\inference\imports.py | imports.py | Python | 23,082 | 0.95 | 0.221284 | 0.136538 | awesome-app | 709 | 2024-07-10T22:45:53.426919 | BSD-3-Clause | false | 8e469a6dd9dc51001bbe496d7ce08452 |
from jedi.inference.base_value import ValueSet, NO_VALUES\nfrom jedi.common import monkeypatch\n\n\nclass AbstractLazyValue:\n def __init__(self, data, min=1, max=1):\n self.data = data\n self.min = min\n self.max = max\n\n def __repr__(self):\n return '<%s: %s>' % (self.__class__.__na... | .venv\Lib\site-packages\jedi\inference\lazy_value.py | lazy_value.py | Python | 1,667 | 0.95 | 0.311475 | 0.046512 | node-utils | 338 | 2023-09-10T11:27:57.718112 | GPL-3.0 | false | 2b380ad72f9d10f854b989e3aa8a06ad |
from abc import abstractmethod\nfrom inspect import Parameter\nfrom typing import Optional, Tuple\n\nfrom parso.tree import search_ancestor\n\nfrom jedi.parser_utils import find_statement_documentation, clean_scope_docstring\nfrom jedi.inference.utils import unite\nfrom jedi.inference.base_value import ValueSet, NO_VAL... | .venv\Lib\site-packages\jedi\inference\names.py | names.py | Python | 23,214 | 0.95 | 0.288035 | 0.051095 | react-lib | 971 | 2023-09-26T11:42:48.267516 | Apache-2.0 | false | 2156094d697fda6792c4c7146a2f1ffb |
from collections import defaultdict\nfrom inspect import Parameter\n\nfrom jedi import debug\nfrom jedi.inference.utils import PushBackIterator\nfrom jedi.inference import analysis\nfrom jedi.inference.lazy_value import LazyKnownValue, \\n LazyTreeValue, LazyUnknownValue\nfrom jedi.inference.value import iterable\nf... | .venv\Lib\site-packages\jedi\inference\param.py | param.py | Python | 10,450 | 0.95 | 0.2607 | 0.09292 | react-lib | 951 | 2023-12-07T18:42:13.835406 | Apache-2.0 | false | 9c38997d35bbbd8ef9ec920eb2cb812d |
from jedi.inference.cache import inference_state_function_cache\n\n\n@inference_state_function_cache()\ndef get_yield_exprs(inference_state, funcdef):\n return list(funcdef.iter_yield_exprs())\n | .venv\Lib\site-packages\jedi\inference\parser_cache.py | parser_cache.py | Python | 191 | 0.85 | 0.166667 | 0 | awesome-app | 106 | 2025-07-04T06:13:54.924646 | Apache-2.0 | false | e49edf1589f18485ee4b6ea8ce9391c3 |
"""\nRecursions are the recipe of |jedi| to conquer Python code. However, someone\nmust stop recursions going mad. Some settings are here to make |jedi| stop at\nthe right time. You can read more about them :ref:`here <settings-recursion>`.\n\nNext to the internal ``jedi.inference.cache`` this module also makes |jedi| ... | .venv\Lib\site-packages\jedi\inference\recursion.py | recursion.py | Python | 4,932 | 0.95 | 0.189542 | 0.032258 | python-kit | 817 | 2024-02-28T11:59:04.547623 | GPL-3.0 | false | 9806423d59e668bb57b001e6f7698116 |
import os\nimport re\n\nfrom parso import python_bytes_to_unicode\n\nfrom jedi.debug import dbg\nfrom jedi.file_io import KnownContentFileIO, FolderIO\nfrom jedi.inference.names import SubModuleName\nfrom jedi.inference.imports import load_module_from_path\nfrom jedi.inference.filters import ParserTreeFilter\nfrom jedi... | .venv\Lib\site-packages\jedi\inference\references.py | references.py | Python | 11,407 | 0.95 | 0.282132 | 0.065134 | vue-tools | 701 | 2024-03-17T02:33:22.771594 | Apache-2.0 | false | 8becdc9becdfe6b82cb0a97f04393331 |
from inspect import Parameter\n\nfrom jedi.cache import memoize_method\nfrom jedi import debug\nfrom jedi import parser_utils\n\n\nclass _SignatureMixin:\n def to_string(self):\n def param_strings():\n is_positional = False\n is_kw_only = False\n for n in self.get_param_names(... | .venv\Lib\site-packages\jedi\inference\signature.py | signature.py | Python | 4,859 | 0.95 | 0.282895 | 0.016529 | node-utils | 851 | 2025-01-05T04:35:12.022905 | GPL-3.0 | false | f0de3bceda2c4d3173a8ac7e94241244 |
"""\nThis module is responsible for inferring *args and **kwargs for signatures.\n\nThis means for example in this case::\n\n def foo(a, b, c): ...\n\n def bar(*args):\n return foo(1, *args)\n\nThe signature here for bar should be `bar(b, c)` instead of bar(*args).\n"""\nfrom inspect import Parameter\n\nfr... | .venv\Lib\site-packages\jedi\inference\star_args.py | star_args.py | Python | 7,895 | 0.95 | 0.268182 | 0.053191 | python-kit | 8 | 2024-08-19T12:10:53.275064 | BSD-3-Clause | false | cd9eb28fb1eeeec54d71afd44436a607 |
import os\nimport re\nfrom pathlib import Path\nfrom importlib.machinery import all_suffixes\n\nfrom jedi.inference.cache import inference_state_method_cache\nfrom jedi.inference.base_value import ContextualizedNode\nfrom jedi.inference.helpers import is_string, get_str_or_none\nfrom jedi.parser_utils import get_cached... | .venv\Lib\site-packages\jedi\inference\sys_path.py | sys_path.py | Python | 10,218 | 0.95 | 0.242647 | 0.122271 | awesome-app | 922 | 2025-06-28T23:09:26.279649 | GPL-3.0 | false | 12054e072478660a21a1322053c57e00 |
""" A universal module with functions / classes without dependencies. """\nimport functools\nimport re\nimport os\n\n\n_sep = os.path.sep\nif os.path.altsep is not None:\n _sep += os.path.altsep\n_path_re = re.compile(r'(?:\.[^{0}]+|[{0}]__init__\.py)$'.format(re.escape(_sep)))\ndel _sep\n\n\ndef to_list(func):\n ... | .venv\Lib\site-packages\jedi\inference\utils.py | utils.py | Python | 2,706 | 0.85 | 0.288889 | 0 | python-kit | 314 | 2024-02-02T15:38:08.633775 | GPL-3.0 | false | a450423a177358060612e2177fd6c393 |
import inspect\nimport types\nimport traceback\nimport sys\nimport operator as op\nfrom collections import namedtuple\nimport warnings\nimport re\nimport builtins\nimport typing\nfrom pathlib import Path\nfrom typing import Optional, Tuple\n\nfrom jedi.inference.compiled.getattr_static import getattr_static\n\nALLOWED_... | .venv\Lib\site-packages\jedi\inference\compiled\access.py | access.py | Python | 18,914 | 0.95 | 0.254448 | 0.128692 | react-lib | 651 | 2023-12-15T00:49:40.640727 | BSD-3-Clause | false | ddfa3c12b2cf63d21f1f2fcac0ae3a1b |
"""\nA static version of getattr.\nThis is a backport of the Python 3 code with a little bit of additional\ninformation returned to enable Jedi to make decisions.\n"""\n\nimport types\n\nfrom jedi import debug\n\n_sentinel = object()\n\n\ndef _check_instance(obj, attr):\n instance_dict = {}\n try:\n instan... | .venv\Lib\site-packages\jedi\inference\compiled\getattr_static.py | getattr_static.py | Python | 3,862 | 0.95 | 0.264463 | 0.052083 | node-utils | 881 | 2023-11-24T06:37:41.236573 | BSD-3-Clause | false | b1ae9eaac0d8e2c94b2de9bed8aaf01d |
# This file also re-exports symbols for wider use. We configure mypy and flake8\n# to be aware that this file does this.\n\nfrom jedi.inference.compiled.value import CompiledValue, CompiledName, \\n CompiledValueFilter, CompiledValueName, create_from_access_path\nfrom jedi.inference.base_value import LazyValueWrappe... | .venv\Lib\site-packages\jedi\inference\compiled\__init__.py | __init__.py | Python | 2,651 | 0.95 | 0.228571 | 0.071429 | vue-tools | 648 | 2025-05-25T00:05:18.942688 | Apache-2.0 | false | 2852d1338154685ad3f278a41cad22ab |
import os\nimport sys\nfrom importlib.abc import MetaPathFinder\nfrom importlib.machinery import PathFinder\n\n# Remove the first entry, because it's simply a directory entry that equals\n# this directory.\ndel sys.path[0]\n\n\ndef _get_paths():\n # Get the path to jedi.\n _d = os.path.dirname\n _jedi_path = _... | .venv\Lib\site-packages\jedi\inference\compiled\subprocess\__main__.py | __main__.py | Python | 1,187 | 0.95 | 0.15 | 0.225806 | python-kit | 842 | 2023-12-12T04:00:02.911016 | GPL-3.0 | false | 8f4dfaf2e3acc609f39e91aab40ccfc0 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\subprocess\__pycache__\functions.cpython-313.pyc | functions.cpython-313.pyc | Other | 10,658 | 0.95 | 0.102273 | 0 | python-kit | 352 | 2024-09-20T20:04:51.411328 | GPL-3.0 | false | aa96f980808bd48d0e581cef56acff36 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\subprocess\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 24,140 | 0.95 | 0.087649 | 0.047009 | react-lib | 945 | 2024-05-25T20:36:05.021037 | GPL-3.0 | false | 73339325100035ab0bc77a11c31a47e2 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\subprocess\__pycache__\__main__.cpython-313.pyc | __main__.cpython-313.pyc | Other | 2,159 | 0.85 | 0 | 0 | node-utils | 165 | 2023-10-19T03:31:34.082971 | MIT | false | d45a4840dbf53a3d8fdb002aa98a6ed9 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\__pycache__\access.cpython-313.pyc | access.cpython-313.pyc | Other | 27,485 | 0.95 | 0.005556 | 0.017241 | python-kit | 200 | 2024-02-03T07:23:20.080177 | GPL-3.0 | false | 63abfcabc48845acca590e5b11aedf93 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\__pycache__\getattr_static.cpython-313.pyc | getattr_static.cpython-313.pyc | Other | 4,924 | 0.95 | 0.031746 | 0.034483 | vue-tools | 514 | 2023-09-04T16:09:11.422974 | Apache-2.0 | false | 122d3517a3643031c798a2e5a20b1aae |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\__pycache__\mixed.cpython-313.pyc | mixed.cpython-313.pyc | Other | 14,158 | 0.95 | 0.022059 | 0.007692 | node-utils | 847 | 2025-06-21T02:41:12.646076 | Apache-2.0 | false | e63e7052d22d2404ec1b660d095b779a |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\__pycache__\value.cpython-313.pyc | value.cpython-313.pyc | Other | 33,362 | 0.95 | 0.019324 | 0.009852 | python-kit | 998 | 2023-11-22T21:06:12.665261 | BSD-3-Clause | false | c3e8dcc69438918b00fbc5b6ccab1121 |
\n\n | .venv\Lib\site-packages\jedi\inference\compiled\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 4,018 | 0.95 | 0.071429 | 0 | react-lib | 499 | 2025-01-11T00:21:38.716294 | GPL-3.0 | false | d7a99b3a30be1c641f7c9ddb53029c24 |
from jedi import debug\nfrom jedi.inference.base_value import ValueSet, \\n NO_VALUES\nfrom jedi.inference.utils import to_list\nfrom jedi.inference.gradual.stub_value import StubModuleValue\nfrom jedi.inference.gradual.typeshed import try_to_load_stub_cached\nfrom jedi.inference.value.decorator import Decoratee\n\n... | .venv\Lib\site-packages\jedi\inference\gradual\conversion.py | conversion.py | Python | 7,601 | 0.95 | 0.291866 | 0.061111 | vue-tools | 937 | 2024-06-11T03:26:48.769316 | BSD-3-Clause | false | 7898deed04aaa34636d1cc362eba869c |
"""\nThis module is about generics, like the `int` in `List[int]`. It's not about\nthe Generic class.\n"""\n\nfrom jedi import debug\nfrom jedi.cache import memoize_method\nfrom jedi.inference.utils import to_tuple\nfrom jedi.inference.base_value import ValueSet, NO_VALUES\nfrom jedi.inference.value.iterable import Seq... | .venv\Lib\site-packages\jedi\inference\gradual\generics.py | generics.py | Python | 3,144 | 0.95 | 0.346535 | 0 | node-utils | 317 | 2024-06-25T19:10:00.599653 | GPL-3.0 | false | 22b798aef38af52039818b7db53964f6 |
from jedi.inference.base_value import ValueWrapper\nfrom jedi.inference.value.module import ModuleValue\nfrom jedi.inference.filters import ParserTreeFilter\nfrom jedi.inference.names import StubName, StubModuleName\nfrom jedi.inference.gradual.typing import TypingModuleFilterWrapper\nfrom jedi.inference.context import... | .venv\Lib\site-packages\jedi\inference\gradual\stub_value.py | stub_value.py | Python | 3,385 | 0.95 | 0.284314 | 0.061728 | vue-tools | 597 | 2024-02-01T21:37:45.500355 | GPL-3.0 | false | 4224089e88943e931e754fea95708f11 |
import os\nimport re\nfrom functools import wraps\nfrom collections import namedtuple\nfrom typing import Dict, Mapping, Tuple\nfrom pathlib import Path\n\nfrom jedi import settings\nfrom jedi.file_io import FileIO\nfrom jedi.parser_utils import get_cached_code_lines\nfrom jedi.inference.base_value import ValueSet, NO_... | .venv\Lib\site-packages\jedi\inference\gradual\typeshed.py | typeshed.py | Python | 11,467 | 0.95 | 0.216129 | 0.102273 | node-utils | 729 | 2023-07-22T06:35:23.669392 | BSD-3-Clause | false | 0e545245963f63db95f80f7c2e46e2d9 |
from pathlib import Path\n\nfrom jedi.inference.gradual.typeshed import TYPESHED_PATH, create_stub_module\n\n\ndef load_proper_stub_module(inference_state, grammar, file_io, import_names, module_node):\n """\n This function is given a random .pyi file and should return the proper\n module.\n """\n path =... | .venv\Lib\site-packages\jedi\inference\gradual\utils.py | utils.py | Python | 1,147 | 0.95 | 0.142857 | 0.066667 | react-lib | 894 | 2024-10-31T02:31:48.049637 | GPL-3.0 | false | 37b97de3634ab1c86dd5f8ae221399ec |
"""\nIt is unfortunately not well documented how stubs and annotations work in Jedi.\nIf somebody needs an introduction, please let me know.\n"""\n | .venv\Lib\site-packages\jedi\inference\gradual\__init__.py | __init__.py | Python | 143 | 0.7 | 0 | 0 | python-kit | 294 | 2024-09-03T02:40:44.344418 | GPL-3.0 | false | 9cef0a1f3b15596c2f03c75b986283e9 |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\annotation.cpython-313.pyc | annotation.cpython-313.pyc | Other | 19,044 | 0.95 | 0.092308 | 0.005988 | react-lib | 266 | 2025-06-30T05:25:39.645692 | MIT | false | 19c911dea0886afc35291a82d3e62e7c |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\base.cpython-313.pyc | base.cpython-313.pyc | Other | 23,209 | 0.95 | 0.06338 | 0 | react-lib | 824 | 2024-08-08T02:58:48.050051 | GPL-3.0 | false | a8a549b72843610d795e3d2e0b4f433b |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\conversion.cpython-313.pyc | conversion.cpython-313.pyc | Other | 9,188 | 0.95 | 0 | 0 | react-lib | 168 | 2024-09-22T20:39:58.064657 | GPL-3.0 | false | b3243d8a9543e2a8920591d8d939dd4a |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\generics.cpython-313.pyc | generics.cpython-313.pyc | Other | 7,224 | 0.8 | 0.060606 | 0 | vue-tools | 743 | 2025-03-16T11:15:29.505599 | GPL-3.0 | false | e25c658a9760e5456a3c9952235100e4 |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\stub_value.cpython-313.pyc | stub_value.cpython-313.pyc | Other | 5,939 | 0.95 | 0.073171 | 0 | react-lib | 6 | 2023-07-22T21:37:55.957356 | Apache-2.0 | false | 255cf5ab1105a4d8c8a4ff4382b1e261 |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\typeshed.cpython-313.pyc | typeshed.cpython-313.pyc | Other | 11,756 | 0.95 | 0.009009 | 0 | python-kit | 209 | 2025-02-12T09:46:34.502180 | GPL-3.0 | false | 61462f11001623c93f393a3f2ba12fcc |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\type_var.cpython-313.pyc | type_var.cpython-313.pyc | Other | 7,006 | 0.95 | 0.020833 | 0 | node-utils | 435 | 2024-08-22T12:19:29.696820 | GPL-3.0 | false | 2b9fcbf06b23b656fb679bd0d3f6da6e |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\typing.cpython-313.pyc | typing.cpython-313.pyc | Other | 25,052 | 0.95 | 0.009852 | 0.005236 | awesome-app | 954 | 2023-08-18T08:02:17.035130 | Apache-2.0 | false | 298af473cebcc16a6df08f7aece7a2c0 |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\utils.cpython-313.pyc | utils.cpython-313.pyc | Other | 1,393 | 0.95 | 0.052632 | 0 | node-utils | 384 | 2024-12-26T07:08:14.451587 | BSD-3-Clause | false | 33f8497e6e7e665de9e6453a88ec1888 |
\n\n | .venv\Lib\site-packages\jedi\inference\gradual\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 350 | 0.7 | 0 | 0 | node-utils | 968 | 2023-07-28T00:27:07.773139 | BSD-3-Clause | false | 10b8951f5e12adcb294e792da843742c |
'''\nDecorators are not really values, however we need some wrappers to improve\ndocstrings and other things around decorators.\n'''\n\nfrom jedi.inference.base_value import ValueWrapper, ValueSet\n\n\nclass Decoratee(ValueWrapper):\n def __init__(self, wrapped_value, original_value):\n super().__init__(wrapp... | .venv\Lib\site-packages\jedi\inference\value\decorator.py | decorator.py | Python | 1,207 | 0.95 | 0.323529 | 0.178571 | node-utils | 727 | 2024-08-13T13:04:26.936828 | Apache-2.0 | false | 0c00c52ea59ebed04df800841b2be293 |
"""\nA module to deal with stuff like `list.append` and `set.add`.\n\nArray modifications\n*******************\n\nIf the content of an array (``set``/``list``) is requested somewhere, the\ncurrent module will be checked for appearances of ``arr.append``,\n``arr.insert``, etc. If the ``arr`` name points to an actual ar... | .venv\Lib\site-packages\jedi\inference\value\dynamic_arrays.py | dynamic_arrays.py | Python | 7,527 | 0.95 | 0.23 | 0.024691 | react-lib | 770 | 2024-08-10T18:53:19.107648 | Apache-2.0 | false | 1766a01279879b1b2cbbe4d3bed0d63a |
"""\nContains all classes and functions to deal with lists, dicts, generators and\niterators in general.\n"""\nfrom jedi.inference import compiled\nfrom jedi.inference import analysis\nfrom jedi.inference.lazy_value import LazyKnownValue, LazyKnownValues, \\n LazyTreeValue\nfrom jedi.inference.helpers import get_int... | .venv\Lib\site-packages\jedi\inference\value\iterable.py | iterable.py | Python | 23,305 | 0.95 | 0.267388 | 0.065385 | awesome-app | 226 | 2024-11-25T10:44:59.818579 | Apache-2.0 | false | 14f3f54c3fd7076f67d376aa65d72ce3 |
import os\nfrom pathlib import Path\nfrom typing import Optional\n\nfrom jedi.inference.cache import inference_state_method_cache\nfrom jedi.inference.names import AbstractNameDefinition, ModuleName\nfrom jedi.inference.filters import GlobalNameFilter, ParserTreeFilter, DictFilter, MergedFilter\nfrom jedi.inference imp... | .venv\Lib\site-packages\jedi\inference\value\module.py | module.py | Python | 8,118 | 0.95 | 0.23913 | 0.097938 | vue-tools | 810 | 2024-10-23T03:48:34.780216 | GPL-3.0 | false | fe304a47032485e8094fd39bee85ee7a |
from pathlib import Path\nfrom typing import Optional\n\nfrom jedi.inference.cache import inference_state_method_cache\nfrom jedi.inference.filters import DictFilter\nfrom jedi.inference.names import ValueNameMixin, AbstractNameDefinition\nfrom jedi.inference.base_value import Value\nfrom jedi.inference.value.module im... | .venv\Lib\site-packages\jedi\inference\value\namespace.py | namespace.py | Python | 2,101 | 0.95 | 0.243243 | 0 | vue-tools | 10 | 2024-01-08T05:08:20.055990 | Apache-2.0 | false | 456e15bb2b9732e2e349a05107a55fe5 |
# Re-export symbols for wider use. We configure mypy and flake8 to be aware that\n# this file does this.\n\nfrom jedi.inference.value.module import ModuleValue\nfrom jedi.inference.value.klass import ClassValue\nfrom jedi.inference.value.function import FunctionValue, \\n MethodValue\nfrom jedi.inference.value.insta... | .venv\Lib\site-packages\jedi\inference\value\__init__.py | __init__.py | Python | 416 | 0.95 | 0.222222 | 0.25 | awesome-app | 445 | 2023-08-15T21:21:03.082345 | GPL-3.0 | false | 42d9c9e9ee3f5c0cf86480ab87a302cc |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\decorator.cpython-313.pyc | decorator.cpython-313.pyc | Other | 2,166 | 0.8 | 0 | 0 | vue-tools | 866 | 2023-10-11T11:58:38.065448 | MIT | false | fc092fcb4ea924aa7ca38740646133bf |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\dynamic_arrays.cpython-313.pyc | dynamic_arrays.cpython-313.pyc | Other | 10,863 | 0.95 | 0.073394 | 0.01 | node-utils | 961 | 2024-01-18T21:33:29.375530 | Apache-2.0 | false | 7d4055cbf1072dd557812da2d80f4df6 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\function.cpython-313.pyc | function.cpython-313.pyc | Other | 26,562 | 0.95 | 0.011628 | 0.011905 | awesome-app | 929 | 2025-02-01T22:17:15.027820 | Apache-2.0 | false | 79eee6236537d1aa965c1422f361b404 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\instance.cpython-313.pyc | instance.cpython-313.pyc | Other | 36,279 | 0.95 | 0.030303 | 0 | vue-tools | 324 | 2023-10-25T20:34:26.233787 | GPL-3.0 | false | 2e78f5320d2adedfc3ca89cd8302d790 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\iterable.cpython-313.pyc | iterable.cpython-313.pyc | Other | 37,510 | 0.95 | 0.017699 | 0.022727 | awesome-app | 369 | 2025-01-17T21:58:32.295736 | GPL-3.0 | false | d775318c17325db6b7834737ba51f3e1 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\klass.cpython-313.pyc | klass.cpython-313.pyc | Other | 19,241 | 0.95 | 0.082803 | 0.013793 | vue-tools | 930 | 2024-09-13T02:39:23.988838 | BSD-3-Clause | false | b33b26208c9df6718b07998b1f6ef3cd |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\module.cpython-313.pyc | module.cpython-313.pyc | Other | 10,992 | 0.95 | 0.035714 | 0 | python-kit | 351 | 2025-06-04T23:33:28.223164 | Apache-2.0 | false | e617e0bff9e04c09dffdb15603415207 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\namespace.cpython-313.pyc | namespace.cpython-313.pyc | Other | 4,318 | 0.8 | 0.0625 | 0 | vue-tools | 78 | 2023-11-09T05:17:05.654020 | Apache-2.0 | false | 0912e187175b1ad426f8509feee04fb6 |
\n\n | .venv\Lib\site-packages\jedi\inference\value\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 600 | 0.85 | 0 | 0 | python-kit | 693 | 2025-04-28T02:50:58.040643 | BSD-3-Clause | false | 4a227f28c09301d5b95dd1e3f9f320fe |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\analysis.cpython-313.pyc | analysis.cpython-313.pyc | Other | 11,359 | 0.95 | 0.095238 | 0.012346 | python-kit | 502 | 2024-03-08T23:22:20.934880 | MIT | false | 7dba2146ded4fd13d8fa07ba97efc64d |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\arguments.cpython-313.pyc | arguments.cpython-313.pyc | Other | 16,319 | 0.95 | 0.029412 | 0.030928 | react-lib | 130 | 2025-06-21T19:39:36.983666 | Apache-2.0 | false | 8e8874374ccaa908f659a3768863cc6f |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\base_value.cpython-313.pyc | base_value.cpython-313.pyc | Other | 31,803 | 0.95 | 0.046083 | 0 | python-kit | 466 | 2024-06-16T15:32:13.116024 | MIT | false | 1dcae444b9522128735327e7a54a97ce |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\cache.cpython-313.pyc | cache.cpython-313.pyc | Other | 5,619 | 0.95 | 0.089286 | 0.018868 | react-lib | 360 | 2024-08-06T20:54:37.803417 | MIT | false | 2f4ad8a4ac627a8aeee5a6075c045103 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\context.cpython-313.pyc | context.cpython-313.pyc | Other | 24,691 | 0.95 | 0.047872 | 0 | vue-tools | 116 | 2024-05-26T01:38:18.992432 | BSD-3-Clause | false | 705c4f200351571fabf0e48f6952cc66 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\docstrings.cpython-313.pyc | docstrings.cpython-313.pyc | Other | 13,250 | 0.95 | 0.065789 | 0.079137 | vue-tools | 444 | 2025-02-07T13:49:33.455598 | Apache-2.0 | false | 5bf1f502f0acdb89ba47911cb230ca51 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\docstring_utils.cpython-313.pyc | docstring_utils.cpython-313.pyc | Other | 1,923 | 0.8 | 0 | 0 | node-utils | 199 | 2023-09-29T04:32:15.542684 | GPL-3.0 | false | 906b970d4db7fa0e7c7f51a04f9b5cc8 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\dynamic_params.cpython-313.pyc | dynamic_params.cpython-313.pyc | Other | 9,009 | 0.95 | 0.085106 | 0 | vue-tools | 98 | 2024-04-04T11:04:46.416185 | Apache-2.0 | false | 914aa9d51b90c051187c19b1fd9a774b |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\filters.cpython-313.pyc | filters.cpython-313.pyc | Other | 22,042 | 0.95 | 0.057971 | 0.007463 | react-lib | 19 | 2025-01-13T02:43:29.448306 | BSD-3-Clause | false | 70178636b5e497f27b2a60f4161be988 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\finder.cpython-313.pyc | finder.cpython-313.pyc | Other | 6,683 | 0.8 | 0.064516 | 0 | vue-tools | 94 | 2024-09-28T05:13:25.491862 | GPL-3.0 | false | bb5ccd0fac3df50a89d2d7ec38da0dac |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\flow_analysis.cpython-313.pyc | flow_analysis.cpython-313.pyc | Other | 5,445 | 0.8 | 0 | 0 | node-utils | 42 | 2024-08-26T21:54:09.994509 | GPL-3.0 | false | c31789f67960606dec4e821eddf5b8a6 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\helpers.cpython-313.pyc | helpers.cpython-313.pyc | Other | 7,890 | 0.95 | 0.061728 | 0 | node-utils | 217 | 2024-02-13T09:37:20.640549 | Apache-2.0 | false | f2169df315a15091341ecb0aaee0bda8 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\imports.cpython-313.pyc | imports.cpython-313.pyc | Other | 22,189 | 0.95 | 0.027523 | 0.009662 | python-kit | 199 | 2025-04-10T00:59:46.846293 | Apache-2.0 | false | 74da2cff11bf453129453c7335e8f96e |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\lazy_value.cpython-313.pyc | lazy_value.cpython-313.pyc | Other | 4,362 | 0.8 | 0 | 0 | python-kit | 769 | 2024-06-10T21:39:09.993172 | Apache-2.0 | false | bd143497ed57f2598986b7aa7c484e35 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\names.cpython-313.pyc | names.cpython-313.pyc | Other | 35,050 | 0.95 | 0.043902 | 0 | vue-tools | 298 | 2025-04-21T21:24:47.874078 | BSD-3-Clause | false | a345d7404ab0cf4bd266d0302220a35f |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\param.cpython-313.pyc | param.cpython-313.pyc | Other | 11,004 | 0.95 | 0.123894 | 0 | vue-tools | 94 | 2024-08-09T04:39:54.095857 | GPL-3.0 | false | 756ae031580e31e4d937a8ada0ef6239 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\parser_cache.cpython-313.pyc | parser_cache.cpython-313.pyc | Other | 530 | 0.85 | 0 | 0 | node-utils | 971 | 2025-01-08T18:04:17.932849 | Apache-2.0 | false | 893800124d9ab96267c3835447c79449 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\recursion.cpython-313.pyc | recursion.cpython-313.pyc | Other | 6,206 | 0.95 | 0.096774 | 0 | react-lib | 374 | 2024-09-29T07:45:25.447649 | Apache-2.0 | false | ffe219ed6b7d4e2b033298cb042bd51b |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\references.cpython-313.pyc | references.cpython-313.pyc | Other | 14,129 | 0.95 | 0 | 0.02 | node-utils | 377 | 2024-07-13T12:36:25.654900 | Apache-2.0 | false | 089626a70218f5490a8937161f81e11e |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\signature.cpython-313.pyc | signature.cpython-313.pyc | Other | 8,642 | 0.95 | 0 | 0 | vue-tools | 71 | 2024-12-13T07:42:10.779653 | Apache-2.0 | false | 244477b6e9a9d4b65bf616bf8b6076c4 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\star_args.cpython-313.pyc | star_args.cpython-313.pyc | Other | 9,476 | 0.95 | 0.05 | 0.00885 | react-lib | 604 | 2024-11-29T19:24:43.694280 | GPL-3.0 | false | 19e9128df055e75636248f0ad3f2363e |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\syntax_tree.cpython-313.pyc | syntax_tree.cpython-313.pyc | Other | 40,797 | 0.95 | 0.030641 | 0.005935 | node-utils | 455 | 2024-06-16T22:58:33.223306 | GPL-3.0 | false | 7e9d24a51c296820cda07463e7b8eacc |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\sys_path.cpython-313.pyc | sys_path.cpython-313.pyc | Other | 12,101 | 0.95 | 0.043478 | 0 | awesome-app | 285 | 2024-02-26T22:39:51.189616 | Apache-2.0 | false | a943e66567efaf7dfdddfd87be19b91e |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\utils.cpython-313.pyc | utils.cpython-313.pyc | Other | 5,052 | 0.95 | 0.148936 | 0 | awesome-app | 20 | 2024-04-03T12:00:09.172385 | BSD-3-Clause | false | 310a3b4c94db2fdd17b732e2bd4158c7 |
\n\n | .venv\Lib\site-packages\jedi\inference\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 10,490 | 0.95 | 0.087719 | 0.030612 | vue-tools | 437 | 2023-09-21T18:06:38.821930 | Apache-2.0 | false | f29351638981c460131d97cd633ab443 |
def import_module(callback):\n """\n Handle "magic" Flask extension imports:\n ``flask.ext.foo`` is really ``flask_foo`` or ``flaskext.foo``.\n """\n def wrapper(inference_state, import_names, module_context, *args, **kwargs):\n if len(import_names) == 3 and import_names[:2] == ('flask', 'ext'):\n... | .venv\Lib\site-packages\jedi\plugins\flask.py | flask.py | Python | 916 | 0.95 | 0.190476 | 0.095238 | node-utils | 545 | 2025-01-14T13:36:02.929146 | GPL-3.0 | false | b9ae60c63e9bbdd2128904c12d75c0cc |
"""\nThis is not a plugin, this is just the place were plugins are registered.\n"""\n\nfrom jedi.plugins import stdlib\nfrom jedi.plugins import flask\nfrom jedi.plugins import pytest\nfrom jedi.plugins import django\nfrom jedi.plugins import plugin_manager\n\n\nplugin_manager.register(stdlib, flask, pytest, django)\n | .venv\Lib\site-packages\jedi\plugins\registry.py | registry.py | Python | 307 | 0.85 | 0 | 0 | python-kit | 727 | 2025-01-02T03:15:30.014978 | BSD-3-Clause | false | 1954f39779fc5805f273e7b55e7a6d45 |
from functools import wraps\n\n\nclass _PluginManager:\n def __init__(self):\n self._registered_plugins = []\n self._cached_base_callbacks = {}\n self._built_functions = {}\n\n def register(self, *plugins):\n """\n Makes it possible to register your plugin.\n """\n ... | .venv\Lib\site-packages\jedi\plugins\__init__.py | __init__.py | Python | 1,445 | 0.95 | 0.212766 | 0.027778 | vue-tools | 703 | 2025-02-17T17:06:15.948882 | BSD-3-Clause | false | 646595e9b20b6465c9c364db588d5d1a |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\django.cpython-313.pyc | django.cpython-313.pyc | Other | 17,117 | 0.95 | 0.009091 | 0 | vue-tools | 442 | 2024-06-15T21:57:30.811272 | BSD-3-Clause | false | da607c2a8659cbcc6b14eb3f41c11e13 |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\flask.cpython-313.pyc | flask.cpython-313.pyc | Other | 1,123 | 0.85 | 0 | 0 | node-utils | 796 | 2024-02-16T07:22:47.629512 | MIT | false | 9eb428ec25e6e244a1a54fa7fa22738a |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\pytest.cpython-313.pyc | pytest.cpython-313.pyc | Other | 13,545 | 0.95 | 0.010101 | 0 | vue-tools | 566 | 2024-07-20T16:18:27.416679 | BSD-3-Clause | true | d44d03f5deba1f0972a6f01b0090e06d |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\registry.cpython-313.pyc | registry.cpython-313.pyc | Other | 531 | 0.7 | 0 | 0 | vue-tools | 915 | 2024-03-26T07:49:47.839483 | Apache-2.0 | false | a3fa7b4a13ba8ae67d5413f2188bd6c3 |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\stdlib.cpython-313.pyc | stdlib.cpython-313.pyc | Other | 44,850 | 0.95 | 0.071429 | 0.016077 | vue-tools | 165 | 2023-11-18T20:00:05.594417 | MIT | false | 9dc28ad3b90aab2b0a220dc6f2593755 |
\n\n | .venv\Lib\site-packages\jedi\plugins\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 2,544 | 0.95 | 0 | 0 | react-lib | 908 | 2024-09-15T03:54:12.434288 | MIT | false | 3b94c94d0242caf17f7138a4063706ef |
Copyright (c) Maxim Kurnikov.\nAll rights reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ... | .venv\Lib\site-packages\jedi\third_party\django-stubs\LICENSE.txt | LICENSE.txt | Other | 1,075 | 0.7 | 0 | 0 | react-lib | 578 | 2023-09-30T04:28:16.378323 | MIT | false | 0d8b10b099d9c3e63d4293166344001f |
import sys\nfrom typing import Any, Callable, List, Mapping, Optional, overload, Protocol, Sequence, Type, TypeVar, Union\n\nfrom django.db.models.base import Model\nfrom django.http.response import (\n HttpResponse as HttpResponse,\n HttpResponseRedirect as HttpResponseRedirect,\n HttpResponsePermanentRedirec... | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\shortcuts.pyi | shortcuts.pyi | Other | 1,972 | 0.85 | 0.185185 | 0 | awesome-app | 591 | 2023-09-08T21:15:57.933452 | GPL-3.0 | false | abe26686fc4e7106db77942bf7981948 |
from typing import Any, NamedTuple\nfrom .utils.version import get_version as get_version\n\nVERSION: Any\n__version__: str\n\ndef setup(set_prefix: bool = ...) -> None: ...\n\n# Used by mypy_django_plugin when returning a QuerySet row that is a NamedTuple where the field names are unknown\nclass _NamedTupleAnyAttr(Nam... | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\__init__.pyi | __init__.pyi | Other | 432 | 0.95 | 0.333333 | 0.111111 | awesome-app | 341 | 2024-10-01T04:14:23.168050 | Apache-2.0 | false | b744c66ec089d09a12ebf936f79f6d1e |
from typing import Any, Iterator, Type, Optional, Dict\n\nfrom django.apps.registry import Apps\nfrom django.db.models.base import Model\n\nMODELS_MODULE_NAME: str\n\nclass AppConfig:\n name: str = ...\n module: Optional[Any] = ...\n apps: Optional[Apps] = ...\n label: str = ...\n verbose_name: str = ...... | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\apps\config.pyi | config.pyi | Other | 834 | 0.85 | 0.304348 | 0 | react-lib | 481 | 2023-10-10T06:28:59.625385 | BSD-3-Clause | false | 37044dcce30748cbd17946efb513d83f |
import threading\nfrom typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Type, Union\n\nfrom django.db.models.base import Model\n\nfrom .config import AppConfig\n\nclass Apps:\n all_models: Dict[str, Dict[str, Type[Model]]] = ...\n app_configs: Dict[str, AppConfig] = ...\n stored_app_configs:... | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\apps\registry.pyi | registry.pyi | Other | 2,050 | 0.95 | 0.55 | 0.027778 | react-lib | 849 | 2024-12-04T05:58:59.808088 | Apache-2.0 | false | 9926d763c27e5b258dda39dd2de77c6b |
from .config import AppConfig as AppConfig\n\nfrom .registry import apps as apps\n | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\apps\__init__.pyi | __init__.pyi | Other | 79 | 0.65 | 0 | 0 | node-utils | 992 | 2025-04-10T11:18:52.603993 | MIT | false | b60837fbd6193ca4695c1d014606d434 |
"""\nDefault Django settings. Override these with settings in the module pointed to\nby the DJANGO_SETTINGS_MODULE environment variable.\n"""\n\n# This is defined here as a do-nothing function because we can't import\n# django.utils.translation -- that module depends on the settings.\nfrom typing import Any, Dict, List... | .venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\global_settings.pyi | global_settings.pyi | Other | 17,462 | 0.95 | 0.077381 | 0.625 | vue-tools | 699 | 2025-05-06T07:49:16.950063 | BSD-3-Clause | false | 732ba201db874d6de23f2c192f2f8b02 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.