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,600
version.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/version.pyi
from typing import Any, Optional, Tuple PY36: Any PY37: Any PY38: Any PY39: Any def get_version(version: Optional[Tuple[int, int, int, str, int]] = ...) -> str: ... def get_main_version(version: Tuple[int, int, int, str, int] = ...) -> str: ... def get_complete_version(version: Optional[Tuple[int, int, int, str, int]] = ...) -> Tuple[int, int, int, str, int]: ... def get_docs_version(version: None = ...) -> str: ... def get_git_changeset(): ... def get_version_tuple(version: str) -> Tuple[int, int, int]: ...
516
Python
.py
11
45.727273
120
0.646123
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,601
termcolors.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/termcolors.pyi
from typing import Any, Callable, Dict, Optional, Tuple, Union, Sequence color_names: Any foreground: Any background: Any RESET: str opt_dict: Any def colorize(text: Optional[str] = ..., opts: Sequence[str] = ..., **kwargs: Any) -> str: ... def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ... NOCOLOR_PALETTE: str DARK_PALETTE: str LIGHT_PALETTE: str PALETTES: Any DEFAULT_PALETTE: str = ... def parse_color_setting(config_string: str) -> Optional[Dict[str, Dict[str, Union[Tuple[str], str]]]]: ...
517
Python
.py
14
35.642857
106
0.705411
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,602
inspect.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/inspect.pyi
from typing import Callable, List, Tuple def get_func_args(func: Callable) -> List[str]: ... def get_func_full_args(func: Callable) -> List[Tuple[str]]: ... def func_accepts_kwargs(func: Callable) -> bool: ... def func_accepts_var_args(func: Callable) -> bool: ... def method_has_no_args(meth: Callable) -> bool: ... def func_supports_parameter(func: Callable, parameter: str) -> bool: ...
391
Python
.py
7
54.714286
72
0.697128
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,603
crypto.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/crypto.pyi
from hmac import HMAC from typing import Callable, Optional, Union using_sysrandom: bool def salted_hmac(key_salt: str, value: Union[bytes, str], secret: Optional[Union[bytes, str]] = ...) -> HMAC: ... def get_random_string(length: int = ..., allowed_chars: str = ...) -> str: ... def constant_time_compare(val1: Union[bytes, str], val2: Union[bytes, str]) -> bool: ... def pbkdf2( password: Union[bytes, str], salt: Union[bytes, str], iterations: int, dklen: int = ..., digest: Optional[Callable] = ..., ) -> bytes: ...
543
Python
.py
13
39.076923
112
0.653409
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,604
deconstruct.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/deconstruct.pyi
from typing import Any, Optional def deconstructible(*args: Any, path: Optional[Any] = ...) -> Any: ...
105
Python
.py
2
51
70
0.686275
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,605
encoding.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/encoding.pyi
import datetime from decimal import Decimal from typing import Any, TypeVar, overload, Union from django.utils.functional import Promise from typing_extensions import Literal class DjangoUnicodeDecodeError(UnicodeDecodeError): obj: bytes = ... def __init__(self, obj: bytes, *args: Any) -> None: ... _P = TypeVar("_P", bound=Promise) _S = TypeVar("_S", bound=str) _PT = TypeVar("_PT", None, int, float, Decimal, datetime.datetime, datetime.date, datetime.time) @overload def smart_text(s: _P, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> _P: ... @overload def smart_text(s: _PT, encoding: str = ..., strings_only: Literal[True] = ..., errors: str = ...) -> _PT: ... @overload def smart_text(s: _S, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> _S: ... @overload def smart_text(s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> str: ... def is_protected_type(obj: Any) -> bool: ... @overload def force_text(s: _PT, encoding: str = ..., strings_only: Literal[True] = ..., errors: str = ...) -> _PT: ... @overload def force_text(s: _S, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> _S: ... @overload def force_text(s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> str: ... @overload def smart_bytes(s: _P, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> _P: ... @overload def smart_bytes(s: _PT, encoding: str = ..., strings_only: Literal[True] = ..., errors: str = ...) -> _PT: ... @overload def smart_bytes(s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> bytes: ... @overload def force_bytes(s: _PT, encoding: str = ..., strings_only: Literal[True] = ..., errors: str = ...) -> _PT: ... @overload def force_bytes(s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ...) -> bytes: ... smart_str = smart_text force_str = force_text @overload def iri_to_uri(iri: None) -> None: ... @overload def iri_to_uri(iri: Union[str, Promise]) -> str: ... @overload def uri_to_iri(iri: None) -> None: ... @overload def uri_to_iri(iri: str) -> str: ... def escape_uri_path(path: str) -> str: ... def repercent_broken_unicode(path: bytes) -> bytes: ... @overload def filepath_to_uri(path: None) -> None: ... @overload def filepath_to_uri(path: str) -> str: ... def get_system_encoding() -> str: ... DEFAULT_LOCALE_ENCODING: Any
2,416
Python
.py
54
43.5
110
0.623674
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,606
lorem_ipsum.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/lorem_ipsum.pyi
from typing import Any, List COMMON_P: str WORDS: Any COMMON_WORDS: Any def sentence() -> str: ... def paragraph() -> str: ... def paragraphs(count: int, common: bool = ...) -> List[str]: ... def words(count: int, common: bool = ...) -> str: ...
248
Python
.py
8
29.75
64
0.634454
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,607
dateparse.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/dateparse.pyi
from datetime import date, datetime, time, timedelta from typing import Any, Optional date_re: Any time_re: Any datetime_re: Any standard_duration_re: Any iso8601_duration_re: Any postgres_interval_re: Any def parse_date(value: str) -> Optional[date]: ... def parse_time(value: str) -> Optional[time]: ... def parse_datetime(value: str) -> Optional[datetime]: ... def parse_duration(value: str) -> Optional[timedelta]: ...
425
Python
.py
12
34.25
58
0.749392
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,608
jslex.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/jslex.pyi
from typing import Any, Dict, Iterator, List, Optional, Tuple class Tok: num: int = ... id: int = ... name: str = ... regex: str = ... next: Optional[str] = ... def __init__(self, name: str, regex: str, next: Optional[str] = ...) -> None: ... def literals(choices: str, prefix: str = ..., suffix: str = ...) -> str: ... class Lexer: regexes: Any = ... toks: Any = ... state: Any = ... def __init__(self, states: Dict[str, List[Tok]], first: str) -> None: ... def lex(self, text: str) -> Iterator[Tuple[str, str]]: ... class JsLexer(Lexer): both_before: Any = ... both_after: Any = ... states: Any = ... def __init__(self) -> None: ... def prepare_js_for_gettext(js: str) -> str: ...
748
Python
.py
21
31.52381
85
0.545706
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,609
baseconv.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/baseconv.pyi
from typing import Any, Tuple, Union BASE2_ALPHABET: str BASE16_ALPHABET: str BASE56_ALPHABET: str BASE36_ALPHABET: str BASE62_ALPHABET: str BASE64_ALPHABET: Any class BaseConverter: decimal_digits: str = ... sign: str = ... digits: str = ... def __init__(self, digits: str, sign: str = ...) -> None: ... def encode(self, i: int) -> str: ... def decode(self, s: str) -> int: ... def convert(self, number: Union[int, str], from_digits: str, to_digits: str, sign: str) -> Tuple[int, str]: ... base2: Any base16: Any base36: Any base56: Any base62: Any base64: Any
593
Python
.py
21
25.761905
115
0.662566
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,610
html.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/html.pyi
from html.parser import HTMLParser from typing import Any, Iterator, List, Optional, Tuple, Union from django.utils.safestring import SafeText TRAILING_PUNCTUATION_CHARS: str WRAPPING_PUNCTUATION: Any DOTS: Any unencoded_ampersands_re: Any word_split_re: Any simple_url_re: Any simple_url_2_re: Any def escape(text: Any) -> SafeText: ... def escapejs(value: Any) -> SafeText: ... def json_script(value: Any, element_id: str) -> SafeText: ... def conditional_escape(text: Any) -> str: ... def format_html(format_string: str, *args: Any, **kwargs: Any) -> SafeText: ... def format_html_join( sep: str, format_string: str, args_generator: Union[Iterator[Any], List[Tuple[str]]] ) -> SafeText: ... def linebreaks(value: Any, autoescape: bool = ...) -> str: ... class MLStripper(HTMLParser): fed: Any = ... def __init__(self) -> None: ... def handle_data(self, d: str) -> None: ... def handle_entityref(self, name: str) -> None: ... def handle_charref(self, name: str) -> None: ... def get_data(self) -> str: ... def strip_tags(value: str) -> str: ... def strip_spaces_between_tags(value: str) -> str: ... def smart_urlquote(url: str) -> str: ... def urlize(text: str, trim_url_limit: Optional[int] = ..., nofollow: bool = ..., autoescape: bool = ...) -> str: ... def avoid_wrapping(value: str) -> str: ... def html_safe(klass: Any): ...
1,366
Python
.py
32
40.65625
116
0.669676
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,611
tree.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/tree.pyi
from typing import Any, Dict, Iterable, Optional, Tuple, Union, Sequence, List from django.db.models.sql.where import NothingNode _NodeChildren = Iterable[Union["Node", NothingNode, Sequence[Any]]] class Node: children: List[Any] default: Any = ... connector: str = ... negated: bool = ... def __init__( self, children: Optional[_NodeChildren] = ..., connector: Optional[str] = ..., negated: bool = ... ) -> None: ... def __deepcopy__(self, memodict: Dict[Any, Any]) -> Node: ... def __len__(self) -> int: ... def __bool__(self) -> bool: ... def __contains__(self, other: Tuple[str, int]) -> bool: ... def __hash__(self) -> int: ... def add(self, data: Any, conn_type: str, squash: bool = ...) -> Any: ... def negate(self) -> None: ...
799
Python
.py
18
39.888889
106
0.588689
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,612
feedgenerator.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/feedgenerator.pyi
from datetime import date, datetime from typing import Any, Dict, List, Optional, Tuple, Union from xml.sax import ContentHandler # type: ignore def rfc2822_date(date: date) -> str: ... def rfc3339_date(date: date) -> str: ... def get_tag_uri(url: str, date: Optional[date]) -> str: ... class SyndicationFeed: feed: Dict[str, Any] = ... items: List[Dict[str, Any]] = ... def __init__( self, title: str, link: str, description: Optional[str], language: Optional[str] = ..., author_email: Optional[str] = ..., author_name: Optional[str] = ..., author_link: Optional[str] = ..., subtitle: Optional[str] = ..., categories: Optional[Tuple[str, str]] = ..., feed_url: Optional[str] = ..., feed_copyright: Optional[str] = ..., feed_guid: Optional[str] = ..., ttl: Optional[int] = ..., **kwargs: Any ) -> None: ... def add_item( self, title: str, link: str, description: str, author_email: Optional[str] = ..., author_name: Optional[str] = ..., author_link: Optional[str] = ..., pubdate: Optional[datetime] = ..., comments: None = ..., unique_id: Optional[str] = ..., unique_id_is_permalink: Optional[bool] = ..., categories: Optional[Tuple] = ..., item_copyright: Optional[str] = ..., ttl: None = ..., updateddate: Optional[datetime] = ..., enclosures: Optional[List[Enclosure]] = ..., **kwargs: Any ) -> None: ... def num_items(self): ... def root_attributes(self) -> Dict[Any, Any]: ... def add_root_elements(self, handler: ContentHandler) -> None: ... def item_attributes(self, item: Dict[str, Any]) -> Dict[Any, Any]: ... def add_item_elements(self, handler: ContentHandler, item: Dict[str, Any]) -> None: ... def write(self, outfile: Any, encoding: Any) -> None: ... def writeString(self, encoding: str) -> str: ... def latest_post_date(self) -> datetime: ... class Enclosure: length: Any mime_type: str url: str = ... def __init__(self, url: str, length: Union[int, str], mime_type: str) -> None: ... class RssFeed(SyndicationFeed): content_type: str = ... def write_items(self, handler: ContentHandler) -> None: ... def endChannelElement(self, handler: ContentHandler) -> None: ... class RssUserland091Feed(RssFeed): ... class Rss201rev2Feed(RssFeed): ... class Atom1Feed(SyndicationFeed): content_type: str = ... ns: str = ... def write_items(self, handler: ContentHandler) -> None: ... DefaultFeed = Rss201rev2Feed
2,677
Python
.py
69
32.594203
91
0.587466
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,613
text.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/text.pyi
from typing import Any, Iterable, Iterator, List, Optional, Union from django.db.models.base import Model from django.utils.functional import SimpleLazyObject from django.utils.safestring import SafeText def capfirst(x: Optional[str]) -> Optional[str]: ... re_words: Any re_chars: Any re_tag: Any re_newlines: Any re_camel_case: Any def wrap(text: str, width: int) -> str: ... class Truncator(SimpleLazyObject): def __init__(self, text: Union[Model, str]) -> None: ... def add_truncation_text(self, text: str, truncate: Optional[str] = ...) -> str: ... def chars(self, num: int, truncate: Optional[str] = ..., html: bool = ...) -> str: ... def words(self, num: int, truncate: Optional[str] = ..., html: bool = ...) -> str: ... def get_valid_filename(s: str) -> str: ... def get_text_list(list_: List[str], last_word: str = ...) -> str: ... def normalize_newlines(text: str) -> str: ... def phone2numeric(phone: str) -> str: ... def compress_string(s: bytes) -> bytes: ... class StreamingBuffer: vals: List[bytes] = ... def __init__(self) -> None: ... def write(self, val: bytes) -> None: ... def read(self) -> bytes: ... def flush(self): ... def close(self): ... def compress_sequence(sequence: Iterable[bytes]) -> Iterator[bytes]: ... smart_split_re: Any def smart_split(text: str) -> Iterator[str]: ... def unescape_entities(text: str) -> str: ... def unescape_string_literal(s: str) -> str: ... def slugify(value: str, allow_unicode: bool = ...) -> SafeText: ... def camel_case_to_spaces(value: str) -> str: ... format_lazy: Any
1,583
Python
.py
36
41.555556
90
0.652995
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,614
six.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/six.pyi
from __future__ import print_function import types import typing import unittest from typing import ( Any, AnyStr, Callable, Dict, ItemsView, Iterable, KeysView, Mapping, NoReturn, Optional, Pattern, Text, Tuple, Type, TypeVar, Union, ValuesView, overload, ) # Exports _T = TypeVar("_T") _K = TypeVar("_K") _V = TypeVar("_V") # TODO make constant, then move this stub to 2and3 # https://github.com/python/typeshed/issues/17 PY2 = False PY3 = True PY34 = ... # type: bool string_types = (str,) integer_types = (int,) class_types = (type,) text_type = str binary_type = bytes MAXSIZE = ... # type: int # def add_move # def remove_move def callable(obj: object) -> bool: ... def get_unbound_function(unbound: types.FunctionType) -> types.FunctionType: ... def create_bound_method(func: types.FunctionType, obj: object) -> types.MethodType: ... def create_unbound_method(func: types.FunctionType, cls: type) -> types.FunctionType: ... Iterator = object def get_method_function(meth: types.MethodType) -> types.FunctionType: ... def get_method_self(meth: types.MethodType) -> Optional[object]: ... def get_function_closure(fun: types.FunctionType) -> Optional[Tuple[types._Cell, ...]]: ... def get_function_code(fun: types.FunctionType) -> types.CodeType: ... def get_function_defaults(fun: types.FunctionType) -> Optional[Tuple[Any, ...]]: ... def get_function_globals(fun: types.FunctionType) -> Dict[str, Any]: ... def iterkeys(d: Mapping[_K, _V]) -> typing.Iterator[_K]: ... def itervalues(d: Mapping[_K, _V]) -> typing.Iterator[_V]: ... def iteritems(d: Mapping[_K, _V]) -> typing.Iterator[Tuple[_K, _V]]: ... # def iterlists def viewkeys(d: Mapping[_K, _V]) -> KeysView[_K]: ... def viewvalues(d: Mapping[_K, _V]) -> ValuesView[_V]: ... def viewitems(d: Mapping[_K, _V]) -> ItemsView[_K, _V]: ... def b(s: str) -> binary_type: ... def u(s: str) -> text_type: ... unichr = chr def int2byte(i: int) -> bytes: ... def byte2int(bs: binary_type) -> int: ... def indexbytes(buf: binary_type, i: int) -> int: ... def iterbytes(buf: binary_type) -> typing.Iterator[int]: ... def assertCountEqual( self: unittest.TestCase, first: Iterable[_T], second: Iterable[_T], msg: Optional[str] = ... ) -> None: ... @overload def assertRaisesRegex(self: unittest.TestCase, msg: Optional[str] = ...) -> Any: ... @overload def assertRaisesRegex(self: unittest.TestCase, callable_obj: Callable[..., Any], *args: Any, **kwargs: Any) -> Any: ... def assertRegex( self: unittest.TestCase, text: AnyStr, expected_regex: Union[AnyStr, Pattern[AnyStr]], msg: Optional[str] = ... ) -> None: ... exec_ = exec def reraise( tp: Optional[Type[BaseException]], value: Optional[BaseException], tb: Optional[types.TracebackType] = ... ) -> NoReturn: ... def raise_from(value: Union[BaseException, Type[BaseException]], from_value: Optional[BaseException]) -> NoReturn: ... print_ = print def with_metaclass(meta: type, *bases: type) -> type: ... def add_metaclass(metaclass: type) -> Callable[[_T], _T]: ... def ensure_binary(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> bytes: ... def ensure_str(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> str: ... def ensure_text(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> Text: ... def python_2_unicode_compatible(klass: _T) -> _T: ...
3,408
Python
.py
88
36.568182
119
0.667777
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,615
decorators.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/decorators.pyi
from typing import Any, Callable, Iterable, Optional, Type, Union, TypeVar from django.utils.deprecation import MiddlewareMixin from django.views.generic.base import View _T = TypeVar("_T", bound=Union[View, Callable]) # Any callable class classonlymethod(classmethod): ... def method_decorator(decorator: Union[Callable, Iterable[Callable]], name: str = ...) -> Callable[[_T], _T]: ... def decorator_from_middleware_with_args(middleware_class: type) -> Callable: ... def decorator_from_middleware(middleware_class: type) -> Callable: ... def available_attrs(fn: Callable): ... def make_middleware_decorator(middleware_class: Type[MiddlewareMixin]) -> Callable: ... class classproperty: fget: Optional[Callable] = ... def __init__(self, method: Optional[Callable] = ...) -> None: ... def __get__(self, instance: Any, cls: Optional[type] = ...) -> Any: ... def getter(self, method: Callable) -> classproperty: ...
935
Python
.py
15
59.933333
112
0.711475
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,616
topological_sort.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/topological_sort.pyi
from typing import Any, Dict, Iterator, Set, Container, List class CyclicDependencyError(ValueError): ... def topological_sort_as_sets(dependency_graph: Dict[Any, Any]) -> Iterator[Set[Any]]: ... def stable_topological_sort(l: Container[Any], dependency_graph: Dict[Any, Any]) -> List[Any]: ...
297
Python
.py
4
72.75
98
0.738832
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,617
log.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/log.pyi
import logging.config from logging import LogRecord from typing import Any, Callable, Dict, Optional, Union from django.core.management.color import Style request_logger: Any DEFAULT_LOGGING: Any def configure_logging(logging_config: str, logging_settings: Dict[str, Any]) -> None: ... class AdminEmailHandler(logging.Handler): include_html: bool = ... email_backend: Optional[str] = ... def __init__(self, include_html: bool = ..., email_backend: Optional[str] = ...) -> None: ... def send_mail(self, subject: str, message: str, *args: Any, **kwargs: Any) -> None: ... def connection(self) -> Any: ... def format_subject(self, subject: str) -> str: ... class CallbackFilter(logging.Filter): callback: Callable = ... def __init__(self, callback: Callable) -> None: ... def filter(self, record: Union[str, LogRecord]) -> bool: ... class RequireDebugFalse(logging.Filter): def filter(self, record: Union[str, LogRecord]) -> bool: ... class RequireDebugTrue(logging.Filter): def filter(self, record: Union[str, LogRecord]) -> bool: ... class ServerFormatter(logging.Formatter): datefmt: None style: Style = ... def __init__(self, *args: Any, **kwargs: Any) -> None: ... def uses_server_time(self) -> bool: ... def log_response( message: str, *args: Any, response: Optional[Any] = ..., request: Optional[Any] = ..., logger: Any = ..., level: Optional[Any] = ..., exc_info: Optional[Any] = ... ) -> None: ...
1,501
Python
.py
36
38
97
0.65728
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,618
dates.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/dates.pyi
from typing import Dict WEEKDAYS: Dict[int, str] WEEKDAYS_ABBR: Dict[int, str] MONTHS: Dict[int, str] MONTHS_3: Dict[int, str] MONTHS_AP: Dict[int, str] MONTHS_ALT: Dict[int, str]
181
Python
.py
7
24.714286
29
0.751445
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,619
autoreload.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/autoreload.pyi
import threading import types from pathlib import Path from typing import Any, Callable, List, Optional, Set, Dict, Union, Iterator, Tuple, Iterable from django.apps.registry import Apps USE_INOTIFY: bool fd: Any RUN_RELOADER: bool FILE_MODIFIED: int I18N_MODIFIED: int def gen_filenames(only_new: bool = ...) -> List[str]: ... def clean_files(filelist: List[Optional[str]]) -> List[str]: ... def reset_translations() -> None: ... def inotify_code_changed(): ... def code_changed(): ... def check_errors(fn: Callable) -> Callable: ... def raise_last_exception() -> None: ... def ensure_echo_on() -> None: ... def reloader_thread() -> None: ... def restart_with_reloader() -> int: ... def python_reloader(main_func: Any, args: Any, kwargs: Any) -> None: ... def main(main_func: Any, args: Optional[Any] = ..., kwargs: Optional[Any] = ...) -> None: ... def iter_all_python_module_files() -> Set[Path]: ... def iter_modules_and_files( modules: Iterable[types.ModuleType], extra_files: Iterable[Union[str, Path]] ) -> Set[Path]: ... def common_roots(paths: Iterable[Path]) -> Iterator[Path]: ... def sys_path_directories() -> Iterator[Path]: ... class BaseReloader: extra_files: Set[Path] directory_globs: Dict[Path, Set[str]] def __init__(self) -> None: ... def watch_dir(self, path: Union[str, Path], glob: str) -> None: ... def watch_file(self, path: Union[str, Path]) -> None: ... def watched_files(self, include_globs: bool = ...) -> Iterator[Path]: ... def wait_for_apps_ready(self, app_reg: Apps, django_main_thread: threading.Thread) -> bool: ... def run(self, django_main_thread: threading.Thread) -> None: ... def run_loop(self) -> None: ... def tick(self) -> Iterator[None]: ... @classmethod def check_availability(cls) -> bool: ... def notify_file_changed(self, path: Union[str, Path]) -> None: ... @property def should_stop(self) -> bool: ... def stop(self) -> None: ... class StatReloader(BaseReloader): SLEEP_TIME: int = ... def snapshot_files(self) -> Iterator[Tuple[Path, int]]: ... class WatchmanUnavailable(RuntimeError): ... class WatchmanReloader(BaseReloader): @property def client(self) -> Any: ... def watched_roots(self, watched_files: Iterable[Path]) -> Set[Path]: ... def update_watches(self) -> None: ... def request_processed(self, **kwargs: Any) -> None: ... def check_server_status(self, inner_ex: Optional[BaseException] = ...) -> bool: ... def get_reloader() -> BaseReloader: ... def start_django(reloader: BaseReloader, main_func: Callable, *args: Any, **kwargs: Any) -> None: ... def run_with_reloader(main_func: Callable, *args: Any, **kwargs: Any) -> None: ...
2,702
Python
.py
59
42.966102
101
0.662239
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,620
datetime_safe.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/datetime_safe.pyi
from datetime import date as real_date, datetime as real_datetime, time as real_time from typing import Union class date(real_date): ... class datetime(real_datetime): ... class time(real_time): ... def new_date(d: date) -> date: ... def new_datetime(d: date) -> datetime: ... def strftime(dt: Union[date, datetime], fmt: str) -> str: ...
341
Python
.py
8
41.375
84
0.703927
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,621
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/translation/__init__.pyi
import functools from contextlib import ContextDecorator from typing import Any, Optional, Callable from django.core.handlers.wsgi import WSGIRequest LANGUAGE_SESSION_KEY: str class TranslatorCommentWarning(SyntaxWarning): ... class Trans: activate: Callable check_for_language: functools._lru_cache_wrapper deactivate: Callable deactivate_all: Callable get_language: Callable get_language_bidi: Callable get_language_from_path: Callable get_language_from_request: Callable gettext: Callable gettext_noop: Callable ngettext: Callable npgettext: Callable pgettext: Callable def __getattr__(self, real_name: Any): ... def gettext_noop(message: str) -> str: ... ugettext_noop = gettext_noop def gettext(message: str) -> str: ... ugettext = gettext def ngettext(singular: str, plural: str, number: float) -> str: ... ungettext = ngettext def pgettext(context: str, message: str) -> str: ... def npgettext(context: str, singular: str, plural: str, number: int) -> str: ... gettext_lazy = gettext ugettext_lazy = ugettext pgettext_lazy = pgettext ngettext_lazy = ngettext ungettext_lazy = ungettext npgettext_lazy = npgettext def activate(language: str) -> None: ... def deactivate() -> None: ... class override(ContextDecorator): language: Optional[str] = ... deactivate: bool = ... def __init__(self, language: Optional[str], deactivate: bool = ...) -> None: ... old_language: Optional[str] = ... def __enter__(self) -> None: ... def __exit__(self, exc_type: None, exc_value: None, traceback: None) -> None: ... def get_language() -> Optional[str]: ... def get_language_from_path(path: str) -> Optional[str]: ... def get_language_bidi() -> bool: ... def check_for_language(lang_code: Optional[str]) -> bool: ... def to_language(locale: str) -> str: ... def to_locale(language: str) -> str: ... def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ... def templatize(src: str, **kwargs: Any) -> str: ... def deactivate_all() -> None: ... def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ... def get_language_info(lang_code: str) -> Any: ... from . import trans_real as trans_real
2,232
Python
.py
56
37.142857
87
0.699537
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,622
template.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/translation/template.pyi
from typing import Any dot_re: Any def blankout(src: str, char: str) -> str: ... context_re: Any inline_re: Any block_re: Any endblock_re: Any plural_re: Any constant_re: Any def templatize(src: str, origin: str = ...) -> str: ...
235
Python
.py
10
22.1
55
0.701357
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,623
reloader.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/translation/reloader.pyi
from pathlib import Path from typing import Any, Optional from django.utils.autoreload import BaseReloader def watch_for_translation_changes(sender: BaseReloader, **kwargs: Any) -> None: ... def translation_file_changed(sender: Optional[BaseReloader], file_path: Path, **kwargs: Any) -> bool: ...
299
Python
.py
5
58.4
105
0.777397
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,624
trans_real.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/translation/trans_real.pyi
import gettext as gettext_module from collections import OrderedDict from gettext import NullTranslations from typing import Any, List, Optional, Tuple, Callable from django.core.handlers.wsgi import WSGIRequest CONTEXT_SEPARATOR: str accept_language_re: Any language_code_re: Any language_code_prefix_re: Any def reset_cache(**kwargs: Any) -> None: ... class DjangoTranslation(gettext_module.GNUTranslations): domain: str = ... plural: Callable = ... def __init__(self, language: str, domain: Optional[str] = ..., localedirs: Optional[List[str]] = ...) -> None: ... def merge(self, other: NullTranslations) -> None: ... def language(self): ... def to_language(self) -> str: ... def translation(language: str) -> DjangoTranslation: ... def activate(language: str) -> None: ... def deactivate() -> None: ... def deactivate_all() -> None: ... def get_language() -> Optional[str]: ... def get_language_bidi() -> bool: ... def catalog(): ... def gettext(message: str) -> str: ... def pgettext(context: str, message: str) -> str: ... def gettext_noop(message: str) -> str: ... def do_ntranslate(singular: str, plural: str, number: float, translation_function: str) -> str: ... def ngettext(singular: str, plural: str, number: float) -> str: ... def npgettext(context: str, singular: str, plural: str, number: int) -> str: ... def all_locale_paths() -> List[str]: ... def check_for_language(lang_code: Optional[str]) -> bool: ... def get_languages() -> OrderedDict: ... def get_supported_language_variant(lang_code: Optional[str], strict: bool = ...) -> str: ... def get_language_from_path(path: str, strict: bool = ...) -> Optional[str]: ... def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ... def parse_accept_lang_header(lang_string: str) -> Tuple: ...
1,815
Python
.py
37
47.27027
118
0.686971
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,625
trans_null.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/utils/translation/trans_null.pyi
from typing import Any def gettext(message: Any): ... gettext_noop = gettext gettext_lazy = gettext _ = gettext def ngettext(singular: str, plural: str, number: int) -> str: ... ngettext_lazy = ngettext def pgettext(context: Any, message: Any): ... def npgettext(context: Any, singular: Any, plural: Any, number: Any): ... def activate(x: Any): ... def deactivate(): ... deactivate_all = deactivate def get_language(): ... def get_language_bidi() -> bool: ... def check_for_language(x: str) -> bool: ... def get_language_from_request(request: None, check_path: bool = ...) -> str: ... def get_language_from_path(request: str) -> None: ... def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ...
729
Python
.py
18
39.111111
82
0.68608
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,626
response.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/http/response.pyi
import datetime from io import BytesIO from json import JSONEncoder from typing import Any, Dict, Iterable, Iterator, List, Optional, Tuple, Type, Union, overload from django.core.handlers.wsgi import WSGIRequest from django.http.cookie import SimpleCookie from django.test.client import Client from django.template import Context, Template from django.urls import ResolverMatch class BadHeaderError(ValueError): ... class HttpResponseBase(Iterable[Any]): status_code: int = ... cookies: SimpleCookie = ... reason_phrase: str = ... charset: str = ... closed: bool = ... def __init__( self, content_type: Optional[str] = ..., status: Optional[int] = ..., reason: Optional[str] = ..., charset: Optional[str] = ..., ) -> None: ... def serialize_headers(self) -> bytes: ... def __setitem__(self, header: Union[str, bytes], value: Union[str, bytes, int]) -> None: ... def __delitem__(self, header: Union[str, bytes]) -> None: ... def __getitem__(self, header: Union[str, bytes]) -> str: ... def has_header(self, header: str) -> bool: ... def items(self) -> Iterable[Tuple[str, str]]: ... @overload def get(self, header: Union[str, bytes], alternate: Optional[str]) -> str: ... @overload def get(self, header: Union[str, bytes]) -> Optional[str]: ... def set_cookie( self, key: str, value: str = ..., max_age: Optional[int] = ..., expires: Optional[Union[str, datetime.datetime]] = ..., path: str = ..., domain: Optional[str] = ..., secure: bool = ..., httponly: bool = ..., samesite: str = ..., ) -> None: ... def setdefault(self, key: str, value: str) -> None: ... def set_signed_cookie(self, key: str, value: str, salt: str = ..., **kwargs: Any) -> None: ... def delete_cookie(self, key: str, path: str = ..., domain: Optional[str] = ...) -> None: ... def make_bytes(self, value: object) -> bytes: ... def close(self) -> None: ... def write(self, content: Union[str, bytes]) -> None: ... def flush(self) -> None: ... def tell(self) -> int: ... def readable(self) -> bool: ... def seekable(self) -> bool: ... def writable(self) -> bool: ... def writelines(self, lines: Iterable[object]): ... def __iter__(self) -> Iterator[Any]: ... class HttpResponse(HttpResponseBase): content: Any csrf_cookie_set: bool redirect_chain: List[Tuple[str, int]] sameorigin: bool test_server_port: str test_was_secure_request: bool xframe_options_exempt: bool streaming: bool = ... def __init__(self, content: object = ..., *args: Any, **kwargs: Any) -> None: ... def serialize(self) -> bytes: ... @property def url(self) -> str: ... # Attributes assigned by monkey-patching in test client ClientHandler.__call__() wsgi_request: WSGIRequest # Attributes assigned by monkey-patching in test client Client.request() client: Client request: Dict[str, Any] templates: List[Template] context: Context resolver_match: ResolverMatch def json(self) -> Any: ... class StreamingHttpResponse(HttpResponseBase): content: Any streaming_content: Iterator[Any] def __init__(self, streaming_content: Iterable[Any] = ..., *args: Any, **kwargs: Any) -> None: ... def getvalue(self) -> Any: ... class FileResponse(StreamingHttpResponse): client: Client context: None file_to_stream: Optional[BytesIO] request: Dict[str, str] resolver_match: ResolverMatch templates: List[Any] wsgi_request: WSGIRequest block_size: int = ... as_attachment: bool = ... filename: str = ... def __init__(self, *args: Any, as_attachment: bool = ..., filename: str = ..., **kwargs: Any) -> None: ... def set_headers(self, filelike: BytesIO) -> None: ... def json(self) -> Dict[str, Any]: ... class HttpResponseRedirectBase(HttpResponse): allowed_schemes: List[str] = ... def __init__(self, redirect_to: str, *args: Any, **kwargs: Any) -> None: ... class HttpResponseRedirect(HttpResponseRedirectBase): ... class HttpResponsePermanentRedirect(HttpResponseRedirectBase): ... class HttpResponseNotModified(HttpResponse): def __init__(self, *args: Any, **kwargs: Any) -> None: ... class HttpResponseBadRequest(HttpResponse): ... class HttpResponseNotFound(HttpResponse): ... class HttpResponseForbidden(HttpResponse): ... class HttpResponseNotAllowed(HttpResponse): def __init__(self, permitted_methods: Iterable[str], *args: Any, **kwargs: Any) -> None: ... class HttpResponseGone(HttpResponse): ... class HttpResponseServerError(HttpResponse): ... class Http404(Exception): ... class JsonResponse(HttpResponse): def __init__( self, data: Any, encoder: Type[JSONEncoder] = ..., safe: bool = ..., json_dumps_params: Optional[Dict[str, Any]] = ..., **kwargs: Any ) -> None: ...
4,994
Python
.py
123
35.650407
110
0.634754
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,627
cookie.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/http/cookie.pyi
from typing import Any, Dict SimpleCookie: Any def parse_cookie(cookie: str) -> Dict[str, str]: ...
102
Python
.py
3
32.333333
52
0.731959
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,628
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/http/__init__.pyi
from .request import ( HttpRequest as HttpRequest, QueryDict as QueryDict, RawPostDataException as RawPostDataException, UnreadablePostError as UnreadablePostError, ) from .response import ( BadHeaderError as BadHeaderError, FileResponse as FileResponse, Http404 as Http404, HttpResponse as HttpResponse, HttpResponseBadRequest as HttpResponseBadRequest, HttpResponseForbidden as HttpResponseForbidden, HttpResponseGone as HttpResponseGone, HttpResponseNotAllowed as HttpResponseNotAllowed, HttpResponseNotFound as HttpResponseNotFound, HttpResponseNotModified as HttpResponseNotModified, HttpResponsePermanentRedirect as HttpResponsePermanentRedirect, HttpResponseRedirect as HttpResponseRedirect, HttpResponseServerError as HttpResponseServerError, JsonResponse as JsonResponse, StreamingHttpResponse as StreamingHttpResponse, ) from .cookie import SimpleCookie as SimpleCookie, parse_cookie as parse_cookie
988
Python
.py
24
36.916667
78
0.836798
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,629
request.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/http/request.pyi
from io import BytesIO from typing import ( Any, BinaryIO, Dict, Iterable, List, Mapping, Optional, Pattern, Set, Tuple, Type, TypeVar, Union, overload, ) from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import AnonymousUser from django.contrib.sessions.backends.base import SessionBase from django.contrib.sites.models import Site from django.utils.datastructures import CaseInsensitiveMapping, ImmutableList, MultiValueDict from django.core.files import uploadedfile, uploadhandler from django.urls import ResolverMatch RAISE_ERROR: object = ... host_validation_re: Pattern = ... class UnreadablePostError(IOError): ... class RawPostDataException(Exception): ... UploadHandlerList = Union[List[uploadhandler.FileUploadHandler], ImmutableList[uploadhandler.FileUploadHandler]] class HttpHeaders(CaseInsensitiveMapping): HTTP_PREFIX: str = ... UNPREFIXED_HEADERS: Set[str] = ... def __init__(self, environ: Mapping[str, Any]) -> None: ... @classmethod def parse_header_name(cls, header: str) -> Optional[str]: ... class HttpRequest(BytesIO): GET: QueryDict = ... POST: QueryDict = ... COOKIES: Dict[str, str] = ... META: Dict[str, Any] = ... FILES: MultiValueDict[str, uploadedfile.UploadedFile] = ... path: str = ... path_info: str = ... method: Optional[str] = ... resolver_match: ResolverMatch = ... content_type: Optional[str] = ... content_params: Optional[Dict[str, str]] = ... user: Union[AbstractBaseUser, AnonymousUser] site: Site session: SessionBase encoding: Optional[str] = ... upload_handlers: UploadHandlerList = ... def __init__(self) -> None: ... def get_host(self) -> str: ... def get_port(self) -> str: ... def get_full_path(self, force_append_slash: bool = ...) -> str: ... def get_full_path_info(self, force_append_slash: bool = ...) -> str: ... def get_signed_cookie( self, key: str, default: Any = ..., salt: str = ..., max_age: Optional[int] = ... ) -> Optional[str]: ... def get_raw_uri(self) -> str: ... def build_absolute_uri(self, location: Optional[str] = ...) -> str: ... @property def scheme(self) -> Optional[str]: ... def is_secure(self) -> bool: ... def is_ajax(self) -> bool: ... def parse_file_upload( self, META: Mapping[str, Any], post_data: BinaryIO ) -> Tuple[QueryDict, MultiValueDict[str, uploadedfile.UploadedFile]]: ... @property def headers(self) -> HttpHeaders: ... @property def body(self) -> bytes: ... def _load_post_and_files(self) -> None: ... _Q = TypeVar("_Q", bound="QueryDict") class QueryDict(MultiValueDict[str, str]): encoding: str = ... _mutable: bool = ... def __init__( self, query_string: Optional[Union[str, bytes]] = ..., mutable: bool = ..., encoding: Optional[str] = ... ) -> None: ... def setlist(self, key: str, list_: List[str]) -> None: ... def setlistdefault(self, key: str, default_list: Optional[List[str]] = ...) -> List[str]: ... def appendlist(self, key: str, value: str) -> None: ... def urlencode(self, safe: Optional[str] = ...) -> str: ... @classmethod def fromkeys( cls: Type[_Q], iterable: Iterable[Union[bytes, str]], value: Any = ..., mutable: bool = ..., encoding: Optional[str] = ..., ) -> _Q: ... @overload def bytes_to_text(s: bytes, encoding: str) -> str: ... @overload def bytes_to_text(s: str, encoding: str) -> str: ... @overload def bytes_to_text(s: None, encoding: str) -> None: ... def split_domain_port(host: str) -> Tuple[str, str]: ... def validate_host(host: str, allowed_hosts: Iterable[str]) -> bool: ...
3,786
Python
.py
101
33.138614
113
0.639456
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,630
multipartparser.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/http/multipartparser.pyi
from io import BytesIO, StringIO from typing import Any, Dict, Iterator, List, Optional, Tuple, Union from django.http.request import QueryDict from django.utils.datastructures import ImmutableList, MultiValueDict class MultiPartParserError(Exception): ... class InputStreamExhausted(Exception): ... class MultiPartParser: def __init__( self, META: Dict[str, Any], input_data: Union[StringIO, BytesIO], upload_handlers: Union[List[Any], ImmutableList], encoding: Optional[str] = ..., ) -> None: ... def parse(self) -> Tuple[QueryDict, MultiValueDict]: ... def handle_file_complete(self, old_field_name: str, counters: List[int]) -> None: ... def IE_sanitize(self, filename: str) -> str: ... class LazyStream: length: None = ... position: int = ... def __init__(self, producer: Union[BoundaryIter, ChunkIter], length: None = ...) -> None: ... def tell(self): ... def read(self, size: Optional[int] = ...) -> bytes: ... def __next__(self) -> bytes: ... def close(self) -> None: ... def __iter__(self) -> LazyStream: ... def unget(self, bytes: bytes) -> None: ... class ChunkIter: flo: BytesIO = ... chunk_size: int = ... def __init__(self, flo: BytesIO, chunk_size: int = ...) -> None: ... def __next__(self) -> bytes: ... def __iter__(self): ... class InterBoundaryIter: def __init__(self, stream: LazyStream, boundary: bytes) -> None: ... def __iter__(self) -> InterBoundaryIter: ... def __next__(self) -> LazyStream: ... class BoundaryIter: def __init__(self, stream: LazyStream, boundary: bytes) -> None: ... def __iter__(self): ... def __next__(self) -> bytes: ... class Parser: def __init__(self, stream: LazyStream, boundary: bytes) -> None: ... def __iter__(self) -> Iterator[Tuple[str, Dict[str, Tuple[str, Dict[str, Union[bytes, str]]]], LazyStream]]: ... def parse_header(line: bytes) -> Tuple[str, Dict[str, Any]]: ...
1,986
Python
.py
45
39.644444
116
0.6206
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,631
csrf.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/csrf.pyi
from typing import Any, Callable, Dict, Optional, Tuple from django.http.request import HttpRequest from django.http.response import HttpResponseBase, HttpResponseForbidden from django.utils.deprecation import MiddlewareMixin logger: Any REASON_NO_REFERER: str REASON_BAD_REFERER: str REASON_NO_CSRF_COOKIE: str REASON_BAD_TOKEN: str REASON_MALFORMED_REFERER: str REASON_INSECURE_REFERER: str CSRF_SECRET_LENGTH: int CSRF_TOKEN_LENGTH: Any CSRF_ALLOWED_CHARS: Any CSRF_SESSION_KEY: str def get_token(request: HttpRequest) -> str: ... def rotate_token(request: HttpRequest) -> None: ... class CsrfViewMiddleware(MiddlewareMixin): def process_request(self, request: HttpRequest) -> None: ... def process_view( self, request: HttpRequest, callback: Optional[Callable], callback_args: Tuple, callback_kwargs: Dict[str, Any] ) -> Optional[HttpResponseForbidden]: ... def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ... def _compare_salted_tokens(request_csrf_token: str, csrf_token: str) -> bool: ... def _get_new_csrf_string() -> str: ... def _salt_cipher_secret(secret: str) -> str: ... def _unsalt_cipher_token(token: str) -> str: ... def _get_new_csrf_token() -> str: ...
1,250
Python
.py
28
42.607143
119
0.756779
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,632
gzip.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/gzip.pyi
from typing import Any from django.http.request import HttpRequest from django.http.response import HttpResponseBase from django.utils.deprecation import MiddlewareMixin re_accepts_gzip: Any class GZipMiddleware(MiddlewareMixin): def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ...
339
Python
.py
7
46.428571
105
0.844985
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,633
security.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/security.pyi
from typing import Any, List, Optional from django.http.request import HttpRequest from django.http.response import HttpResponse, HttpResponsePermanentRedirect from django.utils.deprecation import MiddlewareMixin class SecurityMiddleware(MiddlewareMixin): sts_seconds: int = ... sts_include_subdomains: bool = ... sts_preload: bool = ... content_type_nosniff: bool = ... xss_filter: bool = ... redirect: bool = ... redirect_host: Optional[str] = ... redirect_exempt: List[Any] = ... def process_request(self, request: HttpRequest) -> Optional[HttpResponsePermanentRedirect]: ... def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...
715
Python
.py
15
43.866667
99
0.734957
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,634
cache.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/cache.pyi
from typing import Any, Optional, Union, Callable from django.http.request import HttpRequest from django.http.response import HttpResponse, HttpResponseBase from django.utils.deprecation import MiddlewareMixin from django.core.cache import BaseCache class UpdateCacheMiddleware(MiddlewareMixin): cache_timeout: float = ... key_prefix: str = ... cache_alias: str = ... cache: BaseCache = ... def process_response( self, request: HttpRequest, response: Union[HttpResponseBase, str] ) -> Union[HttpResponseBase, str]: ... class FetchFromCacheMiddleware(MiddlewareMixin): key_prefix: str = ... cache_alias: str = ... cache: BaseCache = ... def process_request(self, request: HttpRequest) -> Optional[HttpResponse]: ... class CacheMiddleware(UpdateCacheMiddleware, FetchFromCacheMiddleware): key_prefix: str = ... cache_alias: str = ... cache_timeout: float = ... cache: BaseCache = ... def __init__( self, get_response: Optional[Callable] = ..., cache_timeout: Optional[float] = ..., **kwargs: Any ) -> None: ...
1,095
Python
.py
26
37.846154
105
0.702068
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,635
http.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/http.pyi
from django.http.request import HttpRequest from django.http.response import HttpResponseBase from django.utils.deprecation import MiddlewareMixin class ConditionalGetMiddleware(MiddlewareMixin): def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ... def needs_etag(self, response: HttpResponseBase) -> bool: ...
369
Python
.py
6
59
105
0.820442
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,636
clickjacking.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/clickjacking.pyi
from django.http.request import HttpRequest from django.http.response import HttpResponse from django.utils.deprecation import MiddlewareMixin class XFrameOptionsMiddleware(MiddlewareMixin): def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ... def get_xframe_options_value(self, request: HttpRequest, response: HttpResponse) -> str: ...
387
Python
.py
6
62
97
0.813158
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,637
locale.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/locale.pyi
from typing import Any from django.http.request import HttpRequest from django.http.response import HttpResponseBase from django.utils.deprecation import MiddlewareMixin class LocaleMiddleware(MiddlewareMixin): response_redirect_class: Any = ... def process_request(self, request: HttpRequest) -> None: ... def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ...
423
Python
.py
8
50.125
105
0.801453
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,638
common.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/middleware/common.pyi
from typing import Any, Optional from django.http.request import HttpRequest from django.http.response import HttpResponseBase, HttpResponsePermanentRedirect from django.utils.deprecation import MiddlewareMixin class CommonMiddleware(MiddlewareMixin): response_redirect_class: Any = ... def process_request(self, request: HttpRequest) -> Optional[HttpResponsePermanentRedirect]: ... def should_redirect_with_slash(self, request: HttpRequest) -> bool: ... def get_full_path_with_slash(self, request: HttpRequest) -> str: ... def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ... class BrokenLinkEmailsMiddleware(MiddlewareMixin): def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ... def is_internal_request(self, domain: str, referer: str) -> bool: ... def is_ignorable_request(self, request: HttpRequest, uri: str, domain: str, referer: str) -> bool: ...
987
Python
.py
14
67
106
0.769072
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,639
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/utils.pyi
from typing import Callable, Tuple, Union def get_callable(lookup_view: Union[Callable, str]) -> Callable: ... def get_mod_func(callback: str) -> Tuple[str, str]: ...
168
Python
.py
3
54.666667
68
0.713415
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,640
resolvers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/resolvers.pyi
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from django.urls.converters import UUIDConverter from django.utils.datastructures import MultiValueDict class ResolverMatch: func: Callable = ... args: Tuple = ... kwargs: Dict[str, Any] = ... url_name: Optional[str] = ... app_names: List[str] = ... app_name: str = ... namespaces: List[str] = ... namespace: str = ... view_name: str = ... route: str = ... def __init__( self, func: Callable, args: Tuple, kwargs: Dict[str, Any], url_name: Optional[str] = ..., app_names: Optional[List[Optional[str]]] = ..., namespaces: Optional[List[Optional[str]]] = ..., ) -> None: ... def __getitem__(self, index: int) -> Any: ... # for tuple unpacking def __iter__(self) -> Any: ... def get_resolver(urlconf: Optional[str] = ...) -> URLResolver: ... def get_ns_resolver(ns_pattern: str, resolver: URLResolver, converters: Tuple) -> URLResolver: ... class LocaleRegexDescriptor: attr: str = ... def __init__(self, attr: Any) -> None: ... def __get__(self, instance: Optional[RegexPattern], cls: Type[RegexPattern] = ...) -> LocaleRegexDescriptor: ... class CheckURLMixin: def describe(self) -> str: ... class RegexPattern(CheckURLMixin): regex: Any = ... name: Optional[str] = ... converters: Dict[Any, Any] = ... def __init__(self, regex: str, name: Optional[str] = ..., is_endpoint: bool = ...) -> None: ... def match(self, path: str) -> Optional[Tuple[str, Tuple, Dict[str, str]]]: ... def check(self) -> List[Warning]: ... class RoutePattern(CheckURLMixin): regex: Any = ... name: Optional[str] = ... converters: Dict[str, UUIDConverter] = ... def __init__(self, route: str, name: Optional[str] = ..., is_endpoint: bool = ...) -> None: ... def match(self, path: str) -> Optional[Tuple[str, Tuple, Dict[str, Union[int, str]]]]: ... def check(self) -> List[Warning]: ... class LocalePrefixPattern: prefix_default_language: bool = ... converters: Dict[Any, Any] = ... def __init__(self, prefix_default_language: bool = ...) -> None: ... @property def regex(self): ... @property def language_prefix(self) -> str: ... def match(self, path: str) -> Optional[Tuple[str, Tuple, Dict[str, Any]]]: ... def check(self) -> List[Any]: ... def describe(self) -> str: ... class URLPattern: lookup_str: str pattern: Any = ... callback: Callable = ... default_args: Optional[Dict[str, str]] = ... name: Optional[str] = ... def __init__( self, pattern: Any, callback: Callable, default_args: Optional[Dict[str, str]] = ..., name: Optional[str] = ... ) -> None: ... def check(self) -> List[Warning]: ... def resolve(self, path: str) -> Optional[ResolverMatch]: ... class URLResolver: url_patterns: List[Tuple[str, Callable]] urlconf_module: Optional[List[Tuple[str, Callable]]] pattern: Any = ... urlconf_name: Optional[str] = ... callback: None = ... default_kwargs: Dict[str, Any] = ... namespace: Optional[str] = ... app_name: Optional[str] = ... _local: Any _reverse_dict: MultiValueDict def __init__( self, pattern: Any, urlconf_name: Optional[str], default_kwargs: Optional[Dict[str, Any]] = ..., app_name: Optional[str] = ..., namespace: Optional[str] = ..., ) -> None: ... @property def reverse_dict(self) -> MultiValueDict: ... @property def namespace_dict(self) -> Dict[str, Tuple[str, URLResolver]]: ... @property def app_dict(self) -> Dict[str, List[str]]: ... def resolve(self, path: str) -> ResolverMatch: ... def resolve_error_handler(self, view_type: int) -> Tuple[Callable, Dict[str, Any]]: ... def reverse(self, lookup_view: str, *args: Any, **kwargs: Any) -> str: ... def _is_callback(self, name: str) -> bool: ... def _populate(self) -> None: ...
4,029
Python
.py
100
35.15
119
0.596581
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,641
converters.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/converters.pyi
from typing import Any, Dict, Type, Union from uuid import UUID class IntConverter: regex: str = ... def to_python(self, value: str) -> int: ... def to_url(self, value: Union[str, int]) -> str: ... class StringConverter: regex: str = ... def to_python(self, value: str) -> str: ... def to_url(self, value: str) -> str: ... class UUIDConverter: regex: str = ... def to_python(self, value: str) -> UUID: ... def to_url(self, value: Union[str, UUID]) -> str: ... class SlugConverter(StringConverter): ... class PathConverter(StringConverter): ... DEFAULT_CONVERTERS: Dict[str, Any] REGISTERED_CONVERTERS: Dict[str, Any] def register_converter(converter: Type[Any], type_name: str) -> None: ... def get_converters() -> Dict[str, Any]: ... def get_converter(raw_converter: str) -> Any: ...
827
Python
.py
21
36.380952
73
0.65875
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,642
conf.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/conf.pyi
from typing import Any, List, Optional, Tuple from .resolvers import URLResolver def include(arg: Any, namespace: Optional[str] = ...) -> Tuple[List[URLResolver], Optional[str], Optional[str]]: ... path: Any re_path: Any
224
Python
.py
5
43.2
116
0.740741
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,643
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/__init__.pyi
# noinspection PyUnresolvedReferences from .base import ( clear_script_prefix as clear_script_prefix, clear_url_caches as clear_url_caches, get_script_prefix as get_script_prefix, get_urlconf as get_urlconf, is_valid_path as is_valid_path, resolve as resolve, reverse as reverse, reverse_lazy as reverse_lazy, set_script_prefix as set_script_prefix, set_urlconf as set_urlconf, translate_url as translate_url, ) # noinspection PyUnresolvedReferences from .conf import include as include, path as path, re_path as re_path # noinspection PyUnresolvedReferences from .converters import register_converter as register_converter # noinspection PyUnresolvedReferences from .exceptions import NoReverseMatch as NoReverseMatch, Resolver404 as Resolver404 # noinspection PyUnresolvedReferences from .resolvers import ( LocalePrefixPattern as LocalePrefixPattern, ResolverMatch as ResolverMatch, URLPattern as URLPattern, URLResolver as URLResolver, get_ns_resolver as get_ns_resolver, get_resolver as get_resolver, ) # noinspection PyUnresolvedReferences from .utils import get_callable as get_callable, get_mod_func as get_mod_func
1,197
Python
.py
31
35.258065
84
0.799311
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,644
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/base.pyi
from typing import Any, Callable, Dict, Optional, Type, Union, Sequence from django.urls.resolvers import ResolverMatch def resolve(path: str, urlconf: Optional[str] = ...) -> ResolverMatch: ... def reverse( viewname: Optional[Union[Callable, str]], urlconf: Optional[str] = ..., args: Optional[Sequence[Any]] = ..., kwargs: Optional[Dict[str, Any]] = ..., current_app: Optional[str] = ..., ) -> str: ... reverse_lazy: Any def clear_url_caches() -> None: ... def set_script_prefix(prefix: str) -> None: ... def get_script_prefix() -> str: ... def clear_script_prefix() -> None: ... def set_urlconf(urlconf_name: Optional[Union[Type[Any], str]]) -> None: ... def get_urlconf(default: None = ...) -> Optional[Union[Type[Any], str]]: ... def is_valid_path(path: str, urlconf: Optional[str] = ...) -> bool: ... def translate_url(url: str, lang_code: str) -> str: ...
887
Python
.py
19
44.421053
76
0.652778
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,645
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/urls/exceptions.pyi
from django.http import Http404 class Resolver404(Http404): ... class NoReverseMatch(Exception): ...
102
Python
.py
3
32.666667
36
0.795918
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,646
config.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/apps/config.pyi
from typing import Any, Iterator, Type, Optional, Dict from django.apps.registry import Apps from django.db.models.base import Model MODELS_MODULE_NAME: str class AppConfig: name: str = ... module: Optional[Any] = ... apps: Optional[Apps] = ... label: str = ... verbose_name: str = ... path: str = ... models_module: Optional[str] = ... models: Dict[str, Type[Model]] = ... def __init__(self, app_name: str, app_module: Optional[Any]) -> None: ... @classmethod def create(cls, entry: str) -> AppConfig: ... def get_model(self, model_name: str, require_ready: bool = ...) -> Type[Model]: ... def get_models(self, include_auto_created: bool = ..., include_swapped: bool = ...) -> Iterator[Type[Model]]: ... def import_models(self) -> None: ... def ready(self) -> None: ...
834
Python
.py
20
37.55
117
0.621455
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,647
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/apps/__init__.pyi
from .config import AppConfig as AppConfig from .registry import apps as apps
79
Python
.py
2
38
42
0.842105
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,648
registry.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/apps/registry.pyi
import threading from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Type, Union from django.db.models.base import Model from .config import AppConfig class Apps: all_models: Dict[str, Dict[str, Type[Model]]] = ... app_configs: Dict[str, AppConfig] = ... stored_app_configs: List[Any] = ... apps_ready: bool = ... ready_event: threading.Event = ... loading: bool = ... _pending_operations: Dict[Tuple[str, str], List] models_ready: bool = ... ready: bool = ... def __init__(self, installed_apps: Optional[Iterable[Union[AppConfig, str]]] = ...) -> None: ... def populate(self, installed_apps: Iterable[Union[AppConfig, str]] = ...) -> None: ... def check_apps_ready(self) -> None: ... def check_models_ready(self) -> None: ... def get_app_configs(self) -> Iterable[AppConfig]: ... def get_app_config(self, app_label: str) -> AppConfig: ... # it's not possible to support it in plugin properly now def get_models(self, include_auto_created: bool = ..., include_swapped: bool = ...) -> List[Type[Model]]: ... def get_model(self, app_label: str, model_name: Optional[str] = ..., require_ready: bool = ...) -> Type[Any]: ... def register_model(self, app_label: str, model: Type[Model]) -> None: ... def is_installed(self, app_name: str) -> bool: ... def get_containing_app_config(self, object_name: str) -> Optional[AppConfig]: ... def get_registered_model(self, app_label: str, model_name: str) -> Type[Model]: ... def get_swappable_settings_name(self, to_string: str) -> Optional[str]: ... def set_available_apps(self, available: Iterable[str]) -> None: ... def unset_available_apps(self) -> None: ... def set_installed_apps(self, installed: Iterable[str]) -> None: ... def unset_installed_apps(self) -> None: ... def clear_cache(self) -> None: ... def lazy_model_operation(self, function: Callable, *model_keys: Any) -> None: ... def do_pending_operations(self, model: Type[Model]) -> None: ... apps: Apps
2,050
Python
.py
36
52.5
117
0.644776
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,649
formsets.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/formsets.pyi
from typing import Any, Dict, Mapping, Optional, Sequence, Sized from django.forms import Form TOTAL_FORM_COUNT: str = ... INITIAL_FORM_COUNT: str = ... MIN_NUM_FORM_COUNT: str = ... MAX_NUM_FORM_COUNT: str = ... ORDERING_FIELD_NAME: str = ... DELETION_FIELD_NAME: str = ... DEFAULT_MIN_NUM: int = ... DEFAULT_MAX_NUM: int = ... class ManagementForm(Form): cleaned_data: Dict[str, Optional[int]] class BaseFormSet(Sized, Mapping[str, Any]): is_bound: Any = ... prefix: Any = ... auto_id: Any = ... data: Any = ... files: Any = ... initial: Any = ... form_kwargs: Any = ... error_class: Any = ... def __init__( self, data: Optional[Any] = ..., files: Optional[Any] = ..., auto_id: str = ..., prefix: Optional[Any] = ..., initial: Optional[Any] = ..., error_class: Any = ..., form_kwargs: Optional[Any] = ..., ) -> None: ... def __iter__(self): ... def __getitem__(self, index: Any): ... def __len__(self): ... def __bool__(self): ... def management_form(self): ... def total_form_count(self): ... def initial_form_count(self): ... @property def forms(self): ... def get_form_kwargs(self, index: Any): ... @property def initial_forms(self): ... @property def extra_forms(self): ... @property def empty_form(self): ... @property def cleaned_data(self): ... @property def deleted_forms(self): ... @property def ordered_forms(self): ... @classmethod def get_default_prefix(cls): ... def non_form_errors(self): ... @property def errors(self): ... def total_error_count(self): ... def is_valid(self): ... def full_clean(self): ... def clean(self) -> None: ... def has_changed(self): ... def add_fields(self, form: Any, index: Any) -> None: ... def add_prefix(self, index: Any): ... def is_multipart(self): ... @property def media(self): ... def as_table(self): ... def as_p(self): ... def as_ul(self): ... def formset_factory( form: Any, formset: Any = ..., extra: int = ..., can_order: bool = ..., can_delete: bool = ..., max_num: Optional[Any] = ..., validate_max: bool = ..., min_num: Optional[Any] = ..., validate_min: bool = ..., ): ... def all_valid(formsets: Sequence[Any]) -> bool: ...
2,397
Python
.py
83
24.144578
64
0.558059
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,650
renderers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/renderers.pyi
from typing import Any, Dict from django.template.backends.base import BaseEngine from django.template import Template ROOT: Any def get_default_renderer() -> DjangoTemplates: ... class BaseRenderer: def get_template(self, template_name: str) -> Any: ... def render(self, template_name: str, context: Dict[str, Any], request: None = ...) -> str: ... class EngineMixin: def get_template(self, template_name: str) -> Any: ... def engine(self) -> BaseEngine: ... class DjangoTemplates(EngineMixin, BaseRenderer): backend: Any = ... class Jinja2(EngineMixin, BaseRenderer): backend: Any = ... class TemplatesSetting(BaseRenderer): def get_template(self, template_name: str) -> Template: ...
724
Python
.py
17
39.411765
98
0.719198
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,651
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/utils.pyi
from collections import UserList from datetime import datetime from typing import Any, Dict, List, Optional, Sequence, Union from django.core.exceptions import ValidationError from django.utils.safestring import SafeText def pretty_name(name: str) -> str: ... def flatatt(attrs: Dict[str, Any]) -> SafeText: ... class ErrorDict(dict): def as_data(self) -> Dict[str, List[ValidationError]]: ... def get_json_data(self, escape_html: bool = ...) -> Dict[str, Any]: ... def as_json(self, escape_html: bool = ...) -> str: ... def as_ul(self) -> str: ... def as_text(self) -> str: ... class ErrorList(UserList): data: List[Union[ValidationError, str]] error_class: str = ... def __init__( self, initlist: Optional[Union[ErrorList, Sequence[Union[str, Exception]]]] = ..., error_class: Optional[str] = ..., ) -> None: ... def as_data(self) -> List[ValidationError]: ... def get_json_data(self, escape_html: bool = ...) -> List[Dict[str, str]]: ... def as_json(self, escape_html: bool = ...) -> str: ... def as_ul(self) -> str: ... def as_text(self) -> str: ... def from_current_timezone(value: datetime) -> datetime: ... def to_current_timezone(value: datetime) -> datetime: ...
1,257
Python
.py
28
40.857143
84
0.638072
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,652
fields.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/fields.pyi
from datetime import datetime, timedelta from typing import Any, Callable, Iterable, List, Optional, Pattern, Sequence, Tuple, Type, Union from django.core.validators import BaseValidator from django.forms.boundfield import BoundField from django.forms.forms import BaseForm from django.forms.widgets import Widget _Choice = Tuple[Any, str] _ChoiceNamedGroup = Tuple[str, Iterable[_Choice]] _FieldChoices = Iterable[Union[_Choice, _ChoiceNamedGroup]] class Field: initial: Any label: Optional[str] required: bool widget: Type[Widget] = ... hidden_widget: Any = ... default_validators: Any = ... default_error_messages: Any = ... empty_values: Any = ... show_hidden_initial: bool = ... help_text: str = ... disabled: bool = ... label_suffix: Optional[Any] = ... localize: bool = ... error_messages: Any = ... validators: List[BaseValidator] = ... max_length: Optional[Union[int, str]] = ... choices: _FieldChoices = ... base_field: Field def __init__( self, *, required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def prepare_value(self, value: Any) -> Any: ... def to_python(self, value: Optional[Any]) -> Optional[Any]: ... def validate(self, value: Any) -> None: ... def run_validators(self, value: Any) -> None: ... def clean(self, value: Any) -> Any: ... def bound_data(self, data: Any, initial: Any) -> Any: ... def widget_attrs(self, widget: Widget) -> Any: ... def has_changed(self, initial: Any, data: Any) -> bool: ... def get_bound_field(self, form: BaseForm, field_name: str) -> BoundField: ... def deconstruct(self) -> Any: ... class CharField(Field): min_length: Optional[Union[int, str]] = ... strip: bool = ... empty_value: Optional[str] = ... def __init__( self, max_length: Optional[Any] = ..., min_length: Optional[Any] = ..., strip: bool = ..., empty_value: Optional[str] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class IntegerField(Field): max_value: Optional[Any] min_value: Optional[Any] re_decimal: Any = ... def __init__( self, max_value: Optional[Any] = ..., min_value: Optional[Any] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class FloatField(IntegerField): ... class DecimalField(IntegerField): decimal_places: Optional[int] max_digits: Optional[int] def __init__( self, *, max_value: Optional[Any] = ..., min_value: Optional[Any] = ..., max_digits: Optional[Any] = ..., decimal_places: Optional[Any] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class BaseTemporalField(Field): input_formats: Any = ... def __init__( self, input_formats: Optional[Any] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def strptime(self, value: Any, format: str) -> Any: ... class DateField(BaseTemporalField): ... class TimeField(BaseTemporalField): ... class DateTimeField(BaseTemporalField): ... class DurationField(Field): def prepare_value(self, value: Optional[Union[timedelta, str]]) -> Optional[str]: ... class RegexField(CharField): regex: str = ... def __init__( self, regex: Union[str, Pattern], max_length: Optional[Any] = ..., min_length: Optional[Any] = ..., strip: bool = ..., empty_value: Optional[str] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class EmailField(CharField): ... class FileField(Field): allow_empty_file: bool = ... def __init__( self, max_length: Optional[Any] = ..., allow_empty_file: bool = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def clean(self, data: Any, initial: Optional[Any] = ...): ... class ImageField(FileField): ... class URLField(CharField): ... class BooleanField(Field): ... class NullBooleanField(BooleanField): ... class CallableChoiceIterator: choices_func: Callable = ... def __init__(self, choices_func: Callable) -> None: ... def __iter__(self) -> None: ... class ChoiceField(Field): def __init__( self, choices: Union[_FieldChoices, Callable[[], _FieldChoices]] = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def valid_value(self, value: str) -> bool: ... class TypedChoiceField(ChoiceField): coerce: Union[Callable, Type[Any]] = ... empty_value: Optional[str] = ... def __init__( self, coerce: Any = ..., empty_value: Optional[str] = ..., choices: Any = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class MultipleChoiceField(ChoiceField): ... class TypedMultipleChoiceField(MultipleChoiceField): coerce: Union[Callable, Type[float]] = ... empty_value: Optional[List[Any]] = ... def __init__( self, coerce: Any = ..., empty_value: Optional[str] = ..., choices: Any = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class ComboField(Field): fields: Any = ... def __init__( self, fields: Sequence[Field], required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class MultiValueField(Field): require_all_fields: bool = ... fields: Any = ... def __init__( self, fields: Sequence[Field], require_all_fields: bool = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def compress(self, data_list: Any) -> Any: ... class FilePathField(ChoiceField): allow_files: bool allow_folders: bool match: Optional[str] path: str recursive: bool match_re: Any = ... def __init__( self, path: str, match: Optional[Any] = ..., recursive: bool = ..., allow_files: bool = ..., allow_folders: bool = ..., choices: Any = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class SplitDateTimeField(MultiValueField): def __init__( self, input_date_formats: Optional[Any] = ..., input_time_formats: Optional[Any] = ..., fields: Sequence[Field] = ..., require_all_fields: bool = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... def compress(self, data_list: List[Optional[datetime]]) -> Optional[datetime]: ... class GenericIPAddressField(CharField): unpack_ipv4: bool = ... def __init__( self, protocol: str = ..., unpack_ipv4: bool = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class SlugField(CharField): allow_unicode: bool = ... def __init__( self, allow_unicode: bool = ..., required: bool = ..., widget: Optional[Union[Widget, Type[Widget]]] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., error_messages: Optional[Any] = ..., show_hidden_initial: bool = ..., validators: Sequence[Any] = ..., localize: bool = ..., disabled: bool = ..., label_suffix: Optional[Any] = ..., ) -> None: ... class UUIDField(CharField): ...
13,037
Python
.py
368
28.214674
97
0.536107
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,653
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/__init__.pyi
from django.core.exceptions import ValidationError as ValidationError from .forms import Form as Form, BaseForm as BaseForm from .formsets import BaseFormSet as BaseFormSet, all_valid as all_valid, formset_factory as formset_factory from .models import ( ModelForm as ModelForm, ModelChoiceField as ModelChoiceField, ModelMultipleChoiceField as ModelMultipleChoiceField, model_to_dict as model_to_dict, BaseModelForm as BaseModelForm, BaseInlineFormSet as BaseInlineFormSet, BaseModelFormSet as BaseModelFormSet, fields_for_model as fields_for_model, inlineformset_factory as inlineformset_factory, modelform_factory as modelform_factory, InlineForeignKeyField as InlineForeignKeyField, ModelChoiceIterator as ModelChoiceIterator, ModelFormMetaclass as ModelFormMetaclass, ModelFormOptions as ModelFormOptions, modelformset_factory as modelformset_factory, ) from .widgets import ( Widget as Widget, ChoiceWidget as ChoiceWidget, NumberInput as NumberInput, Select as Select, CheckboxInput as CheckboxInput, CheckboxSelectMultiple as CheckboxSelectMultiple, Media as Media, MultiWidget as MultiWidget, TextInput as TextInput, Textarea as Textarea, Input as Input, ClearableFileInput as ClearableFileInput, DateInput as DateInput, DateTimeBaseInput as DateTimeBaseInput, DateTimeInput as DateTimeInput, EmailInput as EmailInput, FileInput as FileInput, HiddenInput as HiddenInput, MultipleHiddenInput as MultipleHiddenInput, NullBooleanSelect as NullBooleanSelect, PasswordInput as PasswordInput, RadioSelect as RadioSelect, SelectMultiple as SelectMultiple, TimeInput as TimeInput, URLInput as URLInput, SelectDateWidget as SelectDateWidget, SplitHiddenDateTimeWidget as SplitHiddenDateTimeWidget, SplitDateTimeWidget as SplitDateTimeWidget, ) from .fields import ( Field as Field, CharField as CharField, ChoiceField as ChoiceField, DurationField as DurationField, FileField as FileField, ImageField as ImageField, DateTimeField as DateTimeField, DateField as DateField, BooleanField as BooleanField, EmailField as EmailField, FloatField as FloatField, MultiValueField as MultiValueField, MultipleChoiceField as MultipleChoiceField, NullBooleanField as NullBooleanField, SplitDateTimeField as SplitDateTimeField, TimeField as TimeField, IntegerField as IntegerField, FilePathField as FilePathField, DecimalField as DecimalField, UUIDField as UUIDField, URLField as URLField, ComboField as ComboField, GenericIPAddressField as GenericIPAddressField, RegexField as RegexField, SlugField as SlugField, TypedChoiceField as TypedChoiceField, TypedMultipleChoiceField as TypedMultipleChoiceField, ) from .boundfield import BoundField as BoundField, BoundWidget as BoundWidget
2,957
Python
.py
80
32.3875
108
0.802508
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,654
models.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/models.pyi
from datetime import datetime from typing import ( Any, Callable, Dict, Iterator, List, Mapping, MutableMapping, Optional, Sequence, Tuple, Type, Union, ClassVar, Container, TypeVar, ) from unittest.mock import MagicMock from uuid import UUID from django.core.files.base import File from django.db.models.base import Model from django.db.models.manager import Manager from django.db.models.query import QuerySet, _BaseQuerySet from django.db.models.query_utils import Q from django.forms.fields import CharField, ChoiceField, Field from django.forms.forms import BaseForm, DeclarativeFieldsMetaclass from django.forms.formsets import BaseFormSet from django.forms.utils import ErrorList from django.forms.widgets import Input, Widget from typing_extensions import Literal from django.db import models from django.db.models import ForeignKey ALL_FIELDS: str _Fields = Union[List[Union[Callable, str]], Sequence[str], Literal["__all__"]] _Labels = Dict[str, str] _ErrorMessages = Dict[str, Dict[str, str]] _M = TypeVar("_M", bound=Model) def construct_instance( form: BaseForm, instance: _M, fields: Optional[Container[str]] = ..., exclude: Optional[Container[str]] = ... ) -> _M: ... def model_to_dict( instance: Model, fields: Optional[_Fields] = ..., exclude: Optional[_Fields] = ... ) -> Dict[str, Any]: ... def fields_for_model( model: Type[Model], fields: Optional[_Fields] = ..., exclude: Optional[_Fields] = ..., widgets: Optional[Union[Dict[str, Type[Input]], Dict[str, Widget]]] = ..., formfield_callback: Optional[Union[Callable, str]] = ..., localized_fields: Optional[Union[Tuple[str], str]] = ..., labels: Optional[_Labels] = ..., help_texts: Optional[Dict[str, str]] = ..., error_messages: Optional[_ErrorMessages] = ..., field_classes: Optional[Dict[str, Type[CharField]]] = ..., *, apply_limit_choices_to: bool = ... ) -> Dict[str, Any]: ... class ModelFormOptions: model: Optional[Type[Model]] = ... fields: Optional[_Fields] = ... exclude: Optional[_Fields] = ... widgets: Optional[Dict[str, Union[Widget, Input]]] = ... localized_fields: Optional[Union[Tuple[str], str]] = ... labels: Optional[_Labels] = ... help_texts: Optional[Dict[str, str]] = ... error_messages: Optional[_ErrorMessages] = ... field_classes: Optional[Dict[str, Type[Field]]] = ... def __init__(self, options: Optional[type] = ...) -> None: ... class ModelFormMetaclass(DeclarativeFieldsMetaclass): ... class BaseModelForm(BaseForm): instance: Any = ... def __init__( self, data: Optional[Mapping[str, Any]] = ..., files: Optional[Mapping[str, File]] = ..., auto_id: Union[bool, str] = ..., prefix: Optional[str] = ..., initial: Optional[Dict[str, Any]] = ..., error_class: Type[ErrorList] = ..., label_suffix: Optional[str] = ..., empty_permitted: bool = ..., instance: Optional[Model] = ..., use_required_attribute: Optional[bool] = ..., renderer: Any = ..., ) -> None: ... def validate_unique(self) -> None: ... save_m2m: Any = ... def save(self, commit: bool = ...) -> Any: ... class ModelForm(BaseModelForm, metaclass=ModelFormMetaclass): base_fields: ClassVar[Dict[str, Field]] = ... def modelform_factory( model: Type[Model], form: Type[ModelForm] = ..., fields: Optional[_Fields] = ..., exclude: Optional[_Fields] = ..., formfield_callback: Optional[Union[str, Callable[[models.Field], Field]]] = ..., widgets: Optional[MutableMapping[str, Widget]] = ..., localized_fields: Optional[Sequence[str]] = ..., labels: Optional[MutableMapping[str, str]] = ..., help_texts: Optional[MutableMapping[str, str]] = ..., error_messages: Optional[MutableMapping[str, Dict[str, Any]]] = ..., field_classes: Optional[MutableMapping[str, Type[Field]]] = ..., ) -> Type[ModelForm]: ... class BaseModelFormSet(BaseFormSet): model: Any = ... unique_fields: Any = ... queryset: Any = ... initial_extra: Any = ... def __init__( self, data: Optional[Any] = ..., files: Optional[Any] = ..., auto_id: str = ..., prefix: Optional[Any] = ..., queryset: Optional[Any] = ..., *, initial: Optional[Any] = ..., **kwargs: Any ) -> None: ... def initial_form_count(self): ... def get_queryset(self): ... def save_new(self, form: Any, commit: bool = ...): ... def save_existing(self, form: Any, instance: Any, commit: bool = ...): ... def delete_existing(self, obj: Any, commit: bool = ...) -> None: ... saved_forms: Any = ... save_m2m: Any = ... def save(self, commit: bool = ...): ... def clean(self) -> None: ... def validate_unique(self) -> None: ... def get_unique_error_message(self, unique_check: Any): ... def get_date_error_message(self, date_check: Any): ... def get_form_error(self): ... changed_objects: Any = ... deleted_objects: Any = ... def save_existing_objects(self, commit: bool = ...): ... new_objects: Any = ... def save_new_objects(self, commit: bool = ...): ... def add_fields(self, form: Any, index: Any): ... def modelformset_factory( model: Type[Model], form: Type[ModelForm] = ..., formfield_callback: Optional[Callable] = ..., formset: Type[BaseModelFormSet] = ..., extra: int = ..., can_delete: bool = ..., can_order: bool = ..., min_num: Optional[int] = ..., max_num: Optional[int] = ..., fields: Optional[_Fields] = ..., exclude: Optional[_Fields] = ..., widgets: Optional[Dict[str, Any]] = ..., validate_max: bool = ..., localized_fields: Optional[Sequence[str]] = ..., labels: Optional[Dict[str, str]] = ..., help_texts: Optional[Dict[str, str]] = ..., error_messages: Optional[Dict[str, Dict[str, str]]] = ..., validate_min: bool = ..., field_classes: Optional[Dict[str, Type[Field]]] = ..., ) -> Type[BaseModelFormSet]: ... class BaseInlineFormSet(BaseModelFormSet): instance: Any = ... save_as_new: Any = ... unique_fields: Any = ... def __init__( self, data: Optional[Any] = ..., files: Optional[Any] = ..., instance: Optional[Any] = ..., save_as_new: bool = ..., prefix: Optional[Any] = ..., queryset: Optional[Any] = ..., **kwargs: Any ) -> None: ... def initial_form_count(self): ... @classmethod def get_default_prefix(cls): ... def save_new(self, form: Any, commit: bool = ...): ... def add_fields(self, form: Any, index: Any) -> None: ... def get_unique_error_message(self, unique_check: Any): ... def inlineformset_factory( parent_model: Type[Model], model: Type[Model], form: Type[ModelForm] = ..., formset: Type[BaseInlineFormSet] = ..., fk_name: Optional[str] = ..., fields: Optional[_Fields] = ..., exclude: Optional[_Fields] = ..., extra: int = ..., can_order: bool = ..., can_delete: bool = ..., max_num: Optional[int] = ..., formfield_callback: Optional[Callable] = ..., widgets: Optional[Dict[str, Any]] = ..., validate_max: bool = ..., localized_fields: Optional[Sequence[str]] = ..., labels: Optional[Dict[str, str]] = ..., help_texts: Optional[Dict[str, str]] = ..., error_messages: Optional[Dict[str, Dict[str, str]]] = ..., min_num: Optional[int] = ..., validate_min: bool = ..., field_classes: Optional[Dict[str, Any]] = ..., ) -> Type[BaseInlineFormSet]: ... class InlineForeignKeyField(Field): disabled: bool help_text: str required: bool show_hidden_initial: bool widget: Any = ... default_error_messages: Any = ... parent_instance: Model = ... pk_field: bool = ... to_field: Optional[str] = ... def __init__( self, parent_instance: Model, *args: Any, pk_field: bool = ..., to_field: Optional[Any] = ..., **kwargs: Any ) -> None: ... class ModelChoiceIterator: field: ModelChoiceField = ... queryset: Optional[QuerySet] = ... def __init__(self, field: ModelChoiceField) -> None: ... def __iter__(self) -> Iterator[Tuple[Union[int, str], str]]: ... def __len__(self) -> int: ... def __bool__(self) -> bool: ... def choice(self, obj: Model) -> Tuple[int, str]: ... class ModelChoiceField(ChoiceField): disabled: bool error_messages: Dict[str, str] help_text: str required: bool show_hidden_initial: bool validators: List[Any] default_error_messages: Any = ... iterator: Any = ... empty_label: Optional[str] = ... queryset: Any = ... limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ... to_field_name: None = ... def __init__( self, queryset: Optional[Union[Manager, QuerySet]], *, empty_label: Optional[str] = ..., required: bool = ..., widget: Optional[Any] = ..., label: Optional[Any] = ..., initial: Optional[Any] = ..., help_text: str = ..., to_field_name: Optional[Any] = ..., limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ..., **kwargs: Any ) -> None: ... def get_limit_choices_to(self) -> Optional[Union[Dict[str, datetime], Q, MagicMock]]: ... def label_from_instance(self, obj: Model) -> str: ... choices: Any = ... def validate(self, value: Optional[Model]) -> None: ... def has_changed(self, initial: Optional[Union[Model, int, str, UUID]], data: Optional[Union[int, str]]) -> bool: ... class ModelMultipleChoiceField(ModelChoiceField): disabled: bool empty_label: None help_text: str required: bool show_hidden_initial: bool widget: Any = ... hidden_widget: Any = ... default_error_messages: Any = ... def __init__(self, queryset: _BaseQuerySet, **kwargs: Any) -> None: ... def _get_foreign_key( parent_model: Type[Model], model: Type[Model], fk_name: Optional[str] = ..., can_fail: bool = ... ) -> ForeignKey: ...
10,173
Python
.py
269
32.817844
120
0.606131
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,655
forms.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/forms.pyi
from typing import Any, Dict, Iterator, List, Mapping, Optional, Sequence, Type, Union from django.core.exceptions import ValidationError as ValidationError from django.core.files import uploadedfile from django.forms.boundfield import BoundField from django.forms.fields import Field from django.forms.renderers import BaseRenderer from django.forms.utils import ErrorDict, ErrorList from django.forms.widgets import Media, MediaDefiningClass from django.utils.datastructures import MultiValueDict from django.utils.safestring import SafeText class DeclarativeFieldsMetaclass(MediaDefiningClass): ... class BaseForm: class Meta: fields: Sequence[str] = ... default_renderer: Any = ... field_order: Any = ... use_required_attribute: bool = ... is_bound: bool = ... data: Dict[str, Any] = ... files: MultiValueDict[str, uploadedfile.UploadedFile] = ... auto_id: Union[bool, str] = ... initial: Dict[str, Any] = ... error_class: Type[ErrorList] = ... prefix: Optional[str] = ... label_suffix: str = ... empty_permitted: bool = ... fields: Dict[str, Any] = ... renderer: BaseRenderer = ... cleaned_data: Any = ... def __init__( self, data: Optional[Mapping[str, Any]] = ..., files: Optional[Mapping[str, Any]] = ..., auto_id: Optional[Union[bool, str]] = ..., prefix: Optional[str] = ..., initial: Optional[Mapping[str, Any]] = ..., error_class: Type[ErrorList] = ..., label_suffix: Optional[str] = ..., empty_permitted: bool = ..., field_order: Optional[Any] = ..., use_required_attribute: Optional[bool] = ..., renderer: Any = ..., ) -> None: ... def order_fields(self, field_order: Optional[List[str]]) -> None: ... def __iter__(self) -> Iterator[BoundField]: ... def __getitem__(self, name: str) -> BoundField: ... @property def errors(self) -> ErrorDict: ... def is_valid(self) -> bool: ... def add_prefix(self, field_name: str) -> str: ... def add_initial_prefix(self, field_name: str) -> str: ... def as_table(self) -> SafeText: ... def as_ul(self) -> SafeText: ... def as_p(self) -> SafeText: ... def non_field_errors(self) -> ErrorList: ... def add_error(self, field: Optional[str], error: Union[ValidationError, str]) -> None: ... def has_error(self, field: Any, code: Optional[Any] = ...): ... def full_clean(self) -> None: ... def clean(self) -> Dict[str, Any]: ... def has_changed(self) -> bool: ... @property def changed_data(self) -> List[str]: ... @property def media(self) -> Media: ... def is_multipart(self): ... def hidden_fields(self): ... def visible_fields(self): ... def get_initial_for_field(self, field: Field, field_name: str) -> Any: ... def _html_output( self, normal_row: str, error_row: str, row_ender: str, help_text_html: str, errors_on_separate_row: bool, ) -> SafeText: ... class Form(BaseForm): base_fields: Dict[str, Field] declared_fields: Dict[str, Field]
3,096
Python
.py
74
36.72973
113
0.63055
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,656
widgets.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/widgets.pyi
from decimal import Decimal from itertools import chain from typing import Any, Callable, Dict, Iterable, Iterator, List, Mapping, Optional, Sequence, Set, Tuple, Type, Union from django.core.files.base import File from django.forms.renderers import EngineMixin from django.utils.safestring import SafeText _OptAttrs = Dict[str, Any] class MediaOrderConflictWarning(RuntimeWarning): ... class Media: _js: str def __init__( self, media: Optional[type] = ..., css: Optional[Dict[str, Iterable[str]]] = ..., js: Optional[Iterable[str]] = ..., ) -> None: ... def render(self) -> str: ... def render_js(self) -> List[str]: ... def render_css(self) -> chain: ... def absolute_path(self, path: str) -> str: ... def __getitem__(self, name: str) -> Media: ... @staticmethod def merge(list_1: Iterable[Any], list_2: Iterable[Any]) -> Iterable[Any]: ... def __add__(self, other: Media) -> Media: ... class MediaDefiningClass(type): ... class Widget: needs_multipart_form: bool = ... is_localized: bool = ... is_required: bool = ... supports_microseconds: bool = ... attrs: _OptAttrs = ... def __init__(self, attrs: Optional[_OptAttrs] = ...) -> None: ... @property def is_hidden(self) -> bool: ... def subwidgets(self, name: str, value: Optional[List[str]], attrs: _OptAttrs = ...) -> Iterator[Dict[str, Any]]: ... def format_value(self, value: Any) -> Optional[str]: ... def get_context(self, name: str, value: Any, attrs: Optional[_OptAttrs]) -> Dict[str, Any]: ... def render( self, name: str, value: Any, attrs: Optional[_OptAttrs] = ..., renderer: Optional[EngineMixin] = ... ) -> SafeText: ... def build_attrs( self, base_attrs: _OptAttrs, extra_attrs: Optional[_OptAttrs] = ... ) -> Dict[str, Union[Decimal, float, str]]: ... def value_from_datadict(self, data: Dict[str, Any], files: Mapping[str, Iterable[Any]], name: str) -> Any: ... def value_omitted_from_data(self, data: Dict[str, Any], files: Mapping[str, Iterable[Any]], name: str) -> bool: ... def id_for_label(self, id_: str) -> str: ... def use_required_attribute(self, initial: Any) -> bool: ... class Input(Widget): input_type: str = ... template_name: str = ... class TextInput(Input): ... class NumberInput(Input): ... class EmailInput(Input): ... class URLInput(Input): ... class PasswordInput(Input): render_value: bool = ... def __init__(self, attrs: Optional[_OptAttrs] = ..., render_value: bool = ...): ... class HiddenInput(Input): choices: Iterable[Tuple[str, str]] class MultipleHiddenInput(HiddenInput): ... class FileInput(Input): ... class ClearableFileInput(FileInput): clear_checkbox_label: Any = ... initial_text: Any = ... input_text: Any = ... def clear_checkbox_name(self, name: str) -> str: ... def clear_checkbox_id(self, name: str) -> str: ... def is_initial(self, value: Optional[Union[File, str]]) -> bool: ... class Textarea(Widget): template_name: str = ... class DateTimeBaseInput(TextInput): format_key: str = ... format: Optional[str] = ... def __init__(self, attrs: Optional[_OptAttrs] = ..., format: Optional[str] = ...): ... class DateInput(DateTimeBaseInput): ... class DateTimeInput(DateTimeBaseInput): ... class TimeInput(DateTimeBaseInput): ... class CheckboxInput(Input): check_test: Callable = ... def __init__(self, attrs: Optional[_OptAttrs] = ..., check_test: Optional[Callable] = ...) -> None: ... class ChoiceWidget(Widget): allow_multiple_selected: bool = ... input_type: Optional[str] = ... template_name: Optional[str] = ... option_template_name: str = ... add_id_index: bool = ... checked_attribute: Any = ... option_inherits_attrs: bool = ... choices: List[List[Union[int, str]]] = ... def __init__(self, attrs: Optional[_OptAttrs] = ..., choices: Sequence[Tuple[Any, Any]] = ...) -> None: ... def options(self, name: str, value: List[str], attrs: Optional[_OptAttrs] = ...) -> None: ... def optgroups(self, name: str, value: List[str], attrs: Optional[_OptAttrs] = ...) -> Any: ... def create_option( self, name: str, value: Any, label: Union[int, str], selected: Union[Set[str], bool], index: int, subindex: Optional[int] = ..., attrs: Optional[_OptAttrs] = ..., ) -> Dict[str, Any]: ... def id_for_label(self, id_: str, index: str = ...) -> str: ... class Select(ChoiceWidget): ... class NullBooleanSelect(Select): ... class SelectMultiple(Select): allow_multiple_selected: bool = ... class RadioSelect(ChoiceWidget): can_add_related: bool class CheckboxSelectMultiple(ChoiceWidget): ... class MultiWidget(Widget): template_name: str = ... widgets: List[Widget] = ... def __init__(self, widgets: Sequence[Union[Widget, Type[Widget]]], attrs: Optional[_OptAttrs] = ...) -> None: ... def decompress(self, value: Any) -> Optional[Any]: ... media: Any = ... class SplitDateTimeWidget(MultiWidget): def __init__( self, attrs: Optional[_OptAttrs] = ..., date_format: Optional[str] = ..., time_format: Optional[str] = ..., date_attrs: Optional[Dict[str, str]] = ..., time_attrs: Optional[Dict[str, str]] = ..., ) -> None: ... class SplitHiddenDateTimeWidget(SplitDateTimeWidget): ... class SelectDateWidget(Widget): none_value: Any = ... month_field: str = ... day_field: str = ... year_field: str = ... template_name: str = ... input_type: str = ... select_widget: Any = ... date_re: Any = ... years: Any = ... months: Any = ... year_none_value: Any = ... month_none_value: Any = ... day_none_value: Any = ... def __init__( self, attrs: Optional[_OptAttrs] = ..., years: Optional[Iterable[Union[int, str]]] = ..., months: Optional[Dict[int, str]] = ..., empty_label: Optional[Union[str, Sequence[str]]] = ..., ) -> None: ...
6,094
Python
.py
147
36.612245
120
0.613306
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,657
boundfield.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/forms/boundfield.pyi
from typing import Any, Dict, List, Optional, Union from django.forms.fields import Field from django.forms.forms import BaseForm from django.forms.renderers import DjangoTemplates from django.forms.utils import ErrorList from django.forms.widgets import Widget from django.utils.safestring import SafeText class BoundField: initial: Any form: BaseForm = ... field: Field = ... name: str = ... html_name: str = ... html_initial_name: str = ... html_initial_id: str = ... label: str = ... help_text: str = ... def __init__(self, form: BaseForm, field: Field, name: str) -> None: ... def subwidgets(self) -> List[BoundWidget]: ... def __bool__(self) -> bool: ... def __iter__(self): ... def __len__(self) -> int: ... def __getitem__(self, idx: Union[int, slice, str]) -> Union[List[BoundWidget], BoundWidget]: ... @property def errors(self) -> ErrorList: ... def as_widget(self, widget: Optional[Widget] = ..., attrs: None = ..., only_initial: bool = ...) -> SafeText: ... def as_text(self, attrs: None = ..., **kwargs: Any) -> SafeText: ... def as_textarea(self, attrs: None = ..., **kwargs: Any) -> SafeText: ... def as_hidden(self, attrs: None = ..., **kwargs: Any) -> SafeText: ... @property def data(self) -> Any: ... def value(self) -> Any: ... def label_tag( self, contents: Optional[str] = ..., attrs: Optional[Dict[str, str]] = ..., label_suffix: Optional[str] = ... ) -> SafeText: ... def css_classes(self, extra_classes: None = ...) -> str: ... @property def is_hidden(self) -> bool: ... @property def auto_id(self) -> str: ... @property def id_for_label(self) -> str: ... def build_widget_attrs( self, attrs: Dict[str, str], widget: Optional[Widget] = ... ) -> Dict[str, Union[bool, str]]: ... class BoundWidget: parent_widget: Widget = ... data: Dict[str, Any] = ... renderer: DjangoTemplates = ... def __init__(self, parent_widget: Widget, data: Dict[str, Any], renderer: DjangoTemplates) -> None: ... def tag(self, wrap_label: bool = ...) -> SafeText: ... @property def template_name(self) -> str: ... @property def id_for_label(self) -> str: ... @property def choice_label(self) -> str: ...
2,308
Python
.py
57
35.929825
117
0.600979
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,658
views.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/syndication/views.pyi
from typing import Any, Dict, List from django.core.exceptions import ObjectDoesNotExist from django.core.handlers.wsgi import WSGIRequest from django.db.models.base import Model from django.http.response import HttpResponse from django.utils.feedgenerator import Enclosure, SyndicationFeed from django.utils.safestring import SafeText def add_domain(domain: str, url: str, secure: bool = ...) -> str: ... class FeedDoesNotExist(ObjectDoesNotExist): ... class Feed: feed_type: Any = ... title_template: Any = ... description_template: Any = ... def __call__(self, request: WSGIRequest, *args: Any, **kwargs: Any) -> HttpResponse: ... def item_title(self, item: Model) -> SafeText: ... def item_description(self, item: Model) -> str: ... def item_link(self, item: Model) -> str: ... def item_enclosures(self, item: Model) -> List[Enclosure]: ... def feed_extra_kwargs(self, obj: None) -> Dict[Any, Any]: ... def item_extra_kwargs(self, item: Model) -> Dict[Any, Any]: ... def get_object(self, request: WSGIRequest, *args: Any, **kwargs: Any) -> None: ... def get_context_data(self, **kwargs: Any) -> Dict[str, Any]: ... def get_feed(self, obj: None, request: WSGIRequest) -> SyndicationFeed: ...
1,251
Python
.py
23
50.956522
92
0.691993
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,659
middleware.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/redirects/middleware.pyi
from typing import Any from django.http.request import HttpRequest from django.http.response import HttpResponse from django.utils.deprecation import MiddlewareMixin class RedirectFallbackMiddleware(MiddlewareMixin): response_gone_class: Any = ... response_redirect_class: Any = ... def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...
391
Python
.py
8
46.125
97
0.80315
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,660
models.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/redirects/models.pyi
from django.db import models class Redirect(models.Model): site: models.ForeignKey = ... old_path: models.CharField = ... new_path: models.CharField = ...
168
Python
.py
5
30
36
0.691358
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,661
admin.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/admin.pyi
from typing import Any, List, Type from django.contrib.admin.options import InlineModelAdmin from django.db.models.base import Model class GenericInlineModelAdminChecks: def _check_exclude_of_parent_model(self, obj: GenericInlineModelAdmin, parent_model: Type[Model]) -> List[Any]: ... def _check_relation(self, obj: GenericInlineModelAdmin, parent_model: Type[Model]) -> List[Any]: ... class GenericInlineModelAdmin(InlineModelAdmin): template: str = ... class GenericStackedInline(GenericInlineModelAdmin): ... class GenericTabularInline(GenericInlineModelAdmin): ...
586
Python
.py
10
56
119
0.793706
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,662
fields.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/fields.pyi
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from django.contrib.contenttypes.models import ContentType from django.core.checks.messages import Error from django.db.models.base import Model from django.db.models.expressions import Combinable from django.db.models.fields.mixins import FieldCacheMixin from django.db.models.fields.related import ForeignObject from django.db.models.fields.related_descriptors import ReverseManyToOneDescriptor from django.db.models.fields.reverse_related import ForeignObjectRel from django.db.models.query import QuerySet from django.db.models.query_utils import FilteredRelation, PathInfo from django.db.models.sql.where import WhereNode from django.db.models.fields import Field, PositiveIntegerField class GenericForeignKey(FieldCacheMixin): # django-stubs implementation only fields _pyi_private_set_type: Union[Any, Combinable] _pyi_private_get_type: Any # attributes auto_created: bool = ... concrete: bool = ... editable: bool = ... hidden: bool = ... is_relation: bool = ... many_to_many: bool = ... many_to_one: bool = ... one_to_many: bool = ... one_to_one: bool = ... related_model: Any = ... remote_field: Any = ... ct_field: str = ... fk_field: str = ... for_concrete_model: bool = ... rel: None = ... column: None = ... def __init__(self, ct_field: str = ..., fk_field: str = ..., for_concrete_model: bool = ...) -> None: ... name: Any = ... model: Any = ... def contribute_to_class(self, cls: Type[Model], name: str, **kwargs: Any) -> None: ... def get_filter_kwargs_for_object(self, obj: Model) -> Dict[str, Optional[ContentType]]: ... def get_forward_related_filter(self, obj: Model) -> Dict[str, int]: ... def check(self, **kwargs: Any) -> List[Error]: ... def get_cache_name(self) -> str: ... def get_content_type( self, obj: Optional[Model] = ..., id: Optional[int] = ..., using: Optional[str] = ... ) -> ContentType: ... def get_prefetch_queryset( self, instances: Union[List[Model], QuerySet], queryset: Optional[QuerySet] = ... ) -> Tuple[List[Model], Callable, Callable, bool, str, bool]: ... def __get__(self, instance: Optional[Model], cls: Type[Model] = ...) -> Optional[Any]: ... def __set__(self, instance: Model, value: Optional[Any]) -> None: ... class GenericRel(ForeignObjectRel): field: GenericRelation def __init__( self, field: GenericRelation, to: Union[Type[Model], str], related_name: Optional[str] = ..., related_query_name: Optional[str] = ..., limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ..., ) -> None: ... class GenericRelation(ForeignObject): rel_class: Any = ... mti_inherited: bool = ... object_id_field_name: Any = ... content_type_field_name: Any = ... for_concrete_model: Any = ... to_fields: Any = ... def __init__( self, to: Union[Type[Model], str], object_id_field: str = ..., content_type_field: str = ..., for_concrete_model: bool = ..., related_query_name: Optional[str] = ..., limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ..., **kwargs: Any ) -> None: ... def resolve_related_fields(self) -> List[Tuple[PositiveIntegerField, Field]]: ... def get_path_info(self, filtered_relation: Optional[FilteredRelation] = ...) -> List[PathInfo]: ... def get_reverse_path_info(self, filtered_relation: None = ...) -> List[PathInfo]: ... def value_to_string(self, obj: Model) -> str: ... def get_content_type(self) -> ContentType: ... def get_extra_restriction( self, where_class: Type[WhereNode], alias: Optional[str], remote_alias: str ) -> WhereNode: ... def bulk_related_objects(self, objs: List[Model], using: str = ...) -> QuerySet: ... class ReverseGenericManyToOneDescriptor(ReverseManyToOneDescriptor): ... def create_generic_related_manager(superclass: Any, rel: Any): ...
4,097
Python
.py
88
41.522727
109
0.647426
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,663
models.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/models.pyi
from typing import Any, Dict, Optional, Tuple, Type, Union from django.db import models from django.db.models.base import Model from django.db.models.query import QuerySet class ContentTypeManager(models.Manager["ContentType"]): def get_by_natural_key(self, app_label: str, model: str) -> ContentType: ... def get_for_model(self, model: Union[Type[Model], Model], for_concrete_model: bool = ...) -> ContentType: ... def get_for_models(self, *models: Any, for_concrete_models: bool = ...) -> Dict[Type[Model], ContentType]: ... def get_for_id(self, id: int) -> ContentType: ... def clear_cache(self) -> None: ... class ContentType(models.Model): id: int app_label: models.CharField = ... model: models.CharField = ... objects: ContentTypeManager = ... @property def name(self) -> str: ... def model_class(self) -> Optional[Type[Model]]: ... def get_object_for_this_type(self, **kwargs: Any) -> Model: ... def get_all_objects_for_this_type(self, **kwargs: Any) -> QuerySet: ... def natural_key(self) -> Tuple[str, str]: ...
1,085
Python
.py
21
47.666667
114
0.668238
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,664
checks.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/checks.pyi
from typing import Any, List, Iterable, Optional from django.apps.config import AppConfig def check_generic_foreign_keys(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ... def check_model_name_lengths(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ...
318
Python
.py
4
78
113
0.724359
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,665
views.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/views.pyi
from typing import Union from django.http.request import HttpRequest from django.http.response import HttpResponseRedirect def shortcut( request: HttpRequest, content_type_id: Union[int, str], object_id: Union[int, str] ) -> HttpResponseRedirect: ...
257
Python
.py
6
40.833333
86
0.799197
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,666
forms.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/forms.pyi
from typing import Any, Optional from django.forms.models import BaseModelFormSet class BaseGenericInlineFormSet(BaseModelFormSet): instance: Any = ... rel_name: Any = ... save_as_new: Any = ... def __init__( self, data: Optional[Any] = ..., files: Optional[Any] = ..., instance: Optional[Any] = ..., save_as_new: bool = ..., prefix: Optional[Any] = ..., queryset: Optional[Any] = ..., **kwargs: Any ) -> None: ... def initial_form_count(self): ... @classmethod def get_default_prefix(cls): ... def save_new(self, form: Any, commit: bool = ...): ... def generic_inlineformset_factory( model: Any, form: Any = ..., formset: Any = ..., ct_field: str = ..., fk_field: str = ..., fields: Optional[Any] = ..., exclude: Optional[Any] = ..., extra: int = ..., can_order: bool = ..., can_delete: bool = ..., max_num: Optional[Any] = ..., formfield_callback: Optional[Any] = ..., validate_max: bool = ..., for_concrete_model: bool = ..., min_num: Optional[Any] = ..., validate_min: bool = ..., ): ...
1,159
Python
.py
38
25.105263
58
0.548301
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,667
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/management/__init__.pyi
from typing import Any, Dict, List, Optional, Tuple, Type from django.apps.config import AppConfig from django.apps.registry import Apps from django.contrib.contenttypes.models import ContentType from django.db import migrations from django.db.backends.sqlite3.schema import DatabaseSchemaEditor from django.db.migrations.migration import Migration from django.db.migrations.state import StateApps from django.db.models.base import Model class RenameContentType(migrations.RunPython): app_label: Any = ... old_model: Any = ... new_model: Any = ... def __init__(self, app_label: str, old_model: str, new_model: str) -> None: ... def rename_forward(self, apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: ... def rename_backward(self, apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: ... def inject_rename_contenttypes_operations( plan: List[Tuple[Migration, bool]] = ..., apps: StateApps = ..., using: str = ..., **kwargs: Any ) -> None: ... def get_contenttypes_and_models( app_config: AppConfig, using: str, ContentType: Type[ContentType] ) -> Tuple[Dict[str, ContentType], Dict[str, Type[Model]]]: ... def create_contenttypes( app_config: AppConfig, verbosity: int = ..., interactive: bool = ..., using: str = ..., apps: Apps = ..., **kwargs: Any ) -> None: ...
1,350
Python
.py
30
42.033333
100
0.715262
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,668
remove_stale_contenttypes.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/contenttypes/management/commands/remove_stale_contenttypes.pyi
from typing import Any, Dict, List from django.db.models.deletion import Collector from django.core.management import BaseCommand class Command(BaseCommand): ... class NoFastDeleteCollector(Collector): data: Dict[str, Any] dependencies: Dict[Any, Any] fast_deletes: List[Any] field_updates: Dict[Any, Any] using: str def can_fast_delete(self, *args: Any, **kwargs: Any) -> bool: ...
411
Python
.py
11
33.818182
69
0.734848
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,669
middleware.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/middleware.pyi
from typing import Any, Callable, Dict, Optional, Tuple from django.core.handlers.wsgi import WSGIRequest from django.http.response import HttpResponse from django.utils.deprecation import MiddlewareMixin class XViewMiddleware(MiddlewareMixin): def process_view( self, request: WSGIRequest, view_func: Callable, view_args: Tuple, view_kwargs: Dict[Any, Any] ) -> Optional[HttpResponse]: ...
409
Python
.py
8
47.875
102
0.786967
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,670
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/utils.pyi
from typing import Any, Callable, Optional docutils_is_available: bool def get_view_name(view_func: Callable) -> str: ... def trim_docstring(docstring: Any): ... def parse_docstring(docstring: Any): ... def parse_rst(text: Any, default_reference_context: Any, thing_being_parsed: Optional[Any] = ...): ... ROLES: Any def create_reference_role(rolename: Any, urlbase: Any): ... def default_reference_role( name: Any, rawtext: Any, text: Any, lineno: Any, inliner: Any, options: Optional[Any] = ..., content: Optional[Any] = ..., ): ... named_group_matcher: Any unnamed_group_matcher: Any def replace_named_groups(pattern: str) -> str: ... def replace_unnamed_groups(pattern: str) -> str: ...
725
Python
.py
21
31.904762
102
0.69341
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,671
views.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/views.pyi
from typing import Any, Optional, Union from django.db.models.fields import Field from django.views.generic import TemplateView MODEL_METHODS_EXCLUDE: Any class BaseAdminDocsView(TemplateView): ... class BookmarkletsView(BaseAdminDocsView): ... class TemplateTagIndexView(BaseAdminDocsView): ... class TemplateFilterIndexView(BaseAdminDocsView): ... class ViewIndexView(BaseAdminDocsView): ... class ViewDetailView(BaseAdminDocsView): ... class ModelIndexView(BaseAdminDocsView): ... class ModelDetailView(BaseAdminDocsView): ... class TemplateDetailView(BaseAdminDocsView): ... def get_return_data_type(func_name: Any): ... def get_readable_field_data_type(field: Union[Field, str]) -> str: ... def extract_views_from_urlpatterns(urlpatterns: Any, base: str = ..., namespace: Optional[Any] = ...): ... def simplify_regex(pattern: str) -> str: ...
852
Python
.py
17
48.882353
106
0.783394
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,672
middleware.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/middleware.pyi
from django.http.request import HttpRequest from django.utils.deprecation import MiddlewareMixin class CurrentSiteMiddleware(MiddlewareMixin): def process_request(self, request: HttpRequest) -> None: ...
209
Python
.py
4
50
64
0.828431
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,673
management.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/management.pyi
from typing import Any from django.apps.config import AppConfig from django.apps.registry import Apps def create_default_site( app_config: AppConfig, verbosity: int = ..., interactive: bool = ..., using: str = ..., apps: Apps = ..., **kwargs: Any ) -> None: ...
288
Python
.py
11
22.818182
40
0.654545
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,674
shortcuts.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/shortcuts.pyi
from typing import Optional, Union from django.contrib.sites.models import Site from django.contrib.sites.requests import RequestSite from django.http.request import HttpRequest def get_current_site(request: Optional[HttpRequest]) -> Union[Site, RequestSite]: ...
266
Python
.py
5
51.8
85
0.830116
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,675
models.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/models.pyi
from typing import Any, Optional, Tuple, Type from django.http.request import HttpRequest from django.db import models SITE_CACHE: Any class SiteManager(models.Manager["Site"]): def get_current(self, request: Optional[HttpRequest] = ...) -> Site: ... def clear_cache(self) -> None: ... def get_by_natural_key(self, domain: str) -> Site: ... class Site(models.Model): objects: SiteManager domain = models.CharField(max_length=100) name = models.CharField(max_length=50) def natural_key(self) -> Tuple[str]: ... def clear_site_cache(sender: Type[Site], **kwargs: Any) -> None: ...
614
Python
.py
14
40.357143
76
0.701518
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,676
requests.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/requests.pyi
from typing import Any from django.http.request import HttpRequest class RequestSite: name: str domain: str = ... def __init__(self, request: HttpRequest) -> None: ... def save(self, force_insert: bool = ..., force_update: bool = ...) -> Any: ... def delete(self) -> Any: ...
298
Python
.py
8
33.5
82
0.631944
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,677
managers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/sites/managers.pyi
from typing import Optional from django.db import models class CurrentSiteManager(models.Manager): def __init__(self, field_name: Optional[str] = ...) -> None: ...
170
Python
.py
4
40
68
0.72561
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,678
humanize.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/humanize/templatetags/humanize.pyi
from datetime import date, datetime as datetime from typing import Any, Optional, SupportsInt, Union register: Any def ordinal(value: Optional[Union[str, SupportsInt]]) -> Optional[str]: ... def intcomma(value: Optional[Union[str, SupportsInt]], use_l10n: bool = ...) -> str: ... intword_converters: Any def intword(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ... def apnumber(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ... def naturalday(value: Optional[Union[date, str]], arg: None = ...) -> Optional[str]: ... def naturaltime(value: datetime) -> str: ...
619
Python
.py
10
60.5
88
0.715702
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,679
fields.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/fields.pyi
from typing import Any, Iterable, NamedTuple, Optional, TypeVar, Union, Tuple from django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable _Connection = Any # __set__ value type _ST = TypeVar("_ST") # __get__ return type _GT = TypeVar("_GT") class SRIDCacheEntry(NamedTuple): units: Any units_name: str geodetic: bool spheroid: str def get_srid_info(srid: int, connection: _Connection) -> SRIDCacheEntry: ... class BaseSpatialField(Field[_ST, _GT]): def __init__( self, verbose_name: Optional[Union[str, bytes]] = ..., srid: int = ..., spatial_index: bool = ..., name: Optional[str] = ..., primary_key: bool = ..., max_length: Optional[int] = ..., unique: bool = ..., blank: bool = ..., null: bool = ..., db_index: bool = ..., default: Any = ..., editable: bool = ..., auto_created: bool = ..., serialize: bool = ..., unique_for_date: Optional[str] = ..., unique_for_month: Optional[str] = ..., unique_for_year: Optional[str] = ..., choices: Optional[_FieldChoices] = ..., help_text: str = ..., db_column: Optional[str] = ..., db_tablespace: Optional[str] = ..., validators: Iterable[_ValidatorCallable] = ..., error_messages: Optional[_ErrorMessagesToOverride] = ..., ): ... def spheroid(self, connection: _Connection) -> str: ... def units(self, connection: _Connection) -> Any: ... def units_name(self, connection: _Connection) -> str: ... def geodetic(self, connection: _Connection) -> bool: ... class GeometryField(BaseSpatialField): def __init__( self, verbose_name: Optional[Union[str, bytes]] = ..., dim: int = ..., geography: bool = ..., extent: Tuple[float, float, float, float] = ..., tolerance: float = ..., srid: int = ..., spatial_index: bool = ..., name: Optional[str] = ..., primary_key: bool = ..., max_length: Optional[int] = ..., unique: bool = ..., blank: bool = ..., null: bool = ..., db_index: bool = ..., default: Any = ..., editable: bool = ..., auto_created: bool = ..., serialize: bool = ..., unique_for_date: Optional[str] = ..., unique_for_month: Optional[str] = ..., unique_for_year: Optional[str] = ..., choices: Optional[_FieldChoices] = ..., help_text: str = ..., db_column: Optional[str] = ..., db_tablespace: Optional[str] = ..., validators: Iterable[_ValidatorCallable] = ..., error_messages: Optional[_ErrorMessagesToOverride] = ..., ): ... class PointField(GeometryField): ... class LineStringField(GeometryField): ... class PolygonField(GeometryField): ... class MultiPointField(GeometryField): ... class MultiLineStringField(GeometryField): ... class MultiPolygonField(GeometryField): ... class GeometryCollectionField(GeometryField): ... class RasterField(BaseSpatialField): ...
3,133
Python
.py
83
31.060241
102
0.576923
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,680
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/__init__.pyi
from django.db.models import * from .fields import ( GeometryField as GeometryField, LineStringField as LineStringField, MultiLineStringField as MultiLineStringField, MultiPointField as MultiPointField, MultiPolygonField as MultiPolygonField, PointField as PointField, PolygonField as PolygonField, GeometryCollectionField as GeometryCollectionField, RasterField as RasterField, )
418
Python
.py
12
30.75
55
0.814815
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,681
signals.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/signals.pyi
from typing import Any, Tuple def get_hstore_oids(connection_alias: str) -> Tuple[Any, ...]: ... def get_citext_oids(connection_alias: str) -> Tuple[Any, ...]: ... def register_type_handlers(connection: Any, **kwargs: Any) -> None: ...
237
Python
.py
4
58
71
0.676724
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,682
validators.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/validators.pyi
from typing import Any, Dict, Iterable, Mapping, Optional from django.core.validators import MaxLengthValidator, MaxValueValidator, MinLengthValidator, MinValueValidator class ArrayMaxLengthValidator(MaxLengthValidator): ... class ArrayMinLengthValidator(MinLengthValidator): ... class KeysValidator: messages: Dict[str, str] = ... strict: bool = ... def __init__( self, keys: Iterable[str], strict: bool = ..., messages: Optional[Mapping[str, str]] = ... ) -> None: ... def __call__(self, value: Any) -> None: ... class RangeMaxValueValidator(MaxValueValidator): ... class RangeMinValueValidator(MinValueValidator): ...
653
Python
.py
13
46.769231
111
0.72956
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,683
search.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/search.pyi
from typing import Any, Dict, Optional, TypeVar, Union from django.db.models.expressions import Combinable, CombinedExpression, Func, Value, _OutputField from django.db.models.lookups import Lookup from django.db.models import Field _Expression = Union[str, Combinable, "SearchQueryCombinable"] class SearchVectorExact(Lookup): ... class SearchVectorField(Field): ... class SearchQueryField(Field): ... class SearchVectorCombinable: ADD: str = ... class SearchVector(SearchVectorCombinable, Func): config: Optional[Any] = ... def __init__(self, *expressions: _Expression, **extra: Any): ... class CombinedSearchVector(SearchVectorCombinable, CombinedExpression): def __init__( self, lhs, connector, rhs, config: Optional[_Expression] = ..., output_field: Optional[_OutputField] = ... ): ... _T = TypeVar("_T", bound="SearchQueryCombinable") class SearchQueryCombinable: BITAND: str = ... BITOR: str = ... def __or__(self: _T, other: SearchQueryCombinable) -> _T: ... def __ror__(self: _T, other: SearchQueryCombinable) -> _T: ... def __and__(self: _T, other: SearchQueryCombinable) -> _T: ... def __rand__(self: _T, other: SearchQueryCombinable) -> _T: ... class SearchQuery(SearchQueryCombinable, Value): # type: ignore SEARCH_TYPES: Dict[str, str] = ... def __init__( self, value: str, output_field: Optional[_OutputField] = ..., *, config: Optional[_Expression] = ..., invert: bool = ..., search_type: str = ... ): ... def __invert__(self: _T) -> _T: ... class CombinedSearchQuery(SearchQueryCombinable, CombinedExpression): # type: ignore def __init__( self, lhs, connector, rhs, config: Optional[_Expression] = ..., output_field: Optional[_OutputField] = ... ) -> None: ... class SearchRank(Func): def __init__( self, vector: Union[SearchVector, _Expression], query: Union[SearchQuery, _Expression], **extra: Any ) -> None: ... class TrigramBase(Func): def __init__(self, expression: _Expression, string, **extra: Any) -> None: ... class TrigramSimilarity(TrigramBase): ... class TrigramDistance(TrigramBase): ...
2,195
Python
.py
49
40.244898
114
0.661351
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,684
constraints.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/constraints.pyi
from typing import Optional, Sequence, Tuple, Union from django.db.models.constraints import BaseConstraint from django.db.models.expressions import Combinable from django.db.models.query_utils import Q class ExclusionConstraint(BaseConstraint): expressions: Sequence[Tuple[Union[str, Combinable], str]] index_type: str condition: Optional[Q] def __init__( self, *, name: str, expressions: Sequence[Tuple[Union[str, Combinable], str]], condition: Optional[Q] = ..., index_type: Optional[str] = ..., ): ...
576
Python
.py
16
30.625
66
0.689964
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,685
indexes.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/indexes.pyi
from typing import Optional, Sequence from django.db.models.query_utils import Q from django.db.models import Index class PostgresIndex(Index): ... class BrinIndex(PostgresIndex): def __init__( self, *, autosummarize: Optional[bool] = ..., pages_per_range: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ... class BTreeIndex(PostgresIndex): def __init__( self, *, fillfactor: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ... class GinIndex(PostgresIndex): def __init__( self, *, fastupdate: Optional[bool] = ..., gin_pending_list_limit: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ... class GistIndex(PostgresIndex): def __init__( self, *, buffering: Optional[bool] = ..., fillfactor: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ... class HashIndex(PostgresIndex): def __init__( self, *, fillfactor: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ... class SpGistIndex(PostgresIndex): def __init__( self, *, fillfactor: Optional[int] = ..., fields: Sequence[str] = ..., name: Optional[str] = ..., db_tablespace: Optional[str] = ..., opclasses: Sequence[str] = ..., condition: Optional[Q] = ... ) -> None: ...
2,272
Python
.py
73
23.753425
52
0.519178
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,686
functions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/functions.pyi
from django.db.models import Func class RandomUUID(Func): ... class TransactionNow(Func): ...
95
Python
.py
3
30.333333
33
0.769231
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,687
lookups.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/lookups.pyi
from django.db.models.lookups import Exact from django.db.models import Lookup, Transform from .search import SearchVectorExact class PostgresSimpleLookup(Lookup): operator: str class DataContains(PostgresSimpleLookup): ... class ContainedBy(PostgresSimpleLookup): ... class Overlap(PostgresSimpleLookup): ... class HasKey(PostgresSimpleLookup): ... class HasKeys(PostgresSimpleLookup): ... class HasAnyKeys(HasKeys): ... class Unaccent(Transform): ... class SearchLookup(SearchVectorExact): ... class TrigramSimilar(PostgresSimpleLookup): ... class JSONExact(Exact): ...
579
Python
.py
15
37.133333
47
0.809269
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,688
operations.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/operations.pyi
from django.db.migrations.operations.base import Operation class CreateExtension(Operation): reversible: bool = ... name: str = ... def __init__(self, name: str) -> None: ... class BtreeGinExtension(CreateExtension): def __init__(self) -> None: ... class BtreeGistExtension(CreateExtension): def __init__(self) -> None: ... class CITextExtension(CreateExtension): def __init__(self) -> None: ... class CryptoExtension(CreateExtension): def __init__(self) -> None: ... class HStoreExtension(CreateExtension): def __init__(self) -> None: ... class TrigramExtension(CreateExtension): def __init__(self) -> None: ... class UnaccentExtension(CreateExtension): def __init__(self) -> None: ...
735
Python
.py
19
35.157895
58
0.679379
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,689
ranges.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/ranges.pyi
from typing import Any from django.db import models from psycopg2.extras import DateRange, DateTimeTZRange, NumericRange # type: ignore class RangeField(models.Field): empty_strings_allowed: bool = ... base_field: Any = ... range_type: Any = ... def get_prep_value(self, value: Any): ... def to_python(self, value: Any): ... def value_to_string(self, obj: Any): ... class IntegerRangeField(RangeField): def __get__(self, instance, owner) -> NumericRange: ... class BigIntegerRangeField(RangeField): def __get__(self, instance, owner) -> NumericRange: ... class DecimalRangeField(RangeField): def __get__(self, instance, owner) -> NumericRange: ... class FloatRangeField(RangeField): def __get__(self, instance, owner) -> NumericRange: ... class DateTimeRangeField(RangeField): def __get__(self, instance, owner) -> DateTimeTZRange: ... class DateRangeField(RangeField): def __get__(self, instance, owner) -> DateRange: ... class RangeOperators: EQUAL: str NOT_EQUAL: str CONTAINS: str CONTAINED_BY: str OVERLAPS: str FULLY_LT: str FULLY_GT: str NOT_LT: str NOT_GT: str ADJACENT_TO: str class RangeBoundary(models.Expression): lower: str upper: str def __init__(self, inclusive_lower: bool = ..., inclusive_upper: bool = ...): ...
1,342
Python
.py
37
32.27027
85
0.68238
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,690
hstore.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/hstore.pyi
from typing import Any from django.db.models import Field, Transform from .mixins import CheckFieldDefaultMixin class HStoreField(CheckFieldDefaultMixin, Field): def get_transform(self, name) -> Any: ... class KeyTransform(Transform): def __init__(self, key_name: str, *args: Any, **kwargs: Any): ... class KeyTransformFactory: def __init__(self, key_name: str): ... def __call__(self, *args, **kwargs) -> KeyTransform: ... class KeysTransform(Transform): ... class ValuesTransform(Transform): ...
519
Python
.py
12
40.5
69
0.719124
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,691
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/__init__.pyi
from .array import ArrayField as ArrayField from .jsonb import JSONField as JSONField, JsonAdapter as JsonAdapter from .ranges import ( RangeField as RangeField, IntegerRangeField as IntegerRangeField, BigIntegerRangeField as BigIntegerRangeField, DecimalRangeField as DecimalRangeField, FloatRangeField as FloatRangeField, DateRangeField as DateRangeField, DateTimeRangeField as DateTimeRangeField, RangeOperators as RangeOperators, RangeBoundary as RangeBoundary, ) from .hstore import HStoreField as HStoreField from .citext import ( CICharField as CICharField, CIEmailField as CIEmailField, CIText as CIText, CITextField as CITextField, )
695
Python
.py
20
31.15
69
0.814815
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,692
array.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/array.pyi
from typing import Any, Iterable, List, Optional, Sequence, TypeVar, Union from django.db.models.expressions import Combinable from django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable from .mixins import CheckFieldDefaultMixin # __set__ value type _ST = TypeVar("_ST") # __get__ return type _GT = TypeVar("_GT") class ArrayField(CheckFieldDefaultMixin, Field[_ST, _GT]): _pyi_private_set_type: Union[Sequence[Any], Combinable] _pyi_private_get_type: List[Any] empty_strings_allowed: bool = ... default_error_messages: Any = ... base_field: Any = ... size: Any = ... default_validators: Any = ... from_db_value: Any = ... def __init__( self, base_field: Field, size: Optional[int] = ..., verbose_name: Optional[Union[str, bytes]] = ..., name: Optional[str] = ..., primary_key: bool = ..., max_length: Optional[int] = ..., unique: bool = ..., blank: bool = ..., null: bool = ..., db_index: bool = ..., default: Any = ..., editable: bool = ..., auto_created: bool = ..., serialize: bool = ..., unique_for_date: Optional[str] = ..., unique_for_month: Optional[str] = ..., unique_for_year: Optional[str] = ..., choices: Optional[_FieldChoices] = ..., help_text: str = ..., db_column: Optional[str] = ..., db_tablespace: Optional[str] = ..., validators: Iterable[_ValidatorCallable] = ..., error_messages: Optional[_ErrorMessagesToOverride] = ..., ) -> None: ... @property def description(self): ... def get_transform(self, name: Any): ...
1,729
Python
.py
46
31.173913
102
0.587008
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,693
jsonb.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/jsonb.pyi
from json import JSONEncoder from typing import Any, Optional, Type from django.db.models import Field from django.db.models.lookups import Transform from .mixins import CheckFieldDefaultMixin class JsonAdapter: encoder: Any = ... def __init__(self, adapted: Any, dumps: Optional[Any] = ..., encoder: Optional[Any] = ...) -> None: ... def dumps(self, obj: Any): ... class JSONField(CheckFieldDefaultMixin, Field): empty_strings_allowed: bool = ... description: Any = ... default_error_messages: Any = ... encoder: Any = ... def __init__( self, verbose_name: Optional[str] = ..., name: Optional[str] = ..., encoder: Optional[Type[JSONEncoder]] = ..., **kwargs: Any ) -> None: ... def value_to_string(self, obj: Any): ... class KeyTransform(Transform): operator: str = ... nested_operator: str = ... def __init__(self, key_name: str, *args: Any, **kwargs: Any) -> None: ... class KeyTextTransform(KeyTransform): ...
1,011
Python
.py
27
32.851852
107
0.635342
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,694
citext.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/citext.pyi
from django.db.models.fields import CharField, EmailField, TextField class CIText: ... class CICharField(CIText, CharField): ... class CIEmailField(CIText, EmailField): ... class CITextField(CIText, TextField): ...
216
Python
.py
5
42
68
0.780952
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,695
mixins.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/mixins.pyi
from typing import Any, List class CheckFieldDefaultMixin: def check(self, **kwargs: Any) -> List[Any]: ...
113
Python
.py
3
35
52
0.715596
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,696
general.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/aggregates/general.pyi
from django.db.models.aggregates import Aggregate from .mixins import OrderableAggMixin class ArrayAgg(OrderableAggMixin, Aggregate): ... class BitAnd(Aggregate): ... class BitOr(Aggregate): ... class BoolAnd(Aggregate): ... class BoolOr(Aggregate): ... class JSONBAgg(Aggregate): ... class StringAgg(OrderableAggMixin, Aggregate): ...
338
Python
.py
9
36.333333
50
0.785933
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,697
statistics.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/aggregates/statistics.pyi
from django.db.models.aggregates import Aggregate class StatAggregate(Aggregate): ... class Corr(StatAggregate): ... class CovarPop(StatAggregate): ... class RegrAvgX(StatAggregate): ... class RegrAvgY(StatAggregate): ... class RegrCount(StatAggregate): ... class RegrIntercept(StatAggregate): ... class RegrR2(StatAggregate): ... class RegrSlope(StatAggregate): ... class RegrSXX(StatAggregate): ... class RegrSXY(StatAggregate): ... class RegrSYY(StatAggregate): ...
470
Python
.py
13
35.076923
49
0.776316
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,698
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/postgres/aggregates/__init__.pyi
from .general import ( ArrayAgg as ArrayAgg, BitAnd as BitAnd, BitOr as BitOr, BoolAnd as BoolAnd, BoolOr as BoolOr, JSONBAgg as JSONBAgg, StringAgg as StringAgg, ) from .statistics import ( Corr as Corr, CovarPop as CovarPop, RegrAvgX as RegrAvgX, RegrAvgY as RegrAvgY, RegrCount as RegrCount, RegrIntercept as RegrIntercept, RegrR2 as RegrR2, RegrSlope as RegrSlope, RegrSXX as RegrSXX, RegrSXY as RegrSXY, RegrSYY as RegrSYY, StatAggregate as StatAggregate, )
540
Python
.py
23
19.130435
35
0.718992
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
29,699
middleware.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/contrib/auth/middleware.pyi
from typing import Union from django.contrib.auth.models import AnonymousUser, User from django.core.handlers.wsgi import WSGIRequest from django.http.request import HttpRequest from django.utils.deprecation import MiddlewareMixin def get_user(request: WSGIRequest) -> Union[AnonymousUser, User]: ... class AuthenticationMiddleware(MiddlewareMixin): def process_request(self, request: HttpRequest) -> None: ... class RemoteUserMiddleware(MiddlewareMixin): header: str = ... force_logout_if_no_header: bool = ... def process_request(self, request: HttpRequest) -> None: ... def clean_username(self, username: str, request: HttpRequest) -> str: ... class PersistentRemoteUserMiddleware(RemoteUserMiddleware): force_logout_if_no_header: bool = ...
774
Python
.py
15
48.666667
77
0.775862
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)