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
28,500
indexes.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/indexes.pyi
from typing import Any, Optional class IndexMeta(type): def __init__(self, name, bases, attrs) -> None: ... class Index(metaclass=IndexMeta): Meta: Any def __init__(self) -> None: ... @classmethod def count(cls, hash_key, consistent_read: bool = ..., **filters) -> int: ... @classmethod def query( cls, hash_key, scan_index_forward: Optional[Any] = ..., consistent_read: bool = ..., limit: Optional[Any] = ..., last_evaluated_key: Optional[Any] = ..., attributes_to_get: Optional[Any] = ..., **filters, ): ... class GlobalSecondaryIndex(Index): ... class LocalSecondaryIndex(Index): ... class Projection(object): projection_type: Any non_key_attributes: Any class KeysOnlyProjection(Projection): projection_type: Any class IncludeProjection(Projection): projection_type: Any non_key_attributes: Any def __init__(self, non_attr_keys: Optional[Any] = ...) -> None: ... class AllProjection(Projection): projection_type: Any
1,052
Python
.py
32
27.78125
80
0.638697
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,501
attributes.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/attributes.pyi
from datetime import datetime from typing import Any, Callable, Dict, Generic, Iterable, List, Mapping, Optional, Set, Text, Type, TypeVar, Union _T = TypeVar("_T") _KT = TypeVar("_KT") _VT = TypeVar("_VT") _MT = TypeVar("_MT", bound=MapAttribute[Any, Any]) class Attribute(Generic[_T]): attr_name: Optional[Text] attr_type: Text null: bool default: Any is_hash_key: bool is_range_key: bool def __init__( self, hash_key: bool = ..., range_key: bool = ..., null: Optional[bool] = ..., default: Optional[Union[_T, Callable[..., _T]]] = ..., attr_name: Optional[Text] = ..., ) -> None: ... def __set__(self, instance: Any, value: Optional[_T]) -> None: ... def serialize(self, value: Any) -> Any: ... def deserialize(self, value: Any) -> Any: ... def get_value(self, value: Any) -> Any: ... def between(self, lower: Any, upper: Any) -> Any: ... def is_in(self, *values: Any) -> Any: ... def exists(self) -> Any: ... def does_not_exist(self) -> Any: ... def is_type(self) -> Any: ... def startswith(self, prefix: str) -> Any: ... def contains(self, item: Any) -> Any: ... def append(self, other: Any) -> Any: ... def prepend(self, other: Any) -> Any: ... def set(self, value: Any) -> Any: ... def remove(self) -> Any: ... def add(self, *values: Any) -> Any: ... def delete(self, *values: Any) -> Any: ... class SetMixin(object): def serialize(self, value): ... def deserialize(self, value): ... class BinaryAttribute(Attribute[bytes]): def __get__(self, instance: Any, owner: Any) -> bytes: ... class BinarySetAttribute(SetMixin, Attribute[Set[bytes]]): def __get__(self, instance: Any, owner: Any) -> Set[bytes]: ... class UnicodeSetAttribute(SetMixin, Attribute[Set[Text]]): def element_serialize(self, value: Any) -> Any: ... def element_deserialize(self, value: Any) -> Any: ... def __get__(self, instance: Any, owner: Any) -> Set[Text]: ... class UnicodeAttribute(Attribute[Text]): def __get__(self, instance: Any, owner: Any) -> Text: ... class JSONAttribute(Attribute[Any]): def __get__(self, instance: Any, owner: Any) -> Any: ... class LegacyBooleanAttribute(Attribute[bool]): def __get__(self, instance: Any, owner: Any) -> bool: ... class BooleanAttribute(Attribute[bool]): def __get__(self, instance: Any, owner: Any) -> bool: ... class NumberSetAttribute(SetMixin, Attribute[Set[float]]): def __get__(self, instance: Any, owner: Any) -> Set[float]: ... class NumberAttribute(Attribute[float]): def __get__(self, instance: Any, owner: Any) -> float: ... class UTCDateTimeAttribute(Attribute[datetime]): def __get__(self, instance: Any, owner: Any) -> datetime: ... class NullAttribute(Attribute[None]): def __get__(self, instance: Any, owner: Any) -> None: ... class MapAttributeMeta(type): def __init__(self, name, bases, attrs) -> None: ... class MapAttribute(Attribute[Mapping[_KT, _VT]], metaclass=MapAttributeMeta): attribute_values: Any def __init__( self, hash_key: bool = ..., range_key: bool = ..., null: Optional[bool] = ..., default: Optional[Union[Any, Callable[..., Any]]] = ..., attr_name: Optional[Text] = ..., **attrs, ) -> None: ... def __iter__(self) -> Iterable[_VT]: ... def __getattr__(self, attr: str) -> _VT: ... def __getitem__(self, item: _KT) -> _VT: ... def __set__(self, instance: Any, value: Union[None, MapAttribute[_KT, _VT], Mapping[_KT, _VT]]) -> None: ... def __get__(self: _MT, instance: Any, owner: Any) -> _MT: ... def is_type_safe(self, key: Any, value: Any) -> bool: ... def validate(self) -> bool: ... class ListAttribute(Attribute[List[_T]]): element_type: Any def __init__( self, hash_key: bool = ..., range_key: bool = ..., null: Optional[bool] = ..., default: Optional[Union[Any, Callable[..., Any]]] = ..., attr_name: Optional[Text] = ..., of: Optional[Type[_T]] = ..., ) -> None: ... def __get__(self, instance: Any, owner: Any) -> List[_T]: ... DESERIALIZE_CLASS_MAP: Dict[Text, Attribute[Any]] SERIALIZE_CLASS_MAP: Dict[Type[Any], Attribute[Any]] SERIALIZE_KEY_MAP: Dict[Type[Any], Text]
4,342
Python
.py
100
38.44
115
0.594934
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,502
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/exceptions.pyi
from typing import Any, Optional, Text class PynamoDBException(Exception): msg: str cause: Any def __init__(self, msg: Optional[Text] = ..., cause: Optional[Exception] = ...) -> None: ... class PynamoDBConnectionError(PynamoDBException): ... class DeleteError(PynamoDBConnectionError): ... class QueryError(PynamoDBConnectionError): ... class ScanError(PynamoDBConnectionError): ... class PutError(PynamoDBConnectionError): ... class UpdateError(PynamoDBConnectionError): ... class GetError(PynamoDBConnectionError): ... class TableError(PynamoDBConnectionError): ... class DoesNotExist(PynamoDBException): ... class TableDoesNotExist(PynamoDBException): def __init__(self, table_name) -> None: ... class VerboseClientError(Exception): MSG_TEMPLATE: Any def __init__(self, error_response, operation_name, verbose_properties: Optional[Any] = ...) -> None: ...
887
Python
.py
19
44.210526
108
0.75
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,503
util.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/util.pyi
from typing import Text def pythonic(var_name: Text) -> Text: ...
67
Python
.py
2
32
41
0.71875
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,504
table.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/table.pyi
from typing import Any, Optional class TableConnection: table_name: Any connection: Any def __init__( self, table_name, region: Optional[Any] = ..., host: Optional[Any] = ..., session_cls: Optional[Any] = ..., request_timeout_seconds: Optional[Any] = ..., max_retry_attempts: Optional[Any] = ..., base_backoff_ms: Optional[Any] = ..., ) -> None: ... def delete_item( self, hash_key, range_key: Optional[Any] = ..., expected: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_values: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def update_item( self, hash_key, range_key: Optional[Any] = ..., attribute_updates: Optional[Any] = ..., expected: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., return_values: Optional[Any] = ..., ): ... def put_item( self, hash_key, range_key: Optional[Any] = ..., attributes: Optional[Any] = ..., expected: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_values: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def batch_write_item( self, put_items: Optional[Any] = ..., delete_items: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def batch_get_item( self, keys, consistent_read: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., attributes_to_get: Optional[Any] = ..., ): ... def get_item( self, hash_key, range_key: Optional[Any] = ..., consistent_read: bool = ..., attributes_to_get: Optional[Any] = ... ): ... def scan( self, attributes_to_get: Optional[Any] = ..., limit: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., scan_filter: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., segment: Optional[Any] = ..., total_segments: Optional[Any] = ..., exclusive_start_key: Optional[Any] = ..., ): ... def query( self, hash_key, attributes_to_get: Optional[Any] = ..., consistent_read: bool = ..., exclusive_start_key: Optional[Any] = ..., index_name: Optional[Any] = ..., key_conditions: Optional[Any] = ..., query_filters: Optional[Any] = ..., limit: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., scan_index_forward: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., select: Optional[Any] = ..., ): ... def describe_table(self): ... def delete_table(self): ... def update_table( self, read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ..., global_secondary_index_updates: Optional[Any] = ..., ): ... def create_table( self, attribute_definitions: Optional[Any] = ..., key_schema: Optional[Any] = ..., read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ..., global_secondary_indexes: Optional[Any] = ..., local_secondary_indexes: Optional[Any] = ..., stream_specification: Optional[Any] = ..., ): ...
3,825
Python
.py
107
27.859813
123
0.54318
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,505
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/__init__.pyi
from pynamodb.connection.base import Connection as Connection from pynamodb.connection.table import TableConnection as TableConnection
135
Python
.py
2
66.5
72
0.894737
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,506
base.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/base.pyi
from typing import Any, Dict, Optional, Text BOTOCORE_EXCEPTIONS: Any log: Any class MetaTable: data: Dict[Any, Any] def __init__(self, data: Dict[Any, Any]) -> None: ... @property def range_keyname(self) -> Optional[Text]: ... @property def hash_keyname(self) -> Text: ... def get_index_hash_keyname(self, index_name: Text) -> Optional[Text]: ... def get_item_attribute_map(self, attributes, item_key: Any = ..., pythonic_key: bool = ...): ... def get_attribute_type(self, attribute_name, value: Optional[Any] = ...): ... def get_identifier_map(self, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ... def get_exclusive_start_key_map(self, exclusive_start_key): ... class Connection: host: Any region: Any session_cls: Any def __init__( self, region: Optional[Any] = ..., host: Optional[Any] = ..., session_cls: Optional[Any] = ..., request_timeout_seconds: Optional[Any] = ..., max_retry_attempts: Optional[Any] = ..., base_backoff_ms: Optional[Any] = ..., ) -> None: ... def dispatch(self, operation_name, operation_kwargs): ... @property def session(self): ... @property def requests_session(self): ... @property def client(self): ... def get_meta_table(self, table_name: Text, refresh: bool = ...): ... def create_table( self, table_name: Text, attribute_definitions: Optional[Any] = ..., key_schema: Optional[Any] = ..., read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ..., global_secondary_indexes: Optional[Any] = ..., local_secondary_indexes: Optional[Any] = ..., stream_specification: Optional[Any] = ..., ): ... def delete_table(self, table_name: Text): ... def update_table( self, table_name: Text, read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ..., global_secondary_index_updates: Optional[Any] = ..., ): ... def list_tables(self, exclusive_start_table_name: Optional[Any] = ..., limit: Optional[Any] = ...): ... def describe_table(self, table_name: Text): ... def get_conditional_operator(self, operator): ... def get_item_attribute_map(self, table_name: Text, attributes, item_key: Any = ..., pythonic_key: bool = ...): ... def get_expected_map(self, table_name: Text, expected): ... def parse_attribute(self, attribute, return_type: bool = ...): ... def get_attribute_type(self, table_name: Text, attribute_name, value: Optional[Any] = ...): ... def get_identifier_map(self, table_name: Text, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ... def get_query_filter_map(self, table_name: Text, query_filters): ... def get_consumed_capacity_map(self, return_consumed_capacity): ... def get_return_values_map(self, return_values): ... def get_item_collection_map(self, return_item_collection_metrics): ... def get_exclusive_start_key_map(self, table_name: Text, exclusive_start_key): ... def delete_item( self, table_name: Text, hash_key, range_key: Optional[Any] = ..., expected: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_values: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def update_item( self, table_name: Text, hash_key, range_key: Optional[Any] = ..., attribute_updates: Optional[Any] = ..., expected: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., return_values: Optional[Any] = ..., ): ... def put_item( self, table_name: Text, hash_key, range_key: Optional[Any] = ..., attributes: Optional[Any] = ..., expected: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., return_values: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def batch_write_item( self, table_name: Text, put_items: Optional[Any] = ..., delete_items: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., return_item_collection_metrics: Optional[Any] = ..., ): ... def batch_get_item( self, table_name: Text, keys, consistent_read: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., attributes_to_get: Optional[Any] = ..., ): ... def get_item( self, table_name: Text, hash_key, range_key: Optional[Any] = ..., consistent_read: bool = ..., attributes_to_get: Optional[Any] = ..., ): ... def scan( self, table_name: Text, attributes_to_get: Optional[Any] = ..., limit: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., scan_filter: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., exclusive_start_key: Optional[Any] = ..., segment: Optional[Any] = ..., total_segments: Optional[Any] = ..., ): ... def query( self, table_name: Text, hash_key, attributes_to_get: Optional[Any] = ..., consistent_read: bool = ..., exclusive_start_key: Optional[Any] = ..., index_name: Optional[Any] = ..., key_conditions: Optional[Any] = ..., query_filters: Optional[Any] = ..., conditional_operator: Optional[Any] = ..., limit: Optional[Any] = ..., return_consumed_capacity: Optional[Any] = ..., scan_index_forward: Optional[Any] = ..., select: Optional[Any] = ..., ): ...
6,089
Python
.py
155
32.019355
118
0.573091
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,507
wsgi.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/wsgi.pyi
from _typeshed import SupportsRead from _typeshed.wsgi import InputStream, WSGIEnvironment from typing import Any, Iterable, Optional, Text from .middleware.dispatcher import DispatcherMiddleware as DispatcherMiddleware from .middleware.http_proxy import ProxyMiddleware as ProxyMiddleware from .middleware.shared_data import SharedDataMiddleware as SharedDataMiddleware def responder(f): ... def get_current_url( environ, root_only: bool = ..., strip_querystring: bool = ..., host_only: bool = ..., trusted_hosts: Optional[Any] = ... ): ... def host_is_trusted(hostname, trusted_list): ... def get_host(environ, trusted_hosts: Optional[Any] = ...): ... def get_content_length(environ: WSGIEnvironment) -> Optional[int]: ... def get_input_stream(environ: WSGIEnvironment, safe_fallback: bool = ...) -> InputStream: ... def get_query_string(environ): ... def get_path_info(environ, charset: Text = ..., errors: Text = ...): ... def get_script_name(environ, charset: Text = ..., errors: Text = ...): ... def pop_path_info(environ, charset: Text = ..., errors: Text = ...): ... def peek_path_info(environ, charset: Text = ..., errors: Text = ...): ... def extract_path_info( environ_or_baseurl, path_or_url, charset: Text = ..., errors: Text = ..., collapse_http_schemes: bool = ... ): ... class ClosingIterator: def __init__(self, iterable, callbacks: Optional[Any] = ...): ... def __iter__(self): ... def __next__(self): ... def close(self): ... def wrap_file(environ: WSGIEnvironment, file: SupportsRead[bytes], buffer_size: int = ...) -> Iterable[bytes]: ... class FileWrapper: file: SupportsRead[bytes] buffer_size: int def __init__(self, file: SupportsRead[bytes], buffer_size: int = ...) -> None: ... def close(self) -> None: ... def seekable(self) -> bool: ... def seek(self, offset: int, whence: int = ...) -> None: ... def tell(self) -> Optional[int]: ... def __iter__(self) -> FileWrapper: ... def __next__(self) -> bytes: ... class _RangeWrapper: iterable: Any byte_range: Any start_byte: Any end_byte: Any read_length: Any seekable: Any end_reached: Any def __init__(self, iterable, start_byte: int = ..., byte_range: Optional[Any] = ...): ... def __iter__(self): ... def __next__(self): ... def close(self): ... def make_line_iter(stream, limit: Optional[Any] = ..., buffer_size=..., cap_at_buffer: bool = ...): ... def make_chunk_iter(stream, separator, limit: Optional[Any] = ..., buffer_size=..., cap_at_buffer: bool = ...): ... class LimitedStream: limit: Any def __init__(self, stream, limit): ... def __iter__(self): ... @property def is_exhausted(self): ... def on_exhausted(self): ... def on_disconnect(self): ... def exhaust(self, chunk_size=...): ... def read(self, size: Optional[Any] = ...): ... def readline(self, size: Optional[Any] = ...): ... def readlines(self, size: Optional[Any] = ...): ... def tell(self): ... def __next__(self): ...
3,030
Python
.py
66
42.424242
124
0.633288
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,508
security.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/security.pyi
from typing import Any, Optional SALT_CHARS: Any DEFAULT_PBKDF2_ITERATIONS: Any def pbkdf2_hex(data, salt, iterations=..., keylen: Optional[Any] = ..., hashfunc: Optional[Any] = ...): ... def pbkdf2_bin(data, salt, iterations=..., keylen: Optional[Any] = ..., hashfunc: Optional[Any] = ...): ... def safe_str_cmp(a, b): ... def gen_salt(length): ... def generate_password_hash(password, method: str = ..., salt_length: int = ...): ... def check_password_hash(pwhash, password): ... def safe_join(directory, filename): ...
524
Python
.py
10
51.2
107
0.669922
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,509
urls.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/urls.pyi
from typing import Any, NamedTuple, Optional, Text class _URLTuple(NamedTuple): scheme: Any netloc: Any path: Any query: Any fragment: Any class BaseURL(_URLTuple): def replace(self, **kwargs): ... @property def host(self): ... @property def ascii_host(self): ... @property def port(self): ... @property def auth(self): ... @property def username(self): ... @property def raw_username(self): ... @property def password(self): ... @property def raw_password(self): ... def decode_query(self, *args, **kwargs): ... def join(self, *args, **kwargs): ... def to_url(self): ... def decode_netloc(self): ... def to_uri_tuple(self): ... def to_iri_tuple(self): ... def get_file_location(self, pathformat: Optional[Any] = ...): ... class URL(BaseURL): def encode_netloc(self): ... def encode(self, charset: Text = ..., errors: Text = ...): ... class BytesURL(BaseURL): def encode_netloc(self): ... def decode(self, charset: Text = ..., errors: Text = ...): ... def url_parse(url, scheme: Optional[Any] = ..., allow_fragments: bool = ...): ... def url_quote(string, charset: Text = ..., errors: Text = ..., safe: str = ..., unsafe: str = ...): ... def url_quote_plus(string, charset: Text = ..., errors: Text = ..., safe: str = ...): ... def url_unparse(components): ... def url_unquote(string, charset: Text = ..., errors: Text = ..., unsafe: str = ...): ... def url_unquote_plus(s, charset: Text = ..., errors: Text = ...): ... def url_fix(s, charset: Text = ...): ... def uri_to_iri(uri, charset: Text = ..., errors: Text = ...): ... def iri_to_uri(iri, charset: Text = ..., errors: Text = ..., safe_conversion: bool = ...): ... def url_decode( s, charset: Text = ..., decode_keys: bool = ..., include_empty: bool = ..., errors: Text = ..., separator: str = ..., cls: Optional[Any] = ..., ): ... def url_decode_stream( stream, charset: Text = ..., decode_keys: bool = ..., include_empty: bool = ..., errors: Text = ..., separator: str = ..., cls: Optional[Any] = ..., limit: Optional[Any] = ..., return_iterator: bool = ..., ): ... def url_encode( obj, charset: Text = ..., encode_keys: bool = ..., sort: bool = ..., key: Optional[Any] = ..., separator: bytes = ... ): ... def url_encode_stream( obj, stream: Optional[Any] = ..., charset: Text = ..., encode_keys: bool = ..., sort: bool = ..., key: Optional[Any] = ..., separator: bytes = ..., ): ... def url_join(base, url, allow_fragments: bool = ...): ... class Href: base: Any charset: Text sort: Any key: Any def __init__(self, base: str = ..., charset: Text = ..., sort: bool = ..., key: Optional[Any] = ...): ... def __getattr__(self, name): ... def __call__(self, *path, **query): ...
2,898
Python
.py
88
28.954545
121
0.556705
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,510
formparser.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/formparser.pyi
from _typeshed.wsgi import WSGIEnvironment from typing import ( IO, Any, Callable, Dict, Generator, Iterable, Mapping, NoReturn, Optional, Protocol, Text, Tuple, TypeVar, Union, ) from .datastructures import Headers _Dict = Any _ParseFunc = Callable[[IO[bytes], str, Optional[int], Mapping[str, str]], Tuple[IO[bytes], _Dict, _Dict]] _F = TypeVar("_F", bound=Callable[..., Any]) class _StreamFactory(Protocol): def __call__( self, total_content_length: Optional[int], filename: str, content_type: str, content_length: Optional[int] = ... ) -> IO[bytes]: ... def default_stream_factory( total_content_length: Optional[int], filename: str, content_type: str, content_length: Optional[int] = ... ) -> IO[bytes]: ... def parse_form_data( environ: WSGIEnvironment, stream_factory: Optional[_StreamFactory] = ..., charset: Text = ..., errors: Text = ..., max_form_memory_size: Optional[int] = ..., max_content_length: Optional[int] = ..., cls: Optional[Callable[[], _Dict]] = ..., silent: bool = ..., ) -> Tuple[IO[bytes], _Dict, _Dict]: ... def exhaust_stream(f: _F) -> _F: ... class FormDataParser(object): stream_factory: _StreamFactory charset: Text errors: Text max_form_memory_size: Optional[int] max_content_length: Optional[int] cls: Callable[[], _Dict] silent: bool def __init__( self, stream_factory: Optional[_StreamFactory] = ..., charset: Text = ..., errors: Text = ..., max_form_memory_size: Optional[int] = ..., max_content_length: Optional[int] = ..., cls: Optional[Callable[[], _Dict]] = ..., silent: bool = ..., ) -> None: ... def get_parse_func(self, mimetype: str, options: Any) -> Optional[_ParseFunc]: ... def parse_from_environ(self, environ: WSGIEnvironment) -> Tuple[IO[bytes], _Dict, _Dict]: ... def parse( self, stream: IO[bytes], mimetype: Text, content_length: Optional[int], options: Optional[Mapping[str, str]] = ... ) -> Tuple[IO[bytes], _Dict, _Dict]: ... parse_functions: Dict[Text, _ParseFunc] def is_valid_multipart_boundary(boundary: str) -> bool: ... def parse_multipart_headers(iterable: Iterable[Union[Text, bytes]]) -> Headers: ... class MultiPartParser(object): charset: Text errors: Text max_form_memory_size: Optional[int] stream_factory: _StreamFactory cls: Callable[[], _Dict] buffer_size: int def __init__( self, stream_factory: Optional[_StreamFactory] = ..., charset: Text = ..., errors: Text = ..., max_form_memory_size: Optional[int] = ..., cls: Optional[Callable[[], _Dict]] = ..., buffer_size: int = ..., ) -> None: ... def fail(self, message: Text) -> NoReturn: ... def get_part_encoding(self, headers: Mapping[str, str]) -> Optional[str]: ... def get_part_charset(self, headers: Mapping[str, str]) -> Text: ... def start_file_streaming( self, filename: Union[Text, bytes], headers: Mapping[str, str], total_content_length: Optional[int] ) -> Tuple[Text, IO[bytes]]: ... def in_memory_threshold_reached(self, bytes: Any) -> NoReturn: ... def validate_boundary(self, boundary: Optional[str]) -> None: ... def parse_lines( self, file: Any, boundary: bytes, content_length: int, cap_at_buffer: bool = ... ) -> Generator[Tuple[str, Any], None, None]: ... def parse_parts(self, file: Any, boundary: bytes, content_length: int) -> Generator[Tuple[str, Any], None, None]: ... def parse(self, file: Any, boundary: bytes, content_length: int) -> Tuple[_Dict, _Dict]: ...
3,702
Python
.py
94
34.212766
122
0.62
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,511
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/utils.pyi
from typing import Any, Optional, Text, Type, TypeVar, overload from werkzeug._internal import _DictAccessorProperty from werkzeug.wrappers import Response class cached_property(property): __name__: Any __module__: Any __doc__: Any func: Any def __init__(self, func, name: Optional[Any] = ..., doc: Optional[Any] = ...): ... def __set__(self, obj, value): ... def __get__(self, obj, type: Optional[Any] = ...): ... class environ_property(_DictAccessorProperty): read_only: Any def lookup(self, obj): ... class header_property(_DictAccessorProperty): def lookup(self, obj): ... class HTMLBuilder: def __init__(self, dialect): ... def __call__(self, s): ... def __getattr__(self, tag): ... html: Any xhtml: Any def get_content_type(mimetype, charset): ... def format_string(string, context): ... def secure_filename(filename: Text) -> Text: ... def escape(s, quote: Optional[Any] = ...): ... def unescape(s): ... # 'redirect' returns a werkzeug Response, unless you give it # another Response type to use instead. _RC = TypeVar("_RC", bound=Response) @overload def redirect(location, code: int = ..., Response: None = ...) -> Response: ... @overload def redirect(location, code: int = ..., Response: Type[_RC] = ...) -> _RC: ... def append_slash_redirect(environ, code: int = ...): ... def import_string(import_name, silent: bool = ...): ... def find_modules(import_path, include_packages: bool = ..., recursive: bool = ...): ... def validate_arguments(func, args, kwargs, drop_extra: bool = ...): ... def bind_arguments(func, args, kwargs): ... class ArgumentValidationError(ValueError): missing: Any extra: Any extra_positional: Any def __init__(self, missing: Optional[Any] = ..., extra: Optional[Any] = ..., extra_positional: Optional[Any] = ...): ... class ImportStringError(ImportError): import_name: Any exception: Any def __init__(self, import_name, exception): ...
1,962
Python
.py
48
38
124
0.656513
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,512
datastructures.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/datastructures.pyi
from _typeshed import SupportsWrite from typing import ( IO, Any, Callable, Container, Dict, Generic, Iterable, Iterator, List, Mapping, MutableSet, NoReturn, Optional, Text, Tuple, Type, TypeVar, Union, overload, ) _K = TypeVar("_K") _V = TypeVar("_V") _R = TypeVar("_R") _D = TypeVar("_D") def is_immutable(self) -> NoReturn: ... def iter_multi_items(mapping): ... def native_itermethods(names): ... class ImmutableListMixin(Generic[_V]): def __hash__(self) -> int: ... def __reduce_ex__(self: _D, protocol) -> Tuple[Type[_D], List[_V]]: ... def __delitem__(self, key: _V) -> NoReturn: ... def __iadd__(self, other: Any) -> NoReturn: ... def __imul__(self, other: Any) -> NoReturn: ... def __setitem__(self, key: str, value: Any) -> NoReturn: ... def append(self, item: Any) -> NoReturn: ... def remove(self, item: Any) -> NoReturn: ... def extend(self, iterable: Any) -> NoReturn: ... def insert(self, pos: int, value: Any) -> NoReturn: ... def pop(self, index: int = ...) -> NoReturn: ... def reverse(self) -> NoReturn: ... def sort(self, cmp: Optional[Any] = ..., key: Optional[Any] = ..., reverse: Optional[Any] = ...) -> NoReturn: ... class ImmutableList(ImmutableListMixin[_V], List[_V]): ... # type: ignore class ImmutableDictMixin(object): @classmethod def fromkeys(cls, *args, **kwargs): ... def __reduce_ex__(self, protocol): ... def __hash__(self) -> int: ... def setdefault(self, key, default: Optional[Any] = ...): ... def update(self, *args, **kwargs): ... def pop(self, key, default: Optional[Any] = ...): ... def popitem(self): ... def __setitem__(self, key, value): ... def __delitem__(self, key): ... def clear(self): ... class ImmutableMultiDictMixin(ImmutableDictMixin): def __reduce_ex__(self, protocol): ... def add(self, key, value): ... def popitemlist(self): ... def poplist(self, key): ... def setlist(self, key, new_list): ... def setlistdefault(self, key, default_list: Optional[Any] = ...): ... class UpdateDictMixin(object): on_update: Any def setdefault(self, key, default: Optional[Any] = ...): ... def pop(self, key, default=...): ... __setitem__: Any __delitem__: Any clear: Any popitem: Any update: Any class TypeConversionDict(Dict[_K, _V]): @overload def get(self, key: _K, *, type: None = ...) -> Optional[_V]: ... @overload def get(self, key: _K, default: _D, type: None = ...) -> Union[_V, _D]: ... @overload def get(self, key: _K, *, type: Callable[[_V], _R]) -> Optional[_R]: ... @overload def get(self, key: _K, default: _D, type: Callable[[_V], _R]) -> Union[_R, _D]: ... class ImmutableTypeConversionDict(ImmutableDictMixin, TypeConversionDict[_K, _V]): # type: ignore def copy(self) -> TypeConversionDict[_K, _V]: ... def __copy__(self) -> ImmutableTypeConversionDict[_K, _V]: ... class ViewItems: def __init__(self, multi_dict, method, repr_name, *a, **kw): ... def __iter__(self): ... class MultiDict(TypeConversionDict[_K, _V]): def __init__(self, mapping: Optional[Any] = ...): ... def __getitem__(self, key): ... def __setitem__(self, key, value): ... def add(self, key, value): ... def getlist(self, key, type: Optional[Any] = ...): ... def setlist(self, key, new_list): ... def setdefault(self, key, default: Optional[Any] = ...): ... def setlistdefault(self, key, default_list: Optional[Any] = ...): ... def items(self, multi: bool = ...): ... def lists(self): ... def keys(self): ... __iter__: Any def values(self): ... def listvalues(self): ... def copy(self): ... def deepcopy(self, memo: Optional[Any] = ...): ... def to_dict(self, flat: bool = ...): ... def update(self, other_dict): ... def pop(self, key, default=...): ... def popitem(self): ... def poplist(self, key): ... def popitemlist(self): ... def __copy__(self): ... def __deepcopy__(self, memo): ... class _omd_bucket: prev: Any key: Any value: Any next: Any def __init__(self, omd, key, value): ... def unlink(self, omd): ... class OrderedMultiDict(MultiDict[_K, _V]): def __init__(self, mapping: Optional[Any] = ...): ... def __eq__(self, other): ... def __ne__(self, other): ... def __reduce_ex__(self, protocol): ... def __getitem__(self, key): ... def __setitem__(self, key, value): ... def __delitem__(self, key): ... def keys(self): ... __iter__: Any def values(self): ... def items(self, multi: bool = ...): ... def lists(self): ... def listvalues(self): ... def add(self, key, value): ... def getlist(self, key, type: Optional[Any] = ...): ... def setlist(self, key, new_list): ... def setlistdefault(self, key, default_list: Optional[Any] = ...): ... def update(self, mapping): ... def poplist(self, key): ... def pop(self, key, default=...): ... def popitem(self): ... def popitemlist(self): ... class Headers(object): def __init__(self, defaults: Optional[Any] = ...): ... def __getitem__(self, key, _get_mode: bool = ...): ... def __eq__(self, other): ... def __ne__(self, other): ... @overload def get(self, key: str, *, type: None = ...) -> Optional[str]: ... @overload def get(self, key: str, default: _D, type: None = ...) -> Union[str, _D]: ... @overload def get(self, key: str, *, type: Callable[[str], _R]) -> Optional[_R]: ... @overload def get(self, key: str, default: _D, type: Callable[[str], _R]) -> Union[_R, _D]: ... @overload def get(self, key: str, *, as_bytes: bool) -> Any: ... @overload def get(self, key: str, *, type: None, as_bytes: bool) -> Any: ... @overload def get(self, key: str, *, type: Callable[[Any], _R], as_bytes: bool) -> Optional[_R]: ... @overload def get(self, key: str, default: Any, type: None, as_bytes: bool) -> Any: ... @overload def get(self, key: str, default: _D, type: Callable[[Any], _R], as_bytes: bool) -> Union[_R, _D]: ... def getlist(self, key, type: Optional[Any] = ..., as_bytes: bool = ...): ... def get_all(self, name): ... def items(self, lower: bool = ...): ... def keys(self, lower: bool = ...): ... def values(self): ... def extend(self, iterable): ... def __delitem__(self, key: Any) -> None: ... def remove(self, key): ... def pop(self, **kwargs): ... def popitem(self): ... def __contains__(self, key): ... has_key: Any def __iter__(self): ... def __len__(self): ... def add(self, _key, _value, **kw): ... def add_header(self, _key, _value, **_kw): ... def clear(self): ... def set(self, _key, _value, **kw): ... def setdefault(self, key, value): ... def __setitem__(self, key, value): ... def to_list(self, charset: Text = ...): ... def to_wsgi_list(self): ... def copy(self): ... def __copy__(self): ... class ImmutableHeadersMixin: def __delitem__(self, key: str) -> None: ... def __setitem__(self, key, value): ... set: Any def add(self, *args, **kwargs): ... remove: Any add_header: Any def extend(self, iterable): ... def insert(self, pos, value): ... def pop(self, **kwargs): ... def popitem(self): ... def setdefault(self, key, default): ... class EnvironHeaders(ImmutableHeadersMixin, Headers): environ: Any def __init__(self, environ): ... def __eq__(self, other): ... def __getitem__(self, key, _get_mode: bool = ...): ... def __len__(self): ... def __iter__(self): ... def copy(self): ... class CombinedMultiDict(ImmutableMultiDictMixin, MultiDict[_K, _V]): # type: ignore def __reduce_ex__(self, protocol): ... dicts: Any def __init__(self, dicts: Optional[Any] = ...): ... @classmethod def fromkeys(cls): ... def __getitem__(self, key): ... def get(self, key, default: Optional[Any] = ..., type: Optional[Any] = ...): ... def getlist(self, key, type: Optional[Any] = ...): ... def keys(self): ... __iter__: Any def items(self, multi: bool = ...): ... def values(self): ... def lists(self): ... def listvalues(self): ... def copy(self): ... def to_dict(self, flat: bool = ...): ... def __len__(self): ... def __contains__(self, key): ... has_key: Any class FileMultiDict(MultiDict[_K, _V]): def add_file(self, name, file, filename: Optional[Any] = ..., content_type: Optional[Any] = ...): ... class ImmutableDict(ImmutableDictMixin, Dict[_K, _V]): # type: ignore def copy(self): ... def __copy__(self): ... class ImmutableMultiDict(ImmutableMultiDictMixin, MultiDict[_K, _V]): # type: ignore def copy(self): ... def __copy__(self): ... class ImmutableOrderedMultiDict(ImmutableMultiDictMixin, OrderedMultiDict[_K, _V]): # type: ignore def copy(self): ... def __copy__(self): ... class Accept(ImmutableList[Tuple[str, float]]): provided: bool def __init__(self, values: Union[None, Accept, Iterable[Tuple[str, float]]] = ...) -> None: ... @overload def __getitem__(self, key: int) -> Tuple[str, float]: ... @overload def __getitem__(self, s: slice) -> List[Tuple[str, float]]: ... @overload def __getitem__(self, key: str) -> float: ... def quality(self, key: str) -> float: ... def __contains__(self, value: str) -> bool: ... # type: ignore def index(self, key: Union[str, Tuple[str, float]]) -> int: ... # type: ignore def find(self, key: Union[str, Tuple[str, float]]) -> int: ... def values(self) -> Iterator[str]: ... def to_header(self) -> str: ... @overload def best_match(self, matches: Iterable[str], default: None = ...) -> Optional[str]: ... @overload def best_match(self, matches: Iterable[str], default: _D) -> Union[str, _D]: ... @property def best(self) -> Optional[str]: ... class MIMEAccept(Accept): @property def accept_html(self) -> bool: ... @property def accept_xhtml(self) -> bool: ... @property def accept_json(self) -> bool: ... class LanguageAccept(Accept): ... class CharsetAccept(Accept): ... def cache_property(key, empty, type): ... class _CacheControl(UpdateDictMixin, Dict[str, Any]): no_cache: Any no_store: Any max_age: Any no_transform: Any on_update: Any provided: Any def __init__(self, values=..., on_update: Optional[Any] = ...): ... def to_header(self): ... class RequestCacheControl(ImmutableDictMixin, _CacheControl): # type: ignore max_stale: Any min_fresh: Any no_transform: Any only_if_cached: Any class ResponseCacheControl(_CacheControl): public: Any private: Any must_revalidate: Any proxy_revalidate: Any s_maxage: Any class CallbackDict(UpdateDictMixin, Dict[_K, _V]): on_update: Any def __init__(self, initial: Optional[Any] = ..., on_update: Optional[Any] = ...): ... class HeaderSet(MutableSet[str]): on_update: Any def __init__(self, headers: Optional[Any] = ..., on_update: Optional[Any] = ...): ... def add(self, header): ... def remove(self, header): ... def update(self, iterable): ... def discard(self, header): ... def find(self, header): ... def index(self, header): ... def clear(self): ... def as_set(self, preserve_casing: bool = ...): ... def to_header(self): ... def __getitem__(self, idx): ... def __delitem__(self, idx): ... def __setitem__(self, idx, value): ... def __contains__(self, header): ... def __len__(self): ... def __iter__(self): ... def __nonzero__(self): ... class ETags(Container[str], Iterable[str]): star_tag: Any def __init__(self, strong_etags: Optional[Any] = ..., weak_etags: Optional[Any] = ..., star_tag: bool = ...): ... def as_set(self, include_weak: bool = ...): ... def is_weak(self, etag): ... def contains_weak(self, etag): ... def contains(self, etag): ... def contains_raw(self, etag): ... def to_header(self): ... def __call__(self, etag: Optional[Any] = ..., data: Optional[Any] = ..., include_weak: bool = ...): ... def __bool__(self): ... __nonzero__: Any def __iter__(self): ... def __contains__(self, etag): ... class IfRange: etag: Any date: Any def __init__(self, etag: Optional[Any] = ..., date: Optional[Any] = ...): ... def to_header(self): ... class Range: units: Any ranges: Any def __init__(self, units, ranges): ... def range_for_length(self, length): ... def make_content_range(self, length): ... def to_header(self): ... def to_content_range_header(self, length): ... class ContentRange: on_update: Any units: Optional[str] start: Any stop: Any length: Any def __init__(self, units: Optional[str], start, stop, length: Optional[Any] = ..., on_update: Optional[Any] = ...): ... def set(self, start, stop, length: Optional[Any] = ..., units: Optional[str] = ...): ... def unset(self) -> None: ... def to_header(self): ... def __nonzero__(self): ... __bool__: Any class Authorization(ImmutableDictMixin, Dict[str, Any]): # type: ignore type: str def __init__(self, auth_type: str, data: Optional[Mapping[str, Any]] = ...) -> None: ... @property def username(self) -> Optional[str]: ... @property def password(self) -> Optional[str]: ... @property def realm(self) -> Optional[str]: ... @property def nonce(self) -> Optional[str]: ... @property def uri(self) -> Optional[str]: ... @property def nc(self) -> Optional[str]: ... @property def cnonce(self) -> Optional[str]: ... @property def response(self) -> Optional[str]: ... @property def opaque(self) -> Optional[str]: ... @property def qop(self) -> Optional[str]: ... class WWWAuthenticate(UpdateDictMixin, Dict[str, Any]): on_update: Any def __init__(self, auth_type: Optional[Any] = ..., values: Optional[Any] = ..., on_update: Optional[Any] = ...): ... def set_basic(self, realm: str = ...): ... def set_digest( self, realm, nonce, qop=..., opaque: Optional[Any] = ..., algorithm: Optional[Any] = ..., stale: bool = ... ): ... def to_header(self): ... @staticmethod def auth_property(name, doc: Optional[Any] = ...): ... type: Any realm: Any domain: Any nonce: Any opaque: Any algorithm: Any qop: Any stale: Any class FileStorage(object): name: Optional[Text] stream: IO[bytes] filename: Optional[Text] headers: Headers def __init__( self, stream: Optional[IO[bytes]] = ..., filename: Union[None, Text, bytes] = ..., name: Optional[Text] = ..., content_type: Optional[Text] = ..., content_length: Optional[int] = ..., headers: Optional[Headers] = ..., ): ... @property def content_type(self) -> Optional[Text]: ... @property def content_length(self) -> int: ... @property def mimetype(self) -> str: ... @property def mimetype_params(self) -> Dict[str, str]: ... def save(self, dst: Union[Text, SupportsWrite[bytes]], buffer_size: int = ...): ... def close(self) -> None: ... def __nonzero__(self) -> bool: ... def __bool__(self) -> bool: ... def __getattr__(self, name: Text) -> Any: ... def __iter__(self) -> Iterator[bytes]: ...
15,587
Python
.py
421
32.296912
123
0.572675
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,513
http.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/http.pyi
import sys from _typeshed.wsgi import WSGIEnvironment from datetime import datetime, timedelta from typing import ( Any, Callable, Dict, Iterable, List, Mapping, Optional, SupportsInt, Text, Tuple, Type, TypeVar, Union, overload, ) from .datastructures import ( Accept, Authorization, ContentRange, ETags, Headers, HeaderSet, IfRange, Range, RequestCacheControl, TypeConversionDict, WWWAuthenticate, ) if sys.version_info < (3,): _Str = TypeVar("_Str", str, unicode) _ToBytes = Union[bytes, bytearray, buffer, unicode] _ETagData = Union[str, unicode, bytearray, buffer, memoryview] else: _Str = str _ToBytes = Union[bytes, bytearray, memoryview, str] _ETagData = Union[bytes, bytearray, memoryview] _T = TypeVar("_T") _U = TypeVar("_U") HTTP_STATUS_CODES: Dict[int, str] def wsgi_to_bytes(data: Union[bytes, Text]) -> bytes: ... def bytes_to_wsgi(data: bytes) -> str: ... def quote_header_value(value: Any, extra_chars: str = ..., allow_token: bool = ...) -> str: ... def unquote_header_value(value: _Str, is_filename: bool = ...) -> _Str: ... def dump_options_header(header: Optional[_Str], options: Mapping[_Str, Any]) -> _Str: ... def dump_header(iterable: Union[Iterable[Any], Dict[_Str, Any]], allow_token: bool = ...) -> _Str: ... def parse_list_header(value: _Str) -> List[_Str]: ... @overload def parse_dict_header(value: Union[bytes, Text]) -> Dict[Text, Optional[Text]]: ... @overload def parse_dict_header(value: Union[bytes, Text], cls: Type[_T]) -> _T: ... @overload def parse_options_header(value: None, multiple: bool = ...) -> Tuple[str, Dict[str, Optional[str]]]: ... @overload def parse_options_header(value: _Str) -> Tuple[_Str, Dict[_Str, Optional[_Str]]]: ... # actually returns Tuple[_Str, Dict[_Str, Optional[_Str]], ...] @overload def parse_options_header(value: _Str, multiple: bool = ...) -> Tuple[Any, ...]: ... @overload def parse_accept_header(value: Optional[Text]) -> Accept: ... @overload def parse_accept_header(value: Optional[_Str], cls: Callable[[Optional[List[Tuple[str, float]]]], _T]) -> _T: ... @overload def parse_cache_control_header( value: Union[None, bytes, Text], on_update: Optional[Callable[[RequestCacheControl], Any]] = ... ) -> RequestCacheControl: ... @overload def parse_cache_control_header( value: Union[None, bytes, Text], on_update: _T, cls: Callable[[Dict[Text, Optional[Text]], _T], _U] ) -> _U: ... @overload def parse_cache_control_header( value: Union[None, bytes, Text], *, cls: Callable[[Dict[Text, Optional[Text]], None], _U] ) -> _U: ... def parse_set_header(value: Text, on_update: Optional[Callable[[HeaderSet], Any]] = ...) -> HeaderSet: ... def parse_authorization_header(value: Union[None, bytes, Text]) -> Optional[Authorization]: ... def parse_www_authenticate_header( value: Union[None, bytes, Text], on_update: Optional[Callable[[WWWAuthenticate], Any]] = ... ) -> WWWAuthenticate: ... def parse_if_range_header(value: Optional[Text]) -> IfRange: ... def parse_range_header(value: Optional[Text], make_inclusive: bool = ...) -> Optional[Range]: ... def parse_content_range_header( value: Optional[Text], on_update: Optional[Callable[[ContentRange], Any]] = ... ) -> Optional[ContentRange]: ... def quote_etag(etag: _Str, weak: bool = ...) -> _Str: ... def unquote_etag(etag: Optional[_Str]) -> Tuple[Optional[_Str], Optional[_Str]]: ... def parse_etags(value: Optional[Text]) -> ETags: ... def generate_etag(data: _ETagData) -> str: ... def parse_date(value: Optional[str]) -> Optional[datetime]: ... def cookie_date(expires: Union[None, float, datetime] = ...) -> str: ... def http_date(timestamp: Union[None, float, datetime] = ...) -> str: ... def parse_age(value: Optional[SupportsInt] = ...) -> Optional[timedelta]: ... def dump_age(age: Union[None, timedelta, SupportsInt]) -> Optional[str]: ... def is_resource_modified( environ: WSGIEnvironment, etag: Optional[Text] = ..., data: Optional[_ETagData] = ..., last_modified: Union[None, Text, datetime] = ..., ignore_if_range: bool = ..., ) -> bool: ... def remove_entity_headers(headers: Union[List[Tuple[Text, Text]], Headers], allowed: Iterable[Text] = ...) -> None: ... def remove_hop_by_hop_headers(headers: Union[List[Tuple[Text, Text]], Headers]) -> None: ... def is_entity_header(header: Text) -> bool: ... def is_hop_by_hop_header(header: Text) -> bool: ... @overload def parse_cookie( header: Union[None, WSGIEnvironment, Text, bytes], charset: Text = ..., errors: Text = ... ) -> TypeConversionDict[Any, Any]: ... @overload def parse_cookie( header: Union[None, WSGIEnvironment, Text, bytes], charset: Text = ..., errors: Text = ..., cls: Optional[Callable[[Iterable[Tuple[Text, Text]]], _T]] = ..., ) -> _T: ... def dump_cookie( key: _ToBytes, value: _ToBytes = ..., max_age: Union[None, float, timedelta] = ..., expires: Union[None, Text, float, datetime] = ..., path: Union[None, Tuple[Any, ...], str, bytes] = ..., domain: Union[None, str, bytes] = ..., secure: bool = ..., httponly: bool = ..., charset: Text = ..., sync_expires: bool = ..., ) -> str: ... def is_byte_range_valid(start: Optional[int], stop: Optional[int], length: Optional[int]) -> bool: ...
5,335
Python
.py
131
37.969466
119
0.654867
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,514
useragents.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/useragents.pyi
from typing import Any, Optional class UserAgentParser: platforms: Any browsers: Any def __init__(self): ... def __call__(self, user_agent): ... class UserAgent: string: Any platform: Optional[str] browser: Optional[str] version: Optional[str] language: Optional[str] def __init__(self, environ_or_string): ... def to_header(self): ... def __nonzero__(self): ... __bool__: Any
431
Python
.py
16
22.5625
46
0.62954
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,515
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/__init__.pyi
from types import ModuleType from typing import Any from werkzeug import ( _internal, datastructures, debug, exceptions, formparser, http, local, security, serving, test, testapp, urls, useragents, utils, wrappers, wsgi, ) class module(ModuleType): def __getattr__(self, name): ... def __dir__(self): ... __version__: Any run_simple = serving.run_simple test_app = testapp.test_app UserAgent = useragents.UserAgent _easteregg = _internal._easteregg DebuggedApplication = debug.DebuggedApplication MultiDict = datastructures.MultiDict CombinedMultiDict = datastructures.CombinedMultiDict Headers = datastructures.Headers EnvironHeaders = datastructures.EnvironHeaders ImmutableList = datastructures.ImmutableList ImmutableDict = datastructures.ImmutableDict ImmutableMultiDict = datastructures.ImmutableMultiDict TypeConversionDict = datastructures.TypeConversionDict ImmutableTypeConversionDict = datastructures.ImmutableTypeConversionDict Accept = datastructures.Accept MIMEAccept = datastructures.MIMEAccept CharsetAccept = datastructures.CharsetAccept LanguageAccept = datastructures.LanguageAccept RequestCacheControl = datastructures.RequestCacheControl ResponseCacheControl = datastructures.ResponseCacheControl ETags = datastructures.ETags HeaderSet = datastructures.HeaderSet WWWAuthenticate = datastructures.WWWAuthenticate Authorization = datastructures.Authorization FileMultiDict = datastructures.FileMultiDict CallbackDict = datastructures.CallbackDict FileStorage = datastructures.FileStorage OrderedMultiDict = datastructures.OrderedMultiDict ImmutableOrderedMultiDict = datastructures.ImmutableOrderedMultiDict escape = utils.escape environ_property = utils.environ_property append_slash_redirect = utils.append_slash_redirect redirect = utils.redirect cached_property = utils.cached_property import_string = utils.import_string dump_cookie = http.dump_cookie parse_cookie = http.parse_cookie unescape = utils.unescape format_string = utils.format_string find_modules = utils.find_modules header_property = utils.header_property html = utils.html xhtml = utils.xhtml HTMLBuilder = utils.HTMLBuilder validate_arguments = utils.validate_arguments ArgumentValidationError = utils.ArgumentValidationError bind_arguments = utils.bind_arguments secure_filename = utils.secure_filename BaseResponse = wrappers.BaseResponse BaseRequest = wrappers.BaseRequest Request = wrappers.Request Response = wrappers.Response AcceptMixin = wrappers.AcceptMixin ETagRequestMixin = wrappers.ETagRequestMixin ETagResponseMixin = wrappers.ETagResponseMixin ResponseStreamMixin = wrappers.ResponseStreamMixin CommonResponseDescriptorsMixin = wrappers.CommonResponseDescriptorsMixin UserAgentMixin = wrappers.UserAgentMixin AuthorizationMixin = wrappers.AuthorizationMixin WWWAuthenticateMixin = wrappers.WWWAuthenticateMixin CommonRequestDescriptorsMixin = wrappers.CommonRequestDescriptorsMixin Local = local.Local LocalManager = local.LocalManager LocalProxy = local.LocalProxy LocalStack = local.LocalStack release_local = local.release_local generate_password_hash = security.generate_password_hash check_password_hash = security.check_password_hash Client = test.Client EnvironBuilder = test.EnvironBuilder create_environ = test.create_environ run_wsgi_app = test.run_wsgi_app get_current_url = wsgi.get_current_url get_host = wsgi.get_host pop_path_info = wsgi.pop_path_info peek_path_info = wsgi.peek_path_info SharedDataMiddleware = wsgi.SharedDataMiddleware DispatcherMiddleware = wsgi.DispatcherMiddleware ClosingIterator = wsgi.ClosingIterator FileWrapper = wsgi.FileWrapper make_line_iter = wsgi.make_line_iter LimitedStream = wsgi.LimitedStream responder = wsgi.responder wrap_file = wsgi.wrap_file extract_path_info = wsgi.extract_path_info parse_etags = http.parse_etags parse_date = http.parse_date http_date = http.http_date cookie_date = http.cookie_date parse_cache_control_header = http.parse_cache_control_header is_resource_modified = http.is_resource_modified parse_accept_header = http.parse_accept_header parse_set_header = http.parse_set_header quote_etag = http.quote_etag unquote_etag = http.unquote_etag generate_etag = http.generate_etag dump_header = http.dump_header parse_list_header = http.parse_list_header parse_dict_header = http.parse_dict_header parse_authorization_header = http.parse_authorization_header parse_www_authenticate_header = http.parse_www_authenticate_header remove_entity_headers = http.remove_entity_headers is_entity_header = http.is_entity_header remove_hop_by_hop_headers = http.remove_hop_by_hop_headers parse_options_header = http.parse_options_header dump_options_header = http.dump_options_header is_hop_by_hop_header = http.is_hop_by_hop_header unquote_header_value = http.unquote_header_value quote_header_value = http.quote_header_value HTTP_STATUS_CODES = http.HTTP_STATUS_CODES url_decode = urls.url_decode url_encode = urls.url_encode url_quote = urls.url_quote url_quote_plus = urls.url_quote_plus url_unquote = urls.url_unquote url_unquote_plus = urls.url_unquote_plus url_fix = urls.url_fix Href = urls.Href iri_to_uri = urls.iri_to_uri uri_to_iri = urls.uri_to_iri parse_form_data = formparser.parse_form_data abort = exceptions.Aborter Aborter = exceptions.Aborter
5,307
Python
.py
147
34.585034
72
0.839604
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,516
_reloader.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/_reloader.pyi
from typing import Any, Optional class ReloaderLoop: name: Any extra_files: Any interval: float def __init__(self, extra_files: Optional[Any] = ..., interval: float = ...): ... def run(self): ... def restart_with_reloader(self): ... def trigger_reload(self, filename): ... def log_reload(self, filename): ... class StatReloaderLoop(ReloaderLoop): name: Any def run(self): ... class WatchdogReloaderLoop(ReloaderLoop): observable_paths: Any name: Any observer_class: Any event_handler: Any should_reload: Any def __init__(self, *args, **kwargs): ... def trigger_reload(self, filename): ... def run(self): ... reloader_loops: Any def run_with_reloader(main_func, extra_files: Optional[Any] = ..., interval: float = ..., reloader_type: str = ...): ...
826
Python
.py
24
30.208333
120
0.649937
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,517
local.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/local.pyi
from typing import Any, Optional def release_local(local): ... class Local: def __init__(self): ... def __iter__(self): ... def __call__(self, proxy): ... def __release_local__(self): ... def __getattr__(self, name): ... def __setattr__(self, name, value): ... def __delattr__(self, name): ... class LocalStack: def __init__(self): ... def __release_local__(self): ... def _get__ident_func__(self): ... def _set__ident_func__(self, value): ... __ident_func__: Any def __call__(self): ... def push(self, obj): ... def pop(self): ... @property def top(self): ... class LocalManager: locals: Any ident_func: Any def __init__(self, locals: Optional[Any] = ..., ident_func: Optional[Any] = ...): ... def get_ident(self): ... def cleanup(self): ... def make_middleware(self, app): ... def middleware(self, func): ... class LocalProxy: def __init__(self, local, name: Optional[Any] = ...): ... @property def __dict__(self): ... def __bool__(self): ... def __unicode__(self): ... def __dir__(self): ... def __getattr__(self, name): ... def __setitem__(self, key, value): ... def __delitem__(self, key): ... __getslice__: Any def __setslice__(self, i, j, seq): ... def __delslice__(self, i, j): ... __setattr__: Any __delattr__: Any __lt__: Any __le__: Any __eq__: Any __ne__: Any __gt__: Any __ge__: Any __cmp__: Any __hash__: Any __call__: Any __len__: Any __getitem__: Any __iter__: Any __contains__: Any __add__: Any __sub__: Any __mul__: Any __floordiv__: Any __mod__: Any __divmod__: Any __pow__: Any __lshift__: Any __rshift__: Any __and__: Any __xor__: Any __or__: Any __div__: Any __truediv__: Any __neg__: Any __pos__: Any __abs__: Any __invert__: Any __complex__: Any __int__: Any __long__: Any __float__: Any __oct__: Any __hex__: Any __index__: Any __coerce__: Any __enter__: Any __exit__: Any __radd__: Any __rsub__: Any __rmul__: Any __rdiv__: Any __rtruediv__: Any __rfloordiv__: Any __rmod__: Any __rdivmod__: Any __copy__: Any __deepcopy__: Any
2,315
Python
.py
95
19.568421
89
0.489391
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,518
script.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/script.pyi
from typing import Any, Optional argument_types: Any converters: Any def run(namespace: Optional[Any] = ..., action_prefix: str = ..., args: Optional[Any] = ...): ... def fail(message, code: int = ...): ... def find_actions(namespace, action_prefix): ... def print_usage(actions): ... def analyse_action(func): ... def make_shell(init_func: Optional[Any] = ..., banner: Optional[Any] = ..., use_ipython: bool = ...): ... def make_runserver( app_factory, hostname: str = ..., port: int = ..., use_reloader: bool = ..., use_debugger: bool = ..., use_evalex: bool = ..., threaded: bool = ..., processes: int = ..., static_files: Optional[Any] = ..., extra_files: Optional[Any] = ..., ssl_context: Optional[Any] = ..., ): ...
768
Python
.py
22
31.818182
105
0.598118
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,519
posixemulation.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/posixemulation.pyi
from typing import Any from ._compat import to_unicode as to_unicode from .filesystem import get_filesystem_encoding as get_filesystem_encoding can_rename_open_file: Any def rename(src, dst): ...
199
Python
.py
5
38.2
74
0.806283
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,520
serving.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/serving.pyi
import sys from typing import Any, Optional if sys.version_info < (3,): from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from SocketServer import ThreadingMixIn else: from http.server import BaseHTTPRequestHandler, HTTPServer from socketserver import ThreadingMixIn if sys.platform == "win32": class ForkingMixIn(object): ... else: if sys.version_info < (3,): from SocketServer import ForkingMixIn as ForkingMixIn else: from socketserver import ForkingMixIn as ForkingMixIn class _SslDummy: def __getattr__(self, name): ... ssl: Any LISTEN_QUEUE: Any can_open_by_fd: Any class WSGIRequestHandler(BaseHTTPRequestHandler): @property def server_version(self): ... def make_environ(self): ... environ: Any close_connection: Any def run_wsgi(self): ... def handle(self): ... def initiate_shutdown(self): ... def connection_dropped(self, error, environ: Optional[Any] = ...): ... raw_requestline: Any def handle_one_request(self): ... def send_response(self, code, message: Optional[Any] = ...): ... def version_string(self): ... def address_string(self): ... def port_integer(self): ... def log_request(self, code: object = ..., size: object = ...) -> None: ... def log_error(self, *args): ... def log_message(self, format, *args): ... def log(self, type, message, *args): ... BaseRequestHandler: Any def generate_adhoc_ssl_pair(cn: Optional[Any] = ...): ... def make_ssl_devcert(base_path, host: Optional[Any] = ..., cn: Optional[Any] = ...): ... def generate_adhoc_ssl_context(): ... def load_ssl_context(cert_file, pkey_file: Optional[Any] = ..., protocol: Optional[Any] = ...): ... class _SSLContext: def __init__(self, protocol): ... def load_cert_chain(self, certfile, keyfile: Optional[Any] = ..., password: Optional[Any] = ...): ... def wrap_socket(self, sock, **kwargs): ... def is_ssl_error(error: Optional[Any] = ...): ... def select_ip_version(host, port): ... class BaseWSGIServer(HTTPServer): multithread: Any multiprocess: Any request_queue_size: Any address_family: Any app: Any passthrough_errors: Any shutdown_signal: Any host: Any port: Any socket: Any server_address: Any ssl_context: Any def __init__( self, host, port, app, handler: Optional[Any] = ..., passthrough_errors: bool = ..., ssl_context: Optional[Any] = ..., fd: Optional[Any] = ..., ): ... def log(self, type, message, *args): ... def serve_forever(self): ... def handle_error(self, request, client_address): ... def get_request(self): ... class ThreadedWSGIServer(ThreadingMixIn, BaseWSGIServer): multithread: Any daemon_threads: Any class ForkingWSGIServer(ForkingMixIn, BaseWSGIServer): multiprocess: Any max_children: Any def __init__( self, host, port, app, processes: int = ..., handler: Optional[Any] = ..., passthrough_errors: bool = ..., ssl_context: Optional[Any] = ..., fd: Optional[Any] = ..., ): ... def make_server( host: Optional[Any] = ..., port: Optional[Any] = ..., app: Optional[Any] = ..., threaded: bool = ..., processes: int = ..., request_handler: Optional[Any] = ..., passthrough_errors: bool = ..., ssl_context: Optional[Any] = ..., fd: Optional[Any] = ..., ): ... def is_running_from_reloader(): ... def run_simple( hostname, port, application, use_reloader: bool = ..., use_debugger: bool = ..., use_evalex: bool = ..., extra_files: Optional[Any] = ..., reloader_interval: int = ..., reloader_type: str = ..., threaded: bool = ..., processes: int = ..., request_handler: Optional[Any] = ..., static_files: Optional[Any] = ..., passthrough_errors: bool = ..., ssl_context: Optional[Any] = ..., ): ... def run_with_reloader(*args, **kwargs): ... def main(): ...
4,057
Python
.py
126
27.404762
105
0.618841
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,521
filesystem.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/filesystem.pyi
from typing import Any has_likely_buggy_unicode_filesystem: Any class BrokenFilesystemWarning(RuntimeWarning, UnicodeWarning): ... def get_filesystem_encoding(): ...
169
Python
.py
4
40.5
66
0.820988
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,522
_internal.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/_internal.pyi
from typing import Any, Optional class _Missing: def __reduce__(self): ... class _DictAccessorProperty: read_only: Any name: Any default: Any load_func: Any dump_func: Any __doc__: Any def __init__( self, name, default: Optional[Any] = ..., load_func: Optional[Any] = ..., dump_func: Optional[Any] = ..., read_only: Optional[Any] = ..., doc: Optional[Any] = ..., ): ... def __get__(self, obj, type: Optional[Any] = ...): ... def __set__(self, obj, value): ... def __delete__(self, obj): ... def _easteregg(app: Optional[Any] = ...): ...
644
Python
.py
23
22.347826
58
0.52589
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,523
testapp.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/testapp.pyi
from typing import Any from werkzeug.wrappers import BaseRequest as Request, BaseResponse as Response logo: Any TEMPLATE: Any def iter_sys_path(): ... def render_testapp(req): ... def test_app(environ, start_response): ...
226
Python
.py
7
30.857143
78
0.777778
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,524
routing.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/routing.pyi
from typing import Any, Optional, Text from werkzeug.exceptions import HTTPException def parse_converter_args(argstr): ... def parse_rule(rule): ... class RoutingException(Exception): ... class RequestRedirect(HTTPException, RoutingException): code: Any new_url: Any def __init__(self, new_url): ... def get_response(self, environ): ... class RequestSlash(RoutingException): ... class RequestAliasRedirect(RoutingException): matched_values: Any def __init__(self, matched_values): ... class BuildError(RoutingException, LookupError): endpoint: Any values: Any method: Any adapter: Optional[MapAdapter] def __init__(self, endpoint, values, method, adapter: Optional[MapAdapter] = ...) -> None: ... @property def suggested(self) -> Optional[Rule]: ... def closest_rule(self, adapter: Optional[MapAdapter]) -> Optional[Rule]: ... class ValidationError(ValueError): ... class RuleFactory: def get_rules(self, map): ... class Subdomain(RuleFactory): subdomain: Any rules: Any def __init__(self, subdomain, rules): ... def get_rules(self, map): ... class Submount(RuleFactory): path: Any rules: Any def __init__(self, path, rules): ... def get_rules(self, map): ... class EndpointPrefix(RuleFactory): prefix: Any rules: Any def __init__(self, prefix, rules): ... def get_rules(self, map): ... class RuleTemplate: rules: Any def __init__(self, rules): ... def __call__(self, *args, **kwargs): ... class RuleTemplateFactory(RuleFactory): rules: Any context: Any def __init__(self, rules, context): ... def get_rules(self, map): ... class Rule(RuleFactory): rule: Any is_leaf: Any map: Any strict_slashes: Any subdomain: Any host: Any defaults: Any build_only: Any alias: Any methods: Any endpoint: Any redirect_to: Any arguments: Any def __init__( self, string, defaults: Optional[Any] = ..., subdomain: Optional[Any] = ..., methods: Optional[Any] = ..., build_only: bool = ..., endpoint: Optional[Any] = ..., strict_slashes: Optional[Any] = ..., redirect_to: Optional[Any] = ..., alias: bool = ..., host: Optional[Any] = ..., ): ... def empty(self): ... def get_empty_kwargs(self): ... def get_rules(self, map): ... def refresh(self): ... def bind(self, map, rebind: bool = ...): ... def get_converter(self, variable_name, converter_name, args, kwargs): ... def compile(self): ... def match(self, path, method: Optional[Any] = ...): ... def build(self, values, append_unknown: bool = ...): ... def provides_defaults_for(self, rule): ... def suitable_for(self, values, method: Optional[Any] = ...): ... def match_compare_key(self): ... def build_compare_key(self): ... def __eq__(self, other): ... def __ne__(self, other): ... class BaseConverter: regex: Any weight: Any map: Any def __init__(self, map): ... def to_python(self, value): ... def to_url(self, value) -> str: ... class UnicodeConverter(BaseConverter): regex: Any def __init__(self, map, minlength: int = ..., maxlength: Optional[Any] = ..., length: Optional[Any] = ...): ... class AnyConverter(BaseConverter): regex: Any def __init__(self, map, *items): ... class PathConverter(BaseConverter): regex: Any weight: Any class NumberConverter(BaseConverter): weight: Any fixed_digits: Any min: Any max: Any def __init__(self, map, fixed_digits: int = ..., min: Optional[Any] = ..., max: Optional[Any] = ...): ... def to_python(self, value): ... def to_url(self, value) -> str: ... class IntegerConverter(NumberConverter): regex: Any num_convert: Any class FloatConverter(NumberConverter): regex: Any num_convert: Any def __init__(self, map, min: Optional[Any] = ..., max: Optional[Any] = ...): ... class UUIDConverter(BaseConverter): regex: Any def to_python(self, value): ... def to_url(self, value) -> str: ... DEFAULT_CONVERTERS: Any class Map: default_converters: Any default_subdomain: Any charset: Text encoding_errors: Text strict_slashes: Any redirect_defaults: Any host_matching: Any converters: Any sort_parameters: Any sort_key: Any def __init__( self, rules: Optional[Any] = ..., default_subdomain: str = ..., charset: Text = ..., strict_slashes: bool = ..., redirect_defaults: bool = ..., converters: Optional[Any] = ..., sort_parameters: bool = ..., sort_key: Optional[Any] = ..., encoding_errors: Text = ..., host_matching: bool = ..., ): ... def is_endpoint_expecting(self, endpoint, *arguments): ... def iter_rules(self, endpoint: Optional[Any] = ...): ... def add(self, rulefactory): ... def bind( self, server_name, script_name: Optional[Any] = ..., subdomain: Optional[Any] = ..., url_scheme: str = ..., default_method: str = ..., path_info: Optional[Any] = ..., query_args: Optional[Any] = ..., ): ... def bind_to_environ(self, environ, server_name: Optional[Any] = ..., subdomain: Optional[Any] = ...): ... def update(self): ... class MapAdapter: map: Any server_name: Any script_name: Any subdomain: Any url_scheme: Any path_info: Any default_method: Any query_args: Any def __init__( self, map, server_name, script_name, subdomain, url_scheme, path_info, default_method, query_args: Optional[Any] = ... ): ... def dispatch( self, view_func, path_info: Optional[Any] = ..., method: Optional[Any] = ..., catch_http_exceptions: bool = ... ): ... def match( self, path_info: Optional[Any] = ..., method: Optional[Any] = ..., return_rule: bool = ..., query_args: Optional[Any] = ..., ): ... def test(self, path_info: Optional[Any] = ..., method: Optional[Any] = ...): ... def allowed_methods(self, path_info: Optional[Any] = ...): ... def get_host(self, domain_part): ... def get_default_redirect(self, rule, method, values, query_args): ... def encode_query_args(self, query_args): ... def make_redirect_url(self, path_info, query_args: Optional[Any] = ..., domain_part: Optional[Any] = ...): ... def make_alias_redirect_url(self, path, endpoint, values, method, query_args): ... def build( self, endpoint, values: Optional[Any] = ..., method: Optional[Any] = ..., force_external: bool = ..., append_unknown: bool = ..., ): ...
6,802
Python
.py
204
27.921569
126
0.599817
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,525
test.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/test.pyi
import sys from _typeshed.wsgi import WSGIEnvironment from typing import Any, Generic, Optional, Text, Tuple, Type, TypeVar, overload from typing_extensions import Literal if sys.version_info < (3,): from cookielib import CookieJar from urllib2 import Request as U2Request else: from http.cookiejar import CookieJar from urllib.request import Request as U2Request def stream_encode_multipart( values, use_tempfile: int = ..., threshold=..., boundary: Optional[Any] = ..., charset: Text = ... ): ... def encode_multipart(values, boundary: Optional[Any] = ..., charset: Text = ...): ... def File(fd, filename: Optional[Any] = ..., mimetype: Optional[Any] = ...): ... class _TestCookieHeaders: headers: Any def __init__(self, headers): ... def getheaders(self, name): ... def get_all(self, name, default: Optional[Any] = ...): ... class _TestCookieResponse: headers: Any def __init__(self, headers): ... def info(self): ... class _TestCookieJar(CookieJar): def inject_wsgi(self, environ): ... def extract_wsgi(self, environ, headers): ... class EnvironBuilder: server_protocol: Any wsgi_version: Any request_class: Any charset: Text path: Any base_url: Any query_string: Any args: Any method: Any headers: Any content_type: Any errors_stream: Any multithread: Any multiprocess: Any run_once: Any environ_base: Any environ_overrides: Any input_stream: Any content_length: Any closed: Any def __init__( self, path: str = ..., base_url: Optional[Any] = ..., query_string: Optional[Any] = ..., method: str = ..., input_stream: Optional[Any] = ..., content_type: Optional[Any] = ..., content_length: Optional[Any] = ..., errors_stream: Optional[Any] = ..., multithread: bool = ..., multiprocess: bool = ..., run_once: bool = ..., headers: Optional[Any] = ..., data: Optional[Any] = ..., environ_base: Optional[Any] = ..., environ_overrides: Optional[Any] = ..., charset: Text = ..., ): ... form: Any files: Any @property def server_name(self) -> str: ... @property def server_port(self) -> int: ... def __del__(self) -> None: ... def close(self) -> None: ... def get_environ(self) -> WSGIEnvironment: ... def get_request(self, cls: Optional[Any] = ...): ... class ClientRedirectError(Exception): ... # Response type for the client below. # By default _R is Tuple[Iterable[Any], Union[Text, int], datastructures.Headers] _R = TypeVar("_R") class Client(Generic[_R]): application: Any response_wrapper: Optional[Type[_R]] cookie_jar: Any allow_subdomain_redirects: Any def __init__( self, application, response_wrapper: Optional[Type[_R]] = ..., use_cookies: bool = ..., allow_subdomain_redirects: bool = ..., ): ... def set_cookie( self, server_name, key, value: str = ..., max_age: Optional[Any] = ..., expires: Optional[Any] = ..., path: str = ..., domain: Optional[Any] = ..., secure: Optional[Any] = ..., httponly: bool = ..., charset: Text = ..., ): ... def delete_cookie(self, server_name, key, path: str = ..., domain: Optional[Any] = ...): ... def run_wsgi_app(self, environ, buffered: bool = ...): ... def resolve_redirect(self, response, new_location, environ, buffered: bool = ...): ... @overload def open(self, *args, as_tuple: Literal[True], **kwargs) -> Tuple[WSGIEnvironment, _R]: ... @overload def open(self, *args, as_tuple: Literal[False] = ..., **kwargs) -> _R: ... @overload def open(self, *args, as_tuple: bool, **kwargs) -> Any: ... @overload def get(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def get(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def get(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def patch(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def patch(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def patch(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def post(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def post(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def post(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def head(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def head(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def head(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def put(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def put(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def put(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def delete(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def delete(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def delete(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def options(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def options(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def options(self, *args, as_tuple: bool, **kw) -> Any: ... @overload def trace(self, *args, as_tuple: Literal[True], **kw) -> Tuple[WSGIEnvironment, _R]: ... @overload def trace(self, *args, as_tuple: Literal[False] = ..., **kw) -> _R: ... @overload def trace(self, *args, as_tuple: bool, **kw) -> Any: ... def create_environ(*args, **kwargs): ... def run_wsgi_app(app, environ, buffered: bool = ...): ...
6,138
Python
.py
165
31.848485
102
0.585779
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,526
_compat.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/_compat.pyi
import sys from typing import Any, Optional, Text if sys.version_info >= (3,): from io import BytesIO as BytesIO, StringIO as StringIO NativeStringIO = StringIO else: import cStringIO from StringIO import StringIO as StringIO BytesIO = cStringIO.StringIO NativeStringIO = BytesIO PY2: Any WIN: Any unichr: Any text_type: Any string_types: Any integer_types: Any iterkeys: Any itervalues: Any iteritems: Any iterlists: Any iterlistvalues: Any int_to_byte: Any iter_bytes: Any def fix_tuple_repr(obj): ... def implements_iterator(cls): ... def implements_to_string(cls): ... def native_string_result(func): ... def implements_bool(cls): ... range_type: Any def make_literal_wrapper(reference): ... def normalize_string_tuple(tup): ... def try_coerce_native(s): ... wsgi_get_bytes: Any def wsgi_decoding_dance(s, charset: Text = ..., errors: Text = ...): ... def wsgi_encoding_dance(s, charset: Text = ..., errors: Text = ...): ... def to_bytes(x, charset: Text = ..., errors: Text = ...): ... def to_native(x, charset: Text = ..., errors: Text = ...): ... def reraise(tp, value, tb: Optional[Any] = ...): ... imap: Any izip: Any ifilter: Any def to_unicode(x, charset: Text = ..., errors: Text = ..., allow_none_charset: bool = ...): ...
1,271
Python
.py
42
28.428571
95
0.69376
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,527
wrappers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/wrappers.pyi
from _typeshed.wsgi import InputStream, WSGIEnvironment from datetime import datetime from typing import ( Any, Callable, Iterable, Iterator, Mapping, MutableMapping, Optional, Sequence, Text, Tuple, Type, TypeVar, Union, overload, ) from typing_extensions import Literal from .datastructures import ( Accept, Authorization, CharsetAccept, CombinedMultiDict, EnvironHeaders, Headers, HeaderSet, ImmutableMultiDict, ImmutableTypeConversionDict, LanguageAccept, MIMEAccept, MultiDict, ) from .useragents import UserAgent class BaseRequest: charset: str encoding_errors: str max_content_length: Optional[int] max_form_memory_size: int parameter_storage_class: Type[Any] list_storage_class: Type[Any] dict_storage_class: Type[Any] form_data_parser_class: Type[Any] trusted_hosts: Optional[Sequence[Text]] disable_data_descriptor: Any environ: WSGIEnvironment = ... shallow: Any def __init__(self, environ: WSGIEnvironment, populate_request: bool = ..., shallow: bool = ...) -> None: ... @property def url_charset(self) -> str: ... @classmethod def from_values(cls, *args, **kwargs) -> BaseRequest: ... @classmethod def application(cls, f): ... @property def want_form_data_parsed(self): ... def make_form_data_parser(self): ... def close(self) -> None: ... def __enter__(self): ... def __exit__(self, exc_type, exc_value, tb): ... @property def stream(self) -> InputStream: ... input_stream: InputStream args: ImmutableMultiDict[Any, Any] @property def data(self) -> bytes: ... @overload def get_data(self, cache: bool = ..., as_text: Literal[False] = ..., parse_form_data: bool = ...) -> bytes: ... @overload def get_data(self, cache: bool, as_text: Literal[True], parse_form_data: bool = ...) -> Text: ... @overload def get_data(self, *, as_text: Literal[True], parse_form_data: bool = ...) -> Text: ... @overload def get_data(self, cache: bool, as_text: bool, parse_form_data: bool = ...) -> Any: ... @overload def get_data(self, *, as_text: bool, parse_form_data: bool = ...) -> Any: ... form: ImmutableMultiDict[Any, Any] values: CombinedMultiDict[Any, Any] files: MultiDict[Any, Any] @property def cookies(self) -> ImmutableTypeConversionDict[str, str]: ... headers: EnvironHeaders path: Text full_path: Text script_root: Text url: Text base_url: Text url_root: Text host_url: Text host: Text query_string: bytes method: Text @property def access_route(self) -> Sequence[str]: ... @property def remote_addr(self) -> str: ... remote_user: Text scheme: str is_xhr: bool is_secure: bool is_multithread: bool is_multiprocess: bool is_run_once: bool _OnCloseT = TypeVar("_OnCloseT", bound=Callable[[], Any]) _SelfT = TypeVar("_SelfT", bound=BaseResponse) class BaseResponse: charset: str default_status: int default_mimetype: Optional[str] implicit_sequence_conversion: bool autocorrect_location_header: bool automatically_set_content_length: bool headers: Headers status_code: int status: str direct_passthrough: bool response: Iterable[bytes] def __init__( self, response: Optional[Union[str, bytes, bytearray, Iterable[str], Iterable[bytes]]] = ..., status: Optional[Union[Text, int]] = ..., headers: Optional[Union[Headers, Mapping[Text, Text], Sequence[Tuple[Text, Text]]]] = ..., mimetype: Optional[Text] = ..., content_type: Optional[Text] = ..., direct_passthrough: bool = ..., ) -> None: ... def call_on_close(self, func: _OnCloseT) -> _OnCloseT: ... @classmethod def force_type(cls: Type[_SelfT], response: object, environ: Optional[WSGIEnvironment] = ...) -> _SelfT: ... @classmethod def from_app(cls: Type[_SelfT], app: Any, environ: WSGIEnvironment, buffered: bool = ...) -> _SelfT: ... @overload def get_data(self, as_text: Literal[False] = ...) -> bytes: ... @overload def get_data(self, as_text: Literal[True]) -> Text: ... @overload def get_data(self, as_text: bool) -> Any: ... def set_data(self, value: Union[bytes, Text]) -> None: ... data: Any def calculate_content_length(self) -> Optional[int]: ... def make_sequence(self) -> None: ... def iter_encoded(self) -> Iterator[bytes]: ... def set_cookie( self, key: str, value: Union[str, bytes] = ..., max_age: Optional[int] = ..., expires: Optional[int] = ..., path: str = ..., domain: Optional[str] = ..., secure: bool = ..., httponly: bool = ..., samesite: Optional[str] = ..., ) -> None: ... def delete_cookie(self, key, path: str = ..., domain: Optional[Any] = ...): ... @property def is_streamed(self) -> bool: ... @property def is_sequence(self) -> bool: ... def close(self) -> None: ... def __enter__(self): ... def __exit__(self, exc_type, exc_value, tb): ... # The no_etag argument if fictional, but required for compatibility with # ETagResponseMixin def freeze(self, no_etag: bool = ...) -> None: ... def get_wsgi_headers(self, environ): ... def get_app_iter(self, environ): ... def get_wsgi_response(self, environ): ... def __call__(self, environ, start_response): ... class AcceptMixin(object): @property def accept_mimetypes(self) -> MIMEAccept: ... @property def accept_charsets(self) -> CharsetAccept: ... @property def accept_encodings(self) -> Accept: ... @property def accept_languages(self) -> LanguageAccept: ... class ETagRequestMixin: @property def cache_control(self): ... @property def if_match(self): ... @property def if_none_match(self): ... @property def if_modified_since(self): ... @property def if_unmodified_since(self): ... @property def if_range(self): ... @property def range(self): ... class UserAgentMixin: @property def user_agent(self) -> UserAgent: ... class AuthorizationMixin: @property def authorization(self) -> Optional[Authorization]: ... class StreamOnlyMixin: disable_data_descriptor: Any want_form_data_parsed: Any class ETagResponseMixin: @property def cache_control(self): ... status_code: Any def make_conditional(self, request_or_environ, accept_ranges: bool = ..., complete_length: Optional[Any] = ...): ... def add_etag(self, overwrite: bool = ..., weak: bool = ...): ... def set_etag(self, etag, weak: bool = ...): ... def get_etag(self): ... def freeze(self, no_etag: bool = ...) -> None: ... accept_ranges: Any content_range: Any class ResponseStream: mode: Any response: Any closed: Any def __init__(self, response): ... def write(self, value): ... def writelines(self, seq): ... def close(self): ... def flush(self): ... def isatty(self): ... @property def encoding(self): ... class ResponseStreamMixin: @property def stream(self) -> ResponseStream: ... class CommonRequestDescriptorsMixin: @property def content_type(self) -> Optional[str]: ... @property def content_length(self) -> Optional[int]: ... @property def content_encoding(self) -> Optional[str]: ... @property def content_md5(self) -> Optional[str]: ... @property def referrer(self) -> Optional[str]: ... @property def date(self) -> Optional[datetime]: ... @property def max_forwards(self) -> Optional[int]: ... @property def mimetype(self) -> str: ... @property def mimetype_params(self) -> Mapping[str, str]: ... @property def pragma(self) -> HeaderSet: ... class CommonResponseDescriptorsMixin: mimetype: Optional[str] = ... @property def mimetype_params(self) -> MutableMapping[str, str]: ... location: Optional[str] = ... age: Any = ... # get: Optional[datetime.timedelta] content_type: Optional[str] = ... content_length: Optional[int] = ... content_location: Optional[str] = ... content_encoding: Optional[str] = ... content_md5: Optional[str] = ... date: Any = ... # get: Optional[datetime.datetime] expires: Any = ... # get: Optional[datetime.datetime] last_modified: Any = ... # get: Optional[datetime.datetime] retry_after: Any = ... # get: Optional[datetime.datetime] vary: Optional[str] = ... content_language: Optional[str] = ... allow: Optional[str] = ... class WWWAuthenticateMixin: @property def www_authenticate(self): ... class Request(BaseRequest, AcceptMixin, ETagRequestMixin, UserAgentMixin, AuthorizationMixin, CommonRequestDescriptorsMixin): ... class PlainRequest(StreamOnlyMixin, Request): ... class Response(BaseResponse, ETagResponseMixin, ResponseStreamMixin, CommonResponseDescriptorsMixin, WWWAuthenticateMixin): ...
9,115
Python
.py
273
28.461538
129
0.635849
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,528
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/exceptions.pyi
import datetime from _typeshed.wsgi import StartResponse, WSGIEnvironment from typing import Any, Dict, Iterable, List, NoReturn, Optional, Protocol, Text, Tuple, Type, Union from werkzeug.wrappers import Response class _EnvironContainer(Protocol): @property def environ(self) -> WSGIEnvironment: ... class HTTPException(Exception): code: Optional[int] description: Optional[Text] response: Optional[Response] def __init__(self, description: Optional[Text] = ..., response: Optional[Response] = ...) -> None: ... @classmethod def wrap(cls, exception: Type[Exception], name: Optional[str] = ...) -> Any: ... @property def name(self) -> str: ... def get_description(self, environ: Optional[WSGIEnvironment] = ...) -> Text: ... def get_body(self, environ: Optional[WSGIEnvironment] = ...) -> Text: ... def get_headers(self, environ: Optional[WSGIEnvironment] = ...) -> List[Tuple[str, str]]: ... def get_response(self, environ: Optional[Union[WSGIEnvironment, _EnvironContainer]] = ...) -> Response: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ... default_exceptions: Dict[int, Type[HTTPException]] class BadRequest(HTTPException): code: int description: Text class ClientDisconnected(BadRequest): ... class SecurityError(BadRequest): ... class BadHost(BadRequest): ... class Unauthorized(HTTPException): code: int description: Text www_authenticate: Optional[Iterable[object]] def __init__( self, description: Optional[Text] = ..., response: Optional[Response] = ..., www_authenticate: Union[None, Tuple[object, ...], List[object], object] = ..., ) -> None: ... class Forbidden(HTTPException): code: int description: Text class NotFound(HTTPException): code: int description: Text class MethodNotAllowed(HTTPException): code: int description: Text valid_methods: Any def __init__(self, valid_methods: Optional[Any] = ..., description: Optional[Any] = ...): ... class NotAcceptable(HTTPException): code: int description: Text class RequestTimeout(HTTPException): code: int description: Text class Conflict(HTTPException): code: int description: Text class Gone(HTTPException): code: int description: Text class LengthRequired(HTTPException): code: int description: Text class PreconditionFailed(HTTPException): code: int description: Text class RequestEntityTooLarge(HTTPException): code: int description: Text class RequestURITooLarge(HTTPException): code: int description: Text class UnsupportedMediaType(HTTPException): code: int description: Text class RequestedRangeNotSatisfiable(HTTPException): code: int description: Text length: Any units: str def __init__(self, length: Optional[Any] = ..., units: str = ..., description: Optional[Any] = ...): ... class ExpectationFailed(HTTPException): code: int description: Text class ImATeapot(HTTPException): code: int description: Text class UnprocessableEntity(HTTPException): code: int description: Text class Locked(HTTPException): code: int description: Text class FailedDependency(HTTPException): code: int description: Text class PreconditionRequired(HTTPException): code: int description: Text class _RetryAfter(HTTPException): retry_after: Union[None, int, datetime.datetime] def __init__( self, description: Optional[Text] = ..., response: Optional[Response] = ..., retry_after: Union[None, int, datetime.datetime] = ..., ) -> None: ... class TooManyRequests(_RetryAfter): code: int description: Text class RequestHeaderFieldsTooLarge(HTTPException): code: int description: Text class UnavailableForLegalReasons(HTTPException): code: int description: Text class InternalServerError(HTTPException): def __init__( self, description: Optional[Text] = ..., response: Optional[Response] = ..., original_exception: Optional[Exception] = ... ) -> None: ... code: int description: Text class NotImplemented(HTTPException): code: int description: Text class BadGateway(HTTPException): code: int description: Text class ServiceUnavailable(_RetryAfter): code: int description: Text class GatewayTimeout(HTTPException): code: int description: Text class HTTPVersionNotSupported(HTTPException): code: int description: Text class Aborter: mapping: Any def __init__(self, mapping: Optional[Any] = ..., extra: Optional[Any] = ...) -> None: ... def __call__(self, code: Union[int, Response], *args: Any, **kwargs: Any) -> NoReturn: ... def abort(status: Union[int, Response], *args: Any, **kwargs: Any) -> NoReturn: ... class BadRequestKeyError(BadRequest, KeyError): ...
4,942
Python
.py
144
30.020833
130
0.70435
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,529
lint.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/lint.pyi
import sys from _typeshed import SupportsWrite from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import Any, Iterable, Iterator, List, Mapping, Optional, Protocol, Tuple from ..datastructures import Headers class WSGIWarning(Warning): ... class HTTPWarning(Warning): ... def check_string(context: str, obj: object, stacklevel: int = ...) -> None: ... class _SupportsReadEtc(Protocol): def read(self, __size: int = ...) -> bytes: ... def readline(self, __size: int = ...) -> bytes: ... def __iter__(self) -> Iterator[bytes]: ... def close(self) -> Any: ... class InputStream(object): def __init__(self, stream: _SupportsReadEtc) -> None: ... def read(self, __size: int = ...) -> bytes: ... def readline(self, __size: int = ...) -> bytes: ... def __iter__(self) -> Iterator[bytes]: ... def close(self) -> None: ... class _SupportsWriteEtc(Protocol): def write(self, __s: str) -> Any: ... def flush(self) -> Any: ... def close(self) -> Any: ... class ErrorStream(object): def __init__(self, stream: _SupportsWriteEtc) -> None: ... def write(self, s: str) -> None: ... def flush(self) -> None: ... def writelines(self, seq: Iterable[str]) -> None: ... def close(self) -> None: ... class GuardedWrite(object): def __init__(self, write: SupportsWrite[str], chunks: List[int]) -> None: ... def __call__(self, s: str) -> None: ... class GuardedIterator(object): closed: bool headers_set: bool chunks: List[int] def __init__(self, iterator: Iterable[str], headers_set: bool, chunks: List[int]) -> None: ... def __iter__(self) -> GuardedIterator: ... if sys.version_info < (3,): def next(self) -> str: ... else: def __next__(self) -> str: ... def close(self) -> None: ... class LintMiddleware(object): def __init__(self, app: WSGIApplication) -> None: ... def check_environ(self, environ: WSGIEnvironment) -> None: ... def check_start_response( self, status: str, headers: List[Tuple[str, str]], exc_info: Optional[Tuple[Any, ...]] ) -> Tuple[int, Headers]: ... def check_headers(self, headers: Mapping[str, str]) -> None: ... def check_iterator(self, app_iter: Iterable[bytes]) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> GuardedIterator: ...
2,389
Python
.py
52
41.673077
103
0.623979
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,530
dispatcher.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/dispatcher.pyi
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import Iterable, Mapping, Optional, Text class DispatcherMiddleware(object): app: WSGIApplication mounts: Mapping[Text, WSGIApplication] def __init__(self, app: WSGIApplication, mounts: Optional[Mapping[Text, WSGIApplication]] = ...) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
451
Python
.py
7
61
113
0.75395
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,531
shared_data.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/shared_data.pyi
import datetime from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import IO, Callable, Iterable, List, Mapping, Optional, Text, Tuple, Union _V = Union[Tuple[Text, Text], Text] _Opener = Callable[[], Tuple[IO[bytes], datetime.datetime, int]] _Loader = Callable[[Optional[Text]], Union[Tuple[None, None], Tuple[Text, _Opener]]] class SharedDataMiddleware(object): app: WSGIApplication exports: List[Tuple[Text, _Loader]] cache: bool cache_timeout: float def __init__( self, app: WSGIApplication, exports: Union[Mapping[Text, _V], Iterable[Tuple[Text, _V]]], disallow: Optional[Text] = ..., cache: bool = ..., cache_timeout: float = ..., fallback_mimetype: Text = ..., ) -> None: ... def is_allowed(self, filename: Text) -> bool: ... def get_file_loader(self, filename: Text) -> _Loader: ... def get_package_loader(self, package: Text, package_path: Text) -> _Loader: ... def get_directory_loader(self, directory: Text) -> _Loader: ... def generate_etag(self, mtime: datetime.datetime, file_size: int, real_filename: Union[Text, bytes]) -> str: ... def __call__(self, environment: WSGIEnvironment, start_response: StartResponse) -> WSGIApplication: ...
1,295
Python
.py
26
44.692308
116
0.665087
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,532
proxy_fix.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/proxy_fix.pyi
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import Iterable, Optional class ProxyFix(object): app: WSGIApplication x_for: int x_proto: int x_host: int x_port: int x_prefix: int num_proxies: int def __init__( self, app: WSGIApplication, num_proxies: Optional[int] = ..., x_for: int = ..., x_proto: int = ..., x_host: int = ..., x_port: int = ..., x_prefix: int = ..., ) -> None: ... def get_remote_addr(self, forwarded_for: Iterable[str]) -> Optional[str]: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
712
Python
.py
22
26.409091
103
0.596517
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,533
profiler.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/profiler.pyi
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import IO, Iterable, List, Optional, Text, Tuple, Union class ProfilerMiddleware(object): def __init__( self, app: WSGIApplication, stream: IO[str] = ..., sort_by: Tuple[Text, Text] = ..., restrictions: Iterable[Union[str, float]] = ..., profile_dir: Optional[Text] = ..., filename_format: Text = ..., ) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> List[bytes]: ...
569
Python
.py
13
37.461538
99
0.630631
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,534
http_proxy.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/middleware/http_proxy.pyi
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import Any, Dict, Iterable, Mapping, MutableMapping, Text _Opts = Mapping[Text, Any] _MutableOpts = MutableMapping[Text, Any] class ProxyMiddleware(object): app: WSGIApplication targets: Dict[Text, _MutableOpts] def __init__( self, app: WSGIApplication, targets: Mapping[Text, _MutableOpts], chunk_size: int = ..., timeout: int = ... ) -> None: ... def proxy_to(self, opts: _Opts, path: Text, prefix: Text) -> WSGIApplication: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
652
Python
.py
12
50.5
115
0.708464
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,535
tbtools.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/debug/tbtools.pyi
from typing import Any, Optional UTF8_COOKIE: Any system_exceptions: Any HEADER: Any FOOTER: Any PAGE_HTML: Any CONSOLE_HTML: Any SUMMARY_HTML: Any FRAME_HTML: Any SOURCE_LINE_HTML: Any def render_console_html(secret, evalex_trusted: bool = ...): ... def get_current_traceback(ignore_system_exceptions: bool = ..., show_hidden_frames: bool = ..., skip: int = ...): ... class Line: lineno: Any code: Any in_frame: Any current: Any def __init__(self, lineno, code): ... def classes(self): ... def render(self): ... class Traceback: exc_type: Any exc_value: Any exception_type: Any frames: Any def __init__(self, exc_type, exc_value, tb): ... def filter_hidden_frames(self): ... def is_syntax_error(self): ... def exception(self): ... def log(self, logfile: Optional[Any] = ...): ... def paste(self): ... def render_summary(self, include_title: bool = ...): ... def render_full(self, evalex: bool = ..., secret: Optional[Any] = ..., evalex_trusted: bool = ...): ... def generate_plaintext_traceback(self): ... def plaintext(self): ... id: Any class Frame: lineno: Any function_name: Any locals: Any globals: Any filename: Any module: Any loader: Any code: Any hide: Any info: Any def __init__(self, exc_type, exc_value, tb): ... def render(self): ... def render_line_context(self): ... def get_annotated_lines(self): ... def eval(self, code, mode: str = ...): ... def sourcelines(self): ... def get_context_lines(self, context: int = ...): ... @property def current_line(self): ... def console(self): ... id: Any
1,687
Python
.py
58
25.034483
117
0.618842
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,536
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/debug/__init__.pyi
from typing import Any, Optional from werkzeug.wrappers import BaseRequest as Request, BaseResponse as Response PIN_TIME: Any def hash_pin(pin): ... def get_machine_id(): ... class _ConsoleFrame: console: Any id: Any def __init__(self, namespace): ... def get_pin_and_cookie_name(app): ... class DebuggedApplication: app: Any evalex: Any frames: Any tracebacks: Any request_key: Any console_path: Any console_init_func: Any show_hidden_frames: Any secret: Any pin_logging: Any pin: Any def __init__( self, app, evalex: bool = ..., request_key: str = ..., console_path: str = ..., console_init_func: Optional[Any] = ..., show_hidden_frames: bool = ..., lodgeit_url: Optional[Any] = ..., pin_security: bool = ..., pin_logging: bool = ..., ): ... @property def pin_cookie_name(self): ... def debug_application(self, environ, start_response): ... def execute_command(self, request, command, frame): ... def display_console(self, request): ... def paste_traceback(self, request, traceback): ... def get_resource(self, request, filename): ... def check_pin_trust(self, environ): ... def pin_auth(self, request): ... def log_pin_request(self): ... def __call__(self, environ, start_response): ...
1,384
Python
.py
45
25.444444
78
0.613653
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,537
repr.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/debug/repr.pyi
from typing import Any, Optional deque: Any missing: Any RegexType: Any HELP_HTML: Any OBJECT_DUMP_HTML: Any def debug_repr(obj): ... def dump(obj=...): ... class _Helper: def __call__(self, topic: Optional[Any] = ...): ... helper: Any class DebugReprGenerator: def __init__(self): ... list_repr: Any tuple_repr: Any set_repr: Any frozenset_repr: Any deque_repr: Any def regex_repr(self, obj): ... def string_repr(self, obj, limit: int = ...): ... def dict_repr(self, d, recursive, limit: int = ...): ... def object_repr(self, obj): ... def dispatch_repr(self, obj, recursive): ... def fallback_repr(self): ... def repr(self, obj): ... def dump_object(self, obj): ... def dump_locals(self, d): ... def render_object_dump(self, items, title, repr: Optional[Any] = ...): ...
846
Python
.py
28
26.607143
78
0.617466
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,538
console.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/debug/console.pyi
import code from typing import Any, Optional class HTMLStringO: def __init__(self): ... def isatty(self): ... def close(self): ... def flush(self): ... def seek(self, n, mode: int = ...): ... def readline(self): ... def reset(self): ... def write(self, x): ... def writelines(self, x): ... class ThreadedStream: @staticmethod def push(): ... @staticmethod def fetch(): ... @staticmethod def displayhook(obj): ... def __setattr__(self, name, value): ... def __dir__(self): ... def __getattribute__(self, name): ... class _ConsoleLoader: def __init__(self): ... def register(self, code, source): ... def get_source_by_code(self, code): ... class _InteractiveConsole(code.InteractiveInterpreter): globals: Any more: Any buffer: Any def __init__(self, globals, locals): ... def runsource(self, source): ... def runcode(self, code): ... def showtraceback(self): ... def showsyntaxerror(self, filename: Optional[Any] = ...): ... def write(self, data): ... class Console: def __init__(self, globals: Optional[Any] = ..., locals: Optional[Any] = ...): ... def eval(self, code): ...
1,207
Python
.py
39
26.538462
86
0.593293
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,539
jsrouting.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/jsrouting.pyi
from typing import Any def dumps(*args): ... def render_template(name_parts, rules, converters): ... def generate_map(map, name: str = ...): ... def generate_adapter(adapter, name: str = ..., map_name: str = ...): ... def js_to_url_function(converter): ... def NumberConverter_js_to_url(conv): ... js_to_url_functions: Any
325
Python
.py
8
39.375
72
0.67619
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,540
securecookie.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/securecookie.pyi
from hashlib import sha1 as _default_hash from hmac import new as hmac from typing import Any, Optional from werkzeug.contrib.sessions import ModificationTrackingDict class UnquoteError(Exception): ... class SecureCookie(ModificationTrackingDict[Any, Any]): hash_method: Any serialization_method: Any quote_base64: Any secret_key: Any new: Any def __init__(self, data: Optional[Any] = ..., secret_key: Optional[Any] = ..., new: bool = ...): ... @property def should_save(self): ... @classmethod def quote(cls, value): ... @classmethod def unquote(cls, value): ... def serialize(self, expires: Optional[Any] = ...): ... @classmethod def unserialize(cls, string, secret_key): ... @classmethod def load_cookie(cls, request, key: str = ..., secret_key: Optional[Any] = ...): ... def save_cookie( self, response, key: str = ..., expires: Optional[Any] = ..., session_expires: Optional[Any] = ..., max_age: Optional[Any] = ..., path: str = ..., domain: Optional[Any] = ..., secure: Optional[Any] = ..., httponly: bool = ..., force: bool = ..., ): ...
1,212
Python
.py
36
28.027778
104
0.601023
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,541
cache.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/cache.pyi
from typing import Any, Optional class BaseCache: default_timeout: float def __init__(self, default_timeout: float = ...): ... def get(self, key): ... def delete(self, key): ... def get_many(self, *keys): ... def get_dict(self, *keys): ... def set(self, key, value, timeout: Optional[float] = ...): ... def add(self, key, value, timeout: Optional[float] = ...): ... def set_many(self, mapping, timeout: Optional[float] = ...): ... def delete_many(self, *keys): ... def has(self, key): ... def clear(self): ... def inc(self, key, delta=...): ... def dec(self, key, delta=...): ... class NullCache(BaseCache): ... class SimpleCache(BaseCache): clear: Any def __init__(self, threshold: int = ..., default_timeout: float = ...): ... def get(self, key): ... def set(self, key, value, timeout: Optional[float] = ...): ... def add(self, key, value, timeout: Optional[float] = ...): ... def delete(self, key): ... def has(self, key): ... class MemcachedCache(BaseCache): key_prefix: Any def __init__(self, servers: Optional[Any] = ..., default_timeout: float = ..., key_prefix: Optional[Any] = ...): ... def get(self, key): ... def get_dict(self, *keys): ... def add(self, key, value, timeout: Optional[float] = ...): ... def set(self, key, value, timeout: Optional[float] = ...): ... def get_many(self, *keys): ... def set_many(self, mapping, timeout: Optional[float] = ...): ... def delete(self, key): ... def delete_many(self, *keys): ... def has(self, key): ... def clear(self): ... def inc(self, key, delta=...): ... def dec(self, key, delta=...): ... def import_preferred_memcache_lib(self, servers): ... GAEMemcachedCache: Any class RedisCache(BaseCache): key_prefix: Any def __init__( self, host: str = ..., port: int = ..., password: Optional[Any] = ..., db: int = ..., default_timeout: float = ..., key_prefix: Optional[Any] = ..., **kwargs, ): ... def dump_object(self, value): ... def load_object(self, value): ... def get(self, key): ... def get_many(self, *keys): ... def set(self, key, value, timeout: Optional[float] = ...): ... def add(self, key, value, timeout: Optional[float] = ...): ... def set_many(self, mapping, timeout: Optional[float] = ...): ... def delete(self, key): ... def delete_many(self, *keys): ... def has(self, key): ... def clear(self): ... def inc(self, key, delta=...): ... def dec(self, key, delta=...): ... class FileSystemCache(BaseCache): def __init__(self, cache_dir, threshold: int = ..., default_timeout: float = ..., mode: int = ...): ... def clear(self): ... def get(self, key): ... def add(self, key, value, timeout: Optional[float] = ...): ... def set(self, key, value, timeout: Optional[float] = ...): ... def delete(self, key): ... def has(self, key): ... class UWSGICache(BaseCache): cache: Any def __init__(self, default_timeout: float = ..., cache: str = ...): ... def get(self, key): ... def delete(self, key): ... def set(self, key, value, timeout: Optional[float] = ...): ... def add(self, key, value, timeout: Optional[float] = ...): ... def clear(self): ... def has(self, key): ...
3,375
Python
.py
84
35.130952
120
0.559854
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,542
limiter.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/limiter.pyi
from typing import Any class StreamLimitMiddleware: app: Any maximum_size: Any def __init__(self, app, maximum_size=...): ... def __call__(self, environ, start_response): ...
192
Python
.py
6
28.166667
52
0.654054
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,543
atom.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/atom.pyi
from typing import Any, Optional XHTML_NAMESPACE: Any def format_iso8601(obj): ... class AtomFeed: default_generator: Any title: Any title_type: Any url: Any feed_url: Any id: Any updated: Any author: Any icon: Any logo: Any rights: Any rights_type: Any subtitle: Any subtitle_type: Any generator: Any links: Any entries: Any def __init__(self, title: Optional[Any] = ..., entries: Optional[Any] = ..., **kwargs): ... def add(self, *args, **kwargs): ... def generate(self): ... def to_string(self): ... def get_response(self): ... def __call__(self, environ, start_response): ... class FeedEntry: title: Any title_type: Any content: Any content_type: Any url: Any id: Any updated: Any summary: Any summary_type: Any author: Any published: Any rights: Any links: Any categories: Any xml_base: Any def __init__(self, title: Optional[Any] = ..., content: Optional[Any] = ..., feed_url: Optional[Any] = ..., **kwargs): ... def generate(self): ... def to_string(self): ...
1,136
Python
.py
46
20.043478
126
0.607735
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,544
profiler.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/profiler.pyi
from _typeshed import SupportsWrite from typing import AnyStr, Generic, Tuple from ..middleware.profiler import * class MergeStream(Generic[AnyStr]): streams: Tuple[SupportsWrite[AnyStr], ...] def __init__(self, *streams: SupportsWrite[AnyStr]) -> None: ... def write(self, data: AnyStr) -> None: ...
315
Python
.py
7
42
68
0.718954
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,545
testtools.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/testtools.pyi
from werkzeug.wrappers import Response class ContentAccessors: def xml(self): ... def lxml(self): ... def json(self): ... class TestResponse(Response, ContentAccessors): ...
188
Python
.py
6
28
51
0.711111
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,546
sessions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/sessions.pyi
from typing import Any, Optional, Text, TypeVar from werkzeug.datastructures import CallbackDict _K = TypeVar("_K") _V = TypeVar("_V") def generate_key(salt: Optional[Any] = ...): ... class ModificationTrackingDict(CallbackDict[_K, _V]): modified: Any def __init__(self, *args, **kwargs): ... def copy(self): ... def __copy__(self): ... class Session(ModificationTrackingDict[_K, _V]): sid: Any new: Any def __init__(self, data, sid, new: bool = ...): ... @property def should_save(self): ... class SessionStore: session_class: Any def __init__(self, session_class: Optional[Any] = ...): ... def is_valid_key(self, key): ... def generate_key(self, salt: Optional[Any] = ...): ... def new(self): ... def save(self, session): ... def save_if_modified(self, session): ... def delete(self, session): ... def get(self, sid): ... class FilesystemSessionStore(SessionStore): path: Any filename_template: str renew_missing: Any mode: Any def __init__( self, path: Optional[Any] = ..., filename_template: Text = ..., session_class: Optional[Any] = ..., renew_missing: bool = ..., mode: int = ..., ): ... def get_session_filename(self, sid): ... def save(self, session): ... def delete(self, session): ... def get(self, sid): ... def list(self): ... class SessionMiddleware: app: Any store: Any cookie_name: Any cookie_age: Any cookie_expires: Any cookie_path: Any cookie_domain: Any cookie_secure: Any cookie_httponly: Any environ_key: Any def __init__( self, app, store, cookie_name: str = ..., cookie_age: Optional[Any] = ..., cookie_expires: Optional[Any] = ..., cookie_path: str = ..., cookie_domain: Optional[Any] = ..., cookie_secure: Optional[Any] = ..., cookie_httponly: bool = ..., environ_key: str = ..., ): ... def __call__(self, environ, start_response): ...
2,074
Python
.py
69
24.536232
63
0.575864
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,547
fixers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/fixers.pyi
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment from typing import Any, Iterable, List, Mapping, Optional, Set, Text from ..middleware.proxy_fix import ProxyFix as ProxyFix class CGIRootFix(object): app: WSGIApplication app_root: Text def __init__(self, app: WSGIApplication, app_root: Text = ...) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ... class LighttpdCGIRootFix(CGIRootFix): ... class PathInfoFromRequestUriFix(object): app: WSGIApplication def __init__(self, app: WSGIApplication) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ... class HeaderRewriterFix(object): app: WSGIApplication remove_headers: Set[Text] add_headers: List[Text] def __init__( self, app: WSGIApplication, remove_headers: Optional[Iterable[Text]] = ..., add_headers: Optional[Iterable[Text]] = ... ) -> None: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ... class InternetExplorerFix(object): app: WSGIApplication fix_vary: bool fix_attach: bool def __init__(self, app: WSGIApplication, fix_vary: bool = ..., fix_attach: bool = ...) -> None: ... def fix_headers(self, environ: WSGIEnvironment, headers: Mapping[str, str], status: Optional[Any] = ...) -> None: ... def run_fixed(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ... def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
1,650
Python
.py
29
52.655172
127
0.70031
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,548
iterio.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/iterio.pyi
from typing import Any, Optional, Text, Union greenlet: Any class IterIO: def __new__(cls, obj, sentinel: Union[Text, bytes] = ...): ... def __iter__(self): ... def tell(self): ... def isatty(self): ... def seek(self, pos, mode: int = ...): ... def truncate(self, size: Optional[Any] = ...): ... def write(self, s): ... def writelines(self, list): ... def read(self, n: int = ...): ... def readlines(self, sizehint: int = ...): ... def readline(self, length: Optional[Any] = ...): ... def flush(self): ... def __next__(self): ... class IterI(IterIO): sentinel: Any def __new__(cls, func, sentinel: Union[Text, bytes] = ...): ... closed: Any def close(self): ... def write(self, s): ... def writelines(self, list): ... def flush(self): ... class IterO(IterIO): sentinel: Any closed: Any pos: Any def __new__(cls, gen, sentinel: Union[Text, bytes] = ...): ... def __iter__(self): ... def close(self): ... def seek(self, pos, mode: int = ...): ... def read(self, n: int = ...): ... def readline(self, length: Optional[Any] = ...): ... def readlines(self, sizehint: int = ...): ...
1,202
Python
.py
35
29.8
67
0.543422
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,549
wrappers.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/wrappers.pyi
from typing import Any def is_known_charset(charset): ... class JSONRequestMixin: def json(self): ... class ProtobufRequestMixin: protobuf_check_initialization: Any def parse_protobuf(self, proto_type): ... class RoutingArgsRequestMixin: routing_args: Any routing_vars: Any class ReverseSlashBehaviorRequestMixin: def path(self): ... def script_root(self): ... class DynamicCharsetRequestMixin: default_charset: Any def unknown_charset(self, charset): ... def charset(self): ... class DynamicCharsetResponseMixin: default_charset: Any charset: Any
603
Python
.py
20
26.4
45
0.744792
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,550
types.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/types.pyi
import datetime import uuid from typing import IO, Any, Callable, Generic, Iterable, List, Optional, Sequence, Text, Tuple as _PyTuple, Type, TypeVar, Union from click.core import Context, Parameter, _ConvertibleType, _ParamType ParamType = _ParamType class BoolParamType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> bool: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> bool: ... class CompositeParamType(ParamType): arity: int class Choice(ParamType): choices: Iterable[str] case_sensitive: bool def __init__(self, choices: Iterable[str], case_sensitive: bool = ...) -> None: ... class DateTime(ParamType): formats: Sequence[str] def __init__(self, formats: Optional[Sequence[str]] = ...) -> None: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> datetime.datetime: ... class FloatParamType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> float: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> float: ... class FloatRange(FloatParamType): min: Optional[float] max: Optional[float] clamp: bool def __init__(self, min: Optional[float] = ..., max: Optional[float] = ..., clamp: bool = ...) -> None: ... class File(ParamType): mode: str encoding: Optional[str] errors: Optional[str] lazy: Optional[bool] atomic: bool def __init__( self, mode: Text = ..., encoding: Optional[str] = ..., errors: Optional[str] = ..., lazy: Optional[bool] = ..., atomic: Optional[bool] = ..., ) -> None: ... def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> IO[Any]: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> IO[Any]: ... def resolve_lazy_flag(self, value: str) -> bool: ... _F = TypeVar("_F") # result of the function _Func = Callable[[Optional[str]], _F] class FuncParamType(ParamType, Generic[_F]): func: _Func[_F] def __init__(self, func: _Func[_F]) -> None: ... def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> _F: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> _F: ... class IntParamType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> int: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> int: ... class IntRange(IntParamType): min: Optional[int] max: Optional[int] clamp: bool def __init__(self, min: Optional[int] = ..., max: Optional[int] = ..., clamp: bool = ...) -> None: ... _PathType = TypeVar("_PathType", str, bytes) _PathTypeBound = Union[Type[str], Type[bytes]] class Path(ParamType): exists: bool file_okay: bool dir_okay: bool writable: bool readable: bool resolve_path: bool allow_dash: bool type: Optional[_PathTypeBound] def __init__( self, exists: bool = ..., file_okay: bool = ..., dir_okay: bool = ..., writable: bool = ..., readable: bool = ..., resolve_path: bool = ..., allow_dash: bool = ..., path_type: Optional[Type[_PathType]] = ..., ) -> None: ... def coerce_path_result(self, rv: Union[str, bytes]) -> _PathType: ... def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> _PathType: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> _PathType: ... class StringParamType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> str: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> str: ... class Tuple(CompositeParamType): types: List[ParamType] def __init__(self, types: Iterable[Any]) -> None: ... def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> Tuple: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> Tuple: ... class UnprocessedParamType(ParamType): ... class UUIDParameterType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> uuid.UUID: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> uuid.UUID: ... def convert_type(ty: Optional[_ConvertibleType], default: Optional[Any] = ...) -> ParamType: ... # parameter type shortcuts BOOL: BoolParamType FLOAT: FloatParamType INT: IntParamType STRING: StringParamType UNPROCESSED: UnprocessedParamType UUID: UUIDParameterType
5,045
Python
.py
103
44.427184
128
0.640854
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,551
termui.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/termui.pyi
from typing import IO, Any, Callable, Generator, Iterable, Optional, Text, Tuple, TypeVar, Union, overload from click._termui_impl import ProgressBar as _ProgressBar from click.core import _ConvertibleType def hidden_prompt_func(prompt: str) -> str: ... def _build_prompt(text: str, suffix: str, show_default: bool = ..., default: Optional[str] = ...) -> str: ... def prompt( text: str, default: Optional[str] = ..., hide_input: bool = ..., confirmation_prompt: bool = ..., type: Optional[_ConvertibleType] = ..., value_proc: Optional[Callable[[Optional[str]], Any]] = ..., prompt_suffix: str = ..., show_default: bool = ..., err: bool = ..., show_choices: bool = ..., ) -> Any: ... def confirm( text: str, default: bool = ..., abort: bool = ..., prompt_suffix: str = ..., show_default: bool = ..., err: bool = ... ) -> bool: ... def get_terminal_size() -> Tuple[int, int]: ... def echo_via_pager( text_or_generator: Union[str, Iterable[str], Callable[[], Generator[str, None, None]]], color: Optional[bool] = ... ) -> None: ... _T = TypeVar("_T") @overload def progressbar( iterable: Iterable[_T], length: Optional[int] = ..., label: Optional[str] = ..., show_eta: bool = ..., show_percent: Optional[bool] = ..., show_pos: bool = ..., item_show_func: Optional[Callable[[_T], str]] = ..., fill_char: str = ..., empty_char: str = ..., bar_template: str = ..., info_sep: str = ..., width: int = ..., file: Optional[IO[Any]] = ..., color: Optional[bool] = ..., ) -> _ProgressBar[_T]: ... @overload def progressbar( iterable: None = ..., length: Optional[int] = ..., label: Optional[str] = ..., show_eta: bool = ..., show_percent: Optional[bool] = ..., show_pos: bool = ..., item_show_func: Optional[Callable[[_T], str]] = ..., fill_char: str = ..., empty_char: str = ..., bar_template: str = ..., info_sep: str = ..., width: int = ..., file: Optional[IO[Any]] = ..., color: Optional[bool] = ..., ) -> _ProgressBar[int]: ... def clear() -> None: ... def style( text: Text, fg: Optional[Text] = ..., bg: Optional[Text] = ..., bold: Optional[bool] = ..., dim: Optional[bool] = ..., underline: Optional[bool] = ..., blink: Optional[bool] = ..., reverse: Optional[bool] = ..., reset: bool = ..., ) -> str: ... def unstyle(text: Text) -> str: ... # Styling options copied from style() for nicer type checking. def secho( message: Optional[str] = ..., file: Optional[IO[Any]] = ..., nl: bool = ..., err: bool = ..., color: Optional[bool] = ..., fg: Optional[str] = ..., bg: Optional[str] = ..., bold: Optional[bool] = ..., dim: Optional[bool] = ..., underline: Optional[bool] = ..., blink: Optional[bool] = ..., reverse: Optional[bool] = ..., reset: bool = ..., ): ... def edit( text: Optional[str] = ..., editor: Optional[str] = ..., env: Optional[str] = ..., require_save: bool = ..., extension: str = ..., filename: Optional[str] = ..., ) -> str: ... def launch(url: str, wait: bool = ..., locate: bool = ...) -> int: ... def getchar(echo: bool = ...) -> Text: ... def pause(info: str = ..., err: bool = ...) -> None: ...
3,291
Python
.py
99
29.454545
122
0.555834
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,552
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/utils.pyi
from typing import IO, Any, AnyStr, Generic, Iterator, List, Optional, Text, TypeVar _T = TypeVar("_T") def _posixify(name: str) -> str: ... def safecall(func: _T) -> _T: ... def make_str(value: Any) -> str: ... def make_default_short_help(help: str, max_length: int = ...): ... class LazyFile(object): name: str mode: str encoding: Optional[str] errors: str atomic: bool def __init__( self, filename: str, mode: str = ..., encoding: Optional[str] = ..., errors: str = ..., atomic: bool = ... ) -> None: ... def open(self) -> IO[Any]: ... def close(self) -> None: ... def close_intelligently(self) -> None: ... def __enter__(self) -> LazyFile: ... def __exit__(self, exc_type, exc_value, tb): ... def __iter__(self) -> Iterator[Any]: ... class KeepOpenFile(Generic[AnyStr]): _file: IO[AnyStr] def __init__(self, file: IO[AnyStr]) -> None: ... def __enter__(self) -> KeepOpenFile[AnyStr]: ... def __exit__(self, exc_type, exc_value, tb): ... def __iter__(self) -> Iterator[AnyStr]: ... def echo( message: object = ..., file: Optional[IO[Text]] = ..., nl: bool = ..., err: bool = ..., color: Optional[bool] = ... ) -> None: ... def get_binary_stream(name: str) -> IO[bytes]: ... def get_text_stream(name: str, encoding: Optional[str] = ..., errors: str = ...) -> IO[str]: ... def open_file( filename: str, mode: str = ..., encoding: Optional[str] = ..., errors: str = ..., lazy: bool = ..., atomic: bool = ... ) -> Any: ... # really Union[IO, LazyFile, KeepOpenFile] def get_os_args() -> List[str]: ... def format_filename(filename: str, shorten: bool = ...) -> str: ... def get_app_dir(app_name: str, roaming: bool = ..., force_posix: bool = ...) -> str: ...
1,752
Python
.py
38
42.657895
122
0.574605
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,553
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/__init__.pyi
from .core import ( Argument as Argument, BaseCommand as BaseCommand, Command as Command, CommandCollection as CommandCollection, Context as Context, Group as Group, MultiCommand as MultiCommand, Option as Option, Parameter as Parameter, ) from .decorators import ( argument as argument, command as command, confirmation_option as confirmation_option, group as group, help_option as help_option, make_pass_decorator as make_pass_decorator, option as option, pass_context as pass_context, pass_obj as pass_obj, password_option as password_option, version_option as version_option, ) from .exceptions import ( Abort as Abort, BadArgumentUsage as BadArgumentUsage, BadOptionUsage as BadOptionUsage, BadParameter as BadParameter, ClickException as ClickException, FileError as FileError, MissingParameter as MissingParameter, NoSuchOption as NoSuchOption, UsageError as UsageError, ) from .formatting import HelpFormatter as HelpFormatter, wrap_text as wrap_text from .globals import get_current_context as get_current_context from .parser import OptionParser as OptionParser from .termui import ( clear as clear, confirm as confirm, echo_via_pager as echo_via_pager, edit as edit, get_terminal_size as get_terminal_size, getchar as getchar, launch as launch, pause as pause, progressbar as progressbar, prompt as prompt, secho as secho, style as style, unstyle as unstyle, ) from .types import ( BOOL as BOOL, FLOAT as FLOAT, INT as INT, STRING as STRING, UNPROCESSED as UNPROCESSED, UUID as UUID, Choice as Choice, DateTime as DateTime, File as File, FloatRange as FloatRange, IntRange as IntRange, ParamType as ParamType, Path as Path, Tuple as Tuple, ) from .utils import ( echo as echo, format_filename as format_filename, get_app_dir as get_app_dir, get_binary_stream as get_binary_stream, get_os_args as get_os_args, get_text_stream as get_text_stream, open_file as open_file, ) # Controls if click should emit the warning about the use of unicode # literals. disable_unicode_literals_warning: bool __version__: str
2,273
Python
.py
82
23.621951
78
0.736866
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,554
core.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/core.pyi
from typing import ( Any, Callable, ContextManager, Dict, Iterable, List, Mapping, NoReturn, Optional, Sequence, Set, Tuple, TypeVar, Union, ) from click.formatting import HelpFormatter from click.parser import OptionParser _CC = TypeVar("_CC", bound=Callable[[], Any]) def invoke_param_callback( callback: Callable[[Context, Parameter, Optional[str]], Any], ctx: Context, param: Parameter, value: Optional[str] ) -> Any: ... def augment_usage_errors(ctx: Context, param: Optional[Parameter] = ...) -> ContextManager[None]: ... def iter_params_for_processing( invocation_order: Sequence[Parameter], declaration_order: Iterable[Parameter] ) -> Iterable[Parameter]: ... class Context: parent: Optional[Context] command: Command info_name: Optional[str] params: Dict[Any, Any] args: List[str] protected_args: List[str] obj: Any default_map: Optional[Mapping[str, Any]] invoked_subcommand: Optional[str] terminal_width: Optional[int] max_content_width: Optional[int] allow_extra_args: bool allow_interspersed_args: bool ignore_unknown_options: bool help_option_names: List[str] token_normalize_func: Optional[Callable[[str], str]] resilient_parsing: bool auto_envvar_prefix: Optional[str] color: Optional[bool] _meta: Dict[str, Any] _close_callbacks: List[Any] _depth: int def __init__( self, command: Command, parent: Optional[Context] = ..., info_name: Optional[str] = ..., obj: Optional[Any] = ..., auto_envvar_prefix: Optional[str] = ..., default_map: Optional[Mapping[str, Any]] = ..., terminal_width: Optional[int] = ..., max_content_width: Optional[int] = ..., resilient_parsing: bool = ..., allow_extra_args: Optional[bool] = ..., allow_interspersed_args: Optional[bool] = ..., ignore_unknown_options: Optional[bool] = ..., help_option_names: Optional[List[str]] = ..., token_normalize_func: Optional[Callable[[str], str]] = ..., color: Optional[bool] = ..., ) -> None: ... @property def meta(self) -> Dict[str, Any]: ... @property def command_path(self) -> str: ... def scope(self, cleanup: bool = ...) -> ContextManager[Context]: ... def make_formatter(self) -> HelpFormatter: ... def call_on_close(self, f: _CC) -> _CC: ... def close(self) -> None: ... def find_root(self) -> Context: ... def find_object(self, object_type: type) -> Any: ... def ensure_object(self, object_type: type) -> Any: ... def lookup_default(self, name: str) -> Any: ... def fail(self, message: str) -> NoReturn: ... def abort(self) -> NoReturn: ... def exit(self, code: Union[int, str] = ...) -> NoReturn: ... def get_usage(self) -> str: ... def get_help(self) -> str: ... def invoke(self, callback: Union[Command, Callable[..., Any]], *args, **kwargs) -> Any: ... def forward(self, callback: Union[Command, Callable[..., Any]], *args, **kwargs) -> Any: ... class BaseCommand: allow_extra_args: bool allow_interspersed_args: bool ignore_unknown_options: bool name: str context_settings: Dict[Any, Any] def __init__(self, name: str, context_settings: Optional[Dict[Any, Any]] = ...) -> None: ... def get_usage(self, ctx: Context) -> str: ... def get_help(self, ctx: Context) -> str: ... def make_context(self, info_name: str, args: List[str], parent: Optional[Context] = ..., **extra) -> Context: ... def parse_args(self, ctx: Context, args: List[str]) -> List[str]: ... def invoke(self, ctx: Context) -> Any: ... def main( self, args: Optional[List[str]] = ..., prog_name: Optional[str] = ..., complete_var: Optional[str] = ..., standalone_mode: bool = ..., **extra, ) -> Any: ... def __call__(self, *args, **kwargs) -> Any: ... class Command(BaseCommand): callback: Optional[Callable[..., Any]] params: List[Parameter] help: Optional[str] epilog: Optional[str] short_help: Optional[str] options_metavar: str add_help_option: bool hidden: bool deprecated: bool def __init__( self, name: str, context_settings: Optional[Dict[Any, Any]] = ..., callback: Optional[Callable[..., Any]] = ..., params: Optional[List[Parameter]] = ..., help: Optional[str] = ..., epilog: Optional[str] = ..., short_help: Optional[str] = ..., options_metavar: str = ..., add_help_option: bool = ..., hidden: bool = ..., deprecated: bool = ..., ) -> None: ... def get_params(self, ctx: Context) -> List[Parameter]: ... def format_usage(self, ctx: Context, formatter: HelpFormatter) -> None: ... def collect_usage_pieces(self, ctx: Context) -> List[str]: ... def get_help_option_names(self, ctx: Context) -> Set[str]: ... def get_help_option(self, ctx: Context) -> Optional[Option]: ... def make_parser(self, ctx: Context) -> OptionParser: ... def get_short_help_str(self, limit: int = ...) -> str: ... def format_help(self, ctx: Context, formatter: HelpFormatter) -> None: ... def format_help_text(self, ctx: Context, formatter: HelpFormatter) -> None: ... def format_options(self, ctx: Context, formatter: HelpFormatter) -> None: ... def format_epilog(self, ctx: Context, formatter: HelpFormatter) -> None: ... _T = TypeVar("_T") _F = TypeVar("_F", bound=Callable[..., Any]) class MultiCommand(Command): no_args_is_help: bool invoke_without_command: bool subcommand_metavar: str chain: bool result_callback: Callable[..., Any] def __init__( self, name: Optional[str] = ..., invoke_without_command: bool = ..., no_args_is_help: Optional[bool] = ..., subcommand_metavar: Optional[str] = ..., chain: bool = ..., result_callback: Optional[Callable[..., Any]] = ..., **attrs, ) -> None: ... def resultcallback(self, replace: bool = ...) -> Callable[[_F], _F]: ... def format_commands(self, ctx: Context, formatter: HelpFormatter) -> None: ... def resolve_command(self, ctx: Context, args: List[str]) -> Tuple[str, Command, List[str]]: ... def get_command(self, ctx: Context, cmd_name: str) -> Optional[Command]: ... def list_commands(self, ctx: Context) -> Iterable[str]: ... class Group(MultiCommand): commands: Dict[str, Command] def __init__(self, name: Optional[str] = ..., commands: Optional[Dict[str, Command]] = ..., **attrs) -> None: ... def add_command(self, cmd: Command, name: Optional[str] = ...): ... def command(self, *args, **kwargs) -> Callable[[Callable[..., Any]], Command]: ... def group(self, *args, **kwargs) -> Callable[[Callable[..., Any]], Group]: ... class CommandCollection(MultiCommand): sources: List[MultiCommand] def __init__(self, name: Optional[str] = ..., sources: Optional[List[MultiCommand]] = ..., **attrs) -> None: ... def add_source(self, multi_cmd: MultiCommand) -> None: ... class _ParamType: name: str is_composite: bool envvar_list_splitter: Optional[str] def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> Any: ... def get_metavar(self, param: Parameter) -> str: ... def get_missing_message(self, param: Parameter) -> str: ... def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> Any: ... def split_envvar_value(self, rv: str) -> List[str]: ... def fail(self, message: str, param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> NoReturn: ... # This type is here to resolve https://github.com/python/mypy/issues/5275 _ConvertibleType = Union[ type, _ParamType, Tuple[Union[type, _ParamType], ...], Callable[[str], Any], Callable[[Optional[str]], Any] ] class Parameter: param_type_name: str name: str opts: List[str] secondary_opts: List[str] type: _ParamType required: bool callback: Optional[Callable[[Context, Parameter, str], Any]] nargs: int multiple: bool expose_value: bool default: Any is_eager: bool metavar: Optional[str] envvar: Union[str, List[str], None] def __init__( self, param_decls: Optional[List[str]] = ..., type: Optional[_ConvertibleType] = ..., required: bool = ..., default: Optional[Any] = ..., callback: Optional[Callable[[Context, Parameter, str], Any]] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., ) -> None: ... @property def human_readable_name(self) -> str: ... def make_metavar(self) -> str: ... def get_default(self, ctx: Context) -> Any: ... def add_to_parser(self, parser: OptionParser, ctx: Context) -> None: ... def consume_value(self, ctx: Context, opts: Dict[str, Any]) -> Any: ... def type_cast_value(self, ctx: Context, value: Any) -> Any: ... def process_value(self, ctx: Context, value: Any) -> Any: ... def value_is_missing(self, value: Any) -> bool: ... def full_process_value(self, ctx: Context, value: Any) -> Any: ... def resolve_envvar_value(self, ctx: Context) -> str: ... def value_from_envvar(self, ctx: Context) -> Union[str, List[str]]: ... def handle_parse_result(self, ctx: Context, opts: Dict[str, Any], args: List[str]) -> Tuple[Any, List[str]]: ... def get_help_record(self, ctx: Context) -> Tuple[str, str]: ... def get_usage_pieces(self, ctx: Context) -> List[str]: ... def get_error_hint(self, ctx: Context) -> str: ... class Option(Parameter): prompt: str # sic confirmation_prompt: bool hide_input: bool is_flag: bool flag_value: Any is_bool_flag: bool count: bool multiple: bool allow_from_autoenv: bool help: Optional[str] hidden: bool show_default: bool show_choices: bool show_envvar: bool def __init__( self, param_decls: Optional[List[str]] = ..., show_default: bool = ..., prompt: Union[bool, str] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: Optional[str] = ..., hidden: bool = ..., show_choices: bool = ..., show_envvar: bool = ..., **attrs, ) -> None: ... def prompt_for_value(self, ctx: Context) -> Any: ... class Argument(Parameter): def __init__(self, param_decls: Optional[List[str]] = ..., required: Optional[bool] = ..., **attrs) -> None: ...
11,012
Python
.py
270
35.062963
120
0.602498
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,555
parser.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/parser.pyi
from typing import Any, Dict, Iterable, List, Optional, Set, Tuple from click.core import Context def _unpack_args(args: Iterable[str], nargs_spec: Iterable[int]) -> Tuple[Tuple[Optional[Tuple[str, ...]], ...], List[str]]: ... def split_opt(opt: str) -> Tuple[str, str]: ... def normalize_opt(opt: str, ctx: Context) -> str: ... def split_arg_string(string: str) -> List[str]: ... class Option: dest: str action: str nargs: int const: Any obj: Any prefixes: Set[str] _short_opts: List[str] _long_opts: List[str] def __init__( self, opts: Iterable[str], dest: str, action: Optional[str] = ..., nargs: int = ..., const: Optional[Any] = ..., obj: Optional[Any] = ..., ) -> None: ... @property def takes_value(self) -> bool: ... def process(self, value: Any, state: ParsingState) -> None: ... class Argument: dest: str nargs: int obj: Any def __init__(self, dest: str, nargs: int = ..., obj: Optional[Any] = ...) -> None: ... def process(self, value: Any, state: ParsingState) -> None: ... class ParsingState: opts: Dict[str, Any] largs: List[str] rargs: List[str] order: List[Any] def __init__(self, rargs: List[str]) -> None: ... class OptionParser: ctx: Optional[Context] allow_interspersed_args: bool ignore_unknown_options: bool _short_opt: Dict[str, Option] _long_opt: Dict[str, Option] _opt_prefixes: Set[str] _args: List[Argument] def __init__(self, ctx: Optional[Context] = ...) -> None: ... def add_option( self, opts: Iterable[str], dest: str, action: Optional[str] = ..., nargs: int = ..., const: Optional[Any] = ..., obj: Optional[Any] = ..., ) -> None: ... def add_argument(self, dest: str, nargs: int = ..., obj: Optional[Any] = ...) -> None: ... def parse_args(self, args: List[str]) -> Tuple[Dict[str, Any], List[str], List[Any]]: ...
2,006
Python
.py
59
28.627119
128
0.577537
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,556
formatting.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/formatting.pyi
from typing import ContextManager, Generator, Iterable, List, Optional, Tuple FORCED_WIDTH: Optional[int] def measure_table(rows: Iterable[Iterable[str]]) -> Tuple[int, ...]: ... def iter_rows(rows: Iterable[Iterable[str]], col_count: int) -> Generator[Tuple[str, ...], None, None]: ... def wrap_text( text: str, width: int = ..., initial_indent: str = ..., subsequent_indent: str = ..., preserve_paragraphs: bool = ... ) -> str: ... class HelpFormatter: indent_increment: int width: Optional[int] current_indent: int buffer: List[str] def __init__(self, indent_increment: int = ..., width: Optional[int] = ..., max_width: Optional[int] = ...) -> None: ... def write(self, string: str) -> None: ... def indent(self) -> None: ... def dedent(self) -> None: ... def write_usage( self, prog: str, args: str = ..., prefix: str = ..., ): ... def write_heading(self, heading: str) -> None: ... def write_paragraph(self) -> None: ... def write_text(self, text: str) -> None: ... def write_dl(self, rows: Iterable[Iterable[str]], col_max: int = ..., col_spacing: int = ...) -> None: ... def section(self, name) -> ContextManager[None]: ... def indentation(self) -> ContextManager[None]: ... def getvalue(self) -> str: ... def join_options(options: List[str]) -> Tuple[str, bool]: ...
1,383
Python
.py
30
41.5
124
0.60341
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,557
globals.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/globals.pyi
from typing import Optional from click.core import Context def get_current_context(silent: bool = ...) -> Context: ... def push_context(ctx: Context) -> None: ... def pop_context() -> None: ... def resolve_color_default(color: Optional[bool] = ...) -> Optional[bool]: ...
274
Python
.py
6
44.333333
77
0.68797
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,558
_termui_impl.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/_termui_impl.pyi
from typing import Generic, Optional, TypeVar _T = TypeVar("_T") class ProgressBar(Generic[_T]): def update(self, n_steps: int) -> None: ... def finish(self) -> None: ... def __enter__(self) -> ProgressBar[_T]: ... def __exit__(self, exc_type, exc_value, tb) -> None: ... def __iter__(self) -> ProgressBar[_T]: ... def next(self) -> _T: ... def __next__(self) -> _T: ... length: Optional[int] label: str
442
Python
.py
12
32.666667
60
0.565421
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,559
testing.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/testing.pyi
from typing import IO, Any, BinaryIO, ContextManager, Dict, Iterable, List, Mapping, Optional, Text, Union from .core import BaseCommand clickpkg: Any class EchoingStdin: def __init__(self, input: BinaryIO, output: BinaryIO) -> None: ... def __getattr__(self, x: str) -> Any: ... def read(self, n: int = ...) -> bytes: ... def readline(self, n: int = ...) -> bytes: ... def readlines(self) -> List[bytes]: ... def __iter__(self) -> Iterable[bytes]: ... def make_input_stream(input: Optional[Union[bytes, Text, IO[Any]]], charset: Text) -> BinaryIO: ... class Result: runner: CliRunner exit_code: int exception: Any exc_info: Optional[Any] stdout_bytes: bytes stderr_bytes: bytes def __init__( self, runner: CliRunner, stdout_bytes: bytes, stderr_bytes: bytes, exit_code: int, exception: Any, exc_info: Optional[Any] = ..., ) -> None: ... @property def output(self) -> Text: ... @property def stdout(self) -> Text: ... @property def stderr(self) -> Text: ... class CliRunner: charset: str env: Mapping[str, str] echo_stdin: bool mix_stderr: bool def __init__( self, charset: Optional[Text] = ..., env: Optional[Mapping[str, str]] = ..., echo_stdin: bool = ..., mix_stderr: bool = ..., ) -> None: ... def get_default_prog_name(self, cli: BaseCommand) -> str: ... def make_env(self, overrides: Optional[Mapping[str, str]] = ...) -> Dict[str, str]: ... def isolation( self, input: Optional[Union[bytes, Text, IO[Any]]] = ..., env: Optional[Mapping[str, str]] = ..., color: bool = ... ) -> ContextManager[BinaryIO]: ... def invoke( self, cli: BaseCommand, args: Optional[Union[str, Iterable[str]]] = ..., input: Optional[Union[bytes, Text, IO[Any]]] = ..., env: Optional[Mapping[str, str]] = ..., catch_exceptions: bool = ..., color: bool = ..., **extra: Any, ) -> Result: ... def isolated_filesystem(self) -> ContextManager[str]: ...
2,136
Python
.py
61
29
123
0.57274
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,560
decorators.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/decorators.pyi
from distutils.version import Version from typing import Any, Callable, Dict, List, Optional, Protocol, Text, Tuple, Type, TypeVar, Union, overload from click.core import Argument, Command, Context, Group, Option, Parameter, _ConvertibleType _T = TypeVar("_T") _F = TypeVar("_F", bound=Callable[..., Any]) class _IdentityFunction(Protocol): def __call__(self, __x: _T) -> _T: ... _Callback = Callable[[Context, Union[Option, Parameter], Any], Any] def pass_context(__f: _T) -> _T: ... def pass_obj(__f: _T) -> _T: ... def make_pass_decorator(object_type: type, ensure: bool = ...) -> _IdentityFunction: ... # NOTE: Decorators below have **attrs converted to concrete constructor # arguments from core.pyi to help with type checking. def command( name: Optional[str] = ..., cls: Optional[Type[Command]] = ..., # Command context_settings: Optional[Dict[Any, Any]] = ..., help: Optional[str] = ..., epilog: Optional[str] = ..., short_help: Optional[str] = ..., options_metavar: str = ..., add_help_option: bool = ..., hidden: bool = ..., deprecated: bool = ..., ) -> Callable[[Callable[..., Any]], Command]: ... # This inherits attrs from Group, MultiCommand and Command. def group( name: Optional[str] = ..., cls: Type[Command] = ..., # Group commands: Optional[Dict[str, Command]] = ..., # MultiCommand invoke_without_command: bool = ..., no_args_is_help: Optional[bool] = ..., subcommand_metavar: Optional[str] = ..., chain: bool = ..., result_callback: Optional[Callable[..., Any]] = ..., # Command help: Optional[str] = ..., epilog: Optional[str] = ..., short_help: Optional[str] = ..., options_metavar: str = ..., add_help_option: bool = ..., hidden: bool = ..., deprecated: bool = ..., # User-defined **kwargs: Any, ) -> Callable[[Callable[..., Any]], Group]: ... def argument( *param_decls: Text, cls: Type[Argument] = ..., # Argument required: Optional[bool] = ..., # Parameter type: Optional[_ConvertibleType] = ..., default: Optional[Any] = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., autocompletion: Optional[Callable[[Any, List[str], str], List[Union[str, Tuple[str, str]]]]] = ..., ) -> _IdentityFunction: ... @overload def option( *param_decls: Text, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: Optional[Text] = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., required: bool = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., # User-defined **kwargs: Any, ) -> _IdentityFunction: ... @overload def option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: _T = ..., help: Optional[str] = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., required: bool = ..., callback: Optional[Callable[[Context, Union[Option, Parameter], Union[bool, int, str]], _T]] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., # User-defined **kwargs: Any, ) -> _IdentityFunction: ... @overload def option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Type[str] = ..., help: Optional[str] = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., required: bool = ..., callback: Callable[[Context, Union[Option, Parameter], str], Any] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., # User-defined **kwargs: Any, ) -> _IdentityFunction: ... @overload def option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Type[int] = ..., help: Optional[str] = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., required: bool = ..., callback: Callable[[Context, Union[Option, Parameter], int], Any] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., # User-defined **kwargs: Any, ) -> _IdentityFunction: ... def confirmation_option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: bool = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: str = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., ) -> _IdentityFunction: ... def password_option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: Optional[bool] = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: Optional[str] = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., ) -> _IdentityFunction: ... def version_option( version: Optional[Union[str, Version]] = ..., *param_decls: str, cls: Type[Option] = ..., # Option prog_name: Optional[str] = ..., message: Optional[str] = ..., show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: bool = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: str = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., ) -> _IdentityFunction: ... def help_option( *param_decls: str, cls: Type[Option] = ..., # Option show_default: Union[bool, Text] = ..., prompt: Union[bool, Text] = ..., confirmation_prompt: bool = ..., hide_input: bool = ..., is_flag: bool = ..., flag_value: Optional[Any] = ..., multiple: bool = ..., count: bool = ..., allow_from_autoenv: bool = ..., type: Optional[_ConvertibleType] = ..., help: str = ..., show_choices: bool = ..., # Parameter default: Optional[Any] = ..., callback: Optional[_Callback] = ..., nargs: Optional[int] = ..., metavar: Optional[str] = ..., expose_value: bool = ..., is_eager: bool = ..., envvar: Optional[Union[str, List[str]]] = ..., ) -> _IdentityFunction: ...
9,143
Python
.py
284
27.711268
109
0.564859
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,561
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/click/exceptions.pyi
from typing import IO, Any, List, Optional from click.core import Context, Parameter class ClickException(Exception): exit_code: int message: str def __init__(self, message: str) -> None: ... def format_message(self) -> str: ... def show(self, file: Optional[Any] = ...) -> None: ... class UsageError(ClickException): ctx: Optional[Context] def __init__(self, message: str, ctx: Optional[Context] = ...) -> None: ... def show(self, file: Optional[IO[Any]] = ...) -> None: ... class BadParameter(UsageError): param: Optional[Parameter] param_hint: Optional[str] def __init__( self, message: str, ctx: Optional[Context] = ..., param: Optional[Parameter] = ..., param_hint: Optional[str] = ... ) -> None: ... class MissingParameter(BadParameter): param_type: str # valid values: 'parameter', 'option', 'argument' def __init__( self, message: Optional[str] = ..., ctx: Optional[Context] = ..., param: Optional[Parameter] = ..., param_hint: Optional[str] = ..., param_type: Optional[str] = ..., ) -> None: ... class NoSuchOption(UsageError): option_name: str possibilities: Optional[List[str]] def __init__( self, option_name: str, message: Optional[str] = ..., possibilities: Optional[List[str]] = ..., ctx: Optional[Context] = ..., ) -> None: ... class BadOptionUsage(UsageError): def __init__(self, option_name: str, message: str, ctx: Optional[Context] = ...) -> None: ... class BadArgumentUsage(UsageError): def __init__(self, message: str, ctx: Optional[Context] = ...) -> None: ... class FileError(ClickException): ui_filename: str filename: str def __init__(self, filename: str, hint: Optional[str] = ...) -> None: ... class Abort(RuntimeError): ... class Exit(RuntimeError): def __init__(self, code: int = ...) -> None: ...
1,936
Python
.py
49
34.285714
123
0.607676
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,562
fault.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/fault.pyi
from typing import Any def __getattr__(name: str) -> Any: ... # incomplete class InvalidArgument(Exception): ...
116
Python
.py
3
37
52
0.702703
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,563
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/__init__.pyi
from typing import Any class DynamicProperty: name: str val: Any
74
Python
.py
4
15.25
22
0.753623
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,564
query.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/query.pyi
from typing import Any, List, Optional, Type from pyVmomi.vim import ManagedEntity from pyVmomi.vim.view import ContainerView from pyVmomi.vmodl import DynamicProperty class PropertyCollector: class PropertySpec: all: bool type: Type[ManagedEntity] pathSet: List[str] class TraversalSpec: path: str skip: bool type: Type[ContainerView] def __getattr__(self, name: str) -> Any: ... # incomplete class RetrieveOptions: maxObjects: int class ObjectSpec: skip: bool selectSet: List[PropertyCollector.TraversalSpec] obj: Any class FilterSpec: propSet: List[PropertyCollector.PropertySpec] objectSet: List[PropertyCollector.ObjectSpec] def __getattr__(self, name: str) -> Any: ... # incomplete class ObjectContent: obj: ManagedEntity propSet: List[DynamicProperty] def __getattr__(self, name: str) -> Any: ... # incomplete class RetrieveResult: objects: List[PropertyCollector.ObjectContent] token: Optional[str] def RetrievePropertiesEx( self, specSet: List[PropertyCollector.FilterSpec], options: PropertyCollector.RetrieveOptions ) -> PropertyCollector.RetrieveResult: ... def ContinueRetrievePropertiesEx(self, token: str) -> PropertyCollector.RetrieveResult: ... def __getattr__(self, name: str) -> Any: ... # incomplete
1,430
Python
.py
36
33
101
0.688218
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,565
fault.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/fault.pyi
from typing import Any def __getattr__(name: str) -> Any: ... # incomplete class InvalidName(Exception): ... class RestrictedByAdministrator(Exception): ... class NoPermission(Exception): ...
195
Python
.py
5
37.6
52
0.739362
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,566
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/__init__.pyi
from datetime import datetime from enum import Enum from typing import Any, List from ..vmodl.query import PropertyCollector from .event import EventManager from .option import OptionManager from .view import ViewManager def __getattr__(name: str) -> Any: ... # incomplete class ManagedObject: ... class ManagedEntity(ManagedObject): _moId: str obj: None name: str def __getattr__(self, name: str) -> Any: ... # incomplete class ServiceInstanceContent: setting: OptionManager propertyCollector: PropertyCollector rootFolder: Folder viewManager: ViewManager perfManager: PerformanceManager eventManager: EventManager def __getattr__(self, name: str) -> Any: ... # incomplete class ServiceInstance: content: ServiceInstanceContent def CurrentTime(self) -> datetime: ... def __getattr__(self, name: str) -> Any: ... # incomplete class PerformanceManager: class MetricId: counterId: int instance: str def __init__(self, counterId: int, instance: str): ... class PerfCounterInfo: key: int groupInfo: Any nameInfo: Any rollupType: Any def __getattr__(self, name: str) -> Any: ... # incomplete class QuerySpec: entity: ManagedEntity metricId: List[PerformanceManager.MetricId] intervalId: int maxSample: int startTime: datetime def __getattr__(self, name: str) -> Any: ... # incomplete class EntityMetricBase: entity: ManagedEntity def QueryPerfCounterByLevel(self, collection_level: int) -> List[PerformanceManager.PerfCounterInfo]: ... def QueryPerf(self, querySpec: List[PerformanceManager.QuerySpec]) -> List[PerformanceManager.EntityMetricBase]: ... def __getattr__(self, name: str) -> Any: ... # incomplete class ClusterComputeResource(ManagedEntity): ... class ComputeResource(ManagedEntity): ... class Datacenter(ManagedEntity): ... class Datastore(ManagedEntity): ... class Folder(ManagedEntity): ... class HostSystem(ManagedEntity): ... class VirtualMachine(ManagedEntity): ... class VirtualMachinePowerState(Enum): poweredOff: int poweredOn: int suspended: int
2,197
Python
.py
60
31.866667
120
0.707237
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,567
option.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/option.pyi
from typing import Any, List def __getattr__(name: str) -> Any: ... # incomplete class OptionManager: def QueryOptions(self, name: str) -> List[OptionValue]: ... class OptionValue: value: Any
204
Python
.py
6
31.166667
63
0.697436
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,568
view.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/view.pyi
from typing import Any, List, Type from pyVmomi.vim import ManagedEntity def __getattr__(name: str) -> Any: ... # incomplete class ContainerView: def Destroy(self) -> None: ... class ViewManager: # Doc says the `type` parameter of CreateContainerView is a `List[str]`, # but in practice it seems to be `List[Type[ManagedEntity]]` # Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html @staticmethod def CreateContainerView(container: ManagedEntity, type: List[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...
586
Python
.py
11
49.727273
125
0.737303
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,569
event.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/event.pyi
from datetime import datetime from typing import Any, List def __getattr__(name: str) -> Any: ... # incomplete class Event: createdTime: datetime class EventFilterSpec: class ByTime: def __init__(self, beginTime: datetime): ... time: EventFilterSpec.ByTime class EventManager: latestEvent: Event def QueryEvents(self, filer: EventFilterSpec) -> List[Event]: ...
395
Python
.py
12
29.25
69
0.717678
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,570
lru.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/lru.pyi
from typing import Callable, Iterator, Optional, TypeVar from .cache import Cache as Cache _KT = TypeVar("_KT") _VT = TypeVar("_VT") class LRUCache(Cache[_KT, _VT]): def __init__(self, maxsize: int, getsizeof: Optional[Callable[[_VT], int]] = ...) -> None: ... def __getitem__(self, key: _KT, cache_getitem: Callable[[_KT], _VT] = ...) -> _VT: ... def __setitem__(self, key: _KT, value: _VT, cache_setitem: Callable[[_KT, _VT], None] = ...) -> None: ... def __delitem__(self, key: _KT, cache_delitem: Callable[[_KT], None] = ...) -> None: ... def __iter__(self) -> Iterator[_KT]: ...
607
Python
.py
10
57.4
109
0.582492
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,571
cache.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/cache.pyi
from typing import Callable, Generic, Iterator, Optional, TypeVar from .abc import DefaultMapping as DefaultMapping _KT = TypeVar("_KT") _VT = TypeVar("_VT") class Cache(DefaultMapping[_KT, _VT], Generic[_KT, _VT]): def __init__(self, maxsize: int, getsizeof: Optional[Callable[[_VT], int]] = ...) -> None: ... def __getitem__(self, key: _KT) -> _VT: ... def __setitem__(self, key: _KT, value: _VT) -> None: ... def __delitem__(self, key: _KT) -> None: ... def __iter__(self) -> Iterator[_KT]: ... def __len__(self) -> int: ... @property def maxsize(self) -> int: ... @property def currsize(self) -> int: ... @staticmethod def getsizeof(value: _VT) -> int: ...
712
Python
.py
17
37.882353
98
0.586705
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,572
lfu.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/lfu.pyi
from typing import Callable, Iterator, Optional, TypeVar from .cache import Cache _KT = TypeVar("_KT") _VT = TypeVar("_VT") class LFUCache(Cache[_KT, _VT]): def __init__(self, maxsize: int, getsizeof: Optional[Callable[[_VT], int]] = ...) -> None: ... def __getitem__(self, key: _KT, cache_getitem: Callable[[_KT], _VT] = ...) -> _VT: ... def __setitem__(self, key: _KT, value: _VT, cache_setitem: Callable[[_KT, _VT], None] = ...) -> None: ... def __delitem__(self, key: _KT, cache_delitem: Callable[[_KT], None] = ...) -> None: ... def __iter__(self) -> Iterator[_KT]: ... def __len__(self) -> int: ...
632
Python
.py
11
54
109
0.569579
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,573
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/__init__.pyi
from .cache import Cache as Cache from .decorators import cached as cached, cachedmethod as cachedmethod from .lfu import LFUCache as LFUCache from .lru import LRUCache as LRUCache from .rr import RRCache as RRCache from .ttl import TTLCache as TTLCache
254
Python
.py
6
41.333333
70
0.83871
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,574
func.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/func.pyi
from typing import Any, Callable, Optional, Sequence, TypeVar _T = TypeVar("_T") _F = TypeVar("_F", bound=Callable[..., Any]) _RET = Callable[[_F], _F] def lfu_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ... def lru_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ... def rr_cache(maxsize: int = ..., choice: Optional[Callable[[Sequence[_T]], _T]] = ..., typed: bool = ...) -> _RET: ... def ttl_cache(maxsize: int = ..., ttl: float = ..., timer: float = ..., typed: bool = ...) -> _RET: ...
510
Python
.py
8
62.375
118
0.557114
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,575
ttl.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/ttl.pyi
from typing import Callable, Iterator, Optional, TypeVar from .cache import Cache _KT = TypeVar("_KT") _VT = TypeVar("_VT") class TTLCache(Cache[_KT, _VT]): def __init__( self, maxsize: int, ttl: float, timer: Callable[[], float] = ..., getsizeof: Optional[Callable[[_VT], int]] = ... ) -> None: ... def __getitem__(self, key: _KT, cache_getitem: Callable[[_KT], _VT] = ...) -> _VT: ... def __setitem__(self, key: _KT, value: _VT, cache_setitem: Callable[[_KT, _VT], None] = ...) -> None: ... def __delitem__(self, key: _KT, cache_delitem: Callable[[_KT], None] = ...) -> None: ... def __iter__(self) -> Iterator[_KT]: ... def __len__(self) -> int: ... @property def currsize(self) -> int: ... @property def timer(self) -> Callable[[], float]: ... @property def ttl(self) -> float: ... def expire(self, time: Optional[Callable[[], float]] = ...) -> None: ...
926
Python
.py
20
41.95
121
0.555925
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,576
abc.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/abc.pyi
from abc import ABCMeta from typing import MutableMapping, TypeVar _KT = TypeVar("_KT") _VT = TypeVar("_VT") class DefaultMapping(MutableMapping[_KT, _VT], metaclass=ABCMeta): ...
182
Python
.py
5
35
70
0.754286
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,577
rr.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/rr.pyi
from typing import Callable, Iterator, Optional, Sequence, TypeVar from .cache import Cache as Cache _KT = TypeVar("_KT") _VT = TypeVar("_VT") class RRCache(Cache[_KT, _VT]): def __init__( self, maxsize: int, choice: Optional[Callable[[Sequence[_KT]], _KT]] = ..., getsizeof: Optional[Callable[[_VT], int]] = ..., ) -> None: ... def __getitem__(self, key: _KT) -> _VT: ... def __setitem__(self, key: _KT, value: _VT) -> None: ... def __delitem__(self, key: _KT) -> None: ... def __iter__(self) -> Iterator[_KT]: ... def __len__(self) -> int: ... @property def choice(self) -> Callable[[Sequence[_KT]], _KT]: ...
683
Python
.py
18
33
66
0.548338
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,578
decorators.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cachetools/decorators.pyi
from typing import Any, Callable, ContextManager, MutableMapping, Optional, TypeVar _KT = TypeVar("_KT") _VT = TypeVar("_VT") _T = TypeVar("_T", bound=Callable[..., Any]) _T_co = TypeVar("_T_co", covariant=True) _T_self = TypeVar("_T_self") def cached( cache: Optional[MutableMapping[_KT, _VT]], key: Callable[..., _KT] = ..., lock: Optional[ContextManager[_T_co]] = ... ) -> Callable[[_T], _T]: ... def cachedmethod( cache: Callable[[_T_self], Optional[MutableMapping[_KT, _VT]]], key: Callable[..., _KT] = ..., lock: Optional[ContextManager[_T_co]] = ..., ) -> Callable[[_T], _T]: ...
605
Python
.py
14
40.928571
121
0.616299
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,579
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pytz/__init__.pyi
import datetime from typing import List, Mapping, Optional, Set, Union class BaseTzInfo(datetime.tzinfo): zone: str = ... def localize(self, dt: datetime.datetime, is_dst: Optional[bool] = ...) -> datetime.datetime: ... def normalize(self, dt: datetime.datetime) -> datetime.datetime: ... class _UTCclass(BaseTzInfo): def tzname(self, dt: Optional[datetime.datetime]) -> str: ... def utcoffset(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ... def dst(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ... class _StaticTzInfo(BaseTzInfo): def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ... def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ... def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ... class _DstTzInfo(BaseTzInfo): def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ... def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ... def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ... class UnknownTimeZoneError(KeyError): ... class InvalidTimeError(Exception): ... class AmbiguousTimeError(InvalidTimeError): ... class NonExistentTimeError(InvalidTimeError): ... utc: _UTCclass UTC: _UTCclass def timezone(zone: str) -> Union[_UTCclass, _StaticTzInfo, _DstTzInfo]: ... def FixedOffset(offset: int) -> Union[_UTCclass, datetime.tzinfo]: ... all_timezones: List[str] all_timezones_set: Set[str] common_timezones: List[str] common_timezones_set: Set[str] country_timezones: Mapping[str, List[str]] country_names: Mapping[str, str] ZERO: datetime.timedelta HOUR: datetime.timedelta VERSION: str
1,892
Python
.py
35
51.457143
123
0.717144
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,580
utils.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/bleach/utils.pyi
from collections import OrderedDict from typing import Any, Mapping, Text, overload def force_unicode(text: Text) -> Text: ... @overload def alphabetize_attributes(attrs: None) -> None: ... @overload def alphabetize_attributes(attrs: Mapping[Any, Text]) -> OrderedDict[Any, Text]: ...
286
Python
.py
7
39.714286
84
0.758993
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,581
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/bleach/__init__.pyi
from typing import Any, Container, Iterable, Optional, Text from bleach.linkifier import DEFAULT_CALLBACKS as DEFAULT_CALLBACKS, Linker as Linker, _Callback from bleach.sanitizer import ( ALLOWED_ATTRIBUTES as ALLOWED_ATTRIBUTES, ALLOWED_PROTOCOLS as ALLOWED_PROTOCOLS, ALLOWED_STYLES as ALLOWED_STYLES, ALLOWED_TAGS as ALLOWED_TAGS, Cleaner as Cleaner, ) __releasedate__: Text __version__: Text VERSION: Any # packaging.version.Version def clean( text: Text, tags: Container[Text] = ..., attributes: Any = ..., styles: Container[Text] = ..., protocols: Container[Text] = ..., strip: bool = ..., strip_comments: bool = ..., ) -> Text: ... def linkify( text: Text, callbacks: Iterable[_Callback] = ..., skip_tags: Optional[Container[Text]] = ..., parse_email: bool = ... ) -> Text: ...
841
Python
.py
24
31.75
121
0.685504
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,582
sanitizer.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi
from typing import Any, Callable, Container, Dict, Iterable, List, Optional, Pattern, Text, Union ALLOWED_TAGS: List[Text] ALLOWED_ATTRIBUTES: Dict[Text, List[Text]] ALLOWED_STYLES: List[Text] ALLOWED_PROTOCOLS: List[Text] INVISIBLE_CHARACTERS: Text INVISIBLE_CHARACTERS_RE: Pattern[Text] INVISIBLE_REPLACEMENT_CHAR: Text # A html5lib Filter class _Filter = Any class Cleaner(object): def __init__( self, tags: Container[Text] = ..., attributes: Any = ..., styles: Container[Text] = ..., protocols: Container[Text] = ..., strip: bool = ..., strip_comments: bool = ..., filters: Optional[Iterable[_Filter]] = ..., ) -> None: ... def clean(self, text: Text) -> Text: ... _AttributeFilter = Callable[[Text, Text, Text], bool] _AttributeDict = Dict[Text, Union[Container[Text], _AttributeFilter]] def attribute_filter_factory(attributes: Union[_AttributeFilter, _AttributeDict, Container[Text]]) -> _AttributeFilter: ... class BleachSanitizerFilter(object): # TODO: derives from html5lib.sanitizer.Filter def __getattr__(self, item: str) -> Any: ... # incomplete
1,148
Python
.py
27
38.296296
123
0.683124
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,583
callbacks.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/bleach/callbacks.pyi
from typing import Any, MutableMapping, Text _Attrs = MutableMapping[Any, Text] def nofollow(attrs: _Attrs, new: bool = ...) -> _Attrs: ... def target_blank(attrs: _Attrs, new: bool = ...) -> _Attrs: ...
206
Python
.py
4
50
63
0.66
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,584
linkifier.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/bleach/linkifier.pyi
from typing import Any, Container, Iterable, List, MutableMapping, Optional, Pattern, Protocol, Text _Attrs = MutableMapping[Any, Text] class _Callback(Protocol): def __call__(self, attrs: _Attrs, new: bool = ...) -> _Attrs: ... DEFAULT_CALLBACKS: List[_Callback] TLDS: List[Text] def build_url_re(tlds: Iterable[Text] = ..., protocols: Iterable[Text] = ...) -> Pattern[Text]: ... URL_RE: Pattern[Text] PROTO_RE: Pattern[Text] EMAIL_RE: Pattern[Text] class Linker(object): def __init__( self, callbacks: Iterable[_Callback] = ..., skip_tags: Optional[Container[Text]] = ..., parse_email: bool = ..., url_re: Pattern[Text] = ..., email_re: Pattern[Text] = ..., recognized_tags: Optional[Container[Text]] = ..., ) -> None: ... def linkify(self, text: Text) -> Text: ... class LinkifyFilter(object): # TODO: derives from html5lib.Filter def __getattr__(self, item: str) -> Any: ... # incomplete
978
Python
.py
23
37.869565
100
0.629356
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,585
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/backports/__init__.pyi
from typing import Any # Explicitly mark this package as incomplete. def __getattr__(name: str) -> Any: ...
109
Python
.py
3
35
45
0.72381
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,586
fernet.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/fernet.pyi
from typing import List, Optional, Text, Union class InvalidToken(Exception): ... class Fernet(object): def __init__(self, key: Union[bytes, Text]) -> None: ... def decrypt(self, token: bytes, ttl: Optional[int] = ...) -> bytes: ... # decrypt_at_time accepts None ttl at runtime but it's an implementtion detail and it doesn't really # make sense for the client code to use it like that, so the parameter is typed as int as opposed to # Optional[int]. def decrypt_at_time(self, token: bytes, ttl: int, current_time: int) -> bytes: ... def encrypt(self, data: bytes) -> bytes: ... def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: ... def extract_timestamp(self, token: bytes) -> int: ... @classmethod def generate_key(cls) -> bytes: ... class MultiFernet(object): def __init__(self, fernets: List[Fernet]) -> None: ... def decrypt(self, token: bytes, ttl: Optional[int] = ...) -> bytes: ... # See a note above on the typing of the ttl parameter. def decrypt_at_time(self, token: bytes, ttl: int, current_time: int) -> bytes: ... def encrypt(self, data: bytes) -> bytes: ... def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: ... def rotate(self, msg: bytes) -> bytes: ...
1,282
Python
.py
22
53.863636
104
0.650756
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,587
exceptions.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/exceptions.pyi
class AlreadyFinalized(Exception): ... class AlreadyUpdated(Exception): ... class InvalidKey(Exception): ... class InvalidSignature(Exception): ... class InvalidTag(Exception): ... class NotYetFinalized(Exception): ... class UnsupportedAlgorithm(Exception): ...
262
Python
.py
7
36.428571
42
0.780392
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,588
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/__init__.pyi
from typing import Any def __getattr__(name: str) -> Any: ...
63
Python
.py
2
30
38
0.65
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,589
binding.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/bindings/openssl/binding.pyi
from typing import Any, Optional class Binding(object): ffi: Optional[Any] lib: Optional[Any] def init_static_locks(self) -> None: ...
148
Python
.py
5
26
44
0.697183
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,590
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/backends/__init__.pyi
from typing import Any def default_backend() -> Any: ... # TODO: add some backends def __getattr__(name: str) -> Any: ...
124
Python
.py
4
29.5
38
0.661017
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,591
interfaces.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/backends/interfaces.pyi
from abc import ABCMeta, abstractmethod from typing import Any, Optional, Union from cryptography.hazmat.primitives.asymmetric.dh import ( DHParameterNumbers, DHParameters, DHPrivateKey, DHPrivateNumbers, DHPublicKey, DHPublicNumbers, ) from cryptography.hazmat.primitives.asymmetric.dsa import ( DSAParameterNumbers, DSAParameters, DSAPrivateKey, DSAPrivateNumbers, DSAPublicKey, DSAPublicNumbers, ) from cryptography.hazmat.primitives.asymmetric.ec import ( EllipticCurve, EllipticCurvePrivateKey, EllipticCurvePrivateNumbers, EllipticCurvePublicKey, EllipticCurvePublicNumbers, EllipticCurveSignatureAlgorithm, ) from cryptography.hazmat.primitives.asymmetric.padding import AsymmetricPadding from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey, RSAPrivateNumbers, RSAPublicKey, RSAPublicNumbers from cryptography.hazmat.primitives.ciphers import BlockCipherAlgorithm, CipherAlgorithm, CipherContext from cryptography.hazmat.primitives.ciphers.modes import Mode from cryptography.hazmat.primitives.hashes import HashAlgorithm, HashContext from cryptography.x509 import ( Certificate, CertificateBuilder, CertificateRevocationList, CertificateRevocationListBuilder, CertificateSigningRequest, CertificateSigningRequestBuilder, Name, RevokedCertificate, RevokedCertificateBuilder, ) class CipherBackend(metaclass=ABCMeta): @abstractmethod def cipher_supported(self, cipher: CipherAlgorithm, mode: Mode) -> bool: ... @abstractmethod def create_symmetric_encryption_ctx(self, cipher: CipherAlgorithm, mode: Mode) -> CipherContext: ... @abstractmethod def create_symmetric_decryption_ctx(self, cipher: CipherAlgorithm, mode: Mode) -> CipherContext: ... class CMACBackend(metaclass=ABCMeta): @abstractmethod def cmac_algorithm_supported(self, algorithm: BlockCipherAlgorithm) -> bool: ... @abstractmethod def create_cmac_ctx(self, algorithm: BlockCipherAlgorithm) -> Any: ... class DERSerializationBackend(metaclass=ABCMeta): @abstractmethod def load_der_parameters(self, data: bytes) -> Any: ... @abstractmethod def load_der_private_key(self, data: bytes, password: Optional[bytes]) -> Any: ... @abstractmethod def load_der_public_key(self, data: bytes) -> Any: ... class DHBackend(metaclass=ABCMeta): @abstractmethod def dh_parameters_supported(self, p: int, g: int, q: Optional[int]) -> bool: ... @abstractmethod def dh_x942_serialization_supported(self) -> bool: ... @abstractmethod def generate_dh_parameters(self, generator: int, key_size: int) -> DHParameters: ... @abstractmethod def generate_dh_private_key(self, parameters: DHParameters) -> DHPrivateKey: ... @abstractmethod def generate_dh_private_key_and_parameters(self, generator: int, key_size: int) -> DHPrivateKey: ... @abstractmethod def load_dh_parameter_numbers(self, numbers: DHParameterNumbers) -> DHParameters: ... @abstractmethod def load_dh_private_numbers(self, numbers: DHPrivateNumbers) -> DHPrivateKey: ... @abstractmethod def load_dh_public_numbers(self, numbers: DHPublicNumbers) -> DHPublicKey: ... class DSABackend(metaclass=ABCMeta): @abstractmethod def dsa_hash_supported(self, algorithm: HashAlgorithm) -> bool: ... @abstractmethod def dsa_parameters_supported(self, p: int, q: int, g: int) -> bool: ... @abstractmethod def generate_dsa_parameters(self, key_size: int) -> DSAParameters: ... @abstractmethod def generate_dsa_private_key(self, parameters: DSAParameters) -> DSAPrivateKey: ... @abstractmethod def generate_dsa_private_key_and_parameters(self, key_size: int) -> DSAPrivateKey: ... @abstractmethod def load_dsa_parameter_numbers(self, numbers: DSAParameterNumbers) -> DSAParameters: ... @abstractmethod def load_dsa_private_numbers(self, numbers: DSAPrivateNumbers) -> DSAPrivateKey: ... @abstractmethod def load_dsa_public_numbers(self, numbers: DSAPublicNumbers) -> DSAPublicKey: ... class EllipticCurveBackend(metaclass=ABCMeta): @abstractmethod def derive_elliptic_curve_private_key(self, private_value: int, curve: EllipticCurve) -> EllipticCurvePrivateKey: ... @abstractmethod def elliptic_curve_signature_algorithm_supported( self, signature_algorithm: EllipticCurveSignatureAlgorithm, curve: EllipticCurve ) -> bool: ... @abstractmethod def elliptic_curve_supported(self, curve: EllipticCurve) -> bool: ... @abstractmethod def generate_elliptic_curve_private_key(self, curve: EllipticCurve) -> EllipticCurvePrivateKey: ... @abstractmethod def load_elliptic_curve_private_numbers(self, numbers: EllipticCurvePrivateNumbers) -> EllipticCurvePrivateKey: ... @abstractmethod def load_elliptic_curve_public_numbers(self, numbers: EllipticCurvePublicNumbers) -> EllipticCurvePublicKey: ... class HMACBackend(metaclass=ABCMeta): @abstractmethod def create_hmac_ctx(self, key: bytes, algorithm: HashAlgorithm) -> HashContext: ... @abstractmethod def cmac_algorithm_supported(self, algorithm: HashAlgorithm) -> bool: ... class HashBackend(metaclass=ABCMeta): @abstractmethod def create_hash_ctx(self, algorithm: HashAlgorithm) -> HashContext: ... @abstractmethod def hash_supported(self, algorithm: HashAlgorithm) -> bool: ... class PBKDF2HMACBackend(metaclass=ABCMeta): @abstractmethod def derive_pbkdf2_hmac( self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, key_material: bytes ) -> bytes: ... @abstractmethod def pbkdf2_hmac_supported(self, algorithm: HashAlgorithm) -> bool: ... class PEMSerializationBackend(metaclass=ABCMeta): @abstractmethod def load_pem_parameters(self, data: bytes) -> Any: ... @abstractmethod def load_pem_private_key(self, data: bytes, password: Optional[bytes]) -> Any: ... @abstractmethod def load_pem_public_key(self, data: bytes) -> Any: ... class RSABackend(metaclass=ABCMeta): @abstractmethod def generate_rsa_parameters_supported(self, public_exponent: int, key_size: int) -> bool: ... @abstractmethod def generate_rsa_private_key(self, public_exponent: int, key_size: int) -> RSAPrivateKey: ... @abstractmethod def load_rsa_public_numbers(self, numbers: RSAPublicNumbers) -> RSAPublicKey: ... @abstractmethod def load_rsa_private_numbers(self, numbers: RSAPrivateNumbers) -> RSAPrivateKey: ... @abstractmethod def rsa_padding_supported(self, padding: AsymmetricPadding) -> bool: ... class ScryptBackend(metaclass=ABCMeta): @abstractmethod def derive_scrypt(self, key_material: bytes, salt: bytes, length: int, n: int, r: int, p: int) -> bytes: ... class X509Backend(metaclass=ABCMeta): @abstractmethod def create_x509_certificate( self, builder: CertificateBuilder, private_key: Union[DSAPrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: HashAlgorithm, ) -> Certificate: ... @abstractmethod def create_x509_crl( self, builder: CertificateRevocationListBuilder, private_key: Union[DSAPrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: HashAlgorithm, ) -> CertificateRevocationList: ... @abstractmethod def create_x509_csr( self, builder: CertificateSigningRequestBuilder, private_key: Union[DSAPrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: HashAlgorithm, ) -> CertificateSigningRequest: ... @abstractmethod def create_x509_revoked_certificate(self, builder: RevokedCertificateBuilder) -> RevokedCertificate: ... @abstractmethod def load_der_x509_certificate(self, data: bytes) -> Certificate: ... @abstractmethod def load_der_x509_csr(self, data: bytes) -> CertificateSigningRequest: ... @abstractmethod def load_pem_x509_certificate(self, data: bytes) -> Certificate: ... @abstractmethod def load_pem_x509_csr(self, data: bytes) -> CertificateSigningRequest: ... @abstractmethod def x509_name_bytes(self, name: Name) -> bytes: ...
8,238
Python
.py
182
40.494505
122
0.742601
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,592
poly1305.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/poly1305.pyi
class Poly1305(object): def __init__(self, key: bytes) -> None: ... def finalize(self) -> bytes: ... @classmethod def generate_tag(cls, key: bytes, data: bytes) -> bytes: ... def update(self, data: bytes) -> None: ... def verify(self, tag: bytes) -> None: ... @classmethod def verify_tag(cls, key: bytes, data: bytes, tag: bytes) -> None: ...
375
Python
.py
9
37.111111
73
0.595628
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,593
hmac.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/hmac.pyi
from typing import Optional from cryptography.hazmat.backends.interfaces import HMACBackend from cryptography.hazmat.primitives.hashes import HashAlgorithm class HMAC(object): def __init__(self, key: bytes, algorithm: HashAlgorithm, backend: Optional[HMACBackend] = ...) -> None: ... def copy(self) -> HMAC: ... def finalize(self) -> bytes: ... def update(self, msg: bytes) -> None: ... def verify(self, signature: bytes) -> None: ...
457
Python
.py
9
47.333333
111
0.706278
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,594
padding.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/padding.pyi
from abc import ABCMeta, abstractmethod class PaddingContext(metaclass=ABCMeta): @abstractmethod def finalize(self) -> bytes: ... @abstractmethod def update(self, data: bytes) -> bytes: ... class ANSIX923(object): def __init__(self, block_size: int) -> None: ... def padder(self) -> PaddingContext: ... def unpadder(self) -> PaddingContext: ... class PKCS7(object): def __init__(self, block_size: int) -> None: ... def padder(self) -> PaddingContext: ... def unpadder(self) -> PaddingContext: ...
540
Python
.py
14
34.5
52
0.659656
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,595
hashes.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/hashes.pyi
from abc import ABCMeta, abstractmethod from typing import Optional from cryptography.hazmat.backends.interfaces import HashBackend class HashAlgorithm(metaclass=ABCMeta): digest_size: int name: str class HashContext(metaclass=ABCMeta): algorithm: HashAlgorithm @abstractmethod def copy(self) -> HashContext: ... @abstractmethod def finalize(self) -> bytes: ... @abstractmethod def update(self, data: bytes) -> None: ... class BLAKE2b(HashAlgorithm): ... class BLAKE2s(HashAlgorithm): ... class MD5(HashAlgorithm): ... class SHA1(HashAlgorithm): ... class SHA224(HashAlgorithm): ... class SHA256(HashAlgorithm): ... class SHA384(HashAlgorithm): ... class SHA3_224(HashAlgorithm): ... class SHA3_256(HashAlgorithm): ... class SHA3_384(HashAlgorithm): ... class SHA3_512(HashAlgorithm): ... class SHA512(HashAlgorithm): ... class SHA512_224(HashAlgorithm): ... class SHA512_256(HashAlgorithm): ... class SHAKE128(HashAlgorithm): def __init__(self, digest_size: int) -> None: ... class SHAKE256(HashAlgorithm): def __init__(self, digest_size: int) -> None: ... class Hash(HashContext): def __init__(self, algorithm: HashAlgorithm, backend: Optional[HashBackend] = ...): ... def copy(self) -> Hash: ... def finalize(self) -> bytes: ... def update(self, data: bytes) -> None: ...
1,342
Python
.py
37
33.459459
91
0.711864
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,596
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/__init__.pyi
from typing import Any def __getattr__(name: str) -> Any: ...
63
Python
.py
2
30
38
0.65
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,597
keywrap.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/keywrap.pyi
from typing import Optional from cryptography.hazmat.backends.interfaces import CipherBackend def aes_key_wrap(wrapping_key: bytes, key_to_wrap: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... def aes_key_wrap_with_padding(wrapping_key: bytes, key_to_wrap: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... def aes_key_unwrap(wrapping_key: bytes, wrapped_key: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... def aes_key_unwrap_with_padding(wrapping_key: bytes, wrapped_key: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... class InvalidUnwrap(Exception): ...
611
Python
.py
7
85.857143
126
0.735441
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,598
cmac.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/cmac.pyi
from typing import Optional from cryptography.hazmat.backends.interfaces import CMACBackend from cryptography.hazmat.primitives.ciphers import BlockCipherAlgorithm class CMAC(object): def __init__(self, algorithm: BlockCipherAlgorithm, backend: Optional[CMACBackend] = ...) -> None: ... def copy(self) -> CMAC: ... def finalize(self) -> bytes: ... def update(self, data: bytes) -> None: ... def verify(self, signature: bytes) -> None: ...
461
Python
.py
9
47.777778
106
0.717778
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)
28,599
__init__.pyi
DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/serialization/__init__.pyi
from abc import ABCMeta from enum import Enum from typing import Any, Optional, Union from cryptography.hazmat.backends.interfaces import ( DERSerializationBackend, DSABackend, EllipticCurveBackend, PEMSerializationBackend, RSABackend, ) from cryptography.hazmat.primitives.asymmetric.dh import DHPrivateKey, DHPublicKey from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKey, DSAPublicKey from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKey, EllipticCurvePublicKey from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey, RSAPublicKey def load_pem_private_key( data: bytes, password: Optional[bytes], backend: Optional[PEMSerializationBackend] = ... ) -> Any: ... # actually Union[RSAPrivateKey, DSAPrivateKey, DHPrivateKey, EllipticCurvePrivateKey] def load_pem_public_key( data: bytes, backend: Optional[PEMSerializationBackend] = ... ) -> Any: ... # actually Union[RSAPublicKey, DSAPublicKey, DHPublicKey, EllipticCurvePublicKey] def load_der_private_key( data: bytes, password: Optional[bytes], backend: Optional[DERSerializationBackend] = ... ) -> Any: ... # actually Union[RSAPrivateKey, DSAPrivateKey, DHPrivateKey, EllipticCurvePrivateKey] def load_der_public_key( data: bytes, backend: Optional[DERSerializationBackend] = ... ) -> Any: ... # actually Union[RSAPublicKey, DSAPublicKey, DHPublicKey, EllipticCurvePublicKey] def load_ssh_public_key( data: bytes, backend: Union[RSABackend, DSABackend, EllipticCurveBackend, None] ) -> Any: ... # actually Union[RSAPublicKey, DSAPublicKey, DHPublicKey, EllipticCurvePublicKey, Ed25519PublicKey] class Encoding(Enum): PEM: str DER: str OpenSSH: str Raw: str X962: str class PrivateFormat(Enum): PKCS8: str TraditionalOpenSSL: str Raw: str class PublicFormat(Enum): SubjectPublicKeyInfo: str PKCS1: str OpenSSH: str Raw: str CompressedPoint: str UncompressedPoint: str class ParameterFormat(Enum): PKCS3: str class KeySerializationEncryption(metaclass=ABCMeta): ... class BestAvailableEncryption(KeySerializationEncryption): password: bytes def __init__(self, password: bytes) -> None: ... class NoEncryption(KeySerializationEncryption): ...
2,359
Python
.py
54
40.518519
114
0.786585
DamnWidget/anaconda
2,213
260
184
GPL-3.0
9/5/2024, 5:14:06 PM (Europe/Amsterdam)