id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
29,800
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/mail/backends/base.pyi
import types from typing import Any, TypeVar, Type, Iterable, Optional from django.core.mail.message import EmailMessage _T = TypeVar("_T", bound="BaseEmailBackend") class BaseEmailBackend: def __init__(self, fail_silently: bool = ..., **kwargs: Any) -> None: ... def open(self) -> Optional[bool]: ... def...
604
Python
.py
13
42.461538
101
0.656463
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,801
wsgi.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/handlers/wsgi.pyi
from io import BytesIO from typing import Any, Callable, Dict, Optional, Union from django.contrib.sessions.backends.base import SessionBase from django.core.handlers import base from django.http import HttpRequest from django.http.response import HttpResponse _Stream = Union[BytesIO, str] _WSGIEnviron = Dict[str, An...
1,325
Python
.py
29
42.551724
92
0.671318
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,802
exception.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/handlers/exception.pyi
from typing import Any, Callable from django.http.request import HttpRequest from django.http.response import HttpResponse from django.urls.resolvers import URLResolver def convert_exception_to_response(get_response: Callable) -> Callable: ... def response_for_exception(request: HttpRequest, exc: Exception) -> HttpRe...
570
Python
.py
10
55.4
107
0.781362
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,803
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/handlers/base.pyi
from typing import Any, Callable from django.http.request import HttpRequest from django.http.response import HttpResponse, HttpResponseBase logger: Any class BaseHandler: def load_middleware(self) -> None: ... def make_view_atomic(self, view: Callable) -> Callable: ... def get_exception_response(self, r...
572
Python
.py
10
53.9
110
0.751342
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,804
templates.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/templates.pyi
from typing import Any from django.core.management.base import BaseCommand class TemplateCommand(BaseCommand): url_schemes: Any = ... rewrite_template_suffixes: Any = ... app_or_project: Any = ... paths_to_remove: Any = ... verbosity: Any = ... def handle_template(self, template: Any, subdir: ...
624
Python
.py
15
37.266667
72
0.645799
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,805
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/utils.pyi
from typing import List, Optional, Set, Tuple, Type from django.apps.config import AppConfig from django.db.models.base import Model def popen_wrapper(args: List[str], stdout_encoding: str = ...) -> Tuple[str, str, int]: ... def handle_extensions(extensions: List[str]) -> Set[str]: ... def find_command(cmd: str, path...
527
Python
.py
8
64.625
105
0.696325
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,806
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/__init__.pyi
from typing import Any, Dict, List, Tuple, Union from .base import BaseCommand as BaseCommand, CommandError as CommandError def find_commands(management_dir: str) -> List[str]: ... def load_command_class(app_name: str, name: str) -> BaseCommand: ... def get_commands() -> Dict[str, str]: ... def call_command(command_n...
841
Python
.py
16
49.3125
107
0.64799
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,807
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/base.pyi
from argparse import ArgumentParser, HelpFormatter, Namespace from io import StringIO, TextIOBase, TextIOWrapper from typing import Any, Callable, List, Optional, Union, Tuple from django.apps.config import AppConfig from django.core.management.color import Style class CommandError(Exception): ... class SystemCheckEr...
2,922
Python
.py
69
37.333333
118
0.61955
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,808
color.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/color.pyi
def supports_color() -> bool: ... class Style: def ERROR(self, text: str) -> str: ... def SUCCESS(self, text: str) -> str: ... def WARNING(self, text: str) -> str: ... def NOTICE(self, text: str) -> str: ... def SQL_FIELD(self, text: str) -> str: ... def SQL_COLTYPE(self, text: str) -> str: ......
1,052
Python
.py
23
41.521739
54
0.570594
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,809
sql.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/sql.pyi
from typing import Any, List from django.core.management.color import Style def sql_flush( style: Style, connection: Any, only_django: bool = ..., reset_sequences: bool = ..., allow_cascade: bool = ... ) -> List[str]: ... def emit_pre_migrate_signal(verbosity: int, interactive: bool, db: str, **kwargs: Any) -> No...
429
Python
.py
7
59.428571
114
0.688095
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,810
dumpdata.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/commands/dumpdata.pyi
from django.core.management.base import BaseCommand class ProxyModelWarning(Warning): ... class Command(BaseCommand): ...
123
Python
.py
3
39.666667
51
0.815126
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,811
loaddata.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/commands/loaddata.pyi
import zipfile from typing import Iterable, List, Optional, Tuple from django.core.management.base import BaseCommand READ_STDIN: str = ... class Command(BaseCommand): missing_args_message: str = ... def loaddata(self, fixture_labels: Iterable[str]) -> None: ... def load_label(self, fixture_label: str) -...
625
Python
.py
14
41.285714
75
0.688119
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,812
runserver.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/commands/runserver.pyi
from django.core.management.base import BaseCommand class Command(BaseCommand): default_addr: str = ... default_addr_ipv6: str = ... default_port: int = ... protocol: str = ...
194
Python
.py
6
28.5
51
0.668449
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,813
makemessages.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/management/commands/makemessages.pyi
from typing import Any, Optional, Pattern, Type from django.core.management.base import BaseCommand plural_forms_re: Pattern = ... STATUS_OK: int = ... NO_LOCALE_DIR: Any = ... def check_programs(*programs: str) -> None: ... class TranslatableFile: dirpath: str file_name: str locale_dir: str def __i...
1,134
Python
.py
30
34
102
0.661496
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,814
templates.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/templates.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Error from django.apps.config import AppConfig E001: Any E002: Any def check_setting_app_dirs_loaders(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ... def check_string_if_invalid_is_string(app_conf...
391
Python
.py
7
54.285714
116
0.771053
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,815
model_checks.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/model_checks.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Warning from django.apps.config import AppConfig def check_all_models(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Warning]: ... def check_lazy_references(app_configs: Optional[Iterable[AppConfig]] = ...
358
Python
.py
5
70
108
0.742857
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,816
urls.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/urls.pyi
from typing import Any, Callable, List, Tuple, Union, Iterable, Optional from django.core.checks.messages import CheckMessage, Error, Warning from django.urls.resolvers import URLPattern, URLResolver from django.apps.config import AppConfig def check_url_config(app_configs: Optional[Iterable[AppConfig]], **kwargs: A...
780
Python
.py
10
76.7
112
0.757497
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,817
translation.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/translation.pyi
from typing import Any, List from . import Error E001: Error = ... def check_setting_language_code(app_configs: Any, **kwargs: Any) -> List[Error]: ...
155
Python
.py
4
37
84
0.709459
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,818
caches.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/caches.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Error from django.apps.config import AppConfig E001: Any def check_default_cache_is_configured(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ...
267
Python
.py
5
51.6
116
0.794574
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,819
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/__init__.pyi
from .messages import ( CheckMessage as CheckMessage, Debug as Debug, Info as Info, Warning as Warning, Error as Error, Critical as Critical, DEBUG as DEBUG, INFO as INFO, WARNING as WARNING, ERROR as ERROR, CRITICAL as CRITICAL, ) from .registry import register as register,...
430
Python
.py
15
24.6
108
0.726392
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,820
registry.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/registry.pyi
from typing import Any, Callable, List, Optional, Set, Union from django.apps.config import AppConfig from django.core.checks.messages import CheckMessage class Tags: admin: str = ... caches: str = ... compatibility: str = ... database: str = ... models: str = ... security: str = ... signa...
1,212
Python
.py
32
33.375
111
0.618197
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,821
database.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/database.pyi
from typing import Any, List def check_database_backends(*args: Any, **kwargs: Any) -> List[Any]: ...
103
Python
.py
2
50
72
0.7
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,822
messages.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/messages.pyi
from typing import Any, Optional DEBUG: int INFO: int WARNING: int ERROR: int CRITICAL: int class CheckMessage: level: int = ... msg: str = ... hint: Optional[str] = ... obj: Any = ... id: Optional[str] = ... def __init__( self, level: int, msg: str, hint: Optional[str] = ..., obj: Any...
925
Python
.py
27
30.62963
102
0.580247
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,823
csrf.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/security/csrf.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Warning from django.apps.config import AppConfig W003: Any W016: Any def check_csrf_middleware(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ... def check_csrf_cookie_secure(app_configs: Optional[...
379
Python
.py
7
52.571429
109
0.774457
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,824
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/security/base.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Warning from django.apps.config import AppConfig SECRET_KEY_MIN_LENGTH: int SECRET_KEY_MIN_UNIQUE_CHARACTERS: int W001: Any W002: Any W004: Any W005: Any W006: Any W007: Any W008: Any W009: Any W018: Any W019: Any W020: Any W021...
1,592
Python
.py
29
53.758621
116
0.74086
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,825
sessions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/checks/security/sessions.pyi
from typing import Any, List, Iterable, Optional from django.core.checks.messages import Warning from django.apps.config import AppConfig def add_session_cookie_message(message: Any): ... W010: Any W011: Any W012: Any def add_httponly_message(message: Any): ... W013: Any W014: Any W015: Any def check_session_coo...
527
Python
.py
13
39
114
0.769231
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,826
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/utils.pyi
from typing import Any, Iterable, Optional TEMPLATE_FRAGMENT_KEY_TEMPLATE: str def make_template_fragment_key(fragment_name: str, vary_on: Optional[Iterable[Any]] = ...) -> str: ...
184
Python
.py
3
59.666667
102
0.748603
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,827
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/__init__.pyi
from collections import OrderedDict from typing import Any, Callable, Dict, Union from .backends.base import ( BaseCache as BaseCache, CacheKeyWarning as CacheKeyWarning, InvalidCacheBackendError as InvalidCacheBackendError, ) DEFAULT_CACHE_ALIAS: str class CacheHandler: def __init__(self) -> None: ....
717
Python
.py
19
34.368421
96
0.688312
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,828
filebased.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/filebased.pyi
from typing import Any, Dict from django.core.cache.backends.base import BaseCache class FileBasedCache(BaseCache): cache_suffix: str = ... def __init__(self, dir: str, params: Dict[str, Any]) -> None: ...
216
Python
.py
5
40.2
69
0.708134
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,829
dummy.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/dummy.pyi
from typing import Any from django.core.cache.backends.base import BaseCache class DummyCache(BaseCache): def __init__(self, host: str, *args: Any, **kwargs: Any) -> None: ...
182
Python
.py
4
43
73
0.721591
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,830
locmem.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/locmem.pyi
from typing import Any, Dict from django.core.cache.backends.base import BaseCache class LocMemCache(BaseCache): def __init__(self, name: str, params: Dict[str, Any]) -> None: ...
186
Python
.py
4
44
70
0.733333
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,831
memcached.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/memcached.pyi
from django.core.cache.backends.base import BaseCache class BaseMemcachedCache(BaseCache): def __init__(self, server, params, library, value_not_found_exception) -> None: ... class MemcachedCache(BaseMemcachedCache): def __init__(self, server, params): ... class PyLibMCCache(BaseMemcachedCache): def __in...
352
Python
.py
7
47.142857
87
0.736842
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,832
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/base.pyi
from typing import Any, Callable, Dict, Iterable, List, Optional, Union from django.core.exceptions import ImproperlyConfigured class InvalidCacheBackendError(ImproperlyConfigured): ... class CacheKeyWarning(RuntimeWarning): ... DEFAULT_TIMEOUT: Any MEMCACHE_MAX_KEY_LENGTH: int def default_key_func(key: Any, key_pr...
2,327
Python
.py
36
60.388889
112
0.596238
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,833
db.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/cache/backends/db.pyi
from typing import Any, Dict from django.core.cache.backends.base import BaseCache class Options: db_table: str = ... app_label: str = ... model_name: str = ... verbose_name: str = ... verbose_name_plural: str = ... object_name: str = ... abstract: bool = ... managed: bool = ... pr...
595
Python
.py
18
28.944444
71
0.61082
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,834
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/serializers/__init__.pyi
from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Type, Union from django.db.models.base import Model from .base import ( DeserializationError as DeserializationError, DeserializedObject, Deserializer as Deserializer, M2MDeserializationError as M2MDeserializationError, Se...
1,377
Python
.py
26
50.076923
118
0.728083
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,835
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/serializers/base.pyi
from datetime import date from io import BufferedReader, StringIO, TextIOWrapper from typing import Any, Dict, Iterable, List, Mapping, Optional, Type, Union, Collection from uuid import UUID from django.core.management.base import OutputWrapper from django.db.models.base import Model from django.db.models.fields.rela...
3,388
Python
.py
77
39.077922
117
0.632233
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,836
json.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/serializers/json.pyi
import json from typing import Any, Dict from django.core.serializers.python import Serializer as PythonSerializer class Serializer(PythonSerializer): json_kwargs: Dict[str, Any] def Deserializer(stream_or_string: Any, **options: Any) -> None: ... class DjangoJSONEncoder(json.JSONEncoder): allow_nan: bool ...
422
Python
.py
13
29
73
0.762963
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,837
python.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/serializers/python.pyi
from collections import OrderedDict from typing import Any, Dict, Iterator, List, Optional from django.core.serializers.base import DeserializedObject from django.db.models.base import Model from django.core.serializers import base class Serializer(base.Serializer): objects: List[Any] = ... def get_dump_obje...
535
Python
.py
11
46.181818
115
0.75
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,838
basehttp.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/core/servers/basehttp.pyi
import socketserver from io import BytesIO from typing import Any, Dict from wsgiref import simple_server from django.core.handlers.wsgi import WSGIRequest, WSGIHandler from django.core.wsgi import get_wsgi_application as get_wsgi_application # noqa: F401 class WSGIServer(simple_server.WSGIServer): request_queue...
1,301
Python
.py
30
39.633333
113
0.698814
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,839
defaulttags.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/defaulttags.pyi
from collections import namedtuple from datetime import date from typing import Any, Dict, List, Optional, Sequence, Tuple, Union from django.template.base import FilterExpression, Parser, Token from django.template.context import Context from django.utils.safestring import SafeText from .base import Node, NodeList f...
7,237
Python
.py
175
36.942857
107
0.658609
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,840
response.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/response.pyi
import functools from http.cookies import SimpleCookie from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union from django.core.handlers.wsgi import WSGIRequest from django.http.request import HttpRequest from django.template.base import Template from django.template.context import RequestContex...
2,344
Python
.py
63
31.936508
97
0.656854
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,841
library.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/library.pyi
from typing import Any, Callable, Dict, List, Optional, Tuple, Union from django.template.base import FilterExpression, Parser, Origin, Token from django.template.context import Context from django.utils.safestring import SafeText from .base import Node, Template class InvalidTemplateLibrary(Exception): ... class L...
3,079
Python
.py
89
28.831461
120
0.62609
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,842
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/utils.pyi
import collections from typing import Any, Dict, List, Tuple from django.core.exceptions import ImproperlyConfigured from django.template.backends.base import BaseEngine class InvalidTemplateEngineError(ImproperlyConfigured): ... class EngineHandler: templates: collections.OrderedDict def __init__(self, temp...
558
Python
.py
12
43.5
74
0.717712
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,843
loader.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loader.pyi
from typing import Any, Dict, List, Optional, Union from . import engines as engines # noqa: F401 from django.http.request import HttpRequest from django.template.exceptions import TemplateDoesNotExist as TemplateDoesNotExist # noqa: F401 def get_template(template_name: str, using: Optional[str] = ...) -> Any: ... ...
620
Python
.py
12
49.166667
102
0.70132
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,844
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/__init__.pyi
from .engine import Engine as Engine from .utils import EngineHandler as EngineHandler engines: EngineHandler from .base import VariableDoesNotExist as VariableDoesNotExist from .context import ContextPopException as ContextPopException from .exceptions import TemplateDoesNotExist as TemplateDoesNotExist, TemplateSyn...
648
Python
.py
11
57.454545
114
0.868671
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,845
context.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/context.pyi
from typing import Any, Callable, Dict, Iterator, List, Optional, Type, Union, Iterable from django.http.request import HttpRequest from django.template.base import Node, Origin, Template from django.template.defaulttags import IfChangedNode from django.template.loader_tags import IncludeNode _ContextValues = Union[D...
3,208
Python
.py
67
42.985075
106
0.621328
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,846
loader_tags.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loader_tags.pyi
import collections from typing import Any, Dict, List, Optional, Union from django.template.base import FilterExpression, NodeList, Parser, Token, Origin from django.template.context import Context from django.utils.safestring import SafeText from .base import Node, Template register: Any BLOCK_CONTEXT_KEY: str cla...
2,363
Python
.py
60
34.85
118
0.652723
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,847
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/base.pyi
from enum import Enum from typing import Any, Callable, Dict, Iterator, List, Mapping, Optional, Sequence, Tuple, Type, Union from django.http.request import HttpRequest from django.template.context import Context as Context from django.template.engine import Engine from django.template.library import Library from dja...
6,030
Python
.py
153
34.954248
120
0.625854
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,848
smartif.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/smartif.pyi
from typing import Any, Dict, List, Optional, Union from django.template.defaulttags import TemplateLiteral _Token = Union[List[int], int, str] class TokenBase: id: Any = ... value: Any = ... first: Any = ... second: Any = ... def nud(self, parser: Any) -> None: ... def led(self, left: Any, p...
1,267
Python
.py
35
32.114286
70
0.593954
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,849
engine.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/engine.pyi
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, Sequence from django.template.base import Origin from django.template.library import Library from django.template.loaders.base import Loader from django.utils.safestring import SafeText from .base import Template _Loader = Any class Engine: t...
2,158
Python
.py
49
38.632653
108
0.624228
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,850
context_processors.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/context_processors.pyi
from typing import Any, Callable, Dict, List, Tuple, Union from django.core.handlers.wsgi import WSGIRequest from django.http.request import HttpRequest from django.utils.functional import SimpleLazyObject def csrf(request: HttpRequest) -> Dict[str, SimpleLazyObject]: ... def debug(request: HttpRequest) -> Dict[str, ...
640
Python
.py
11
57
89
0.740032
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,851
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/exceptions.pyi
from typing import List, Optional, Tuple, Union from django.template.backends.base import BaseEngine from django.template.base import Origin class TemplateDoesNotExist(Exception): backend: Optional[BaseEngine] = ... tried: List[Tuple[Origin, str]] = ... chain: List[TemplateDoesNotExist] = ... def __in...
596
Python
.py
15
34.533333
58
0.66955
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,852
defaultfilters.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/defaultfilters.pyi
from datetime import date as _date, datetime, time as _time from typing import Any, Callable, Dict, List, Optional, Union from django.utils.safestring import SafeText from django.utils.html import escape as escape # noqa: F401 register: Any def stringfilter(func: Callable) -> Callable: ... def addslashes(value: str...
3,651
Python
.py
63
56.904762
97
0.646025
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,853
cached.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loaders/cached.pyi
from typing import Any, Dict, List, Optional, Sequence from django.template.base import Origin from django.template.engine import Engine from .base import Loader as BaseLoader class Loader(BaseLoader): template_cache: Dict[str, Any] = ... loaders: List[BaseLoader] = ... def __init__(self, engine: Engine,...
564
Python
.py
11
47.818182
91
0.687273
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,854
locmem.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loaders/locmem.pyi
from typing import Dict from django.template.base import Origin from django.template.engine import Engine from .base import Loader as BaseLoader class Loader(BaseLoader): templates_dict: Dict[str, str] = ... def __init__(self, engine: Engine, templates_dict: Dict[str, str]) -> None: ... def get_contents(...
354
Python
.py
8
41.375
83
0.725948
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,855
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loaders/base.pyi
from typing import Any, List, Optional, Dict from django.template.base import Origin, Template from django.template.engine import Engine class Loader: engine: Engine = ... get_template_cache: Dict[str, Any] = ... def __init__(self, engine: Engine) -> None: ... def get_template(self, template_name: str...
476
Python
.py
10
44
99
0.672414
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,856
filesystem.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/loaders/filesystem.pyi
from typing import Any, List, Optional, Union from django.template.base import Origin from django.template.engine import Engine from .base import Loader as BaseLoader class Loader(BaseLoader): dirs: Optional[List[str]] = ... def __init__(self, engine: Engine, dirs: Optional[List[str]] = ...) -> None: ... ...
433
Python
.py
9
45
84
0.693587
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,857
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/backends/utils.pyi
from typing import Any from django.http.request import HttpRequest from django.utils.safestring import SafeText def csrf_input(request: HttpRequest) -> SafeText: ... csrf_input_lazy: Any csrf_token_lazy: Any
211
Python
.py
6
33.666667
53
0.821782
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,858
jinja2.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/backends/jinja2.pyi
from typing import Any, Callable, Dict, List, Optional from django.template.exceptions import TemplateSyntaxError from .base import BaseEngine class Jinja2(BaseEngine): context_processors: List[str] = ... def __init__(self, params: Dict[str, Any]) -> None: ... @property def template_context_processor...
581
Python
.py
13
41.153846
77
0.694494
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,859
dummy.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/backends/dummy.pyi
import string from typing import Any, Dict, List, Optional, Tuple, Union from django.http.request import HttpRequest from .base import BaseEngine class TemplateStrings(BaseEngine): template_dirs: Tuple[str] def __init__(self, params: Dict[str, Union[Dict[Any, Any], List[Any], bool, str]]) -> None: ... class...
478
Python
.py
10
44.8
111
0.713362
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,860
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/backends/base.pyi
from typing import Any, Iterator, List, Mapping, Optional, Tuple from django.template.base import Template class BaseEngine: name: str = ... dirs: List[str] = ... app_dirs: bool = ... def __init__(self, params: Mapping[str, Any]) -> None: ... @property def app_dirname(self) -> Optional[str]: ....
601
Python
.py
14
38.642857
79
0.647863
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,861
django.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/template/backends/django.pyi
from typing import Any, Dict, Iterator, Optional from django.template.engine import Engine from django.template.exceptions import TemplateDoesNotExist from .base import BaseEngine class DjangoTemplates(BaseEngine): engine: Engine = ... def __init__(self, params: Dict[str, Any]) -> None: ... def get_templ...
706
Python
.py
12
56.5
116
0.74058
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,862
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/__init__.pyi
from typing import Any from django.utils.functional import LazyObject # explicit dependency on standard settings to make it loaded from . import global_settings ENVIRONMENT_VARIABLE: str = ... DEFAULT_CONTENT_TYPE_DEPRECATED_MSG: str = ... FILE_CHARSET_DEPRECATED_MSG: str = ... # required for plugin to be able to d...
899
Python
.py
20
42.3
98
0.729885
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,863
global_settings.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/global_settings.pyi
""" Default Django settings. Override these with settings in the module pointed to by the DJANGO_SETTINGS_MODULE environment variable. """ # This is defined here as a do-nothing function because we can't import # django.utils.translation -- that module depends on the settings. from typing import Any, Dict, List, Optio...
17,462
Python
.py
392
43.25
101
0.735641
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,864
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/locale/__init__.pyi
from typing import Dict, Any LANG_INFO: Dict[str, Any] = ...
62
Python
.py
2
29.5
31
0.694915
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,865
i18n.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/urls/i18n.pyi
from typing import Any, List, Tuple, Callable from django.urls.resolvers import URLPattern def i18n_patterns(*urls: Any, prefix_default_language: bool = ...) -> List[List[URLPattern]]: ... def is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool, bool]: ... urlpatterns: List[Callable]
297
Python
.py
5
57.8
97
0.750865
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,866
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/urls/__init__.pyi
# Stubs for django.conf.urls (Python 3.5) from typing import Any, Callable, Dict, List, Optional, overload, Tuple, Union from django.http.response import HttpResponse, HttpResponseBase from django.urls import URLResolver, URLPattern handler400: Union[str, Callable[..., HttpResponse]] = ... handler403: Union[str, Cal...
1,033
Python
.py
20
50
109
0.685516
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,867
static.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/conf/urls/static.pyi
from typing import Any, Callable, List from django.urls.resolvers import URLPattern def static(prefix: str, view: Callable = ..., **kwargs: Any) -> List[URLPattern]: ...
172
Python
.py
3
55.666667
85
0.736527
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,868
main.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/main.py
import configparser from functools import partial from typing import Callable, Dict, List, Optional, Tuple from django.db.models.fields.related import RelatedField from mypy.errors import Errors from mypy.nodes import MypyFile, TypeInfo from mypy.options import Options from mypy.plugin import ( AttributeContext, C...
12,581
Python
.py
213
47.558685
118
0.654602
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,869
fullnames.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/lib/fullnames.py
MODEL_CLASS_FULLNAME = 'django.db.models.base.Model' FIELD_FULLNAME = 'django.db.models.fields.Field' CHAR_FIELD_FULLNAME = 'django.db.models.fields.CharField' ARRAY_FIELD_FULLNAME = 'django.contrib.postgres.fields.array.ArrayField' AUTO_FIELD_FULLNAME = 'django.db.models.fields.AutoField' GENERIC_FOREIGN_KEY_FULLNAME...
1,600
Python
.py
31
49.709677
85
0.81294
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,870
helpers.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/lib/helpers.py
from collections import OrderedDict from typing import ( TYPE_CHECKING, Any, Dict, Iterable, Iterator, List, Optional, Set, Tuple, Union, ) from django.db.models.fields import Field from django.db.models.fields.related import RelatedField from django.db.models.fields.reverse_related import ForeignObjectRel from my...
13,900
Python
.py
290
39.165517
118
0.669945
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,871
models.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/models.py
from typing import Dict, List, Optional, Type, cast from django.db.models.base import Model from django.db.models.fields import DateField, DateTimeField from django.db.models.fields.related import ForeignKey from django.db.models.fields.reverse_related import ( ManyToManyRel, ManyToOneRel, OneToOneRel, ) from mypy...
17,481
Python
.py
304
41.256579
135
0.5884
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,872
settings.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/settings.py
from mypy.nodes import MemberExpr from mypy.plugin import AttributeContext, FunctionContext from mypy.types import AnyType, Instance from mypy.types import Type as MypyType from mypy.types import TypeOfAny, TypeType from mypy_django_plugin.django.context import DjangoContext from mypy_django_plugin.lib import helpers ...
2,213
Python
.py
38
51.210526
101
0.735552
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,873
meta.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/meta.py
from django.core.exceptions import FieldDoesNotExist from mypy.plugin import MethodContext from mypy.types import AnyType, Instance from mypy.types import Type as MypyType from mypy.types import TypeOfAny from mypy_django_plugin.django.context import DjangoContext from mypy_django_plugin.lib import helpers def _get_...
2,017
Python
.py
40
43.5
107
0.722137
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,874
request.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/request.py
from mypy.plugin import AttributeContext from mypy.types import Instance from mypy.types import Type as MypyType from mypy.types import UnionType from mypy_django_plugin.django.context import DjangoContext from mypy_django_plugin.lib import helpers def set_auth_user_model_as_type_for_request_user(ctx: AttributeConte...
1,148
Python
.py
19
55.894737
115
0.771836
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,875
init_create.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/init_create.py
from typing import List, Tuple, Type, Union from django.db.models.base import Model from mypy.plugin import FunctionContext, MethodContext from mypy.types import Instance from mypy.types import Type as MypyType from mypy_django_plugin.django.context import DjangoContext from mypy_django_plugin.lib import helpers de...
3,415
Python
.py
59
45.525424
117
0.637725
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,876
orm_lookups.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/orm_lookups.py
from mypy.plugin import MethodContext from mypy.types import AnyType, Instance from mypy.types import Type as MypyType from mypy.types import TypeOfAny from mypy_django_plugin.django.context import DjangoContext from mypy_django_plugin.lib import fullnames, helpers def typecheck_queryset_filter(ctx: MethodContext, d...
2,278
Python
.py
38
48.736842
103
0.686125
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,877
querysets.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/querysets.py
from collections import OrderedDict from typing import List, Optional, Sequence, Type from django.core.exceptions import FieldError from django.db.models.base import Model from django.db.models.fields.related import RelatedField from django.db.models.fields.reverse_related import ForeignObjectRel from mypy.nodes impor...
8,440
Python
.py
153
45.79085
119
0.683317
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,878
fields.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/fields.py
from typing import Optional, Tuple, cast from django.db.models.fields import Field from django.db.models.fields.related import RelatedField from mypy.nodes import AssignmentStmt, NameExpr, TypeInfo from mypy.plugin import FunctionContext from mypy.types import AnyType, Instance from mypy.types import Type as MypyType ...
7,101
Python
.py
119
49.957983
114
0.688796
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,879
forms.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/forms.py
from typing import Optional from mypy.plugin import ClassDefContext, MethodContext from mypy.types import CallableType, Instance, NoneTyp from mypy.types import Type as MypyType from mypy.types import TypeType from mypy_django_plugin.lib import helpers def make_meta_nested_class_inherit_from_any(ctx: ClassDefContex...
1,809
Python
.py
36
44.916667
100
0.746158
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,880
managers.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/transformers/managers.py
from mypy.nodes import ( GDEF, FuncDef, MemberExpr, NameExpr, RefExpr, StrExpr, SymbolTableNode, TypeInfo, ) from mypy.plugin import ClassDefContext, DynamicClassDefContext from mypy.types import AnyType, Instance, TypeOfAny from mypy_django_plugin.lib import fullnames, helpers def create_new_manager_class_from_...
3,523
Python
.py
64
42.875
119
0.646547
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,881
context.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/mypy_django_plugin/django/context.py
import os import sys from collections import defaultdict from contextlib import contextmanager from typing import ( TYPE_CHECKING, Dict, Iterable, Iterator, Optional, Set, Tuple, Type, Union, ) from django.core.exceptions import FieldError from django.db import models from django.db.models.base import Model from d...
16,593
Python
.py
307
40.954397
118
0.61425
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,882
django_tests_settings.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/django_tests_settings.py
import django SECRET_KEY = '1' SITE_ID = 1 INSTALLED_APPS = [ 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.admin.apps.SimpleAdminConfig', 'django.contrib.staticfiles', ] test_modules = [...
4,831
Python
.py
226
16.557522
50
0.616572
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,883
build_import_all_test.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/build_import_all_test.py
import os from pathlib import Path from typing import List STUBS_ROOT = Path(__file__).parent.parent / 'django-stubs' def build_package_name(path: str) -> str: return '.'.join(['django'] + list(Path(path).relative_to(STUBS_ROOT).with_suffix('').parts)) packages: List[str] = [] for dirpath, dirnames, filenames ...
790
Python
.py
20
34.9
96
0.687664
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,884
tests_extension_hook.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/tests_extension_hook.py
from pytest_mypy_plugins.collect import File from pytest_mypy_plugins.item import YamlTestItem def django_plugin_hook(test_item: YamlTestItem) -> None: custom_settings = test_item.parsed_test_data.get('custom_settings', '') installed_apps = test_item.parsed_test_data.get('installed_apps', None) if instal...
1,418
Python
.py
23
54
114
0.695245
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,885
mypy.ini
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/mypy.ini
[mypy] strict_optional = True ignore_missing_imports = True check_untyped_defs = True warn_no_return = False show_traceback = True allow_redefinition = True incremental = True plugins = mypy_django_plugin.main [mypy.plugins.django-stubs] django_settings_module = 'scripts.django_tests_settings'
301
Python
.py
12
23.583333
56
0.804878
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,886
catch_non_abstract_annotation.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/catch_non_abstract_annotation.py
import os from typing import Optional import libcst from libcst import Annotation, BaseExpression, FunctionDef, Name, Subscript from libcst.metadata import SyntacticPositionProvider BASE_DIR = 'django-stubs' fpath = os.path.join(BASE_DIR, 'core', 'checks', 'model_checks.pyi') with open(fpath, 'r') as f: contents...
3,606
Python
.py
67
42.402985
111
0.640705
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,887
typecheck_tests.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/typecheck_tests.py
import itertools import shutil import subprocess import sys from argparse import ArgumentParser from collections import defaultdict from pathlib import Path from typing import Dict, List, Pattern, Tuple, Union from git import RemoteProgress, Repo from scripts.enabled_test_modules import ( EXTERNAL_MODULES, IGNORE...
5,627
Python
.py
126
35.634921
110
0.62269
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,888
enabled_test_modules.py
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/scripts/enabled_test_modules.py
# Some errors occur for the test suite itself, and cannot be addressed via django-stubs. They should be ignored # using this constant. import re IGNORED_MODULES = {'schema', 'gis_tests', 'admin_widgets', 'admin_filters', 'sitemaps_tests', 'staticfiles_tests', 'modeladmin', 'generi...
22,259
Python
.py
500
36.918
118
0.620799
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,889
dynamic_params.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/dynamic_params.py
""" One of the really important features of |jedi| is to have an option to understand code like this:: def foo(bar): bar. # completion here foo(1) There's no doubt wheter bar is an ``int`` or not, but if there's also a call like ``foo('str')``, what would happen? Well, we'll just show both. Because th...
8,122
Python
.py
189
33.597884
98
0.633578
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,890
filters.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/filters.py
""" Filters are objects that you can use to filter names in different scopes. They are needed for name resolution. """ from abc import abstractmethod from typing import List, MutableMapping, Type import weakref from parso.tree import search_ancestor from parso.python.tree import Name, UsedNamesMapping from jedi.infer...
12,493
Python
.py
293
33.484642
95
0.630259
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,891
analysis.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/analysis.py
""" Module for statical analysis. """ from parso.python import tree from jedi import debug from jedi.inference.helpers import is_string CODES = { 'attribute-error': (1, AttributeError, 'Potential AttributeError.'), 'name-error': (2, NameError, 'Potential NameError.'), 'import-error': (3, ImportError, 'Po...
7,763
Python
.py
177
33.677966
91
0.590464
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,892
context.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/context.py
from abc import abstractmethod from contextlib import contextmanager from pathlib import Path from typing import Optional from parso.tree import search_ancestor from parso.python.tree import Name from jedi.inference.filters import ParserTreeFilter, MergedFilter, \ GlobalNameFilter from jedi.inference.names import...
17,164
Python
.py
397
33.506297
98
0.621002
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,893
arguments.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/arguments.py
import re from itertools import zip_longest from parso.python import tree from jedi import debug from jedi.inference.utils import PushBackIterator from jedi.inference import analysis from jedi.inference.lazy_value import LazyKnownValue, LazyKnownValues, \ LazyTreeValue, get_merged_lazy_value from jedi.inference.n...
12,218
Python
.py
277
33.169675
94
0.598081
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,894
references.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/references.py
import os import re from parso import python_bytes_to_unicode from jedi.debug import dbg from jedi.file_io import KnownContentFileIO, FolderIO from jedi.inference.names import SubModuleName from jedi.inference.imports import load_module_from_path from jedi.inference.filters import ParserTreeFilter from jedi.inference...
10,855
Python
.py
252
33.912698
93
0.627334
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,895
finder.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/finder.py
""" Searching for names with given scope and name. This is very central in Jedi and Python. The name resolution is quite complicated with descripter, ``__getattribute__``, ``__getattr__``, ``global``, etc. If you want to understand name resolution, please read the first few chapters in http://blog.ionelmc.ro/2015/02/0...
5,326
Python
.py
121
36
90
0.635135
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,896
param.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/param.py
from collections import defaultdict from inspect import Parameter from jedi import debug from jedi.inference.utils import PushBackIterator from jedi.inference import analysis from jedi.inference.lazy_value import LazyKnownValue, \ LazyTreeValue, LazyUnknownValue from jedi.inference.value import iterable from jedi....
10,450
Python
.py
226
33.955752
92
0.58344
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,897
names.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/names.py
from abc import abstractmethod from inspect import Parameter from typing import Optional, Tuple from parso.tree import search_ancestor from jedi.parser_utils import find_statement_documentation, clean_scope_docstring from jedi.inference.utils import unite from jedi.inference.base_value import ValueSet, NO_VALUES from...
23,188
Python
.py
548
32.191606
98
0.607836
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,898
lazy_value.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/lazy_value.py
from jedi.inference.base_value import ValueSet, NO_VALUES from jedi.common import monkeypatch class AbstractLazyValue: def __init__(self, data, min=1, max=1): self.data = data self.min = min self.max = max def __repr__(self): return '<%s: %s>' % (self.__class__.__name__, self....
1,667
Python
.py
43
32.325581
83
0.663138
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,899
flow_analysis.py
DamnWidget_anaconda/anaconda_lib/jedi/inference/flow_analysis.py
from typing import Dict, Optional from jedi.parser_utils import get_flow_branch_keyword, is_scope, get_parent_scope from jedi.inference.recursion import execution_allowed from jedi.inference.helpers import is_big_annoying_library class Status: lookup_table: Dict[Optional[bool], 'Status'] = {} def __init__(s...
4,583
Python
.py
101
35.346535
82
0.623374
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)