content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
import sys\nfrom _typeshed import ReadableBuffer\nfrom typing import Callable\n\nfrom paramiko.kex_group1 import KexGroup1 as KexGroup1\n\nif sys.version_info < (3, 0):\n from hashlib import _hash as _Hash\nelse:\n from hashlib import _Hash\n\nclass KexGroup16SHA512(KexGroup1):\n name: str\n P: int\n G: int\n hash_algo: Callable[[ReadableBuffer], _Hash]\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\kex_group16.pyi | kex_group16.pyi | Other | 359 | 0.85 | 0.125 | 0 | react-lib | 5 | 2025-06-02T08:40:56.022448 | BSD-3-Clause | false | f6dbac23934de61f9efaa87057aaae03 |
from typing import Optional\n\nfrom paramiko.message import Message\nfrom paramiko.ssh_gss import _SSH_GSSAuth\nfrom paramiko.transport import Transport\n\nMSG_KEXGSS_INIT: int\nMSG_KEXGSS_CONTINUE: int\nMSG_KEXGSS_COMPLETE: int\nMSG_KEXGSS_HOSTKEY: int\nMSG_KEXGSS_ERROR: int\nMSG_KEXGSS_GROUPREQ: int\nMSG_KEXGSS_GROUP: int\n\nc_MSG_KEXGSS_INIT: bytes\nc_MSG_KEXGSS_CONTINUE: bytes\nc_MSG_KEXGSS_COMPLETE: bytes\nc_MSG_KEXGSS_HOSTKEY: bytes\nc_MSG_KEXGSS_ERROR: bytes\nc_MSG_KEXGSS_GROUPREQ: bytes\nc_MSG_KEXGSS_GROUP: bytes\n\nclass KexGSSGroup1:\n P: int\n G: int\n b7fffffffffffffff: bytes\n b0000000000000000: bytes\n NAME: str\n transport: Transport\n kexgss: _SSH_GSSAuth\n gss_host: Optional[str]\n x: int\n e: int\n f: int\n def __init__(self, transport: Transport) -> None: ...\n def start_kex(self) -> None: ...\n def parse_next(self, ptype: int, m: Message) -> None: ...\n\nclass KexGSSGroup14(KexGSSGroup1):\n P: int\n G: int\n NAME: str\n\nclass KexGSSGex:\n NAME: str\n min_bits: int\n max_bits: int\n preferred_bits: int\n transport: Transport\n kexgss: _SSH_GSSAuth\n gss_host: Optional[str]\n p: Optional[int]\n q: Optional[int]\n g: Optional[int]\n x: Optional[int]\n e: Optional[int]\n f: Optional[int]\n old_style: bool\n def __init__(self, transport: Transport) -> None: ...\n def start_kex(self) -> None: ...\n def parse_next(self, ptype: int, m: Message) -> None: ...\n\nclass NullHostKey:\n key: str\n def __init__(self) -> None: ...\n def get_name(self) -> str: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\kex_gss.pyi | kex_gss.pyi | Other | 1,539 | 0.85 | 0.181818 | 0 | awesome-app | 986 | 2024-02-08T18:19:25.139732 | MIT | false | fd72c2425811351f2208834e18b93715 |
import sys\nfrom typing import Any, Iterable, List, Optional, Text\n\nfrom .common import _LikeBytes\n\nif sys.version_info < (3, 0):\n from StringIO import StringIO\n\n BytesIO = StringIO[bytes]\nelse:\n from io import BytesIO\n\nclass Message:\n big_int: int\n packet: BytesIO\n seqno: int # only when packet.Packetizer.read_message() is used\n def __init__(self, content: Optional[bytes] = ...) -> None: ...\n def asbytes(self) -> bytes: ...\n def rewind(self) -> None: ...\n def get_remainder(self) -> bytes: ...\n def get_so_far(self) -> bytes: ...\n def get_bytes(self, n: int) -> bytes: ...\n def get_byte(self) -> bytes: ...\n def get_boolean(self) -> bool: ...\n def get_adaptive_int(self) -> int: ...\n def get_int(self) -> int: ...\n def get_int64(self) -> int: ...\n def get_mpint(self) -> int: ...\n def get_string(self) -> bytes: ...\n def get_text(self) -> Text: ...\n def get_binary(self) -> bytes: ...\n def get_list(self) -> List[str]: ...\n def add_bytes(self, b: bytes) -> Message: ...\n def add_byte(self, b: bytes) -> Message: ...\n def add_boolean(self, b: bool) -> Message: ...\n def add_int(self, n: int) -> Message: ...\n def add_adaptive_int(self, n: int) -> Message: ...\n def add_int64(self, n: int) -> Message: ...\n def add_mpint(self, z: int) -> Message: ...\n def add_string(self, s: _LikeBytes) -> Message: ...\n def add_list(self, l: Iterable[str]) -> Message: ...\n def add(self, *seq: Any) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\message.pyi | message.pyi | Other | 1,496 | 0.95 | 0.666667 | 0 | vue-tools | 161 | 2023-10-26T23:49:48.557299 | Apache-2.0 | false | d2ab97746759039f6da903665d344cb7 |
import sys\nfrom logging import Logger\nfrom socket import socket\nfrom typing import Any, Callable, Tuple\n\nfrom cryptography.hazmat.primitives.ciphers import Cipher\nfrom paramiko.compress import ZlibCompressor, ZlibDecompressor\nfrom paramiko.message import Message\n\nif sys.version_info < (3, 0):\n from hashlib import _hash as _Hash\nelse:\n from hashlib import _Hash\n\ndef compute_hmac(key: bytes, message: bytes, digest_class: _Hash) -> bytes: ...\n\nclass NeedRekeyException(Exception): ...\n\ndef first_arg(e: Exception) -> Any: ...\n\nclass Packetizer:\n REKEY_PACKETS: int\n REKEY_BYTES: int\n REKEY_PACKETS_OVERFLOW_MAX: int\n REKEY_BYTES_OVERFLOW_MAX: int\n def __init__(self, socket: socket) -> None: ...\n @property\n def closed(self) -> bool: ...\n def set_log(self, log: Logger) -> None: ...\n def set_outbound_cipher(\n self,\n block_engine: Cipher,\n block_size: int,\n mac_engine: _Hash,\n mac_size: int,\n mac_key: bytes,\n sdctr: bool = ...,\n etm: bool = ...,\n ) -> None: ...\n def set_inbound_cipher(\n self, block_engine: Cipher, block_size: int, mac_engine: _Hash, mac_size: int, mac_key: bytes, etm: bool = ...\n ) -> None: ...\n def set_outbound_compressor(self, compressor: ZlibCompressor) -> None: ...\n def set_inbound_compressor(self, compressor: ZlibDecompressor) -> None: ...\n def close(self) -> None: ...\n def set_hexdump(self, hexdump: bool) -> None: ...\n def get_hexdump(self) -> bool: ...\n def get_mac_size_in(self) -> int: ...\n def get_mac_size_out(self) -> int: ...\n def need_rekey(self) -> bool: ...\n def set_keepalive(self, interval: int, callback: Callable[[], None]) -> None: ...\n def read_timer(self) -> None: ...\n def start_handshake(self, timeout: float) -> None: ...\n def handshake_timed_out(self) -> bool: ...\n def complete_handshake(self) -> None: ...\n def read_all(self, n: int, check_rekey: bool = ...) -> bytes: ...\n def write_all(self, out: bytes) -> None: ...\n def readline(self, timeout: float) -> str: ...\n def send_message(self, data: Message) -> None: ...\n def read_message(self) -> Tuple[int, Message]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\packet.pyi | packet.pyi | Other | 2,187 | 0.85 | 0.466667 | 0 | react-lib | 970 | 2023-07-12T11:58:25.105052 | BSD-3-Clause | false | 68e13ff64a5eea2b2693f3dd6237cb2b |
from typing import Protocol, Tuple\n\nclass _BasePipe(Protocol):\n def clear(self) -> None: ...\n def set(self) -> None: ...\n\nclass _Pipe(_BasePipe, Protocol):\n def close(self) -> None: ...\n def fileno(self) -> int: ...\n def set_forever(self) -> None: ...\n\ndef make_pipe() -> _Pipe: ...\n\nclass PosixPipe(object):\n def __init__(self) -> None: ...\n def close(self) -> None: ...\n def fileno(self) -> int: ...\n def clear(self) -> None: ...\n def set(self) -> None: ...\n def set_forever(self) -> None: ...\n\nclass WindowsPipe(object):\n def __init__(self) -> None: ...\n def close(self) -> None: ...\n def fileno(self) -> int: ...\n def clear(self) -> None: ...\n def set(self) -> None: ...\n def set_forever(self) -> None: ...\n\nclass OrPipe:\n def __init__(self, pipe: _Pipe) -> None: ...\n def set(self) -> None: ...\n def clear(self) -> None: ...\n\ndef make_or_pipe(pipe: _Pipe) -> Tuple[OrPipe, OrPipe]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\pipe.pyi | pipe.pyi | Other | 951 | 0.85 | 0.771429 | 0 | vue-tools | 109 | 2024-11-29T18:16:10.331360 | Apache-2.0 | false | 5b246be53866f5091fc860709e5fcbf8 |
from typing import IO, Any, Optional, Pattern, Text, Union\n\nfrom paramiko.message import Message\n\nOPENSSH_AUTH_MAGIC: bytes = ...\n\ndef _unpad_openssh(data: bytes) -> bytes: ...\n\nclass PKey:\n public_blob: Optional[PublicBlob]\n BEGIN_TAG: Pattern[str]\n END_TAG: Pattern[str]\n def __init__(self, msg: Optional[Message] = ..., data: Optional[str] = ...) -> None: ...\n def asbytes(self) -> bytes: ...\n def __cmp__(self, other: object) -> int: ...\n def __eq__(self, other: object) -> bool: ...\n def get_name(self) -> str: ...\n def get_bits(self) -> int: ...\n def can_sign(self) -> bool: ...\n def get_fingerprint(self) -> bytes: ...\n def get_base64(self) -> str: ...\n def sign_ssh_data(self, data: bytes) -> Message: ...\n def verify_ssh_sig(self, data: bytes, msg: Message) -> bool: ...\n @classmethod\n def from_private_key_file(cls: Any, filename: str, password: Optional[str] = ...) -> PKey: ...\n @classmethod\n def from_private_key(cls, file_obj: IO[str], password: Optional[str] = ...) -> PKey: ...\n def write_private_key_file(self, filename: str, password: Optional[str] = ...) -> None: ...\n def write_private_key(self, file_obj: IO[str], password: Optional[str] = ...) -> None: ...\n def load_certificate(self, value: Union[Message, str]) -> None: ...\n\nclass PublicBlob:\n key_type: str\n key_blob: str\n comment: str\n def __init__(self, type_: str, blob: bytes, comment: Optional[str] = ...) -> None: ...\n @classmethod\n def from_file(cls, filename: str) -> PublicBlob: ...\n @classmethod\n def from_string(cls, string: str) -> PublicBlob: ...\n @classmethod\n def from_message(cls, message: Message) -> PublicBlob: ...\n def __eq__(self, other: object) -> bool: ...\n def __ne__(self, other: object) -> bool: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\pkey.pyi | pkey.pyi | Other | 1,800 | 0.85 | 0.568182 | 0 | node-utils | 536 | 2024-11-23T19:30:07.095147 | GPL-3.0 | false | 0d778649c7b6d3c75faa22b8a9699d92 |
from typing import Dict, List, Tuple\n\nclass ModulusPack:\n pack: Dict[int, List[Tuple[int, int]]]\n discarded: List[Tuple[int, str]]\n def __init__(self) -> None: ...\n def read_file(self, filename: str) -> None: ...\n def get_modulus(self, min: int, prefer: int, max: int) -> Tuple[int, int]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\primes.pyi | primes.pyi | Other | 308 | 0.85 | 0.5 | 0 | node-utils | 444 | 2025-01-11T07:11:26.987454 | BSD-3-Clause | false | 7e958c4ecca8f4a0153e8ee0819d2c7f |
from subprocess import Popen\nfrom typing import List, Optional\n\nfrom paramiko.util import ClosingContextManager\n\nclass ProxyCommand(ClosingContextManager):\n cmd: List[str]\n process: Popen\n timeout: Optional[float]\n def __init__(self, command_line: str) -> None: ...\n def send(self, content: bytes) -> int: ...\n def recv(self, size: int) -> bytes: ...\n def close(self) -> None: ...\n @property\n def closed(self) -> bool: ...\n def settimeout(self, timeout: float) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\proxy.pyi | proxy.pyi | Other | 504 | 0.85 | 0.4375 | 0 | vue-tools | 486 | 2023-08-24T23:09:52.043224 | MIT | false | 84d4328ed6d4bb6881ecae46bb4d27cc |
import sys\nfrom typing import Any, Iterable, Sequence, Text, Type, TypeVar, Union\n\n_T = TypeVar("_T")\n\nPY2: bool\n\nstring_types: Union[Type, Sequence[Type]]\ntext_type: Union[Type, Sequence[Type]]\nbytes_types: Union[Type, Sequence[Type]]\nbytes = bytes\ninteger_types: Union[Type, Sequence[Type]]\nlong = int\n\ndef input(prompt: Any) -> str: ...\ndef decodebytes(s: bytes) -> bytes: ...\ndef encodebytes(s: bytes) -> bytes: ...\n\nif sys.version_info < (3, 0):\n import __builtin__ as builtins\n import cStringIO\n\n StringIO = cStringIO.StringIO\n BytesIO = StringIO\nelse:\n import builtins as builtins\n import io\n\n StringIO = io.StringIO\n BytesIO = io.BytesIO\n\ndef byte_ord(c: Union[int, str]) -> int: ...\ndef byte_chr(c: int) -> bytes: ...\ndef byte_mask(c: int, mask: int) -> bytes: ...\ndef b(s: Union[bytes, str], encoding: str = ...) -> bytes: ...\ndef u(s: Union[bytes, str], encoding: str = ...) -> Text: ...\ndef b2s(s: Union[bytes, str]) -> str: ...\ndef is_callable(c: Any) -> bool: ...\ndef next(c: Iterable[_T]) -> _T: ...\n\nMAXSIZE: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\py3compat.pyi | py3compat.pyi | Other | 1,053 | 0.85 | 0.292683 | 0 | python-kit | 751 | 2023-07-19T08:41:38.962600 | Apache-2.0 | false | 6411a619cfdf049694c6e6877ec358b5 |
from typing import IO, Any, Callable, Optional, Union\n\nfrom cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey, RSAPublicKey, RSAPublicNumbers\nfrom paramiko.message import Message\nfrom paramiko.pkey import PKey\n\nclass RSAKey(PKey):\n key: Union[None, RSAPublicKey, RSAPrivateKey]\n public_blob: None\n def __init__(\n self,\n msg: Optional[Message] = ...,\n data: Optional[bytes] = ...,\n filename: Optional[str] = ...,\n password: Optional[str] = ...,\n key: Union[None, RSAPublicKey, RSAPrivateKey] = ...,\n file_obj: Optional[IO[str]] = ...,\n ) -> None: ...\n @property\n def size(self) -> int: ...\n @property\n def public_numbers(self) -> RSAPublicNumbers: ...\n def asbytes(self) -> bytes: ...\n def __hash__(self) -> int: ...\n def get_name(self) -> str: ...\n def get_bits(self) -> int: ...\n def can_sign(self) -> bool: ...\n def sign_ssh_data(self, data: bytes) -> Message: ...\n def verify_ssh_sig(self, data: bytes, msg: Message) -> bool: ...\n def write_private_key_file(self, filename: str, password: Optional[str] = ...) -> None: ...\n def write_private_key(self, file_obj: IO[str], password: Optional[str] = ...) -> None: ...\n @staticmethod\n def generate(bits: int, progress_func: Optional[Callable[..., Any]] = ...) -> RSAKey: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\rsakey.pyi | rsakey.pyi | Other | 1,347 | 0.85 | 0.424242 | 0 | node-utils | 7 | 2024-11-30T10:26:34.014999 | Apache-2.0 | false | 1c0e4180d3c24bc04dc3ca93a2d28459 |
import threading\nfrom typing import Any, List, Optional, Tuple, Union\n\nfrom paramiko.channel import Channel\nfrom paramiko.message import Message\nfrom paramiko.pkey import PKey\nfrom paramiko.transport import Transport\n\nclass ServerInterface:\n def check_channel_request(self, kind: str, chanid: int) -> int: ...\n def get_allowed_auths(self, username: str) -> str: ...\n def check_auth_none(self, username: str) -> int: ...\n def check_auth_password(self, username: str, password: str) -> int: ...\n def check_auth_publickey(self, username: str, key: PKey) -> int: ...\n def check_auth_interactive(self, username: str, submethods: str) -> Union[int, InteractiveQuery]: ...\n def check_auth_interactive_response(self, responses: List[str]) -> Union[int, InteractiveQuery]: ...\n def check_auth_gssapi_with_mic(self, username: str, gss_authenticated: int = ..., cc_file: Optional[str] = ...) -> int: ...\n def check_auth_gssapi_keyex(self, username: str, gss_authenticated: int = ..., cc_file: Optional[str] = ...) -> int: ...\n def enable_auth_gssapi(self) -> bool: ...\n def check_port_forward_request(self, address: str, port: int) -> int: ...\n def cancel_port_forward_request(self, address: str, port: int) -> None: ...\n def check_global_request(self, kind: str, msg: Message) -> Union[bool, Tuple[Any, ...]]: ...\n def check_channel_pty_request(\n self, channel: Channel, term: str, width: int, height: int, pixelwidth: int, pixelheight: int, modes: str\n ) -> bool: ...\n def check_channel_shell_request(self, channel: Channel) -> bool: ...\n def check_channel_exec_request(self, channel: Channel, command: bytes) -> bool: ...\n def check_channel_subsystem_request(self, channel: Channel, name: str) -> bool: ...\n def check_channel_window_change_request(\n self, channel: Channel, width: int, height: int, pixelwidth: int, pixelheight: int\n ) -> bool: ...\n def check_channel_x11_request(\n self, channel: Channel, single_connection: bool, auth_protocol: str, auth_cookie: bytes, screen_number: int\n ) -> bool: ...\n def check_channel_forward_agent_request(self, channel: Channel) -> bool: ...\n def check_channel_direct_tcpip_request(self, chanid: int, origin: Tuple[str, int], destination: Tuple[str, int]) -> int: ...\n def check_channel_env_request(self, channel: Channel, name: str, value: str) -> bool: ...\n def get_banner(self) -> Tuple[Optional[str], Optional[str]]: ...\n\nclass InteractiveQuery:\n name: str\n instructions: str\n prompts: List[Tuple[str, bool]]\n def __init__(self, name: str = ..., instructions: str = ..., *prompts: Union[str, Tuple[str, bool]]) -> None: ...\n def add_prompt(self, prompt: str, echo: bool = ...) -> None: ...\n\nclass SubsystemHandler(threading.Thread):\n def __init__(self, channel: Channel, name: str, server: ServerInterface) -> None: ...\n def get_server(self) -> ServerInterface: ...\n def start_subsystem(self, name: str, transport: Transport, channel: Channel) -> None: ...\n def finish_subsystem(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\server.pyi | server.pyi | Other | 3,062 | 0.85 | 0.627451 | 0 | vue-tools | 468 | 2025-01-08T00:40:41.536479 | MIT | false | b7846db3aa60a9fabfcc54b8b2461875 |
from logging import Logger\nfrom typing import Dict, List, Optional\n\nfrom paramiko.channel import Channel\n\nCMD_INIT: int\nCMD_VERSION: int\nCMD_OPEN: int\nCMD_CLOSE: int\nCMD_READ: int\nCMD_WRITE: int\nCMD_LSTAT: int\nCMD_FSTAT: int\nCMD_SETSTAT: int\nCMD_FSETSTAT: int\nCMD_OPENDIR: int\nCMD_READDIR: int\nCMD_REMOVE: int\nCMD_MKDIR: int\nCMD_RMDIR: int\nCMD_REALPATH: int\nCMD_STAT: int\nCMD_RENAME: int\nCMD_READLINK: int\nCMD_SYMLINK: int\nCMD_STATUS: int\nCMD_HANDLE: int\nCMD_DATA: int\nCMD_NAME: int\nCMD_ATTRS: int\nCMD_EXTENDED: int\nCMD_EXTENDED_REPLY: int\n\nSFTP_OK: int\nSFTP_EOF: int\nSFTP_NO_SUCH_FILE: int\nSFTP_PERMISSION_DENIED: int\nSFTP_FAILURE: int\nSFTP_BAD_MESSAGE: int\nSFTP_NO_CONNECTION: int\nSFTP_CONNECTION_LOST: int\nSFTP_OP_UNSUPPORTED: int\n\nSFTP_DESC: List[str]\n\nSFTP_FLAG_READ: int\nSFTP_FLAG_WRITE: int\nSFTP_FLAG_APPEND: int\nSFTP_FLAG_CREATE: int\nSFTP_FLAG_TRUNC: int\nSFTP_FLAG_EXCL: int\n\nCMD_NAMES: Dict[int, str]\n\nclass SFTPError(Exception): ...\n\nclass BaseSFTP:\n logger: Logger\n sock: Optional[Channel]\n ultra_debug: bool\n def __init__(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp.pyi | sftp.pyi | Other | 1,065 | 0.85 | 0.04918 | 0 | node-utils | 969 | 2024-06-10T21:47:47.246681 | Apache-2.0 | false | 76ad48a80837988b7b6b163a2985cf66 |
from os import stat_result\nfrom typing import Dict, Optional\n\nclass SFTPAttributes:\n FLAG_SIZE: int\n FLAG_UIDGID: int\n FLAG_PERMISSIONS: int\n FLAG_AMTIME: int\n FLAG_EXTENDED: int\n st_size: Optional[int]\n st_uid: Optional[int]\n st_gid: Optional[int]\n st_mode: Optional[int]\n st_atime: Optional[int]\n st_mtime: Optional[int]\n filename: str # only when from_stat() is used\n longname: str # only when from_stat() is used\n attr: Dict[str, str]\n def __init__(self) -> None: ...\n @classmethod\n def from_stat(cls, obj: stat_result, filename: Optional[str] = ...) -> SFTPAttributes: ...\n def asbytes(self) -> bytes: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_attr.pyi | sftp_attr.pyi | Other | 667 | 0.95 | 0.181818 | 0 | awesome-app | 803 | 2024-03-25T22:50:22.769949 | Apache-2.0 | false | 67676f6523ddd5c40e6011294d0c7230 |
from logging import Logger\nfrom typing import IO, Any, Callable, Iterator, List, Optional, Text, Tuple, Union\n\nfrom paramiko.channel import Channel\nfrom paramiko.sftp import BaseSFTP\nfrom paramiko.sftp_attr import SFTPAttributes\nfrom paramiko.sftp_file import SFTPFile\nfrom paramiko.transport import Transport\nfrom paramiko.util import ClosingContextManager\n\n_Callback = Callable[[int, int], Any]\n\nb_slash: bytes\n\nclass SFTPClient(BaseSFTP, ClosingContextManager):\n sock: Channel\n ultra_debug: bool\n request_number: int\n logger: Logger\n def __init__(self, sock: Channel) -> None: ...\n @classmethod\n def from_transport(\n cls, t: Transport, window_size: Optional[int] = ..., max_packet_size: Optional[int] = ...\n ) -> Optional[SFTPClient]: ...\n def close(self) -> None: ...\n def get_channel(self) -> Optional[Channel]: ...\n def listdir(self, path: str = ...) -> List[str]: ...\n def listdir_attr(self, path: str = ...) -> List[SFTPAttributes]: ...\n def listdir_iter(self, path: Union[bytes, Text] = ..., read_aheads: int = ...) -> Iterator[SFTPAttributes]: ...\n def open(self, filename: Union[bytes, Text], mode: str = ..., bufsize: int = ...) -> SFTPFile: ...\n file = open\n def remove(self, path: Union[bytes, Text]) -> None: ...\n unlink = remove\n def rename(self, oldpath: Union[bytes, Text], newpath: Union[bytes, Text]) -> None: ...\n def posix_rename(self, oldpath: Union[bytes, Text], newpath: Union[bytes, Text]) -> None: ...\n def mkdir(self, path: Union[bytes, Text], mode: int = ...) -> None: ...\n def rmdir(self, path: Union[bytes, Text]) -> None: ...\n def stat(self, path: Union[bytes, Text]) -> SFTPAttributes: ...\n def lstat(self, path: Union[bytes, Text]) -> SFTPAttributes: ...\n def symlink(self, source: Union[bytes, Text], dest: Union[bytes, Text]) -> None: ...\n def chmod(self, path: Union[bytes, Text], mode: int) -> None: ...\n def chown(self, path: Union[bytes, Text], uid: int, gid: int) -> None: ...\n def utime(self, path: Union[bytes, Text], times: Optional[Tuple[float, float]]) -> None: ...\n def truncate(self, path: Union[bytes, Text], size: int) -> None: ...\n def readlink(self, path: Union[bytes, Text]) -> Optional[Text]: ...\n def normalize(self, path: Union[bytes, Text]) -> Text: ...\n def chdir(self, path: Union[None, bytes, Text] = ...) -> None: ...\n def getcwd(self) -> Optional[Text]: ...\n def putfo(\n self,\n fl: IO[bytes],\n remotepath: Union[bytes, Text],\n file_size: int = ...,\n callback: Optional[_Callback] = ...,\n confirm: bool = ...,\n ) -> SFTPAttributes: ...\n def put(\n self,\n localpath: Union[bytes, Text],\n remotepath: Union[bytes, Text],\n callback: Optional[_Callback] = ...,\n confirm: bool = ...,\n ) -> SFTPAttributes: ...\n def getfo(self, remotepath: Union[bytes, Text], fl: IO[bytes], callback: Optional[_Callback] = ...) -> int: ...\n def get(self, remotepath: Union[bytes, Text], localpath: Union[bytes, Text], callback: Optional[_Callback] = ...) -> None: ...\n\nclass SFTP(SFTPClient): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_client.pyi | sftp_client.pyi | Other | 3,133 | 0.85 | 0.447761 | 0 | react-lib | 349 | 2024-11-26T08:16:15.979373 | BSD-3-Clause | false | f6470e83badeb791fd3b2ebe9b503740 |
from typing import Iterator, Optional, Sequence, Tuple\n\nfrom paramiko.file import BufferedFile\nfrom paramiko.sftp_attr import SFTPAttributes\nfrom paramiko.sftp_client import SFTPClient\nfrom paramiko.sftp_handle import SFTPHandle\n\nclass SFTPFile(BufferedFile):\n MAX_REQUEST_SIZE: int\n sftp: SFTPClient\n handle: SFTPHandle\n pipelined: bool\n def __init__(self, sftp: SFTPClient, handle: bytes, mode: str = ..., bufsize: int = ...) -> None: ...\n def __del__(self) -> None: ...\n def close(self) -> None: ...\n def settimeout(self, timeout: float) -> None: ...\n def gettimeout(self) -> float: ...\n def setblocking(self, blocking: bool) -> None: ...\n def seekable(self) -> bool: ...\n def seek(self, offset: int, whence: int = ...) -> None: ...\n def stat(self) -> SFTPAttributes: ...\n def chmod(self, mode: int) -> None: ...\n def chown(self, uid: int, gid: int) -> None: ...\n def utime(self, times: Optional[Tuple[float, float]]) -> None: ...\n def truncate(self, size: int) -> None: ...\n def check(self, hash_algorithm: str, offset: int = ..., length: int = ..., block_size: int = ...) -> bytes: ...\n def set_pipelined(self, pipelined: bool = ...) -> None: ...\n def prefetch(self, file_size: Optional[int] = ...) -> None: ...\n def readv(self, chunks: Sequence[Tuple[int, int]]) -> Iterator[bytes]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_file.pyi | sftp_file.pyi | Other | 1,356 | 0.85 | 0.62069 | 0 | vue-tools | 177 | 2023-11-08T10:38:57.360500 | GPL-3.0 | false | 799810c0f1c2ec4cf909f0e5fc7ecd4b |
from typing import Union\n\nfrom paramiko.sftp_attr import SFTPAttributes\nfrom paramiko.sftp_server import SFTPServer\nfrom paramiko.util import ClosingContextManager\n\nclass SFTPHandle(ClosingContextManager):\n def __init__(self, flags: int = ...) -> None: ...\n def close(self) -> None: ...\n def read(self, offset: int, length: int) -> Union[bytes, int]: ...\n def write(self, offset: int, data: bytes) -> int: ...\n def stat(self) -> Union[int, SFTPAttributes]: ...\n def chattr(self, attr: SFTPAttributes) -> int: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_handle.pyi | sftp_handle.pyi | Other | 531 | 0.85 | 0.538462 | 0 | vue-tools | 854 | 2024-03-11T18:32:12.660094 | BSD-3-Clause | false | c1131d98bb9b51f34288d8d2d6d4b750 |
from logging import Logger\nfrom typing import Any, Dict, Optional, Type\n\nfrom paramiko.channel import Channel\nfrom paramiko.server import ServerInterface, SubsystemHandler\nfrom paramiko.sftp import BaseSFTP\nfrom paramiko.sftp_attr import SFTPAttributes\nfrom paramiko.sftp_handle import SFTPHandle\nfrom paramiko.sftp_si import SFTPServerInterface\nfrom paramiko.transport import Transport\n\nclass SFTPServer(BaseSFTP, SubsystemHandler):\n logger: Logger\n ultra_debug: bool\n next_handle: int\n file_table: Dict[bytes, SFTPHandle]\n folder_table: Dict[bytes, SFTPHandle]\n server: SFTPServerInterface\n sock: Optional[Channel]\n def __init__(\n self, channel: Channel, name: str, server: ServerInterface, sftp_si: Type[SFTPServerInterface], *largs: Any, **kwargs: Any\n ) -> None: ...\n def start_subsystem(self, name: str, transport: Transport, channel: Channel) -> None: ...\n def finish_subsystem(self) -> None: ...\n @staticmethod\n def convert_errno(e: int) -> int: ...\n @staticmethod\n def set_file_attr(filename: str, attr: SFTPAttributes) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_server.pyi | sftp_server.pyi | Other | 1,094 | 0.85 | 0.214286 | 0 | python-kit | 503 | 2025-06-03T22:32:56.887230 | BSD-3-Clause | false | 0c5605c0f0650a313edf33c8f82f66a2 |
from typing import Any, List, Union\n\nfrom paramiko.server import ServerInterface\nfrom paramiko.sftp_attr import SFTPAttributes\nfrom paramiko.sftp_handle import SFTPHandle\n\nclass SFTPServerInterface:\n def __init__(self, server: ServerInterface, *largs: Any, **kwargs: Any) -> None: ...\n def session_started(self) -> None: ...\n def session_ended(self) -> None: ...\n def open(self, path: str, flags: int, attr: SFTPAttributes) -> Union[SFTPHandle, int]: ...\n def list_folder(self, path: str) -> Union[List[SFTPAttributes], int]: ...\n def stat(self, path: str) -> Union[SFTPAttributes, int]: ...\n def lstat(self, path: str) -> Union[SFTPAttributes, int]: ...\n def remove(self, path: str) -> int: ...\n def rename(self, oldpath: str, newpath: str) -> int: ...\n def posix_rename(self, oldpath: str, newpath: str) -> int: ...\n def mkdir(self, path: str, attr: SFTPAttributes) -> int: ...\n def rmdir(self, path: str) -> int: ...\n def chattr(self, path: str, attr: SFTPAttributes) -> int: ...\n def canonicalize(self, path: str) -> str: ...\n def readlink(self, path: str) -> Union[str, int]: ...\n def symlink(self, target_path: str, path: str) -> int: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\sftp_si.pyi | sftp_si.pyi | Other | 1,193 | 0.85 | 0.73913 | 0 | python-kit | 282 | 2023-07-11T02:35:40.520975 | MIT | false | ff9a06a9d724fb6d9d308ab05278e3d4 |
import socket\nfrom typing import List, Mapping, Tuple, Union\n\nfrom paramiko.pkey import PKey\n\nclass SSHException(Exception): ...\nclass AuthenticationException(SSHException): ...\nclass PasswordRequiredException(AuthenticationException): ...\n\nclass BadAuthenticationType(AuthenticationException):\n allowed_types: List[str]\n explanation: str\n def __init__(self, explanation: str, types: List[str]) -> None: ...\n\nclass PartialAuthentication(AuthenticationException):\n allowed_types: List[str]\n def __init__(self, types: List[str]) -> None: ...\n\nclass ChannelException(SSHException):\n code: int\n text: str\n def __init__(self, code: int, text: str) -> None: ...\n\nclass BadHostKeyException(SSHException):\n hostname: str\n key: PKey\n expected_key: PKey\n def __init__(self, hostname: str, got_key: PKey, expected_key: PKey) -> None: ...\n\nclass ProxyCommandFailure(SSHException):\n command: str\n error: str\n def __init__(self, command: str, error: str) -> None: ...\n\nclass NoValidConnectionsError(socket.error):\n errors: Mapping[Union[Tuple[str, int], Tuple[str, int, int, int]], Exception]\n def __init__(self, errors: Mapping[Union[Tuple[str, int], Tuple[str, int, int, int]], Exception]) -> None: ...\n def __reduce__(self) -> Tuple[type, Tuple[Mapping[Union[Tuple[str, int], Tuple[str, int, int, int]], Exception]]]: ...\n\nclass CouldNotCanonicalize(SSHException): ...\nclass ConfigParseError(SSHException): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\ssh_exception.pyi | ssh_exception.pyi | Other | 1,454 | 0.85 | 0.439024 | 0 | react-lib | 67 | 2023-11-15T00:41:01.920345 | Apache-2.0 | false | 69e1b8e50fe26ec5fe9b68797798a200 |
from typing import Any, Optional, Tuple, Type\n\nfrom paramiko.ssh_exception import SSHException\n\nGSS_AUTH_AVAILABLE: bool\nGSS_EXCEPTIONS: Tuple[Type[Exception], ...]\n\ndef GSSAuth(auth_method: str, gss_deleg_creds: bool = ...) -> _SSH_GSSAuth: ...\n\nclass _SSH_GSSAuth:\n cc_file: None\n def __init__(self, auth_method: str, gss_deleg_creds: bool) -> None: ...\n def set_service(self, service: str) -> None: ...\n def set_username(self, username: str) -> None: ...\n def ssh_gss_oids(self, mode: str = ...) -> bytes: ...\n def ssh_check_mech(self, desired_mech: str) -> bool: ...\n\nclass _SSH_GSSAPI_OLD(_SSH_GSSAuth):\n def __init__(self, auth_method: str, gss_deleg_creds: bool) -> None: ...\n def ssh_init_sec_context(\n self, target: str, desired_mech: Optional[str] = ..., username: Optional[str] = ..., recv_token: Optional[str] = ...\n ) -> Optional[str]: ...\n def ssh_get_mic(self, session_id: bytes, gss_kex: bool = ...) -> Any: ...\n def ssh_accept_sec_context(self, hostname: str, recv_token: str, username: Optional[str] = ...) -> Optional[str]: ...\n def ssh_check_mic(self, mic_token: str, session_id: bytes, username: Optional[str] = ...) -> None: ...\n @property\n def credentials_delegated(self) -> bool: ...\n def save_client_creds(self, client_token: str) -> None: ...\n\n_SSH_GSSAPI = _SSH_GSSAPI_OLD\n\nclass _SSH_GSSAPI_NEW(_SSH_GSSAuth):\n def __init__(self, auth_method: str, gss_deleg_creds: bool) -> None: ...\n def ssh_init_sec_context(\n self, target: str, desired_mech: Optional[str] = ..., username: Optional[str] = ..., recv_token: Optional[str] = ...\n ) -> str: ...\n def ssh_get_mic(self, session_id: bytes, gss_kex: bool = ...) -> Any: ...\n def ssh_accept_sec_context(self, hostname: str, recv_token: str, username: Optional[str] = ...) -> Optional[str]: ...\n def ssh_check_mic(self, mic_token: str, session_id: bytes, username: Optional[str] = ...) -> None: ...\n @property\n def credentials_delegated(self) -> bool: ...\n def save_client_creds(self, client_token: str) -> None: ...\n\nclass _SSH_SSPI(_SSH_GSSAuth):\n def __init__(self, auth_method: str, gss_deleg_creds: bool) -> None: ...\n def ssh_init_sec_context(\n self, target: str, desired_mech: Optional[str] = ..., username: Optional[str] = ..., recv_token: Optional[str] = ...\n ) -> str: ...\n def ssh_get_mic(self, session_id: bytes, gss_kex: bool = ...) -> Any: ...\n def ssh_accept_sec_context(self, hostname: str, username: str, recv_token: str) -> Optional[str]: ...\n def ssh_check_mic(self, mic_token: str, session_id: bytes, username: Optional[str] = ...) -> None: ...\n @property\n def credentials_delegated(self) -> bool: ...\n def save_client_creds(self, client_token: str) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\ssh_gss.pyi | ssh_gss.pyi | Other | 2,774 | 0.85 | 0.574074 | 0 | node-utils | 370 | 2025-03-06T15:26:35.265351 | BSD-3-Clause | false | 21302f13ceb2f5c94195f5ccaa36488b |
from logging import Logger\nfrom socket import socket\nfrom threading import Condition, Event, Lock, Thread\nfrom types import ModuleType\nfrom typing import Any, Callable, Dict, Iterable, List, Optional, Protocol, Sequence, Tuple, Type, Union\n\nfrom paramiko.auth_handler import AuthHandler, _InteractiveCallback\nfrom paramiko.channel import Channel\nfrom paramiko.compress import ZlibCompressor, ZlibDecompressor\nfrom paramiko.message import Message\nfrom paramiko.packet import NeedRekeyException, Packetizer\nfrom paramiko.pkey import PKey\nfrom paramiko.primes import ModulusPack\nfrom paramiko.server import ServerInterface, SubsystemHandler\nfrom paramiko.sftp_client import SFTPClient\nfrom paramiko.ssh_gss import _SSH_GSSAuth\nfrom paramiko.util import ClosingContextManager\n\n_Addr = Tuple[str, int]\n\nclass _KexEngine(Protocol):\n def start_kex(self) -> None: ...\n def parse_next(self, ptype: int, m: Message) -> None: ...\n\nclass Transport(Thread, ClosingContextManager):\n active: bool\n hostname: Optional[str]\n sock: socket\n packetizer: Packetizer\n local_version: str\n remote_version: str\n local_cipher: str\n local_kex_init: Optional[bytes]\n local_mac: Optional[str]\n local_compression: Optional[str]\n session_id: Optional[bytes]\n host_key_type: Optional[str]\n host_key: Optional[PKey]\n use_gss_kex: bool\n gss_kex_used: bool\n kexgss_ctxt: Optional[_SSH_GSSAuth]\n gss_host: str\n kex_engine: Optional[_KexEngine]\n H: Optional[bytes]\n K: Optional[int]\n initial_kex_done: bool\n in_kex: bool\n authenticated: bool\n lock: Lock\n channel_events: Dict[int, Event]\n channels_seen: Dict[int, bool]\n default_max_packet_size: int\n default_window_size: int\n saved_exception: Optional[Exception]\n clear_to_send: Event\n clear_to_send_lock: Lock\n clear_to_send_timeout: float\n log_name: str\n logger: Logger\n auth_handler: Optional[AuthHandler]\n global_response: Optional[Message]\n completion_event: Optional[Event]\n banner_timeout: float\n handshake_timeout: float\n auth_timeout: float\n disabled_algorithms: Optional[Dict[str, Iterable[str]]]\n server_mode: bool\n server_object: Optional[ServerInterface]\n server_key_dict: Dict[str, PKey]\n server_accepts: List[Channel]\n server_accept_cv: Condition\n subsystem_table: Dict[str, Tuple[Type[SubsystemHandler], Tuple[Any, ...], Dict[str, Any]]]\n sys: ModuleType\n def __init__(\n self,\n sock: Union[str, Tuple[str, int], socket],\n default_window_size: int = ...,\n default_max_packet_size: int = ...,\n gss_kex: bool = ...,\n gss_deleg_creds: bool = ...,\n disabled_algorithms: Optional[Dict[str, Iterable[str]]] = ...,\n ) -> None: ...\n @property\n def preferred_ciphers(self) -> Sequence[str]: ...\n @property\n def preferred_macs(self) -> Sequence[str]: ...\n @property\n def preferred_keys(self) -> Sequence[str]: ...\n @property\n def preferred_kex(self) -> Sequence[str]: ...\n @property\n def preferred_compression(self) -> Sequence[str]: ...\n def atfork(self) -> None: ...\n def get_security_options(self) -> SecurityOptions: ...\n def set_gss_host(self, gss_host: Optional[str], trust_dns: bool = ..., gssapi_requested: bool = ...) -> None: ...\n def start_client(self, event: Optional[Event] = ..., timeout: Optional[float] = ...) -> None: ...\n def start_server(self, event: Event = ..., server: Optional[ServerInterface] = ...) -> None: ...\n def add_server_key(self, key: PKey) -> None: ...\n def get_server_key(self) -> Optional[PKey]: ...\n @staticmethod\n def load_server_moduli(filename: Optional[str] = ...) -> bool: ...\n def close(self) -> None: ...\n def get_remote_server_key(self) -> PKey: ...\n def is_active(self) -> bool: ...\n def open_session(\n self, window_size: Optional[int] = ..., max_packet_size: Optional[int] = ..., timeout: Optional[float] = ...\n ) -> Channel: ...\n def open_x11_channel(self, src_addr: _Addr = ...) -> Channel: ...\n def open_forward_agent_channel(self) -> Channel: ...\n def open_forwarded_tcpip_channel(self, src_addr: _Addr, dest_addr: _Addr) -> Channel: ...\n def open_channel(\n self,\n kind: str,\n dest_addr: Optional[_Addr] = ...,\n src_addr: Optional[_Addr] = ...,\n window_size: Optional[int] = ...,\n max_packet_size: Optional[int] = ...,\n timeout: Optional[float] = ...,\n ) -> Channel: ...\n def request_port_forward(\n self, address: str, port: int, handler: Optional[Callable[[Channel, _Addr, _Addr], None]] = ...\n ) -> int: ...\n def cancel_port_forward(self, address: str, port: int) -> None: ...\n def open_sftp_client(self) -> Optional[SFTPClient]: ...\n def send_ignore(self, byte_count: int = ...) -> None: ...\n def renegotiate_keys(self) -> None: ...\n def set_keepalive(self, interval: int) -> None: ...\n def global_request(self, kind: str, data: Optional[Iterable[Any]] = ..., wait: bool = ...) -> Optional[Message]: ...\n def accept(self, timeout: Optional[float] = ...) -> Optional[Channel]: ...\n def connect(\n self,\n hostkey: Optional[PKey] = ...,\n username: str = ...,\n password: Optional[str] = ...,\n pkey: Optional[PKey] = ...,\n gss_host: Optional[str] = ...,\n gss_auth: bool = ...,\n gss_kex: bool = ...,\n gss_deleg_creds: bool = ...,\n gss_trust_dns: bool = ...,\n ) -> None: ...\n def get_exception(self) -> Optional[Exception]: ...\n def set_subsystem_handler(self, name: str, handler: Type[SubsystemHandler], *larg: Any, **kwarg: Any) -> None: ...\n def is_authenticated(self) -> bool: ...\n def get_username(self) -> Optional[str]: ...\n def get_banner(self) -> Optional[str]: ...\n def auth_none(self, username: str) -> List[str]: ...\n def auth_password(self, username: str, password: str, event: Optional[Event] = ..., fallback: bool = ...) -> List[str]: ...\n def auth_publickey(self, username: str, key: PKey, event: Optional[Event] = ...) -> List[str]: ...\n def auth_interactive(self, username: str, handler: _InteractiveCallback, submethods: str = ...) -> List[str]: ...\n def auth_interactive_dumb(\n self, username: str, handler: Optional[_InteractiveCallback] = ..., submethods: str = ...\n ) -> List[str]: ...\n def auth_gssapi_with_mic(self, username: str, gss_host: str, gss_deleg_creds: bool) -> List[str]: ...\n def auth_gssapi_keyex(self, username: str) -> List[str]: ...\n def set_log_channel(self, name: str) -> None: ...\n def get_log_channel(self) -> str: ...\n def set_hexdump(self, hexdump: bool) -> None: ...\n def get_hexdump(self) -> bool: ...\n def use_compression(self, compress: bool = ...) -> None: ...\n def getpeername(self) -> Tuple[str, int]: ...\n def stop_thread(self) -> None: ...\n def run(self) -> None: ...\n\nclass SecurityOptions:\n def __init__(self, transport: Transport) -> None: ...\n @property\n def ciphers(self) -> Sequence[str]: ...\n @ciphers.setter\n def ciphers(self, x: Sequence[str]) -> None: ...\n @property\n def digests(self) -> Sequence[str]: ...\n @digests.setter\n def digests(self, x: Sequence[str]) -> None: ...\n @property\n def key_types(self) -> Sequence[str]: ...\n @key_types.setter\n def key_types(self, x: Sequence[str]) -> None: ...\n @property\n def kex(self) -> Sequence[str]: ...\n @kex.setter\n def kex(self, x: Sequence[str]) -> None: ...\n @property\n def compression(self) -> Sequence[str]: ...\n @compression.setter\n def compression(self, x: Sequence[str]) -> None: ...\n\nclass ChannelMap:\n def __init__(self) -> None: ...\n def put(self, chanid: int, chan: Channel) -> None: ...\n def get(self, chanid: int) -> Channel: ...\n def delete(self, chanid: int) -> None: ...\n def values(self) -> List[Channel]: ...\n def __len__(self) -> int: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\transport.pyi | transport.pyi | Other | 7,945 | 0.85 | 0.381443 | 0 | awesome-app | 756 | 2024-01-05T16:18:18.046208 | MIT | false | ceb885da335d12d6a794cd2966283c3f |
import sys\nfrom logging import Logger, LogRecord\nfrom types import TracebackType\nfrom typing import IO, AnyStr, Callable, Generic, List, Optional, Protocol, Text, Type, TypeVar, Union\n\nfrom paramiko.config import SSHConfig, SSHConfigDict\nfrom paramiko.hostkeys import HostKeys\n\nif sys.version_info < (3, 0):\n from hashlib import _hash as _Hash\nelse:\n from hashlib import _Hash\n\nclass SupportsClose(Protocol):\n def close(self) -> None: ...\n\n_T = TypeVar("_T")\n_TC = TypeVar("_TC", bound=SupportsClose)\n\ndef inflate_long(s: bytes, always_positive: bool = ...) -> int: ...\n\ndeflate_zero: int\ndeflate_ff: int\n\ndef deflate_long(n: int, add_sign_padding: bool = ...) -> bytes: ...\ndef format_binary(data: bytes, prefix: str = ...) -> List[str]: ...\ndef format_binary_line(data: bytes) -> str: ...\ndef safe_string(s: bytes) -> bytes: ...\ndef bit_length(n: int) -> int: ...\ndef tb_strings() -> List[str]: ...\ndef generate_key_bytes(hash_alg: Type[_Hash], salt: bytes, key: Union[bytes, str], nbytes: int) -> bytes: ...\ndef load_host_keys(filename: str) -> HostKeys: ...\ndef parse_ssh_config(file_obj: IO[str]) -> SSHConfig: ...\ndef lookup_ssh_host_config(hostname: str, config: SSHConfig) -> SSHConfigDict: ...\ndef mod_inverse(x: int, m: int) -> int: ...\ndef get_thread_id() -> int: ...\ndef log_to_file(filename: str, level: int = ...) -> None: ...\n\nclass PFilter:\n def filter(self, record: LogRecord) -> bool: ...\n\ndef get_logger(name: str) -> Logger: ...\ndef retry_on_signal(function: Callable[[], _T]) -> _T: ...\ndef constant_time_bytes_eq(a: AnyStr, b: AnyStr) -> bool: ...\n\nclass ClosingContextManager:\n def __enter__(self: _TC) -> _TC: ...\n def __exit__(\n self: _TC, type: Optional[Type[BaseException]], value: Optional[BaseException], traceback: Optional[TracebackType]\n ) -> None: ...\n\ndef clamp_value(minimum: int, val: int, maximum: int) -> int: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\util.pyi | util.pyi | Other | 1,880 | 0.85 | 0.519231 | 0 | vue-tools | 932 | 2024-02-25T11:36:05.336655 | BSD-3-Clause | false | d26e165fd7af037a59c4bbfadec39282 |
import ctypes.wintypes\nimport sys\n\nassert sys.platform == "win32"\n\nwin32con_WM_COPYDATA: int\n\ndef can_talk_to_agent(): ...\n\nclass COPYDATASTRUCT(ctypes.Structure): ...\n\nclass PageantConnection:\n def __init__(self) -> None: ...\n def send(self, data: bytes) -> None: ...\n def recv(self, n: int) -> bytes: ...\n def close(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\win_pageant.pyi | win_pageant.pyi | Other | 349 | 0.85 | 0.4375 | 0 | node-utils | 588 | 2024-06-06T13:37:30.449289 | MIT | false | 4e7bf4f8a9774cb4d3b676dd4cb1344e |
from typing import Tuple\n\n__version_info__: Tuple[int, int, int]\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\_version.pyi | _version.pyi | Other | 65 | 0.65 | 0 | 0 | python-kit | 815 | 2023-10-03T08:48:51.107807 | Apache-2.0 | false | f3af3fdcb8560147f33adefc6dfe9c79 |
import builtins\nimport ctypes.wintypes\nimport sys\nfrom types import TracebackType\nfrom typing import Any, Optional, Type, TypeVar\n\nassert sys.platform == "win32"\n\n_T = TypeVar("_T")\n\ndef format_system_message(errno: int) -> Optional[str]: ...\n\nclass WindowsError(builtins.WindowsError):\n def __init__(self, value: Optional[int] = ...) -> None: ...\n @property\n def message(self) -> str: ...\n @property\n def code(self) -> int: ...\n\ndef handle_nonzero_success(result: int) -> None: ...\n\nGMEM_MOVEABLE: int\nGlobalAlloc: Any\nGlobalLock: Any\nGlobalUnlock: Any\nGlobalSize: Any\nCreateFileMapping: Any\nMapViewOfFile: Any\nUnmapViewOfFile: Any\nRtlMoveMemory: Any\n\nclass MemoryMap:\n name: str\n length: int\n security_attributes: Any = ...\n pos: int\n filemap: Any = ...\n view: Any = ...\n def __init__(self, name: str, length: int, security_attributes: Optional[Any] = ...) -> None: ...\n def __enter__(self: _T) -> _T: ...\n def seek(self, pos: int) -> None: ...\n def write(self, msg: bytes) -> None: ...\n def read(self, n: int) -> bytes: ...\n def __exit__(\n self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], tb: Optional[TracebackType]\n ) -> None: ...\n\nREAD_CONTROL: int\nSTANDARD_RIGHTS_REQUIRED: int\nSTANDARD_RIGHTS_READ: int\nSTANDARD_RIGHTS_WRITE: int\nSTANDARD_RIGHTS_EXECUTE: int\nSTANDARD_RIGHTS_ALL: int\nPOLICY_VIEW_LOCAL_INFORMATION: int\nPOLICY_VIEW_AUDIT_INFORMATION: int\nPOLICY_GET_PRIVATE_INFORMATION: int\nPOLICY_TRUST_ADMIN: int\nPOLICY_CREATE_ACCOUNT: int\nPOLICY_CREATE_SECRET: int\nPOLICY_CREATE_PRIVILEGE: int\nPOLICY_SET_DEFAULT_QUOTA_LIMITS: int\nPOLICY_SET_AUDIT_REQUIREMENTS: int\nPOLICY_AUDIT_LOG_ADMIN: int\nPOLICY_SERVER_ADMIN: int\nPOLICY_LOOKUP_NAMES: int\nPOLICY_NOTIFICATION: int\nPOLICY_ALL_ACCESS: int\nPOLICY_READ: int\nPOLICY_WRITE: int\nPOLICY_EXECUTE: int\n\nclass TokenAccess:\n TOKEN_QUERY: int\n\nclass TokenInformationClass:\n TokenUser: int\n\nclass TOKEN_USER(ctypes.Structure):\n num: int\n\nclass SECURITY_DESCRIPTOR(ctypes.Structure):\n SECURITY_DESCRIPTOR_CONTROL: Any\n REVISION: int\n\nclass SECURITY_ATTRIBUTES(ctypes.Structure):\n nLength: int\n lpSecurityDescriptor: Any\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n @property\n def descriptor(self) -> Any: ...\n @descriptor.setter\n def descriptor(self, value: Any) -> None: ...\n\ndef GetTokenInformation(token: Any, information_class: Any) -> Any: ...\ndef OpenProcessToken(proc_handle: Any, access: Any) -> Any: ...\ndef get_current_user() -> TOKEN_USER: ...\ndef get_security_attributes_for_user(user: Optional[TOKEN_USER] = ...) -> SECURITY_ATTRIBUTES: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\_winapi.pyi | _winapi.pyi | Other | 2,649 | 0.85 | 0.257732 | 0 | react-lib | 238 | 2025-06-15T01:11:09.038380 | Apache-2.0 | false | c1ad01ce3973eda2c68359a62cf2478c |
from paramiko.agent import Agent as Agent, AgentKey as AgentKey\nfrom paramiko.channel import Channel as Channel\nfrom paramiko.client import (\n AutoAddPolicy as AutoAddPolicy,\n MissingHostKeyPolicy as MissingHostKeyPolicy,\n RejectPolicy as RejectPolicy,\n SSHClient as SSHClient,\n WarningPolicy as WarningPolicy,\n)\nfrom paramiko.common import io_sleep as io_sleep\nfrom paramiko.config import SSHConfig as SSHConfig\nfrom paramiko.dsskey import DSSKey as DSSKey\nfrom paramiko.ecdsakey import ECDSAKey as ECDSAKey\nfrom paramiko.ed25519key import Ed25519Key as Ed25519Key\nfrom paramiko.file import BufferedFile as BufferedFile\nfrom paramiko.hostkeys import HostKeys as HostKeys\nfrom paramiko.message import Message as Message\nfrom paramiko.pkey import PKey as PKey\nfrom paramiko.proxy import ProxyCommand as ProxyCommand\nfrom paramiko.rsakey import RSAKey as RSAKey\nfrom paramiko.server import ServerInterface as ServerInterface, SubsystemHandler as SubsystemHandler\nfrom paramiko.sftp import SFTPError as SFTPError\nfrom paramiko.sftp_attr import SFTPAttributes as SFTPAttributes\nfrom paramiko.sftp_client import SFTP as SFTP, SFTPClient as SFTPClient\nfrom paramiko.sftp_file import SFTPFile as SFTPFile\nfrom paramiko.sftp_handle import SFTPHandle as SFTPHandle\nfrom paramiko.sftp_server import SFTPServer as SFTPServer\nfrom paramiko.sftp_si import SFTPServerInterface as SFTPServerInterface\nfrom paramiko.ssh_exception import (\n AuthenticationException as AuthenticationException,\n BadAuthenticationType as BadAuthenticationType,\n BadHostKeyException as BadHostKeyException,\n ChannelException as ChannelException,\n PasswordRequiredException as PasswordRequiredException,\n ProxyCommandFailure as ProxyCommandFailure,\n SSHException as SSHException,\n)\nfrom paramiko.transport import SecurityOptions as SecurityOptions, Transport as Transport\n\n# Names in __all__ with no definition:\n# util\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\paramiko\__init__.pyi | __init__.pyi | Other | 1,919 | 0.95 | 0 | 0.05 | node-utils | 860 | 2023-11-06T21:43:24.283386 | BSD-3-Clause | false | 75e9650a204e69529bcea665aaea5f08 |
from typing import Any\n\nMBLENGTH: Any\n\nclass Charset:\n is_default: Any\n def __init__(self, id, name, collation, is_default): ...\n\nclass Charsets:\n def __init__(self): ...\n def add(self, c): ...\n def by_id(self, id): ...\n def by_name(self, name): ...\n\ndef charset_by_name(name): ...\ndef charset_by_id(id): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\charset.pyi | charset.pyi | Other | 327 | 0.85 | 0.5625 | 0 | react-lib | 136 | 2023-09-12T00:14:58.563170 | MIT | false | 3a36a31baf2e96046aac37c411c5631e |
from socket import SocketType\nfrom typing import Any, AnyStr, Mapping, Optional, Tuple, Type\n\nfrom .charset import charset_by_id as charset_by_id, charset_by_name as charset_by_name\nfrom .constants import CLIENT as CLIENT, COMMAND as COMMAND, FIELD_TYPE as FIELD_TYPE, SERVER_STATUS as SERVER_STATUS\nfrom .cursors import Cursor\nfrom .util import byte2int as byte2int, int2byte as int2byte\n\nSSL_ENABLED: Any\nDEFAULT_USER: Any\nDEBUG: Any\nDEFAULT_CHARSET: Any\n\ndef dump_packet(data): ...\ndef pack_int24(n): ...\ndef lenenc_int(i: int) -> bytes: ...\n\nclass MysqlPacket:\n connection: Any\n def __init__(self, data, encoding): ...\n def get_all_data(self): ...\n def read(self, size): ...\n def read_all(self): ...\n def advance(self, length): ...\n def rewind(self, position: int = ...): ...\n def get_bytes(self, position, length: int = ...): ...\n def read_string(self) -> bytes: ...\n def read_uint8(self) -> Any: ...\n def read_uint16(self) -> Any: ...\n def read_uint24(self) -> Any: ...\n def read_uint32(self) -> Any: ...\n def read_uint64(self) -> Any: ...\n def read_length_encoded_integer(self) -> int: ...\n def read_length_coded_string(self) -> bytes: ...\n def read_struct(self, fmt: str) -> Tuple[Any, ...]: ...\n def is_ok_packet(self) -> bool: ...\n def is_eof_packet(self) -> bool: ...\n def is_auth_switch_request(self) -> bool: ...\n def is_extra_auth_data(self) -> bool: ...\n def is_resultset_packet(self) -> bool: ...\n def is_load_local_packet(self) -> bool: ...\n def is_error_packet(self) -> bool: ...\n def check_error(self): ...\n def raise_for_error(self) -> None: ...\n def dump(self): ...\n\nclass FieldDescriptorPacket(MysqlPacket):\n def __init__(self, data, encoding): ...\n def description(self): ...\n def get_column_length(self): ...\n\nclass Connection:\n ssl: Any\n host: Any\n port: Any\n user: Any\n password: Any\n db: Any\n unix_socket: Any\n bind_address: Any\n charset: Any\n use_unicode: Any\n client_flag: Any\n cursorclass: Any\n connect_timeout: Any\n messages: Any\n encoders: Any\n decoders: Any\n host_info: Any\n sql_mode: Any\n init_command: Any\n max_allowed_packet: int\n server_public_key: bytes\n def __init__(\n self,\n host: Optional[str] = ...,\n user: Optional[Any] = ...,\n password: str = ...,\n database: Optional[Any] = ...,\n port: int = ...,\n unix_socket: Optional[Any] = ...,\n charset: str = ...,\n sql_mode: Optional[Any] = ...,\n read_default_file: Optional[Any] = ...,\n conv=...,\n use_unicode: Optional[bool] = ...,\n client_flag: int = ...,\n cursorclass: Optional[Type[Cursor]] = ...,\n init_command: Optional[Any] = ...,\n connect_timeout: Optional[int] = ...,\n ssl: Optional[Mapping] = ...,\n read_default_group: Optional[Any] = ...,\n compress: Optional[Any] = ...,\n named_pipe: Optional[Any] = ...,\n autocommit: Optional[bool] = ...,\n db: Optional[Any] = ...,\n passwd: Optional[Any] = ...,\n local_infile: Optional[Any] = ...,\n max_allowed_packet: int = ...,\n defer_connect: Optional[bool] = ...,\n auth_plugin_map: Optional[Mapping] = ...,\n read_timeout: Optional[float] = ...,\n write_timeout: Optional[float] = ...,\n bind_address: Optional[Any] = ...,\n binary_prefix: Optional[bool] = ...,\n program_name: Optional[Any] = ...,\n server_public_key: Optional[bytes] = ...,\n ): ...\n socket: Any\n rfile: Any\n wfile: Any\n def close(self) -> None: ...\n @property\n def open(self) -> bool: ...\n def autocommit(self, value) -> None: ...\n def get_autocommit(self) -> bool: ...\n def commit(self) -> None: ...\n def begin(self) -> None: ...\n def rollback(self) -> None: ...\n def select_db(self, db) -> None: ...\n def escape(self, obj, mapping: Optional[Mapping] = ...): ...\n def literal(self, obj): ...\n def escape_string(self, s: AnyStr) -> AnyStr: ...\n def cursor(self, cursor: Optional[Type[Cursor]] = ...) -> Cursor: ...\n def query(self, sql, unbuffered: bool = ...) -> int: ...\n def next_result(self, unbuffered: bool = ...) -> int: ...\n def affected_rows(self): ...\n def kill(self, thread_id): ...\n def ping(self, reconnect: bool = ...) -> None: ...\n def set_charset(self, charset) -> None: ...\n def connect(self, sock: Optional[SocketType] = ...) -> None: ...\n def write_packet(self, payload) -> None: ...\n def _read_packet(self, packet_type=...): ...\n def insert_id(self): ...\n def thread_id(self): ...\n def character_set_name(self): ...\n def get_host_info(self): ...\n def get_proto_info(self): ...\n def get_server_info(self): ...\n def show_warnings(self): ...\n Warning: Any\n Error: Any\n InterfaceError: Any\n DatabaseError: Any\n DataError: Any\n OperationalError: Any\n IntegrityError: Any\n InternalError: Any\n ProgrammingError: Any\n NotSupportedError: Any\n\nclass MySQLResult:\n connection: Any\n affected_rows: Any\n insert_id: Any\n server_status: Any\n warning_count: Any\n message: Any\n field_count: Any\n description: Any\n rows: Any\n has_next: Any\n def __init__(self, connection: Connection) -> None: ...\n first_packet: Any\n def read(self) -> None: ...\n def init_unbuffered_query(self) -> None: ...\n\nclass LoadLocalFile:\n filename: Any\n connection: Connection\n def __init__(self, filename: Any, connection: Connection) -> None: ...\n def send_data(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\connections.pyi | connections.pyi | Other | 5,627 | 0.85 | 0.412791 | 0 | python-kit | 526 | 2023-12-10T03:23:34.389927 | Apache-2.0 | false | 2a464f36610a96ba234bf165902c2c74 |
from typing import Any\n\nfrom .charset import charset_by_id as charset_by_id\nfrom .constants import FIELD_TYPE as FIELD_TYPE, FLAG as FLAG\n\nPYTHON3: Any\nESCAPE_REGEX: Any\nESCAPE_MAP: Any\n\ndef escape_item(val, charset): ...\ndef escape_dict(val, charset): ...\ndef escape_sequence(val, charset): ...\ndef escape_set(val, charset): ...\ndef escape_bool(value): ...\ndef escape_object(value): ...\n\nescape_int: Any\n\nescape_long: Any\n\ndef escape_float(value): ...\ndef escape_string(value): ...\ndef escape_unicode(value): ...\ndef escape_None(value): ...\ndef escape_timedelta(obj): ...\ndef escape_time(obj): ...\ndef escape_datetime(obj): ...\ndef escape_date(obj): ...\ndef escape_struct_time(obj): ...\ndef convert_datetime(connection, field, obj): ...\ndef convert_timedelta(connection, field, obj): ...\ndef convert_time(connection, field, obj): ...\ndef convert_date(connection, field, obj): ...\ndef convert_mysql_timestamp(connection, field, timestamp): ...\ndef convert_set(s): ...\ndef convert_bit(connection, field, b): ...\ndef convert_characters(connection, field, data): ...\ndef convert_int(connection, field, data): ...\ndef convert_long(connection, field, data): ...\ndef convert_float(connection, field, data): ...\n\nencoders: Any\ndecoders: Any\nconversions: Any\n\ndef convert_decimal(connection, field, data): ...\ndef escape_decimal(obj): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\converters.pyi | converters.pyi | Other | 1,331 | 0.85 | 0.595745 | 0 | react-lib | 459 | 2024-11-01T05:15:40.314138 | MIT | false | 07f8b4fe1aa7d01cd300fdd073bb0050 |
from typing import Any, Dict, Iterable, Iterator, List, Optional, Text, Tuple, TypeVar, Union\n\nfrom .connections import Connection\n\n_Gen = Union[Tuple[Any, ...], Dict[Text, Any]]\n_QueryArgs = Union[Tuple[Any, ...], List[Any], Dict[Text, Any], None]\n_SelfT = TypeVar("_SelfT")\n\nclass Cursor:\n connection: Connection\n description: Tuple[Text, ...]\n rownumber: int\n rowcount: int\n arraysize: int\n messages: Any\n errorhandler: Any\n lastrowid: int\n def __init__(self, connection: Connection) -> None: ...\n def __del__(self) -> None: ...\n def close(self) -> None: ...\n def setinputsizes(self, *args) -> None: ...\n def setoutputsizes(self, *args) -> None: ...\n def nextset(self) -> Optional[bool]: ...\n def mogrify(self, query: Text, args: _QueryArgs = ...) -> str: ...\n def execute(self, query: Text, args: _QueryArgs = ...) -> int: ...\n def executemany(self, query: Text, args: Iterable[_QueryArgs]) -> Optional[int]: ...\n def callproc(self, procname: Text, args: Iterable[Any] = ...) -> Any: ...\n def fetchone(self) -> Optional[_Gen]: ...\n def fetchmany(self, size: Optional[int] = ...) -> Union[Optional[_Gen], List[_Gen]]: ...\n def fetchall(self) -> Optional[Tuple[_Gen, ...]]: ...\n def scroll(self, value: int, mode: Text = ...) -> None: ...\n def __iter__(self) -> Iterator[_Gen]: ...\n def __enter__(self: _SelfT) -> _SelfT: ...\n def __exit__(self, *exc_info: Any) -> None: ...\n\nclass DictCursor(Cursor):\n def fetchone(self) -> Optional[Dict[Text, Any]]: ...\n def fetchmany(self, size: Optional[int] = ...) -> Optional[Tuple[Dict[Text, Any], ...]]: ...\n def fetchall(self) -> Optional[Tuple[Dict[Text, Any], ...]]: ...\n\nclass DictCursorMixin:\n dict_type: Any\n\nclass SSCursor(Cursor):\n # fetchall return type is incompatible with the supertype.\n def fetchall(self) -> List[_Gen]: ... # type: ignore\n def fetchall_unbuffered(self) -> Iterator[_Gen]: ...\n def __iter__(self) -> Iterator[_Gen]: ...\n def fetchmany(self, size: Optional[int] = ...) -> List[_Gen]: ...\n def scroll(self, value: int, mode: Text = ...) -> None: ...\n\nclass SSDictCursor(DictCursorMixin, SSCursor): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\cursors.pyi | cursors.pyi | Other | 2,180 | 0.95 | 0.576923 | 0.022222 | react-lib | 484 | 2024-07-12T03:47:32.597409 | MIT | false | 3909133ae5db02d57f604487f6179084 |
import builtins\nfrom typing import Dict, NoReturn, Type\n\nfrom .constants import ER as ER\n\nclass MySQLError(Exception): ...\nclass Warning(builtins.Warning, MySQLError): ...\nclass Error(MySQLError): ...\nclass InterfaceError(Error): ...\nclass DatabaseError(Error): ...\nclass DataError(DatabaseError): ...\nclass OperationalError(DatabaseError): ...\nclass IntegrityError(DatabaseError): ...\nclass InternalError(DatabaseError): ...\nclass ProgrammingError(DatabaseError): ...\nclass NotSupportedError(DatabaseError): ...\n\nerror_map: Dict[int, Type[DatabaseError]]\n\ndef raise_mysql_exception(data) -> NoReturn: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\err.pyi | err.pyi | Other | 606 | 0.85 | 0.6 | 0 | awesome-app | 949 | 2025-05-05T21:42:17.634227 | BSD-3-Clause | false | a6edb8364338fd0171b1960c1e99e926 |
from typing import Any\n\nDate: Any\nTime: Any\nTimeDelta: Any\nTimestamp: Any\n\ndef DateFromTicks(ticks): ...\ndef TimeFromTicks(ticks): ...\ndef TimestampFromTicks(ticks): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\times.pyi | times.pyi | Other | 170 | 0.85 | 0.3 | 0 | vue-tools | 393 | 2025-04-03T20:41:22.260406 | BSD-3-Clause | false | 531898d8482eb5a40e6d40da390b31c1 |
def byte2int(b): ...\ndef int2byte(i): ...\ndef join_bytes(bs): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\util.pyi | util.pyi | Other | 66 | 0.65 | 1 | 0 | awesome-app | 466 | 2025-06-30T08:41:08.465887 | MIT | false | c9a8f6a1128b67baa9fc1d27fc23f28a |
import sys\nfrom typing import Callable, FrozenSet, Tuple\n\nfrom .connections import Connection as _Connection\nfrom .constants import FIELD_TYPE as FIELD_TYPE\nfrom .converters import escape_dict as escape_dict, escape_sequence as escape_sequence, escape_string as escape_string\nfrom .err import (\n DatabaseError as DatabaseError,\n DataError as DataError,\n Error as Error,\n IntegrityError as IntegrityError,\n InterfaceError as InterfaceError,\n InternalError as InternalError,\n MySQLError as MySQLError,\n NotSupportedError as NotSupportedError,\n OperationalError as OperationalError,\n ProgrammingError as ProgrammingError,\n Warning as Warning,\n)\nfrom .times import (\n Date as Date,\n DateFromTicks as DateFromTicks,\n Time as Time,\n TimeFromTicks as TimeFromTicks,\n Timestamp as Timestamp,\n TimestampFromTicks as TimestampFromTicks,\n)\n\nthreadsafety: int\napilevel: str\nparamstyle: str\n\nclass DBAPISet(FrozenSet[int]):\n def __ne__(self, other) -> bool: ...\n def __eq__(self, other) -> bool: ...\n def __hash__(self) -> int: ...\n\nSTRING: DBAPISet\nBINARY: DBAPISet\nNUMBER: DBAPISet\nDATE: DBAPISet\nTIME: DBAPISet\nTIMESTAMP: DBAPISet\nDATETIME: DBAPISet\nROWID: DBAPISet\n\nif sys.version_info >= (3, 0):\n def Binary(x) -> bytes: ...\n\nelse:\n def Binary(x) -> bytearray: ...\n\ndef Connect(*args, **kwargs) -> _Connection: ...\ndef get_client_info() -> str: ...\n\nconnect: Callable[..., _Connection]\nConnection: Callable[..., _Connection]\n__version__: str\nversion_info: Tuple[int, int, int, str, int]\nNULL: str\n\ndef thread_safe() -> bool: ...\ndef install_as_MySQLdb() -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\__init__.pyi | __init__.pyi | Other | 1,625 | 0.85 | 0.174603 | 0 | python-kit | 567 | 2024-12-09T00:17:06.999317 | BSD-3-Clause | false | 0ac5d7b9c9882ae003b3263786630e02 |
LONG_PASSWORD: int\nFOUND_ROWS: int\nLONG_FLAG: int\nCONNECT_WITH_DB: int\nNO_SCHEMA: int\nCOMPRESS: int\nODBC: int\nLOCAL_FILES: int\nIGNORE_SPACE: int\nPROTOCOL_41: int\nINTERACTIVE: int\nSSL: int\nIGNORE_SIGPIPE: int\nTRANSACTIONS: int\nSECURE_CONNECTION: int\nMULTI_STATEMENTS: int\nMULTI_RESULTS: int\nCAPABILITIES: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\CLIENT.pyi | CLIENT.pyi | Other | 308 | 0.7 | 0 | 0 | python-kit | 492 | 2024-12-26T06:18:10.654873 | Apache-2.0 | false | 625f826120b7dcd7e20d400484687369 |
COM_SLEEP: int\nCOM_QUIT: int\nCOM_INIT_DB: int\nCOM_QUERY: int\nCOM_FIELD_LIST: int\nCOM_CREATE_DB: int\nCOM_DROP_DB: int\nCOM_REFRESH: int\nCOM_SHUTDOWN: int\nCOM_STATISTICS: int\nCOM_PROCESS_INFO: int\nCOM_CONNECT: int\nCOM_PROCESS_KILL: int\nCOM_DEBUG: int\nCOM_PING: int\nCOM_TIME: int\nCOM_DELAYED_INSERT: int\nCOM_CHANGE_USER: int\nCOM_BINLOG_DUMP: int\nCOM_TABLE_DUMP: int\nCOM_CONNECT_OUT: int\nCOM_REGISTER_SLAVE: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\COMMAND.pyi | COMMAND.pyi | Other | 407 | 0.7 | 0 | 0 | react-lib | 653 | 2024-05-08T23:59:21.355098 | Apache-2.0 | false | 161441ac721bbd3782fd6a7bd1ec3640 |
ERROR_FIRST: int\nHASHCHK: int\nNISAMCHK: int\nNO: int\nYES: int\nCANT_CREATE_FILE: int\nCANT_CREATE_TABLE: int\nCANT_CREATE_DB: int\nDB_CREATE_EXISTS: int\nDB_DROP_EXISTS: int\nDB_DROP_DELETE: int\nDB_DROP_RMDIR: int\nCANT_DELETE_FILE: int\nCANT_FIND_SYSTEM_REC: int\nCANT_GET_STAT: int\nCANT_GET_WD: int\nCANT_LOCK: int\nCANT_OPEN_FILE: int\nFILE_NOT_FOUND: int\nCANT_READ_DIR: int\nCANT_SET_WD: int\nCHECKREAD: int\nDISK_FULL: int\nDUP_KEY: int\nERROR_ON_CLOSE: int\nERROR_ON_READ: int\nERROR_ON_RENAME: int\nERROR_ON_WRITE: int\nFILE_USED: int\nFILSORT_ABORT: int\nFORM_NOT_FOUND: int\nGET_ERRNO: int\nILLEGAL_HA: int\nKEY_NOT_FOUND: int\nNOT_FORM_FILE: int\nNOT_KEYFILE: int\nOLD_KEYFILE: int\nOPEN_AS_READONLY: int\nOUTOFMEMORY: int\nOUT_OF_SORTMEMORY: int\nUNEXPECTED_EOF: int\nCON_COUNT_ERROR: int\nOUT_OF_RESOURCES: int\nBAD_HOST_ERROR: int\nHANDSHAKE_ERROR: int\nDBACCESS_DENIED_ERROR: int\nACCESS_DENIED_ERROR: int\nNO_DB_ERROR: int\nUNKNOWN_COM_ERROR: int\nBAD_NULL_ERROR: int\nBAD_DB_ERROR: int\nTABLE_EXISTS_ERROR: int\nBAD_TABLE_ERROR: int\nNON_UNIQ_ERROR: int\nSERVER_SHUTDOWN: int\nBAD_FIELD_ERROR: int\nWRONG_FIELD_WITH_GROUP: int\nWRONG_GROUP_FIELD: int\nWRONG_SUM_SELECT: int\nWRONG_VALUE_COUNT: int\nTOO_LONG_IDENT: int\nDUP_FIELDNAME: int\nDUP_KEYNAME: int\nDUP_ENTRY: int\nWRONG_FIELD_SPEC: int\nPARSE_ERROR: int\nEMPTY_QUERY: int\nNONUNIQ_TABLE: int\nINVALID_DEFAULT: int\nMULTIPLE_PRI_KEY: int\nTOO_MANY_KEYS: int\nTOO_MANY_KEY_PARTS: int\nTOO_LONG_KEY: int\nKEY_COLUMN_DOES_NOT_EXITS: int\nBLOB_USED_AS_KEY: int\nTOO_BIG_FIELDLENGTH: int\nWRONG_AUTO_KEY: int\nREADY: int\nNORMAL_SHUTDOWN: int\nGOT_SIGNAL: int\nSHUTDOWN_COMPLETE: int\nFORCING_CLOSE: int\nIPSOCK_ERROR: int\nNO_SUCH_INDEX: int\nWRONG_FIELD_TERMINATORS: int\nBLOBS_AND_NO_TERMINATED: int\nTEXTFILE_NOT_READABLE: int\nFILE_EXISTS_ERROR: int\nLOAD_INFO: int\nALTER_INFO: int\nWRONG_SUB_KEY: int\nCANT_REMOVE_ALL_FIELDS: int\nCANT_DROP_FIELD_OR_KEY: int\nINSERT_INFO: int\nUPDATE_TABLE_USED: int\nNO_SUCH_THREAD: int\nKILL_DENIED_ERROR: int\nNO_TABLES_USED: int\nTOO_BIG_SET: int\nNO_UNIQUE_LOGFILE: int\nTABLE_NOT_LOCKED_FOR_WRITE: int\nTABLE_NOT_LOCKED: int\nBLOB_CANT_HAVE_DEFAULT: int\nWRONG_DB_NAME: int\nWRONG_TABLE_NAME: int\nTOO_BIG_SELECT: int\nUNKNOWN_ERROR: int\nUNKNOWN_PROCEDURE: int\nWRONG_PARAMCOUNT_TO_PROCEDURE: int\nWRONG_PARAMETERS_TO_PROCEDURE: int\nUNKNOWN_TABLE: int\nFIELD_SPECIFIED_TWICE: int\nINVALID_GROUP_FUNC_USE: int\nUNSUPPORTED_EXTENSION: int\nTABLE_MUST_HAVE_COLUMNS: int\nRECORD_FILE_FULL: int\nUNKNOWN_CHARACTER_SET: int\nTOO_MANY_TABLES: int\nTOO_MANY_FIELDS: int\nTOO_BIG_ROWSIZE: int\nSTACK_OVERRUN: int\nWRONG_OUTER_JOIN: int\nNULL_COLUMN_IN_INDEX: int\nCANT_FIND_UDF: int\nCANT_INITIALIZE_UDF: int\nUDF_NO_PATHS: int\nUDF_EXISTS: int\nCANT_OPEN_LIBRARY: int\nCANT_FIND_DL_ENTRY: int\nFUNCTION_NOT_DEFINED: int\nHOST_IS_BLOCKED: int\nHOST_NOT_PRIVILEGED: int\nPASSWORD_ANONYMOUS_USER: int\nPASSWORD_NOT_ALLOWED: int\nPASSWORD_NO_MATCH: int\nUPDATE_INFO: int\nCANT_CREATE_THREAD: int\nWRONG_VALUE_COUNT_ON_ROW: int\nCANT_REOPEN_TABLE: int\nINVALID_USE_OF_NULL: int\nREGEXP_ERROR: int\nMIX_OF_GROUP_FUNC_AND_FIELDS: int\nNONEXISTING_GRANT: int\nTABLEACCESS_DENIED_ERROR: int\nCOLUMNACCESS_DENIED_ERROR: int\nILLEGAL_GRANT_FOR_TABLE: int\nGRANT_WRONG_HOST_OR_USER: int\nNO_SUCH_TABLE: int\nNONEXISTING_TABLE_GRANT: int\nNOT_ALLOWED_COMMAND: int\nSYNTAX_ERROR: int\nDELAYED_CANT_CHANGE_LOCK: int\nTOO_MANY_DELAYED_THREADS: int\nABORTING_CONNECTION: int\nNET_PACKET_TOO_LARGE: int\nNET_READ_ERROR_FROM_PIPE: int\nNET_FCNTL_ERROR: int\nNET_PACKETS_OUT_OF_ORDER: int\nNET_UNCOMPRESS_ERROR: int\nNET_READ_ERROR: int\nNET_READ_INTERRUPTED: int\nNET_ERROR_ON_WRITE: int\nNET_WRITE_INTERRUPTED: int\nTOO_LONG_STRING: int\nTABLE_CANT_HANDLE_BLOB: int\nTABLE_CANT_HANDLE_AUTO_INCREMENT: int\nDELAYED_INSERT_TABLE_LOCKED: int\nWRONG_COLUMN_NAME: int\nWRONG_KEY_COLUMN: int\nWRONG_MRG_TABLE: int\nDUP_UNIQUE: int\nBLOB_KEY_WITHOUT_LENGTH: int\nPRIMARY_CANT_HAVE_NULL: int\nTOO_MANY_ROWS: int\nREQUIRES_PRIMARY_KEY: int\nNO_RAID_COMPILED: int\nUPDATE_WITHOUT_KEY_IN_SAFE_MODE: int\nKEY_DOES_NOT_EXITS: int\nCHECK_NO_SUCH_TABLE: int\nCHECK_NOT_IMPLEMENTED: int\nCANT_DO_THIS_DURING_AN_TRANSACTION: int\nERROR_DURING_COMMIT: int\nERROR_DURING_ROLLBACK: int\nERROR_DURING_FLUSH_LOGS: int\nERROR_DURING_CHECKPOINT: int\nNEW_ABORTING_CONNECTION: int\nDUMP_NOT_IMPLEMENTED: int\nFLUSH_MASTER_BINLOG_CLOSED: int\nINDEX_REBUILD: int\nMASTER: int\nMASTER_NET_READ: int\nMASTER_NET_WRITE: int\nFT_MATCHING_KEY_NOT_FOUND: int\nLOCK_OR_ACTIVE_TRANSACTION: int\nUNKNOWN_SYSTEM_VARIABLE: int\nCRASHED_ON_USAGE: int\nCRASHED_ON_REPAIR: int\nWARNING_NOT_COMPLETE_ROLLBACK: int\nTRANS_CACHE_FULL: int\nSLAVE_MUST_STOP: int\nSLAVE_NOT_RUNNING: int\nBAD_SLAVE: int\nMASTER_INFO: int\nSLAVE_THREAD: int\nTOO_MANY_USER_CONNECTIONS: int\nSET_CONSTANTS_ONLY: int\nLOCK_WAIT_TIMEOUT: int\nLOCK_TABLE_FULL: int\nREAD_ONLY_TRANSACTION: int\nDROP_DB_WITH_READ_LOCK: int\nCREATE_DB_WITH_READ_LOCK: int\nWRONG_ARGUMENTS: int\nNO_PERMISSION_TO_CREATE_USER: int\nUNION_TABLES_IN_DIFFERENT_DIR: int\nLOCK_DEADLOCK: int\nTABLE_CANT_HANDLE_FT: int\nCANNOT_ADD_FOREIGN: int\nNO_REFERENCED_ROW: int\nROW_IS_REFERENCED: int\nCONNECT_TO_MASTER: int\nQUERY_ON_MASTER: int\nERROR_WHEN_EXECUTING_COMMAND: int\nWRONG_USAGE: int\nWRONG_NUMBER_OF_COLUMNS_IN_SELECT: int\nCANT_UPDATE_WITH_READLOCK: int\nMIXING_NOT_ALLOWED: int\nDUP_ARGUMENT: int\nUSER_LIMIT_REACHED: int\nSPECIFIC_ACCESS_DENIED_ERROR: int\nLOCAL_VARIABLE: int\nGLOBAL_VARIABLE: int\nNO_DEFAULT: int\nWRONG_VALUE_FOR_VAR: int\nWRONG_TYPE_FOR_VAR: int\nVAR_CANT_BE_READ: int\nCANT_USE_OPTION_HERE: int\nNOT_SUPPORTED_YET: int\nMASTER_FATAL_ERROR_READING_BINLOG: int\nSLAVE_IGNORED_TABLE: int\nINCORRECT_GLOBAL_LOCAL_VAR: int\nWRONG_FK_DEF: int\nKEY_REF_DO_NOT_MATCH_TABLE_REF: int\nOPERAND_COLUMNS: int\nSUBQUERY_NO_1_ROW: int\nUNKNOWN_STMT_HANDLER: int\nCORRUPT_HELP_DB: int\nCYCLIC_REFERENCE: int\nAUTO_CONVERT: int\nILLEGAL_REFERENCE: int\nDERIVED_MUST_HAVE_ALIAS: int\nSELECT_REDUCED: int\nTABLENAME_NOT_ALLOWED_HERE: int\nNOT_SUPPORTED_AUTH_MODE: int\nSPATIAL_CANT_HAVE_NULL: int\nCOLLATION_CHARSET_MISMATCH: int\nSLAVE_WAS_RUNNING: int\nSLAVE_WAS_NOT_RUNNING: int\nTOO_BIG_FOR_UNCOMPRESS: int\nZLIB_Z_MEM_ERROR: int\nZLIB_Z_BUF_ERROR: int\nZLIB_Z_DATA_ERROR: int\nCUT_VALUE_GROUP_CONCAT: int\nWARN_TOO_FEW_RECORDS: int\nWARN_TOO_MANY_RECORDS: int\nWARN_NULL_TO_NOTNULL: int\nWARN_DATA_OUT_OF_RANGE: int\nWARN_DATA_TRUNCATED: int\nWARN_USING_OTHER_HANDLER: int\nCANT_AGGREGATE_2COLLATIONS: int\nDROP_USER: int\nREVOKE_GRANTS: int\nCANT_AGGREGATE_3COLLATIONS: int\nCANT_AGGREGATE_NCOLLATIONS: int\nVARIABLE_IS_NOT_STRUCT: int\nUNKNOWN_COLLATION: int\nSLAVE_IGNORED_SSL_PARAMS: int\nSERVER_IS_IN_SECURE_AUTH_MODE: int\nWARN_FIELD_RESOLVED: int\nBAD_SLAVE_UNTIL_COND: int\nMISSING_SKIP_SLAVE: int\nUNTIL_COND_IGNORED: int\nWRONG_NAME_FOR_INDEX: int\nWRONG_NAME_FOR_CATALOG: int\nWARN_QC_RESIZE: int\nBAD_FT_COLUMN: int\nUNKNOWN_KEY_CACHE: int\nWARN_HOSTNAME_WONT_WORK: int\nUNKNOWN_STORAGE_ENGINE: int\nWARN_DEPRECATED_SYNTAX: int\nNON_UPDATABLE_TABLE: int\nFEATURE_DISABLED: int\nOPTION_PREVENTS_STATEMENT: int\nDUPLICATED_VALUE_IN_TYPE: int\nTRUNCATED_WRONG_VALUE: int\nTOO_MUCH_AUTO_TIMESTAMP_COLS: int\nINVALID_ON_UPDATE: int\nUNSUPPORTED_PS: int\nGET_ERRMSG: int\nGET_TEMPORARY_ERRMSG: int\nUNKNOWN_TIME_ZONE: int\nWARN_INVALID_TIMESTAMP: int\nINVALID_CHARACTER_STRING: int\nWARN_ALLOWED_PACKET_OVERFLOWED: int\nCONFLICTING_DECLARATIONS: int\nSP_NO_RECURSIVE_CREATE: int\nSP_ALREADY_EXISTS: int\nSP_DOES_NOT_EXIST: int\nSP_DROP_FAILED: int\nSP_STORE_FAILED: int\nSP_LILABEL_MISMATCH: int\nSP_LABEL_REDEFINE: int\nSP_LABEL_MISMATCH: int\nSP_UNINIT_VAR: int\nSP_BADSELECT: int\nSP_BADRETURN: int\nSP_BADSTATEMENT: int\nUPDATE_LOG_DEPRECATED_IGNORED: int\nUPDATE_LOG_DEPRECATED_TRANSLATED: int\nQUERY_INTERRUPTED: int\nSP_WRONG_NO_OF_ARGS: int\nSP_COND_MISMATCH: int\nSP_NORETURN: int\nSP_NORETURNEND: int\nSP_BAD_CURSOR_QUERY: int\nSP_BAD_CURSOR_SELECT: int\nSP_CURSOR_MISMATCH: int\nSP_CURSOR_ALREADY_OPEN: int\nSP_CURSOR_NOT_OPEN: int\nSP_UNDECLARED_VAR: int\nSP_WRONG_NO_OF_FETCH_ARGS: int\nSP_FETCH_NO_DATA: int\nSP_DUP_PARAM: int\nSP_DUP_VAR: int\nSP_DUP_COND: int\nSP_DUP_CURS: int\nSP_CANT_ALTER: int\nSP_SUBSELECT_NYI: int\nSTMT_NOT_ALLOWED_IN_SF_OR_TRG: int\nSP_VARCOND_AFTER_CURSHNDLR: int\nSP_CURSOR_AFTER_HANDLER: int\nSP_CASE_NOT_FOUND: int\nFPARSER_TOO_BIG_FILE: int\nFPARSER_BAD_HEADER: int\nFPARSER_EOF_IN_COMMENT: int\nFPARSER_ERROR_IN_PARAMETER: int\nFPARSER_EOF_IN_UNKNOWN_PARAMETER: int\nVIEW_NO_EXPLAIN: int\nFRM_UNKNOWN_TYPE: int\nWRONG_OBJECT: int\nNONUPDATEABLE_COLUMN: int\nVIEW_SELECT_DERIVED: int\nVIEW_SELECT_CLAUSE: int\nVIEW_SELECT_VARIABLE: int\nVIEW_SELECT_TMPTABLE: int\nVIEW_WRONG_LIST: int\nWARN_VIEW_MERGE: int\nWARN_VIEW_WITHOUT_KEY: int\nVIEW_INVALID: int\nSP_NO_DROP_SP: int\nSP_GOTO_IN_HNDLR: int\nTRG_ALREADY_EXISTS: int\nTRG_DOES_NOT_EXIST: int\nTRG_ON_VIEW_OR_TEMP_TABLE: int\nTRG_CANT_CHANGE_ROW: int\nTRG_NO_SUCH_ROW_IN_TRG: int\nNO_DEFAULT_FOR_FIELD: int\nDIVISION_BY_ZERO: int\nTRUNCATED_WRONG_VALUE_FOR_FIELD: int\nILLEGAL_VALUE_FOR_TYPE: int\nVIEW_NONUPD_CHECK: int\nVIEW_CHECK_FAILED: int\nPROCACCESS_DENIED_ERROR: int\nRELAY_LOG_FAIL: int\nPASSWD_LENGTH: int\nUNKNOWN_TARGET_BINLOG: int\nIO_ERR_LOG_INDEX_READ: int\nBINLOG_PURGE_PROHIBITED: int\nFSEEK_FAIL: int\nBINLOG_PURGE_FATAL_ERR: int\nLOG_IN_USE: int\nLOG_PURGE_UNKNOWN_ERR: int\nRELAY_LOG_INIT: int\nNO_BINARY_LOGGING: int\nRESERVED_SYNTAX: int\nWSAS_FAILED: int\nDIFF_GROUPS_PROC: int\nNO_GROUP_FOR_PROC: int\nORDER_WITH_PROC: int\nLOGGING_PROHIBIT_CHANGING_OF: int\nNO_FILE_MAPPING: int\nWRONG_MAGIC: int\nPS_MANY_PARAM: int\nKEY_PART_0: int\nVIEW_CHECKSUM: int\nVIEW_MULTIUPDATE: int\nVIEW_NO_INSERT_FIELD_LIST: int\nVIEW_DELETE_MERGE_VIEW: int\nCANNOT_USER: int\nXAER_NOTA: int\nXAER_INVAL: int\nXAER_RMFAIL: int\nXAER_OUTSIDE: int\nXAER_RMERR: int\nXA_RBROLLBACK: int\nNONEXISTING_PROC_GRANT: int\nPROC_AUTO_GRANT_FAIL: int\nPROC_AUTO_REVOKE_FAIL: int\nDATA_TOO_LONG: int\nSP_BAD_SQLSTATE: int\nSTARTUP: int\nLOAD_FROM_FIXED_SIZE_ROWS_TO_VAR: int\nCANT_CREATE_USER_WITH_GRANT: int\nWRONG_VALUE_FOR_TYPE: int\nTABLE_DEF_CHANGED: int\nSP_DUP_HANDLER: int\nSP_NOT_VAR_ARG: int\nSP_NO_RETSET: int\nCANT_CREATE_GEOMETRY_OBJECT: int\nFAILED_ROUTINE_BREAK_BINLOG: int\nBINLOG_UNSAFE_ROUTINE: int\nBINLOG_CREATE_ROUTINE_NEED_SUPER: int\nEXEC_STMT_WITH_OPEN_CURSOR: int\nSTMT_HAS_NO_OPEN_CURSOR: int\nCOMMIT_NOT_ALLOWED_IN_SF_OR_TRG: int\nNO_DEFAULT_FOR_VIEW_FIELD: int\nSP_NO_RECURSION: int\nTOO_BIG_SCALE: int\nTOO_BIG_PRECISION: int\nM_BIGGER_THAN_D: int\nWRONG_LOCK_OF_SYSTEM_TABLE: int\nCONNECT_TO_FOREIGN_DATA_SOURCE: int\nQUERY_ON_FOREIGN_DATA_SOURCE: int\nFOREIGN_DATA_SOURCE_DOESNT_EXIST: int\nFOREIGN_DATA_STRING_INVALID_CANT_CREATE: int\nFOREIGN_DATA_STRING_INVALID: int\nCANT_CREATE_FEDERATED_TABLE: int\nTRG_IN_WRONG_SCHEMA: int\nSTACK_OVERRUN_NEED_MORE: int\nTOO_LONG_BODY: int\nWARN_CANT_DROP_DEFAULT_KEYCACHE: int\nTOO_BIG_DISPLAYWIDTH: int\nXAER_DUPID: int\nDATETIME_FUNCTION_OVERFLOW: int\nCANT_UPDATE_USED_TABLE_IN_SF_OR_TRG: int\nVIEW_PREVENT_UPDATE: int\nPS_NO_RECURSION: int\nSP_CANT_SET_AUTOCOMMIT: int\nMALFORMED_DEFINER: int\nVIEW_FRM_NO_USER: int\nVIEW_OTHER_USER: int\nNO_SUCH_USER: int\nFORBID_SCHEMA_CHANGE: int\nROW_IS_REFERENCED_2: int\nNO_REFERENCED_ROW_2: int\nSP_BAD_VAR_SHADOW: int\nTRG_NO_DEFINER: int\nOLD_FILE_FORMAT: int\nSP_RECURSION_LIMIT: int\nSP_PROC_TABLE_CORRUPT: int\nSP_WRONG_NAME: int\nTABLE_NEEDS_UPGRADE: int\nSP_NO_AGGREGATE: int\nMAX_PREPARED_STMT_COUNT_REACHED: int\nVIEW_RECURSIVE: int\nNON_GROUPING_FIELD_USED: int\nTABLE_CANT_HANDLE_SPKEYS: int\nNO_TRIGGERS_ON_SYSTEM_SCHEMA: int\nUSERNAME: int\nHOSTNAME: int\nWRONG_STRING_LENGTH: int\nERROR_LAST: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\ER.pyi | ER.pyi | Other | 11,280 | 0.7 | 0 | 0 | react-lib | 804 | 2024-04-17T19:35:33.251878 | BSD-3-Clause | false | 4e049a9c5edeb260abedd52dbbe1a69b |
DECIMAL: int\nTINY: int\nSHORT: int\nLONG: int\nFLOAT: int\nDOUBLE: int\nNULL: int\nTIMESTAMP: int\nLONGLONG: int\nINT24: int\nDATE: int\nTIME: int\nDATETIME: int\nYEAR: int\nNEWDATE: int\nVARCHAR: int\nBIT: int\nNEWDECIMAL: int\nENUM: int\nSET: int\nTINY_BLOB: int\nMEDIUM_BLOB: int\nLONG_BLOB: int\nBLOB: int\nVAR_STRING: int\nSTRING: int\nGEOMETRY: int\nCHAR: int\nINTERVAL: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\FIELD_TYPE.pyi | FIELD_TYPE.pyi | Other | 354 | 0.7 | 0 | 0 | python-kit | 491 | 2023-11-10T08:50:54.211503 | GPL-3.0 | false | ad65774a6dc141f598f801b1180763e8 |
from typing import Any\n\nNOT_NULL: Any\nPRI_KEY: Any\nUNIQUE_KEY: Any\nMULTIPLE_KEY: Any\nBLOB: Any\nUNSIGNED: Any\nZEROFILL: Any\nBINARY: Any\nENUM: Any\nAUTO_INCREMENT: Any\nTIMESTAMP: Any\nSET: Any\nPART_KEY: Any\nGROUP: Any\nUNIQUE: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\FLAG.pyi | FLAG.pyi | Other | 226 | 0.85 | 0 | 0 | node-utils | 282 | 2024-01-31T14:46:07.183572 | MIT | false | 091612a65fb18698bb5582f80e2ff5ba |
SERVER_STATUS_IN_TRANS: int\nSERVER_STATUS_AUTOCOMMIT: int\nSERVER_MORE_RESULTS_EXISTS: int\nSERVER_QUERY_NO_GOOD_INDEX_USED: int\nSERVER_QUERY_NO_INDEX_USED: int\nSERVER_STATUS_CURSOR_EXISTS: int\nSERVER_STATUS_LAST_ROW_SENT: int\nSERVER_STATUS_DB_DROPPED: int\nSERVER_STATUS_NO_BACKSLASH_ESCAPES: int\nSERVER_STATUS_METADATA_CHANGED: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pymysql\constants\SERVER_STATUS.pyi | SERVER_STATUS.pyi | Other | 331 | 0.7 | 0 | 0 | python-kit | 729 | 2025-01-12T13:46:42.336289 | GPL-3.0 | false | 4edc53b60a5d9574611e7f5be2c8a0a4 |
from datetime import datetime\nfrom typing import Any, Callable, Dict, Generic, Iterable, List, Mapping, Optional, Set, Text, Type, TypeVar, Union\n\n_T = TypeVar("_T")\n_KT = TypeVar("_KT")\n_VT = TypeVar("_VT")\n_MT = TypeVar("_MT", bound=MapAttribute[Any, Any])\n\nclass Attribute(Generic[_T]):\n attr_name: Optional[Text]\n attr_type: Text\n null: bool\n default: Any\n is_hash_key: bool\n is_range_key: bool\n def __init__(\n self,\n hash_key: bool = ...,\n range_key: bool = ...,\n null: Optional[bool] = ...,\n default: Optional[Union[_T, Callable[..., _T]]] = ...,\n attr_name: Optional[Text] = ...,\n ) -> None: ...\n def __set__(self, instance: Any, value: Optional[_T]) -> None: ...\n def serialize(self, value: Any) -> Any: ...\n def deserialize(self, value: Any) -> Any: ...\n def get_value(self, value: Any) -> Any: ...\n def between(self, lower: Any, upper: Any) -> Any: ...\n def is_in(self, *values: Any) -> Any: ...\n def exists(self) -> Any: ...\n def does_not_exist(self) -> Any: ...\n def is_type(self) -> Any: ...\n def startswith(self, prefix: str) -> Any: ...\n def contains(self, item: Any) -> Any: ...\n def append(self, other: Any) -> Any: ...\n def prepend(self, other: Any) -> Any: ...\n def set(self, value: Any) -> Any: ...\n def remove(self) -> Any: ...\n def add(self, *values: Any) -> Any: ...\n def delete(self, *values: Any) -> Any: ...\n\nclass SetMixin(object):\n def serialize(self, value): ...\n def deserialize(self, value): ...\n\nclass BinaryAttribute(Attribute[bytes]):\n def __get__(self, instance: Any, owner: Any) -> bytes: ...\n\nclass BinarySetAttribute(SetMixin, Attribute[Set[bytes]]):\n def __get__(self, instance: Any, owner: Any) -> Set[bytes]: ...\n\nclass UnicodeSetAttribute(SetMixin, Attribute[Set[Text]]):\n def element_serialize(self, value: Any) -> Any: ...\n def element_deserialize(self, value: Any) -> Any: ...\n def __get__(self, instance: Any, owner: Any) -> Set[Text]: ...\n\nclass UnicodeAttribute(Attribute[Text]):\n def __get__(self, instance: Any, owner: Any) -> Text: ...\n\nclass JSONAttribute(Attribute[Any]):\n def __get__(self, instance: Any, owner: Any) -> Any: ...\n\nclass LegacyBooleanAttribute(Attribute[bool]):\n def __get__(self, instance: Any, owner: Any) -> bool: ...\n\nclass BooleanAttribute(Attribute[bool]):\n def __get__(self, instance: Any, owner: Any) -> bool: ...\n\nclass NumberSetAttribute(SetMixin, Attribute[Set[float]]):\n def __get__(self, instance: Any, owner: Any) -> Set[float]: ...\n\nclass NumberAttribute(Attribute[float]):\n def __get__(self, instance: Any, owner: Any) -> float: ...\n\nclass UTCDateTimeAttribute(Attribute[datetime]):\n def __get__(self, instance: Any, owner: Any) -> datetime: ...\n\nclass NullAttribute(Attribute[None]):\n def __get__(self, instance: Any, owner: Any) -> None: ...\n\nclass MapAttributeMeta(type):\n def __init__(self, name, bases, attrs) -> None: ...\n\nclass MapAttribute(Attribute[Mapping[_KT, _VT]], metaclass=MapAttributeMeta):\n attribute_values: Any\n def __init__(\n self,\n hash_key: bool = ...,\n range_key: bool = ...,\n null: Optional[bool] = ...,\n default: Optional[Union[Any, Callable[..., Any]]] = ...,\n attr_name: Optional[Text] = ...,\n **attrs,\n ) -> None: ...\n def __iter__(self) -> Iterable[_VT]: ...\n def __getattr__(self, attr: str) -> _VT: ...\n def __getitem__(self, item: _KT) -> _VT: ...\n def __set__(self, instance: Any, value: Union[None, MapAttribute[_KT, _VT], Mapping[_KT, _VT]]) -> None: ...\n def __get__(self: _MT, instance: Any, owner: Any) -> _MT: ...\n def is_type_safe(self, key: Any, value: Any) -> bool: ...\n def validate(self) -> bool: ...\n\nclass ListAttribute(Attribute[List[_T]]):\n element_type: Any\n def __init__(\n self,\n hash_key: bool = ...,\n range_key: bool = ...,\n null: Optional[bool] = ...,\n default: Optional[Union[Any, Callable[..., Any]]] = ...,\n attr_name: Optional[Text] = ...,\n of: Optional[Type[_T]] = ...,\n ) -> None: ...\n def __get__(self, instance: Any, owner: Any) -> List[_T]: ...\n\nDESERIALIZE_CLASS_MAP: Dict[Text, Attribute[Any]]\nSERIALIZE_CLASS_MAP: Dict[Type[Any], Attribute[Any]]\nSERIALIZE_KEY_MAP: Dict[Type[Any], Text]\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\attributes.pyi | attributes.pyi | Other | 4,342 | 0.85 | 0.508475 | 0.01 | vue-tools | 52 | 2025-05-03T08:43:34.162692 | Apache-2.0 | false | a7eee16bbe6870a1f2b42d3b94982da5 |
from typing import Any\n\nBATCH_WRITE_ITEM: str\nDESCRIBE_TABLE: str\nBATCH_GET_ITEM: str\nCREATE_TABLE: str\nUPDATE_TABLE: str\nDELETE_TABLE: str\nLIST_TABLES: str\nUPDATE_ITEM: str\nDELETE_ITEM: str\nGET_ITEM: str\nPUT_ITEM: str\nQUERY: str\nSCAN: str\nGLOBAL_SECONDARY_INDEX_UPDATES: str\nRETURN_ITEM_COLL_METRICS: str\nEXCLUSIVE_START_TABLE_NAME: str\nRETURN_CONSUMED_CAPACITY: str\nCOMPARISON_OPERATOR: str\nSCAN_INDEX_FORWARD: str\nATTR_DEFINITIONS: str\nATTR_VALUE_LIST: str\nTABLE_DESCRIPTION: str\nUNPROCESSED_KEYS: str\nUNPROCESSED_ITEMS: str\nCONSISTENT_READ: str\nDELETE_REQUEST: str\nRETURN_VALUES: str\nREQUEST_ITEMS: str\nATTRS_TO_GET: str\nATTR_UPDATES: str\nTABLE_STATUS: str\nSCAN_FILTER: str\nTABLE_NAME: str\nKEY_SCHEMA: str\nATTR_NAME: str\nATTR_TYPE: str\nITEM_COUNT: str\nCAMEL_COUNT: str\nPUT_REQUEST: str\nINDEX_NAME: str\nATTRIBUTES: str\nTABLE_KEY: str\nRESPONSES: str\nRANGE_KEY: str\nKEY_TYPE: str\nACTION: str\nUPDATE: str\nEXISTS: str\nSELECT: str\nACTIVE: str\nLIMIT: str\nITEMS: str\nITEM: str\nKEYS: str\nUTC: str\nKEY: str\nDEFAULT_ENCODING: str\nDEFAULT_REGION: str\nDATETIME_FORMAT: str\nSERVICE_NAME: str\nHTTP_OK: int\nHTTP_BAD_REQUEST: int\nPROVISIONED_THROUGHPUT: str\nREAD_CAPACITY_UNITS: str\nWRITE_CAPACITY_UNITS: str\nSTRING_SHORT: str\nSTRING_SET_SHORT: str\nNUMBER_SHORT: str\nNUMBER_SET_SHORT: str\nBINARY_SHORT: str\nBINARY_SET_SHORT: str\nMAP_SHORT: str\nLIST_SHORT: str\nBOOLEAN: str\nBOOLEAN_SHORT: str\nSTRING: str\nSTRING_SET: str\nNUMBER: str\nNUMBER_SET: str\nBINARY: str\nBINARY_SET: str\nMAP: str\nLIST: str\nSHORT_ATTR_TYPES: Any\nATTR_TYPE_MAP: Any\nLOCAL_SECONDARY_INDEX: str\nLOCAL_SECONDARY_INDEXES: str\nGLOBAL_SECONDARY_INDEX: str\nGLOBAL_SECONDARY_INDEXES: str\nPROJECTION: str\nPROJECTION_TYPE: str\nNON_KEY_ATTRIBUTES: str\nKEYS_ONLY: str\nALL: str\nINCLUDE: str\nSTREAM_VIEW_TYPE: str\nSTREAM_SPECIFICATION: str\nSTREAM_ENABLED: str\nSTREAM_NEW_IMAGE: str\nSTREAM_OLD_IMAGE: str\nSTREAM_NEW_AND_OLD_IMAGE: str\nSTREAM_KEYS_ONLY: str\nEXCLUSIVE_START_KEY: str\nLAST_EVALUATED_KEY: str\nQUERY_FILTER: str\nBEGINS_WITH: str\nBETWEEN: str\nEQ: str\nNE: str\nLE: str\nLT: str\nGE: str\nGT: str\nIN: str\nKEY_CONDITIONS: str\nCOMPARISON_OPERATOR_VALUES: Any\nQUERY_OPERATOR_MAP: Any\nNOT_NULL: str\nNULL: str\nCONTAINS: str\nNOT_CONTAINS: str\nALL_ATTRIBUTES: str\nALL_PROJECTED_ATTRIBUTES: str\nSPECIFIC_ATTRIBUTES: str\nCOUNT: str\nSELECT_VALUES: Any\nSCAN_OPERATOR_MAP: Any\nQUERY_FILTER_OPERATOR_MAP: Any\nDELETE_FILTER_OPERATOR_MAP: Any\nUPDATE_FILTER_OPERATOR_MAP: Any\nPUT_FILTER_OPERATOR_MAP: Any\nSEGMENT: str\nTOTAL_SEGMENTS: str\nSCAN_FILTER_VALUES: Any\nQUERY_FILTER_VALUES: Any\nDELETE_FILTER_VALUES: Any\nVALUE: str\nEXPECTED: str\nCONSUMED_CAPACITY: str\nCAPACITY_UNITS: str\nINDEXES: str\nTOTAL: str\nNONE: str\nRETURN_CONSUMED_CAPACITY_VALUES: Any\nSIZE: str\nRETURN_ITEM_COLL_METRICS_VALUES: Any\nALL_OLD: str\nUPDATED_OLD: str\nALL_NEW: str\nUPDATED_NEW: str\nRETURN_VALUES_VALUES: Any\nPUT: str\nDELETE: str\nADD: str\nATTR_UPDATE_ACTIONS: Any\nBATCH_GET_PAGE_LIMIT: int\nBATCH_WRITE_PAGE_LIMIT: int\nMETA_CLASS_NAME: str\nREGION: str\nHOST: str\nCONDITIONAL_OPERATOR: str\nAND: str\nOR: str\nCONDITIONAL_OPERATORS: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\constants.pyi | constants.pyi | Other | 3,038 | 0.85 | 0 | 0 | node-utils | 505 | 2024-10-10T03:16:13.280027 | MIT | false | ef8ae78653c006491a42637e386b7566 |
from typing import Any, Optional, Text\n\nclass PynamoDBException(Exception):\n msg: str\n cause: Any\n def __init__(self, msg: Optional[Text] = ..., cause: Optional[Exception] = ...) -> None: ...\n\nclass PynamoDBConnectionError(PynamoDBException): ...\nclass DeleteError(PynamoDBConnectionError): ...\nclass QueryError(PynamoDBConnectionError): ...\nclass ScanError(PynamoDBConnectionError): ...\nclass PutError(PynamoDBConnectionError): ...\nclass UpdateError(PynamoDBConnectionError): ...\nclass GetError(PynamoDBConnectionError): ...\nclass TableError(PynamoDBConnectionError): ...\nclass DoesNotExist(PynamoDBException): ...\n\nclass TableDoesNotExist(PynamoDBException):\n def __init__(self, table_name) -> None: ...\n\nclass VerboseClientError(Exception):\n MSG_TEMPLATE: Any\n def __init__(self, error_response, operation_name, verbose_properties: Optional[Any] = ...) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\exceptions.pyi | exceptions.pyi | Other | 887 | 0.85 | 0.652174 | 0 | vue-tools | 798 | 2024-11-19T08:16:11.701905 | Apache-2.0 | false | 51d87198baab09a2e2ef1c9475b1e06a |
from typing import Any, Optional\n\nclass IndexMeta(type):\n def __init__(self, name, bases, attrs) -> None: ...\n\nclass Index(metaclass=IndexMeta):\n Meta: Any\n def __init__(self) -> None: ...\n @classmethod\n def count(cls, hash_key, consistent_read: bool = ..., **filters) -> int: ...\n @classmethod\n def query(\n cls,\n hash_key,\n scan_index_forward: Optional[Any] = ...,\n consistent_read: bool = ...,\n limit: Optional[Any] = ...,\n last_evaluated_key: Optional[Any] = ...,\n attributes_to_get: Optional[Any] = ...,\n **filters,\n ): ...\n\nclass GlobalSecondaryIndex(Index): ...\nclass LocalSecondaryIndex(Index): ...\n\nclass Projection(object):\n projection_type: Any\n non_key_attributes: Any\n\nclass KeysOnlyProjection(Projection):\n projection_type: Any\n\nclass IncludeProjection(Projection):\n projection_type: Any\n non_key_attributes: Any\n def __init__(self, non_attr_keys: Optional[Any] = ...) -> None: ...\n\nclass AllProjection(Projection):\n projection_type: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\indexes.pyi | indexes.pyi | Other | 1,052 | 0.85 | 0.333333 | 0.03125 | node-utils | 291 | 2024-11-18T10:22:33.431155 | GPL-3.0 | false | 997c589e4f001ae378596b5eede2340a |
from typing import Any, Dict, Generic, Iterable, Iterator, List, Optional, Sequence, Text, Tuple, Type, TypeVar, Union\n\nfrom .attributes import Attribute\nfrom .exceptions import DoesNotExist as DoesNotExist\n\nlog: Any\n\nclass DefaultMeta: ...\n\nclass ResultSet(object):\n results: Any\n operation: Any\n arguments: Any\n def __init__(self, results, operation, arguments) -> None: ...\n def __iter__(self): ...\n\nclass MetaModel(type):\n def __init__(self, name: Text, bases: Tuple[type, ...], attrs: Dict[Any, Any]) -> None: ...\n\n_T = TypeVar("_T", bound="Model")\nKeyType = Union[Text, bytes, float, int, Tuple[Any, ...]]\n\nclass Model(metaclass=MetaModel):\n DoesNotExist = DoesNotExist\n attribute_values: Dict[Text, Any]\n def __init__(self, hash_key: Optional[KeyType] = ..., range_key: Optional[Any] = ..., **attrs) -> None: ...\n @classmethod\n def has_map_or_list_attributes(cls: Type[_T]) -> bool: ...\n @classmethod\n def batch_get(\n cls: Type[_T],\n items: Iterable[Union[KeyType, Iterable[KeyType]]],\n consistent_read: Optional[bool] = ...,\n attributes_to_get: Optional[Sequence[Text]] = ...,\n ) -> Iterator[_T]: ...\n @classmethod\n def batch_write(cls: Type[_T], auto_commit: bool = ...) -> BatchWrite[_T]: ...\n def delete(self, condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values) -> Any: ...\n def update(\n self,\n attributes: Optional[Dict[Text, Dict[Text, Any]]] = ...,\n actions: Optional[List[Any]] = ...,\n condition: Optional[Any] = ...,\n conditional_operator: Optional[Text] = ...,\n **expected_values,\n ) -> Any: ...\n def update_item(\n self,\n attribute: Text,\n value: Optional[Any] = ...,\n action: Optional[Text] = ...,\n conditional_operator: Optional[Text] = ...,\n **expected_values,\n ): ...\n def save(\n self, condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values\n ) -> Dict[str, Any]: ...\n def refresh(self, consistent_read: bool = ...): ...\n @classmethod\n def get(cls: Type[_T], hash_key: KeyType, range_key: Optional[KeyType] = ..., consistent_read: bool = ...) -> _T: ...\n @classmethod\n def from_raw_data(cls: Type[_T], data) -> _T: ...\n @classmethod\n def count(\n cls: Type[_T],\n hash_key: Optional[KeyType] = ...,\n consistent_read: bool = ...,\n index_name: Optional[Text] = ...,\n limit: Optional[int] = ...,\n **filters,\n ) -> int: ...\n @classmethod\n def query(\n cls: Type[_T],\n hash_key: KeyType,\n consistent_read: bool = ...,\n index_name: Optional[Text] = ...,\n scan_index_forward: Optional[Any] = ...,\n conditional_operator: Optional[Text] = ...,\n limit: Optional[int] = ...,\n last_evaluated_key: Optional[Any] = ...,\n attributes_to_get: Optional[Iterable[Text]] = ...,\n page_size: Optional[int] = ...,\n **filters,\n ) -> Iterator[_T]: ...\n @classmethod\n def rate_limited_scan(\n cls: Type[_T],\n # TODO: annotate Condition class\n filter_condition: Optional[Any] = ...,\n attributes_to_get: Optional[Sequence[Text]] = ...,\n segment: Optional[int] = ...,\n total_segments: Optional[int] = ...,\n limit: Optional[int] = ...,\n conditional_operator: Optional[Text] = ...,\n last_evaluated_key: Optional[Any] = ...,\n page_size: Optional[int] = ...,\n timeout_seconds: Optional[int] = ...,\n read_capacity_to_consume_per_second: int = ...,\n allow_rate_limited_scan_without_consumed_capacity: Optional[bool] = ...,\n max_sleep_between_retry: int = ...,\n max_consecutive_exceptions: int = ...,\n consistent_read: Optional[bool] = ...,\n index_name: Optional[str] = ...,\n **filters: Any,\n ) -> Iterator[_T]: ...\n @classmethod\n def scan(\n cls: Type[_T],\n segment: Optional[int] = ...,\n total_segments: Optional[int] = ...,\n limit: Optional[int] = ...,\n conditional_operator: Optional[Text] = ...,\n last_evaluated_key: Optional[Any] = ...,\n page_size: Optional[int] = ...,\n **filters,\n ) -> Iterator[_T]: ...\n @classmethod\n def exists(cls: Type[_T]) -> bool: ...\n @classmethod\n def delete_table(cls): ...\n @classmethod\n def describe_table(cls): ...\n @classmethod\n def create_table(\n cls: Type[_T], wait: bool = ..., read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ...\n ): ...\n @classmethod\n def dumps(cls): ...\n @classmethod\n def dump(cls, filename): ...\n @classmethod\n def loads(cls, data): ...\n @classmethod\n def load(cls, filename): ...\n @classmethod\n def add_throttle_record(cls, records): ...\n @classmethod\n def get_throttle(cls): ...\n @classmethod\n def get_attributes(cls) -> Dict[str, Attribute[Any]]: ...\n @classmethod\n def _get_attributes(cls) -> Dict[str, Attribute[Any]]: ...\n\nclass ModelContextManager(Generic[_T]):\n model: Type[_T]\n auto_commit: bool\n max_operations: int\n pending_operations: List[Dict[Text, Any]]\n def __init__(self, model: Type[_T], auto_commit: bool = ...) -> None: ...\n def __enter__(self) -> ModelContextManager[_T]: ...\n\nclass BatchWrite(ModelContextManager[_T]):\n def save(self, put_item: _T) -> None: ...\n def delete(self, del_item: _T) -> None: ...\n def __enter__(self) -> BatchWrite[_T]: ...\n def __exit__(self, exc_type, exc_val, exc_tb) -> None: ...\n pending_operations: Any\n def commit(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\models.pyi | models.pyi | Other | 5,702 | 0.95 | 0.27673 | 0.046667 | python-kit | 320 | 2024-03-11T03:24:40.781218 | MIT | false | fe41e04208a9e60f08139a396d8942ac |
from typing import Any\n\nlog: Any\ndefault_settings_dict: Any\nOVERRIDE_SETTINGS_PATH: Any\noverride_settings: Any\n\ndef get_settings_value(key): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\settings.pyi | settings.pyi | Other | 145 | 0.85 | 0.125 | 0 | vue-tools | 98 | 2025-05-28T04:34:17.353578 | Apache-2.0 | false | f4fc4f2cf0029c165163f9e2d3650f1f |
from typing import Any, Optional\n\nlog: Any\n\nclass ThrottleBase:\n capacity: Any\n window: Any\n records: Any\n sleep_interval: Any\n def __init__(self, capacity, window: int = ..., initial_sleep: Optional[Any] = ...) -> None: ...\n def add_record(self, record): ...\n def throttle(self): ...\n\nclass NoThrottle(ThrottleBase):\n def __init__(self) -> None: ...\n def add_record(self, record): ...\n\nclass Throttle(ThrottleBase):\n def throttle(self): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\throttle.pyi | throttle.pyi | Other | 472 | 0.85 | 0.473684 | 0 | vue-tools | 847 | 2025-03-26T03:29:47.773416 | BSD-3-Clause | false | 40e67c3325b24d3ad71cad7fd5a7ab0e |
STRING: str\nNUMBER: str\nBINARY: str\nHASH: str\nRANGE: str\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\types.pyi | types.pyi | Other | 57 | 0.5 | 0 | 0 | vue-tools | 803 | 2023-09-25T08:50:03.319081 | GPL-3.0 | false | 2e3447ab1706a2431a67797ab5b65bd5 |
__license__: str\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\__init__.pyi | __init__.pyi | Other | 17 | 0.5 | 0 | 0 | node-utils | 57 | 2024-05-01T02:43:06.140192 | GPL-3.0 | false | 2a3744172227686ab19bb390a2fcb52c |
from typing import Any, Dict, Optional, Text\n\nBOTOCORE_EXCEPTIONS: Any\nlog: Any\n\nclass MetaTable:\n data: Dict[Any, Any]\n def __init__(self, data: Dict[Any, Any]) -> None: ...\n @property\n def range_keyname(self) -> Optional[Text]: ...\n @property\n def hash_keyname(self) -> Text: ...\n def get_index_hash_keyname(self, index_name: Text) -> Optional[Text]: ...\n def get_item_attribute_map(self, attributes, item_key: Any = ..., pythonic_key: bool = ...): ...\n def get_attribute_type(self, attribute_name, value: Optional[Any] = ...): ...\n def get_identifier_map(self, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ...\n def get_exclusive_start_key_map(self, exclusive_start_key): ...\n\nclass Connection:\n host: Any\n region: Any\n session_cls: Any\n def __init__(\n self,\n region: Optional[Any] = ...,\n host: Optional[Any] = ...,\n session_cls: Optional[Any] = ...,\n request_timeout_seconds: Optional[Any] = ...,\n max_retry_attempts: Optional[Any] = ...,\n base_backoff_ms: Optional[Any] = ...,\n ) -> None: ...\n def dispatch(self, operation_name, operation_kwargs): ...\n @property\n def session(self): ...\n @property\n def requests_session(self): ...\n @property\n def client(self): ...\n def get_meta_table(self, table_name: Text, refresh: bool = ...): ...\n def create_table(\n self,\n table_name: Text,\n attribute_definitions: Optional[Any] = ...,\n key_schema: Optional[Any] = ...,\n read_capacity_units: Optional[Any] = ...,\n write_capacity_units: Optional[Any] = ...,\n global_secondary_indexes: Optional[Any] = ...,\n local_secondary_indexes: Optional[Any] = ...,\n stream_specification: Optional[Any] = ...,\n ): ...\n def delete_table(self, table_name: Text): ...\n def update_table(\n self,\n table_name: Text,\n read_capacity_units: Optional[Any] = ...,\n write_capacity_units: Optional[Any] = ...,\n global_secondary_index_updates: Optional[Any] = ...,\n ): ...\n def list_tables(self, exclusive_start_table_name: Optional[Any] = ..., limit: Optional[Any] = ...): ...\n def describe_table(self, table_name: Text): ...\n def get_conditional_operator(self, operator): ...\n def get_item_attribute_map(self, table_name: Text, attributes, item_key: Any = ..., pythonic_key: bool = ...): ...\n def get_expected_map(self, table_name: Text, expected): ...\n def parse_attribute(self, attribute, return_type: bool = ...): ...\n def get_attribute_type(self, table_name: Text, attribute_name, value: Optional[Any] = ...): ...\n def get_identifier_map(self, table_name: Text, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ...\n def get_query_filter_map(self, table_name: Text, query_filters): ...\n def get_consumed_capacity_map(self, return_consumed_capacity): ...\n def get_return_values_map(self, return_values): ...\n def get_item_collection_map(self, return_item_collection_metrics): ...\n def get_exclusive_start_key_map(self, table_name: Text, exclusive_start_key): ...\n def delete_item(\n self,\n table_name: Text,\n hash_key,\n range_key: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def update_item(\n self,\n table_name: Text,\n hash_key,\n range_key: Optional[Any] = ...,\n attribute_updates: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n ): ...\n def put_item(\n self,\n table_name: Text,\n hash_key,\n range_key: Optional[Any] = ...,\n attributes: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def batch_write_item(\n self,\n table_name: Text,\n put_items: Optional[Any] = ...,\n delete_items: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def batch_get_item(\n self,\n table_name: Text,\n keys,\n consistent_read: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n attributes_to_get: Optional[Any] = ...,\n ): ...\n def get_item(\n self,\n table_name: Text,\n hash_key,\n range_key: Optional[Any] = ...,\n consistent_read: bool = ...,\n attributes_to_get: Optional[Any] = ...,\n ): ...\n def scan(\n self,\n table_name: Text,\n attributes_to_get: Optional[Any] = ...,\n limit: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n scan_filter: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n exclusive_start_key: Optional[Any] = ...,\n segment: Optional[Any] = ...,\n total_segments: Optional[Any] = ...,\n ): ...\n def query(\n self,\n table_name: Text,\n hash_key,\n attributes_to_get: Optional[Any] = ...,\n consistent_read: bool = ...,\n exclusive_start_key: Optional[Any] = ...,\n index_name: Optional[Any] = ...,\n key_conditions: Optional[Any] = ...,\n query_filters: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n limit: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n scan_index_forward: Optional[Any] = ...,\n select: Optional[Any] = ...,\n ): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\connection\base.pyi | base.pyi | Other | 6,089 | 0.85 | 0.253165 | 0 | react-lib | 930 | 2025-02-26T22:20:38.038718 | GPL-3.0 | false | 9d5448ef1d05e5cb7560d26943635700 |
from typing import Any, Optional\n\nclass TableConnection:\n table_name: Any\n connection: Any\n def __init__(\n self,\n table_name,\n region: Optional[Any] = ...,\n host: Optional[Any] = ...,\n session_cls: Optional[Any] = ...,\n request_timeout_seconds: Optional[Any] = ...,\n max_retry_attempts: Optional[Any] = ...,\n base_backoff_ms: Optional[Any] = ...,\n ) -> None: ...\n def delete_item(\n self,\n hash_key,\n range_key: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def update_item(\n self,\n hash_key,\n range_key: Optional[Any] = ...,\n attribute_updates: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n ): ...\n def put_item(\n self,\n hash_key,\n range_key: Optional[Any] = ...,\n attributes: Optional[Any] = ...,\n expected: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n return_values: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def batch_write_item(\n self,\n put_items: Optional[Any] = ...,\n delete_items: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n return_item_collection_metrics: Optional[Any] = ...,\n ): ...\n def batch_get_item(\n self,\n keys,\n consistent_read: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n attributes_to_get: Optional[Any] = ...,\n ): ...\n def get_item(\n self, hash_key, range_key: Optional[Any] = ..., consistent_read: bool = ..., attributes_to_get: Optional[Any] = ...\n ): ...\n def scan(\n self,\n attributes_to_get: Optional[Any] = ...,\n limit: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n scan_filter: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n segment: Optional[Any] = ...,\n total_segments: Optional[Any] = ...,\n exclusive_start_key: Optional[Any] = ...,\n ): ...\n def query(\n self,\n hash_key,\n attributes_to_get: Optional[Any] = ...,\n consistent_read: bool = ...,\n exclusive_start_key: Optional[Any] = ...,\n index_name: Optional[Any] = ...,\n key_conditions: Optional[Any] = ...,\n query_filters: Optional[Any] = ...,\n limit: Optional[Any] = ...,\n return_consumed_capacity: Optional[Any] = ...,\n scan_index_forward: Optional[Any] = ...,\n conditional_operator: Optional[Any] = ...,\n select: Optional[Any] = ...,\n ): ...\n def describe_table(self): ...\n def delete_table(self): ...\n def update_table(\n self,\n read_capacity_units: Optional[Any] = ...,\n write_capacity_units: Optional[Any] = ...,\n global_secondary_index_updates: Optional[Any] = ...,\n ): ...\n def create_table(\n self,\n attribute_definitions: Optional[Any] = ...,\n key_schema: Optional[Any] = ...,\n read_capacity_units: Optional[Any] = ...,\n write_capacity_units: Optional[Any] = ...,\n global_secondary_indexes: Optional[Any] = ...,\n local_secondary_indexes: Optional[Any] = ...,\n stream_specification: Optional[Any] = ...,\n ): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\connection\table.pyi | table.pyi | Other | 3,825 | 0.85 | 0.12963 | 0 | vue-tools | 208 | 2025-04-01T10:33:43.846481 | MIT | false | 9ee32afaa3414f99183bfb7f172cda01 |
from typing import Text\n\ndef pythonic(var_name: Text) -> Text: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\connection\util.pyi | util.pyi | Other | 67 | 0.65 | 0.333333 | 0 | node-utils | 366 | 2024-10-26T05:55:53.539938 | Apache-2.0 | false | 8dd97317a6b2c6c5a32062ecd6e95372 |
from pynamodb.connection.base import Connection as Connection\nfrom pynamodb.connection.table import TableConnection as TableConnection\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pynamodb\connection\__init__.pyi | __init__.pyi | Other | 135 | 0.85 | 0 | 0 | vue-tools | 123 | 2023-07-25T10:19:11.481361 | Apache-2.0 | false | d996cada26678f5ad07ed9e8ee45ecc3 |
import datetime\nfrom typing import List, Mapping, Optional, Set, Union\n\nclass BaseTzInfo(datetime.tzinfo):\n zone: str = ...\n def localize(self, dt: datetime.datetime, is_dst: Optional[bool] = ...) -> datetime.datetime: ...\n def normalize(self, dt: datetime.datetime) -> datetime.datetime: ...\n\nclass _UTCclass(BaseTzInfo):\n def tzname(self, dt: Optional[datetime.datetime]) -> str: ...\n def utcoffset(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ...\n def dst(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ...\n\nclass _StaticTzInfo(BaseTzInfo):\n def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ...\n def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ...\n def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ...\n\nclass _DstTzInfo(BaseTzInfo):\n def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ...\n def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ...\n def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ...\n\nclass UnknownTimeZoneError(KeyError): ...\nclass InvalidTimeError(Exception): ...\nclass AmbiguousTimeError(InvalidTimeError): ...\nclass NonExistentTimeError(InvalidTimeError): ...\n\nutc: _UTCclass\nUTC: _UTCclass\n\ndef timezone(zone: str) -> Union[_UTCclass, _StaticTzInfo, _DstTzInfo]: ...\ndef FixedOffset(offset: int) -> Union[_UTCclass, datetime.tzinfo]: ...\n\nall_timezones: List[str]\nall_timezones_set: Set[str]\ncommon_timezones: List[str]\ncommon_timezones_set: Set[str]\ncountry_timezones: Mapping[str, List[str]]\ncountry_names: Mapping[str, str]\nZERO: datetime.timedelta\nHOUR: datetime.timedelta\nVERSION: str\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pytz\__init__.pyi | __init__.pyi | Other | 1,892 | 0.85 | 0.488372 | 0 | awesome-app | 836 | 2023-12-08T01:21:16.379902 | MIT | false | 19e4c8483b5126f65d0af78f98d47939 |
from datetime import datetime\nfrom typing import Any, List\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass Event:\n createdTime: datetime\n\nclass EventFilterSpec:\n class ByTime:\n def __init__(self, beginTime: datetime): ...\n time: EventFilterSpec.ByTime\n\nclass EventManager:\n latestEvent: Event\n def QueryEvents(self, filer: EventFilterSpec) -> List[Event]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vim\event.pyi | event.pyi | Other | 395 | 0.95 | 0.4375 | 0 | react-lib | 422 | 2025-06-21T13:14:58.060678 | GPL-3.0 | false | 15a0b5efe5d6d52add3b50338c2bb9c7 |
from typing import Any\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass InvalidName(Exception): ...\nclass RestrictedByAdministrator(Exception): ...\nclass NoPermission(Exception): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vim\fault.pyi | fault.pyi | Other | 195 | 0.95 | 0.571429 | 0 | node-utils | 578 | 2024-10-15T01:56:36.152846 | MIT | false | dd75aef651f6d76bb3f376229e5a2949 |
from typing import Any, List\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass OptionManager:\n def QueryOptions(self, name: str) -> List[OptionValue]: ...\n\nclass OptionValue:\n value: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vim\option.pyi | option.pyi | Other | 204 | 0.95 | 0.444444 | 0 | node-utils | 847 | 2024-03-12T00:57:32.908892 | GPL-3.0 | false | 15068aa597c3de26e10b2dbec2d2d1d4 |
from typing import Any, List, Type\n\nfrom pyVmomi.vim import ManagedEntity\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass ContainerView:\n def Destroy(self) -> None: ...\n\nclass ViewManager:\n # Doc says the `type` parameter of CreateContainerView is a `List[str]`,\n # but in practice it seems to be `List[Type[ManagedEntity]]`\n # Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html\n @staticmethod\n def CreateContainerView(container: ManagedEntity, type: List[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vim\view.pyi | view.pyi | Other | 586 | 0.95 | 0.333333 | 0.272727 | vue-tools | 596 | 2023-07-21T23:13:38.662466 | GPL-3.0 | false | 873398e4453e9f5d5b62e598f75723d4 |
from datetime import datetime\nfrom enum import Enum\nfrom typing import Any, List\n\nfrom ..vmodl.query import PropertyCollector\nfrom .event import EventManager\nfrom .option import OptionManager\nfrom .view import ViewManager\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass ManagedObject: ...\n\nclass ManagedEntity(ManagedObject):\n _moId: str\n obj: None\n name: str\n def __getattr__(self, name: str) -> Any: ... # incomplete\n\nclass ServiceInstanceContent:\n setting: OptionManager\n propertyCollector: PropertyCollector\n rootFolder: Folder\n viewManager: ViewManager\n perfManager: PerformanceManager\n eventManager: EventManager\n def __getattr__(self, name: str) -> Any: ... # incomplete\n\nclass ServiceInstance:\n content: ServiceInstanceContent\n def CurrentTime(self) -> datetime: ...\n def __getattr__(self, name: str) -> Any: ... # incomplete\n\nclass PerformanceManager:\n class MetricId:\n counterId: int\n instance: str\n def __init__(self, counterId: int, instance: str): ...\n class PerfCounterInfo:\n key: int\n groupInfo: Any\n nameInfo: Any\n rollupType: Any\n def __getattr__(self, name: str) -> Any: ... # incomplete\n class QuerySpec:\n entity: ManagedEntity\n metricId: List[PerformanceManager.MetricId]\n intervalId: int\n maxSample: int\n startTime: datetime\n def __getattr__(self, name: str) -> Any: ... # incomplete\n class EntityMetricBase:\n entity: ManagedEntity\n def QueryPerfCounterByLevel(self, collection_level: int) -> List[PerformanceManager.PerfCounterInfo]: ...\n def QueryPerf(self, querySpec: List[PerformanceManager.QuerySpec]) -> List[PerformanceManager.EntityMetricBase]: ...\n def __getattr__(self, name: str) -> Any: ... # incomplete\n\nclass ClusterComputeResource(ManagedEntity): ...\nclass ComputeResource(ManagedEntity): ...\nclass Datacenter(ManagedEntity): ...\nclass Datastore(ManagedEntity): ...\nclass Folder(ManagedEntity): ...\nclass HostSystem(ManagedEntity): ...\nclass VirtualMachine(ManagedEntity): ...\n\nclass VirtualMachinePowerState(Enum):\n poweredOff: int\n poweredOn: int\n suspended: int\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vim\__init__.pyi | __init__.pyi | Other | 2,197 | 0.95 | 0.405797 | 0 | node-utils | 623 | 2024-05-08T18:47:45.005527 | BSD-3-Clause | false | e90fe0f101f83f8c620757cc6c3b7264 |
from typing import Any\n\ndef __getattr__(name: str) -> Any: ... # incomplete\n\nclass InvalidArgument(Exception): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vmodl\fault.pyi | fault.pyi | Other | 116 | 0.95 | 0.4 | 0 | react-lib | 144 | 2024-07-29T19:05:59.912072 | Apache-2.0 | false | 106805fcde9fd3671702b931e3cef9c2 |
from typing import Any, List, Optional, Type\n\nfrom pyVmomi.vim import ManagedEntity\nfrom pyVmomi.vim.view import ContainerView\nfrom pyVmomi.vmodl import DynamicProperty\n\nclass PropertyCollector:\n class PropertySpec:\n all: bool\n type: Type[ManagedEntity]\n pathSet: List[str]\n class TraversalSpec:\n path: str\n skip: bool\n type: Type[ContainerView]\n def __getattr__(self, name: str) -> Any: ... # incomplete\n class RetrieveOptions:\n maxObjects: int\n class ObjectSpec:\n skip: bool\n selectSet: List[PropertyCollector.TraversalSpec]\n obj: Any\n class FilterSpec:\n propSet: List[PropertyCollector.PropertySpec]\n objectSet: List[PropertyCollector.ObjectSpec]\n def __getattr__(self, name: str) -> Any: ... # incomplete\n class ObjectContent:\n obj: ManagedEntity\n propSet: List[DynamicProperty]\n def __getattr__(self, name: str) -> Any: ... # incomplete\n class RetrieveResult:\n objects: List[PropertyCollector.ObjectContent]\n token: Optional[str]\n def RetrievePropertiesEx(\n self, specSet: List[PropertyCollector.FilterSpec], options: PropertyCollector.RetrieveOptions\n ) -> PropertyCollector.RetrieveResult: ...\n def ContinueRetrievePropertiesEx(self, token: str) -> PropertyCollector.RetrieveResult: ...\n def __getattr__(self, name: str) -> Any: ... # incomplete\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vmodl\query.pyi | query.pyi | Other | 1,430 | 0.95 | 0.368421 | 0 | react-lib | 742 | 2024-10-01T04:09:08.012788 | BSD-3-Clause | false | 888ac6f2a2ace8bfd69b250e12e6a0f9 |
from typing import Any\n\nclass DynamicProperty:\n name: str\n val: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\pyVmomi\vmodl\__init__.pyi | __init__.pyi | Other | 74 | 0.65 | 0.2 | 0 | vue-tools | 125 | 2024-12-05T20:00:03.773137 | BSD-3-Clause | false | d60e606d961c8ffc53576a239eafbf59 |
from datetime import timedelta\nfrom typing import (\n Any,\n Callable,\n Dict,\n Generic,\n Iterable,\n Iterator,\n List,\n Mapping,\n Optional,\n Sequence,\n Set,\n Text,\n Tuple,\n TypeVar,\n Union,\n overload,\n)\nfrom typing_extensions import Literal\n\nfrom .connection import ConnectionPool\n\nSYM_EMPTY: Any\n\ndef list_or_args(keys, args): ...\ndef timestamp_to_datetime(response): ...\ndef string_keys_to_dict(key_string, callback): ...\ndef dict_merge(*dicts): ...\ndef parse_debug_object(response): ...\ndef parse_object(response, infotype): ...\ndef parse_info(response): ...\n\nSENTINEL_STATE_TYPES: Any\n\ndef parse_sentinel_state(item): ...\ndef parse_sentinel_master(response): ...\ndef parse_sentinel_masters(response): ...\ndef parse_sentinel_slaves_and_sentinels(response): ...\ndef parse_sentinel_get_master(response): ...\ndef pairs_to_dict(response): ...\ndef pairs_to_dict_typed(response, type_info): ...\ndef zset_score_pairs(response, **options): ...\ndef sort_return_tuples(response, **options): ...\ndef int_or_none(response): ...\ndef float_or_none(response): ...\ndef bool_ok(response): ...\ndef parse_client_list(response, **options): ...\ndef parse_config_get(response, **options): ...\ndef parse_scan(response, **options): ...\ndef parse_hscan(response, **options): ...\ndef parse_zscan(response, **options): ...\ndef parse_slowlog_get(response, **options): ...\n\n_Value = Union[bytes, float, int, Text]\n_Key = Union[Text, bytes]\n\n# Lib returns str or bytes depending on Python version and value of decode_responses\n_StrType = TypeVar("_StrType", bound=Union[Text, bytes])\n\nclass Redis(Generic[_StrType]):\n RESPONSE_CALLBACKS: Any\n @overload\n @classmethod\n def from_url(\n cls,\n url: Text,\n host: Optional[Text] = ...,\n port: Optional[int] = ...,\n db: Optional[int] = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n errors: Optional[Text] = ...,\n decode_responses: Optional[bool] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> Redis[bytes]: ...\n @overload\n @classmethod\n def from_url(\n cls,\n url: Text,\n host: Optional[Text] = ...,\n port: Optional[int] = ...,\n db: Optional[int] = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n decode_responses: Literal[True] = ...,\n errors: Optional[Text] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> Redis[str]: ...\n connection_pool: Any\n response_callbacks: Any\n @overload\n def __new__(\n cls,\n host: Text = ...,\n port: int = ...,\n db: int = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n errors: Optional[Text] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> Redis[bytes]: ...\n @overload\n def __new__(\n cls,\n host: Text = ...,\n port: int = ...,\n db: int = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n errors: Optional[Text] = ...,\n decode_responses: Literal[True] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> Redis[str]: ...\n @overload\n def __init__(\n self: Redis[str],\n host: Text = ...,\n port: int = ...,\n db: int = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n errors: Optional[Text] = ...,\n decode_responses: Literal[True] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> None: ...\n @overload\n def __init__(\n self: Redis[bytes],\n host: Text = ...,\n port: int = ...,\n db: int = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: Optional[bool] = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n connection_pool: Optional[ConnectionPool] = ...,\n unix_socket_path: Optional[Text] = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n charset: Optional[Text] = ...,\n errors: Optional[Text] = ...,\n decode_responses: Optional[bool] = ...,\n retry_on_timeout: bool = ...,\n ssl: bool = ...,\n ssl_keyfile: Optional[Text] = ...,\n ssl_certfile: Optional[Text] = ...,\n ssl_cert_reqs: Optional[Union[str, int]] = ...,\n ssl_ca_certs: Optional[Text] = ...,\n ssl_check_hostname: bool = ...,\n max_connections: Optional[int] = ...,\n single_connection_client: bool = ...,\n health_check_interval: float = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> None: ...\n def set_response_callback(self, command, callback): ...\n def pipeline(self, transaction: bool = ..., shard_hint: Any = ...) -> Pipeline: ...\n def transaction(self, func, *watches, **kwargs): ...\n def lock(self, name, timeout=..., sleep=..., blocking_timeout=..., lock_class=..., thread_local=...): ...\n def pubsub(self, shard_hint: Any = ..., ignore_subscribe_messages: bool = ...) -> PubSub: ...\n def execute_command(self, *args, **options): ...\n def parse_response(self, connection, command_name, **options): ...\n def acl_cat(self, category: Optional[Text] = ...) -> List[str]: ...\n def acl_deluser(self, username: Text) -> int: ...\n def acl_genpass(self) -> Text: ...\n def acl_getuser(self, username: Text) -> Optional[Any]: ...\n def acl_list(self) -> List[Text]: ...\n def acl_load(self) -> bool: ...\n def acl_setuser(\n self,\n username: Text = ...,\n enabled: bool = ...,\n nopass: bool = ...,\n passwords: Optional[Sequence[Text]] = ...,\n hashed_passwords: Optional[Sequence[Text]] = ...,\n categories: Optional[Sequence[Text]] = ...,\n commands: Optional[Sequence[Text]] = ...,\n keys: Optional[Sequence[Text]] = ...,\n reset: bool = ...,\n reset_keys: bool = ...,\n reset_passwords: bool = ...,\n ) -> bool: ...\n def acl_users(self) -> List[Text]: ...\n def acl_whoami(self) -> Text: ...\n def bgrewriteaof(self): ...\n def bgsave(self): ...\n def client_id(self) -> int: ...\n def client_kill(self, address: Text) -> bool: ...\n def client_list(self) -> List[Dict[str, str]]: ...\n def client_getname(self) -> Optional[str]: ...\n def client_setname(self, name: Text) -> bool: ...\n def readwrite(self) -> bool: ...\n def readonly(self) -> bool: ...\n def config_get(self, pattern=...): ...\n def config_set(self, name, value): ...\n def config_resetstat(self): ...\n def config_rewrite(self): ...\n def dbsize(self) -> int: ...\n def debug_object(self, key): ...\n def echo(self, value): ...\n def flushall(self) -> bool: ...\n def flushdb(self) -> bool: ...\n def info(self, section: Optional[_Key] = ...) -> Mapping[str, Any]: ...\n def lastsave(self): ...\n def object(self, infotype, key): ...\n def ping(self) -> bool: ...\n def save(self) -> bool: ...\n def sentinel(self, *args): ...\n def sentinel_get_master_addr_by_name(self, service_name): ...\n def sentinel_master(self, service_name): ...\n def sentinel_masters(self): ...\n def sentinel_monitor(self, name, ip, port, quorum): ...\n def sentinel_remove(self, name): ...\n def sentinel_sentinels(self, service_name): ...\n def sentinel_set(self, name, option, value): ...\n def sentinel_slaves(self, service_name): ...\n def shutdown(self): ...\n def slaveof(self, host=..., port=...): ...\n def slowlog_get(self, num=...): ...\n def slowlog_len(self): ...\n def slowlog_reset(self): ...\n def time(self): ...\n def append(self, key, value): ...\n def bitcount(self, key: _Key, start: Optional[int] = ..., end: Optional[int] = ...) -> int: ...\n def bitop(self, operation, dest, *keys): ...\n def bitpos(self, key, bit, start=..., end=...): ...\n def decr(self, name, amount=...): ...\n def delete(self, *names: _Key) -> int: ...\n def __delitem__(self, _Key): ...\n def dump(self, name): ...\n def exists(self, *names: _Key) -> int: ...\n __contains__: Any\n def expire(self, name: _Key, time: Union[int, timedelta]) -> bool: ...\n def expireat(self, name, when): ...\n def get(self, name: _Key) -> Optional[_StrType]: ...\n def __getitem__(self, name): ...\n def getbit(self, name: _Key, offset: int) -> int: ...\n def getrange(self, key, start, end): ...\n def getset(self, name, value) -> Optional[_StrType]: ...\n def incr(self, name, amount=...): ...\n def incrby(self, name, amount=...): ...\n def incrbyfloat(self, name, amount=...): ...\n def keys(self, pattern=...): ...\n def mget(self, keys, *args): ...\n def mset(self, *args, **kwargs): ...\n def msetnx(self, *args, **kwargs): ...\n def move(self, name, db): ...\n def persist(self, name): ...\n def pexpire(self, name, time): ...\n def pexpireat(self, name, when): ...\n def psetex(self, name, time_ms, value): ...\n def pttl(self, name): ...\n def randomkey(self): ...\n def rename(self, src, dst): ...\n def renamenx(self, src, dst): ...\n def restore(self, name, ttl, value): ...\n def set(\n self,\n name: _Key,\n value: _Value,\n ex: Union[None, int, timedelta] = ...,\n px: Union[None, int, timedelta] = ...,\n nx: bool = ...,\n xx: bool = ...,\n keepttl: bool = ...,\n ) -> Optional[bool]: ...\n def __setitem__(self, name, value): ...\n def setbit(self, name: _Key, offset: int, value: int) -> int: ...\n def setex(self, name: _Key, time: Union[int, timedelta], value: _Value) -> bool: ...\n def setnx(self, name, value): ...\n def setrange(self, name, offset, value): ...\n def strlen(self, name): ...\n def substr(self, name, start, end=...): ...\n def ttl(self, name: _Key) -> int: ...\n def type(self, name): ...\n def watch(self, *names): ...\n def unlink(self, *names: _Key) -> int: ...\n def unwatch(self): ...\n def blpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[_StrType, _StrType]]: ...\n def brpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[_StrType, _StrType]]: ...\n def brpoplpush(self, src, dst, timeout=...): ...\n def lindex(self, name: _Key, index: int) -> Optional[_StrType]: ...\n def linsert(\n self, name: _Key, where: Literal["BEFORE", "AFTER", "before", "after"], refvalue: _Value, value: _Value\n ) -> int: ...\n def llen(self, name: _Key) -> int: ...\n def lpop(self, name): ...\n def lpush(self, name: _Value, *values: _Value) -> int: ...\n def lpushx(self, name, value): ...\n def lrange(self, name: _Key, start: int, end: int) -> List[_StrType]: ...\n def lrem(self, name: _Key, count: int, value: _Value) -> int: ...\n def lset(self, name: _Key, index: int, value: _Value) -> bool: ...\n def ltrim(self, name: _Key, start: int, end: int) -> bool: ...\n def rpop(self, name): ...\n def rpoplpush(self, src, dst): ...\n def rpush(self, name: _Value, *values: _Value) -> int: ...\n def rpushx(self, name, value): ...\n @overload\n def sort(\n self,\n name: _Key,\n start: Optional[int] = ...,\n num: Optional[int] = ...,\n by: Optional[_Key] = ...,\n get: Optional[Union[_Key, Sequence[_Key]]] = ...,\n desc: bool = ...,\n alpha: bool = ...,\n store: None = ...,\n groups: bool = ...,\n ) -> List[_StrType]: ...\n @overload\n def sort(\n self,\n name: _Key,\n start: Optional[int] = ...,\n num: Optional[int] = ...,\n by: Optional[_Key] = ...,\n get: Optional[Union[_Key, Sequence[_Key]]] = ...,\n desc: bool = ...,\n alpha: bool = ...,\n *,\n store: _Key,\n groups: bool = ...,\n ) -> int: ...\n @overload\n def sort(\n self,\n name: _Key,\n start: Optional[int],\n num: Optional[int],\n by: Optional[_Key],\n get: Optional[Union[_Key, Sequence[_Key]]],\n desc: bool,\n alpha: bool,\n store: _Key,\n groups: bool = ...,\n ) -> int: ...\n def scan(self, cursor: int = ..., match: Optional[_Key] = ..., count: Optional[int] = ...) -> Tuple[int, List[_StrType]]: ...\n def scan_iter(self, match: Optional[Text] = ..., count: Optional[int] = ...) -> Iterator[_StrType]: ...\n def sscan(self, name: _Key, cursor: int = ..., match: Text = ..., count: int = ...) -> Tuple[int, List[_StrType]]: ...\n def sscan_iter(self, name, match=..., count=...): ...\n def hscan(\n self, name: _Key, cursor: int = ..., match: Text = ..., count: int = ...\n ) -> Tuple[int, Dict[_StrType, _StrType]]: ...\n def hscan_iter(self, name, match=..., count=...): ...\n def zscan(self, name, cursor=..., match=..., count=..., score_cast_func=...): ...\n def zscan_iter(self, name, match=..., count=..., score_cast_func=...): ...\n def sadd(self, name: _Key, *values: _Value) -> int: ...\n def scard(self, name: _Key) -> int: ...\n def sdiff(self, keys, *args): ...\n def sdiffstore(self, dest, keys, *args): ...\n def sinter(self, keys: _Key, *args: _Key) -> Set[_Value]: ...\n def sinterstore(self, dest, keys, *args): ...\n def sismember(self, name: _Key, value: _Value) -> bool: ...\n def smembers(self, name: _Key) -> Set[_Value]: ...\n def smove(self, src, dst, value): ...\n def spop(self, name, count: Optional[int] = ...): ...\n @overload\n def srandmember(self, name: _Key, number: None = ...) -> Optional[_Value]: ...\n @overload\n def srandmember(self, name: _Key, number: int) -> List[_Value]: ...\n def srem(self, name: _Key, *values: _Value) -> int: ...\n def sunion(self, keys, *args): ...\n def sunionstore(self, dest, keys, *args): ...\n def xack(self, name, groupname, *ids): ...\n def xadd(self, name, fields, id=..., maxlen=..., approximate=...): ...\n def xclaim(\n self,\n name,\n groupname,\n consumername,\n min_idle_time,\n message_ids,\n idle=...,\n time=...,\n retrycount=...,\n force=...,\n justid=...,\n ): ...\n def xdel(self, name, *ids): ...\n def xgroup_create(self, name, groupname, id=..., mkstream=...): ...\n def xgroup_delconsumer(self, name, groupname, consumername): ...\n def xgroup_destroy(self, name, groupname): ...\n def xgroup_setid(self, name, groupname, id): ...\n def xinfo_consumers(self, name, groupname): ...\n def xinfo_groups(self, name): ...\n def xinfo_stream(self, name): ...\n def xlen(self, name: _Key) -> int: ...\n def xpending(self, name, groupname): ...\n def xpending_range(self, name, groupname, min, max, count, consumername=...): ...\n def xrange(self, name, min=..., max=..., count=...): ...\n def xread(self, streams, count=..., block=...): ...\n def xreadgroup(self, groupname, consumername, streams, count=..., block=..., noack=...): ...\n def xrevrange(self, name, max=..., min=..., count=...): ...\n def xtrim(self, name, maxlen, approximate=...): ...\n def zadd(\n self, name: _Key, mapping: Mapping[_Key, _Value], nx: bool = ..., xx: bool = ..., ch: bool = ..., incr: bool = ...\n ) -> int: ...\n def zcard(self, name): ...\n def zcount(self, name: _Key, min: _Value, max: _Value) -> int: ...\n def zincrby(self, name, value, amount=...): ...\n def zinterstore(self, dest, keys, aggregate=...): ...\n def zlexcount(self, name, min, max): ...\n def zpopmax(self, name, count=...): ...\n def zpopmin(self, name, count=...): ...\n def bzpopmax(self, keys, timeout=...): ...\n def bzpopmin(self, keys, timeout=...): ...\n def zrange(self, name, start, end, desc=..., withscores=..., score_cast_func=...): ...\n def zrangebylex(self, name, min, max, start=..., num=...): ...\n def zrangebyscore(self, name, min, max, start=..., num=..., withscores=..., score_cast_func=...): ...\n def zrank(self, name: _Key, value: _Key) -> Optional[int]: ...\n def zrem(self, name, *values): ...\n def zremrangebylex(self, name, min, max): ...\n def zremrangebyrank(self, name, min, max): ...\n def zremrangebyscore(self, name: _Key, min: _Value, max: _Value) -> int: ...\n def zrevrange(self, name, start, end, withscores=..., score_cast_func=...): ...\n def zrevrangebyscore(self, name, max, min, start=..., num=..., withscores=..., score_cast_func=...): ...\n def zrevrank(self, name, value): ...\n def zscore(self, name, value): ...\n def zunionstore(self, dest, keys, aggregate=...): ...\n def pfadd(self, name: _Key, *values: _Value) -> int: ...\n def pfcount(self, name: _Key) -> int: ...\n def pfmerge(self, dest: _Key, *sources: _Key) -> bool: ...\n def hdel(self, name: _Key, *keys: _Key) -> int: ...\n def hexists(self, name: _Key, key: _Key) -> bool: ...\n def hget(self, name: _Key, key: _Key) -> Optional[_StrType]: ...\n def hgetall(self, name: _Key) -> Dict[_StrType, _StrType]: ...\n def hincrby(self, name: _Key, key: _Key, amount: int = ...) -> int: ...\n def hincrbyfloat(self, name: _Key, key: _Key, amount: float = ...) -> float: ...\n def hkeys(self, name: _Key) -> List[_StrType]: ...\n def hlen(self, name: _Key) -> int: ...\n def hset(\n self, name: _Key, key: Optional[_Key], value: Optional[_Value], mapping: Optional[Mapping[_Value, _Value]] = ...\n ) -> int: ...\n def hsetnx(self, name: _Key, key: _Key, value: _Value) -> int: ...\n def hmset(self, name: _Key, mapping: Mapping[_Value, _Value]) -> bool: ...\n def hmget(self, name: _Key, keys: Union[_Key, Iterable[_Key]], *args: _Key) -> List[Optional[_StrType]]: ...\n def hvals(self, name: _Key) -> List[_StrType]: ...\n def publish(self, channel: _Key, message: _Key) -> int: ...\n def eval(self, script, numkeys, *keys_and_args): ...\n def evalsha(self, sha, numkeys, *keys_and_args): ...\n def script_exists(self, *args): ...\n def script_flush(self): ...\n def script_kill(self): ...\n def script_load(self, script): ...\n def register_script(self, script: Union[Text, _StrType]) -> Script: ...\n def pubsub_channels(self, pattern: _Key = ...) -> List[Text]: ...\n def pubsub_numsub(self, *args: _Key) -> List[Tuple[Text, int]]: ...\n def pubsub_numpat(self) -> int: ...\n def monitor(self) -> Monitor: ...\n def cluster(self, cluster_arg: str, *args: Any) -> Any: ...\n def __enter__(self) -> Redis: ...\n def __exit__(self, exc_type, exc_value, traceback): ...\n def client(self) -> Redis: ...\n\nStrictRedis = Redis\n\nclass PubSub:\n PUBLISH_MESSAGE_TYPES: Any\n UNSUBSCRIBE_MESSAGE_TYPES: Any\n connection_pool: Any\n shard_hint: Any\n ignore_subscribe_messages: Any\n connection: Any\n encoding: Any\n encoding_errors: Any\n decode_responses: Any\n def __init__(self, connection_pool, shard_hint=..., ignore_subscribe_messages=...) -> None: ...\n def __del__(self): ...\n channels: Any\n patterns: Any\n def reset(self): ...\n def close(self) -> None: ...\n def on_connect(self, connection): ...\n def encode(self, value): ...\n @property\n def subscribed(self): ...\n def execute_command(self, *args, **kwargs): ...\n def parse_response(self, block=...): ...\n def psubscribe(self, *args: _Key, **kwargs: Callable[[Any], None]): ...\n def punsubscribe(self, *args: _Key) -> None: ...\n def subscribe(self, *args: _Key, **kwargs: Callable[[Any], None]) -> None: ...\n def unsubscribe(self, *args: _Key) -> None: ...\n def listen(self): ...\n def get_message(self, ignore_subscribe_messages: bool = ..., timeout: float = ...) -> Optional[Dict[str, Any]]: ...\n def handle_message(self, response, ignore_subscribe_messages: bool = ...) -> Optional[Dict[str, Any]]: ...\n def run_in_thread(self, sleep_time=...): ...\n def ping(self, message: Optional[_Value] = ...) -> None: ...\n\nclass BasePipeline:\n UNWATCH_COMMANDS: Any\n connection_pool: Any\n connection: Any\n response_callbacks: Any\n transaction: Any\n shard_hint: Any\n watching: Any\n def __init__(self, connection_pool, response_callbacks, transaction, shard_hint) -> None: ...\n def __enter__(self): ...\n def __exit__(self, exc_type, exc_value, traceback): ...\n def __del__(self): ...\n def __len__(self): ...\n command_stack: Any\n scripts: Any\n explicit_transaction: Any\n def reset(self): ...\n def multi(self) -> None: ...\n def execute_command(self, *args, **kwargs): ...\n def immediate_execute_command(self, *args, **options): ...\n def pipeline_execute_command(self, *args, **options): ...\n def raise_first_error(self, commands, response): ...\n def annotate_exception(self, exception, number, command): ...\n def parse_response(self, connection, command_name, **options): ...\n def load_scripts(self): ...\n def execute(self, raise_on_error: bool = ...) -> List[Any]: ...\n def watch(self, *names: _Key) -> bool: ...\n def unwatch(self): ...\n def script_load_for_pipeline(self, script): ...\n\nclass StrictPipeline(BasePipeline, StrictRedis): ...\nclass Pipeline(BasePipeline, Redis): ...\n\nclass Script:\n registered_client: Any\n script: Any\n sha: Any\n def __init__(self, registered_client, script) -> None: ...\n def __call__(self, keys=..., args=..., client=...): ...\n\nclass Monitor(object):\n def __init__(self, connection_pool) -> None: ...\n def __enter__(self) -> Monitor: ...\n def __exit__(self, *args: Any) -> None: ...\n def next_command(self) -> Dict[Text, Any]: ...\n def listen(self) -> Iterable[Dict[Text, Any]]: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\redis\client.pyi | client.pyi | Other | 26,034 | 0.95 | 0.470774 | 0.003231 | react-lib | 459 | 2024-09-16T11:40:30.731420 | Apache-2.0 | false | e1bf2f45a1bfc4af17db1aea571f72c9 |
from typing import Any, List, Mapping, Optional, Text, Tuple, Type, Union\n\nssl_available: Any\nhiredis_version: Any\nHIREDIS_SUPPORTS_CALLABLE_ERRORS: Any\nHIREDIS_SUPPORTS_BYTE_BUFFER: Any\nmsg: Any\nHIREDIS_USE_BYTE_BUFFER: Any\nSYM_STAR: Any\nSYM_DOLLAR: Any\nSYM_CRLF: Any\nSYM_EMPTY: Any\nSERVER_CLOSED_CONNECTION_ERROR: Any\n\nclass BaseParser:\n EXCEPTION_CLASSES: Any\n def parse_error(self, response): ...\n\nclass SocketBuffer:\n socket_read_size: Any\n bytes_written: Any\n bytes_read: Any\n def __init__(self, socket, socket_read_size, socket_timeout) -> None: ...\n @property\n def length(self): ...\n def read(self, length): ...\n def readline(self): ...\n def purge(self): ...\n def close(self): ...\n def can_read(self, timeout): ...\n\nclass PythonParser(BaseParser):\n encoding: Any\n socket_read_size: Any\n def __init__(self, socket_read_size) -> None: ...\n def __del__(self): ...\n def on_connect(self, connection): ...\n def on_disconnect(self): ...\n def can_read(self, timeout): ...\n def read_response(self): ...\n\nclass HiredisParser(BaseParser):\n socket_read_size: Any\n def __init__(self, socket_read_size) -> None: ...\n def __del__(self): ...\n def on_connect(self, connection): ...\n def on_disconnect(self): ...\n def can_read(self, timeout): ...\n def read_from_socket(self, timeout=..., raise_on_timeout: bool = ...) -> bool: ...\n def read_response(self): ...\n\nDefaultParser: Any\n\nclass Encoder:\n def __init__(self, encoding, encoding_errors, decode_responses: bool) -> None: ...\n def encode(self, value: Union[Text, bytes, memoryview, bool, float]) -> bytes: ...\n def decode(self, value: Union[Text, bytes, memoryview], force: bool = ...) -> Text: ...\n\nclass Connection:\n description_format: Any\n pid: Any\n host: Any\n port: Any\n db: Any\n password: Any\n socket_timeout: Any\n socket_connect_timeout: Any\n socket_keepalive: Any\n socket_keepalive_options: Any\n retry_on_timeout: Any\n encoding: Any\n encoding_errors: Any\n decode_responses: Any\n def __init__(\n self,\n host: Text = ...,\n port: int = ...,\n db: int = ...,\n password: Optional[Text] = ...,\n socket_timeout: Optional[float] = ...,\n socket_connect_timeout: Optional[float] = ...,\n socket_keepalive: bool = ...,\n socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,\n socket_type: int = ...,\n retry_on_timeout: bool = ...,\n encoding: Text = ...,\n encoding_errors: Text = ...,\n decode_responses: bool = ...,\n parser_class: Type[BaseParser] = ...,\n socket_read_size: int = ...,\n health_check_interval: int = ...,\n client_name: Optional[Text] = ...,\n username: Optional[Text] = ...,\n ) -> None: ...\n def __del__(self): ...\n def register_connect_callback(self, callback): ...\n def clear_connect_callbacks(self): ...\n def connect(self): ...\n def on_connect(self): ...\n def disconnect(self): ...\n def check_health(self) -> None: ...\n def send_packed_command(self, command, check_health: bool = ...): ...\n def send_command(self, *args): ...\n def can_read(self, timeout=...): ...\n def read_response(self): ...\n def pack_command(self, *args): ...\n def pack_commands(self, commands): ...\n def repr_pieces(self) -> List[Tuple[Text, Text]]: ...\n\nclass SSLConnection(Connection):\n description_format: Any\n keyfile: Any\n certfile: Any\n cert_reqs: Any\n ca_certs: Any\n def __init__(\n self, ssl_keyfile=..., ssl_certfile=..., ssl_cert_reqs=..., ssl_ca_certs=..., ssl_check_hostname: bool = ..., **kwargs\n ) -> None: ...\n\nclass UnixDomainSocketConnection(Connection):\n description_format: Any\n pid: Any\n path: Any\n db: Any\n password: Any\n socket_timeout: Any\n retry_on_timeout: Any\n encoding: Any\n encoding_errors: Any\n decode_responses: Any\n def __init__(\n self,\n path=...,\n db: int = ...,\n username=...,\n password=...,\n socket_timeout=...,\n encoding=...,\n encoding_errors=...,\n decode_responses=...,\n retry_on_timeout=...,\n parser_class=...,\n socket_read_size: int = ...,\n health_check_interval: int = ...,\n client_name=...,\n ) -> None: ...\n def repr_pieces(self) -> List[Tuple[Text, Text]]: ...\n\ndef to_bool(value: object) -> bool: ...\n\nclass ConnectionPool:\n @classmethod\n def from_url(cls, url: Text, db: Optional[int] = ..., decode_components: bool = ..., **kwargs) -> ConnectionPool: ...\n connection_class: Any\n connection_kwargs: Any\n max_connections: Any\n def __init__(self, connection_class=..., max_connections=..., **connection_kwargs) -> None: ...\n pid: Any\n def reset(self): ...\n def get_connection(self, command_name, *keys, **options): ...\n def make_connection(self): ...\n def release(self, connection): ...\n def disconnect(self, inuse_connections: bool = ...): ...\n def get_encoder(self) -> Encoder: ...\n def owns_connection(self, connection: Connection) -> bool: ...\n\nclass BlockingConnectionPool(ConnectionPool):\n queue_class: Any\n timeout: Any\n def __init__(self, max_connections=..., timeout=..., connection_class=..., queue_class=..., **connection_kwargs) -> None: ...\n pid: Any\n pool: Any\n def reset(self): ...\n def make_connection(self): ...\n def get_connection(self, command_name, *keys, **options): ...\n def release(self, connection): ...\n def disconnect(self): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\redis\connection.pyi | connection.pyi | Other | 5,595 | 0.85 | 0.384181 | 0 | vue-tools | 544 | 2025-04-13T03:22:00.067793 | BSD-3-Clause | false | d1416435cc42361895b6e368808932f5 |
class RedisError(Exception): ...\n\ndef __unicode__(self): ...\n\nclass AuthenticationError(RedisError): ...\nclass ConnectionError(RedisError): ...\nclass TimeoutError(RedisError): ...\nclass BusyLoadingError(ConnectionError): ...\nclass InvalidResponse(RedisError): ...\nclass ResponseError(RedisError): ...\nclass DataError(RedisError): ...\nclass PubSubError(RedisError): ...\nclass WatchError(RedisError): ...\nclass NoScriptError(ResponseError): ...\nclass ExecAbortError(ResponseError): ...\nclass ReadOnlyError(ResponseError): ...\nclass LockError(RedisError, ValueError): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\redis\exceptions.pyi | exceptions.pyi | Other | 569 | 0.85 | 0.882353 | 0 | vue-tools | 53 | 2024-11-27T10:48:01.419492 | BSD-3-Clause | false | cd3e26ac1789f485857117af58d4fc9f |
from typing import Any\n\nHIREDIS_AVAILABLE: Any\n\ndef from_url(url, db=..., **kwargs): ...\ndef pipeline(redis_obj): ...\n\nclass dummy: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\redis\utils.pyi | utils.pyi | Other | 136 | 0.85 | 0.375 | 0 | python-kit | 165 | 2025-03-12T19:54:50.271099 | MIT | false | 90fe0b3fe8e7046dcebba5775451cf99 |
from . import client, connection, exceptions, utils\n\nRedis = client.Redis\nStrictRedis = client.StrictRedis\nBlockingConnectionPool = connection.BlockingConnectionPool\nConnectionPool = connection.ConnectionPool\nConnection = connection.Connection\nSSLConnection = connection.SSLConnection\nUnixDomainSocketConnection = connection.UnixDomainSocketConnection\nfrom_url = utils.from_url\nAuthenticationError = exceptions.AuthenticationError\nBusyLoadingError = exceptions.BusyLoadingError\nConnectionError = exceptions.ConnectionError\nDataError = exceptions.DataError\nInvalidResponse = exceptions.InvalidResponse\nPubSubError = exceptions.PubSubError\nReadOnlyError = exceptions.ReadOnlyError\nRedisError = exceptions.RedisError\nResponseError = exceptions.ResponseError\nTimeoutError = exceptions.TimeoutError\nWatchError = exceptions.WatchError\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\redis\__init__.pyi | __init__.pyi | Other | 829 | 0.85 | 0 | 0 | vue-tools | 541 | 2024-09-22T23:26:33.027509 | MIT | false | de3933e0d0f038451d7e96922358d281 |
from typing import Any, Container, Mapping, Optional, Text, Tuple, Union\n\nfrom . import cookies, exceptions, models, structures, utils\nfrom .packages.urllib3 import exceptions as urllib3_exceptions, poolmanager, response\nfrom .packages.urllib3.util import retry\n\nPreparedRequest = models.PreparedRequest\nResponse = models.Response\nPoolManager = poolmanager.PoolManager\nproxy_from_url = poolmanager.proxy_from_url\nHTTPResponse = response.HTTPResponse\nRetry = retry.Retry\nDEFAULT_CA_BUNDLE_PATH = utils.DEFAULT_CA_BUNDLE_PATH\nget_encoding_from_headers = utils.get_encoding_from_headers\nprepend_scheme_if_needed = utils.prepend_scheme_if_needed\nget_auth_from_url = utils.get_auth_from_url\nurldefragauth = utils.urldefragauth\nCaseInsensitiveDict = structures.CaseInsensitiveDict\nConnectTimeoutError = urllib3_exceptions.ConnectTimeoutError\nMaxRetryError = urllib3_exceptions.MaxRetryError\nProtocolError = urllib3_exceptions.ProtocolError\nReadTimeoutError = urllib3_exceptions.ReadTimeoutError\nResponseError = urllib3_exceptions.ResponseError\nextract_cookies_to_jar = cookies.extract_cookies_to_jar\nConnectionError = exceptions.ConnectionError\nConnectTimeout = exceptions.ConnectTimeout\nReadTimeout = exceptions.ReadTimeout\nSSLError = exceptions.SSLError\nProxyError = exceptions.ProxyError\nRetryError = exceptions.RetryError\n\nDEFAULT_POOLBLOCK: Any\nDEFAULT_POOLSIZE: Any\nDEFAULT_RETRIES: Any\n\nclass BaseAdapter:\n def __init__(self) -> None: ...\n def send(\n self,\n request: PreparedRequest,\n stream: bool = ...,\n timeout: Union[None, float, Tuple[float, float], Tuple[float, None]] = ...,\n verify: Union[bool, str] = ...,\n cert: Union[None, Union[bytes, Text], Container[Union[bytes, Text]]] = ...,\n proxies: Optional[Mapping[str, str]] = ...,\n ) -> Response: ...\n def close(self) -> None: ...\n\nclass HTTPAdapter(BaseAdapter):\n __attrs__: Any\n max_retries: Any\n config: Any\n proxy_manager: Any\n def __init__(self, pool_connections=..., pool_maxsize=..., max_retries=..., pool_block=...) -> None: ...\n poolmanager: Any\n def init_poolmanager(self, connections, maxsize, block=..., **pool_kwargs): ...\n def proxy_manager_for(self, proxy, **proxy_kwargs): ...\n def cert_verify(self, conn, url, verify, cert): ...\n def build_response(self, req, resp): ...\n def get_connection(self, url, proxies=...): ...\n def close(self): ...\n def request_url(self, request, proxies): ...\n def add_headers(self, request, **kwargs): ...\n def proxy_headers(self, proxy): ...\n def send(\n self,\n request: PreparedRequest,\n stream: bool = ...,\n timeout: Union[None, float, Tuple[float, float], Tuple[float, None]] = ...,\n verify: Union[bool, str] = ...,\n cert: Union[None, Union[bytes, Text], Container[Union[bytes, Text]]] = ...,\n proxies: Optional[Mapping[str, str]] = ...,\n ) -> Response: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\adapters.pyi | adapters.pyi | Other | 2,925 | 0.85 | 0.219178 | 0 | python-kit | 125 | 2023-12-08T08:23:55.357476 | GPL-3.0 | false | dcf7802394bbb0bdd6123d24e44bf025 |
from _typeshed import SupportsItems\nfrom typing import Iterable, Optional, Text, Tuple, Union\n\nfrom .models import Response\nfrom .sessions import _Data\n\n_ParamsMappingKeyType = Union[Text, bytes, int, float]\n_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]], None]\n\ndef request(method: str, url: str, **kwargs) -> Response: ...\ndef get(\n url: Union[Text, bytes],\n params: Optional[\n Union[\n SupportsItems[_ParamsMappingKeyType, _ParamsMappingValueType],\n Tuple[_ParamsMappingKeyType, _ParamsMappingValueType],\n Iterable[Tuple[_ParamsMappingKeyType, _ParamsMappingValueType]],\n Union[Text, bytes],\n ]\n ] = ...,\n **kwargs,\n) -> Response: ...\ndef options(url: Union[Text, bytes], **kwargs) -> Response: ...\ndef head(url: Union[Text, bytes], **kwargs) -> Response: ...\ndef post(url: Union[Text, bytes], data: _Data = ..., json=..., **kwargs) -> Response: ...\ndef put(url: Union[Text, bytes], data: _Data = ..., json=..., **kwargs) -> Response: ...\ndef patch(url: Union[Text, bytes], data: _Data = ..., json=..., **kwargs) -> Response: ...\ndef delete(url: Union[Text, bytes], **kwargs) -> Response: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\api.pyi | api.pyi | Other | 1,216 | 0.85 | 0.285714 | 0.04 | vue-tools | 275 | 2025-05-07T00:01:27.544192 | MIT | false | 5f13fec309db3de0493615b5e6120fcb |
from typing import Any, Text, Union\n\nfrom . import cookies, models, status_codes, utils\n\nextract_cookies_to_jar = cookies.extract_cookies_to_jar\nparse_dict_header = utils.parse_dict_header\nto_native_string = utils.to_native_string\n\nCONTENT_TYPE_FORM_URLENCODED: Any\nCONTENT_TYPE_MULTI_PART: Any\n\ndef _basic_auth_str(username: Union[bytes, Text], password: Union[bytes, Text]) -> str: ...\n\nclass AuthBase:\n def __call__(self, r: models.PreparedRequest) -> models.PreparedRequest: ...\n\nclass HTTPBasicAuth(AuthBase):\n username: Any\n password: Any\n def __init__(self, username, password) -> None: ...\n def __call__(self, r): ...\n\nclass HTTPProxyAuth(HTTPBasicAuth):\n def __call__(self, r): ...\n\nclass HTTPDigestAuth(AuthBase):\n username: Any\n password: Any\n last_nonce: Any\n nonce_count: Any\n chal: Any\n pos: Any\n num_401_calls: Any\n def __init__(self, username, password) -> None: ...\n def build_digest_header(self, method, url): ...\n def handle_redirect(self, r, **kwargs): ...\n def handle_401(self, r, **kwargs): ...\n def __call__(self, r): ...\n def init_per_thread_state(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\auth.pyi | auth.pyi | Other | 1,148 | 0.85 | 0.384615 | 0 | node-utils | 466 | 2023-12-08T04:20:48.407059 | BSD-3-Clause | false | 6e1c258c4aae61c58d25dd1f311e8b2d |
import collections\n\nOrderedDict = collections.OrderedDict\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\compat.pyi | compat.pyi | Other | 58 | 0.65 | 0 | 0 | vue-tools | 425 | 2025-05-07T12:43:47.076903 | BSD-3-Clause | false | ca4f174eee5c6172a8d8173b67a0b799 |
import sys\nfrom typing import Any, MutableMapping\n\nif sys.version_info < (3, 0):\n from cookielib import CookieJar\nelse:\n from http.cookiejar import CookieJar\n\nclass MockRequest:\n type: Any\n def __init__(self, request) -> None: ...\n def get_type(self): ...\n def get_host(self): ...\n def get_origin_req_host(self): ...\n def get_full_url(self): ...\n def is_unverifiable(self): ...\n def has_header(self, name): ...\n def get_header(self, name, default=...): ...\n def add_header(self, key, val): ...\n def add_unredirected_header(self, name, value): ...\n def get_new_headers(self): ...\n @property\n def unverifiable(self): ...\n @property\n def origin_req_host(self): ...\n @property\n def host(self): ...\n\nclass MockResponse:\n def __init__(self, headers) -> None: ...\n def info(self): ...\n def getheaders(self, name): ...\n\ndef extract_cookies_to_jar(jar, request, response): ...\ndef get_cookie_header(jar, request): ...\ndef remove_cookie_by_name(cookiejar, name, domain=..., path=...): ...\n\nclass CookieConflictError(RuntimeError): ...\n\nclass RequestsCookieJar(CookieJar, MutableMapping[Any, Any]):\n def get(self, name, default=..., domain=..., path=...): ...\n def set(self, name, value, **kwargs): ...\n def iterkeys(self): ...\n def keys(self): ...\n def itervalues(self): ...\n def values(self): ...\n def iteritems(self): ...\n def items(self): ...\n def list_domains(self): ...\n def list_paths(self): ...\n def multiple_domains(self): ...\n def get_dict(self, domain=..., path=...): ...\n def __getitem__(self, name): ...\n def __setitem__(self, name, value): ...\n def __delitem__(self, name): ...\n def set_cookie(self, cookie, *args, **kwargs): ...\n def update(self, other): ...\n def copy(self): ...\n def get_policy(self): ...\n\ndef create_cookie(name, value, **kwargs): ...\ndef morsel_to_cookie(morsel): ...\ndef cookiejar_from_dict(cookie_dict, cookiejar=..., overwrite=...): ...\ndef merge_cookies(cookiejar, cookies): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\cookies.pyi | cookies.pyi | Other | 2,033 | 0.85 | 0.75 | 0 | awesome-app | 347 | 2025-03-15T04:32:31.815685 | MIT | false | 01a80f36a418e42945f597b312c49447 |
from typing import Any\n\nfrom .packages.urllib3.exceptions import HTTPError as BaseHTTPError\n\nclass RequestException(IOError):\n response: Any\n request: Any\n def __init__(self, *args, **kwargs) -> None: ...\n\nclass HTTPError(RequestException): ...\nclass ConnectionError(RequestException): ...\nclass ProxyError(ConnectionError): ...\nclass SSLError(ConnectionError): ...\nclass Timeout(RequestException): ...\nclass ConnectTimeout(ConnectionError, Timeout): ...\nclass ReadTimeout(Timeout): ...\nclass URLRequired(RequestException): ...\nclass TooManyRedirects(RequestException): ...\nclass MissingSchema(RequestException, ValueError): ...\nclass InvalidSchema(RequestException, ValueError): ...\nclass InvalidURL(RequestException, ValueError): ...\nclass InvalidHeader(RequestException, ValueError): ...\nclass InvalidProxyURL(InvalidURL): ...\nclass ChunkedEncodingError(RequestException): ...\nclass ContentDecodingError(RequestException, BaseHTTPError): ...\nclass StreamConsumedError(RequestException, TypeError): ...\nclass RetryError(RequestException): ...\nclass UnrewindableBodyError(RequestException): ...\nclass RequestsWarning(Warning): ...\nclass FileModeWarning(RequestsWarning, DeprecationWarning): ...\nclass RequestsDependencyWarning(RequestsWarning): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\exceptions.pyi | exceptions.pyi | Other | 1,259 | 0.85 | 0.774194 | 0 | react-lib | 624 | 2024-12-11T23:39:11.767995 | BSD-3-Clause | false | b1ed04cc7785ee93342aa6996f58b3a5 |
from typing import Any\n\nHOOKS: Any\n\ndef default_hooks(): ...\ndef dispatch_hook(key, hooks, hook_data, **kwargs): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\hooks.pyi | hooks.pyi | Other | 117 | 0.85 | 0.333333 | 0 | node-utils | 979 | 2025-01-01T20:50:56.261038 | GPL-3.0 | false | 3b1f55651da35981cf06e5cf06f5dc79 |
import datetime\nfrom typing import Any, Dict, Iterator, List, Optional, Text, Union\n\nfrom . import auth, cookies, exceptions, hooks, status_codes, structures, utils\nfrom .cookies import RequestsCookieJar\nfrom .packages.urllib3 import exceptions as urllib3_exceptions, fields, filepost, util\n\ndefault_hooks = hooks.default_hooks\nCaseInsensitiveDict = structures.CaseInsensitiveDict\nHTTPBasicAuth = auth.HTTPBasicAuth\ncookiejar_from_dict = cookies.cookiejar_from_dict\nget_cookie_header = cookies.get_cookie_header\nRequestField = fields.RequestField\nencode_multipart_formdata = filepost.encode_multipart_formdata\nparse_url = util.parse_url\nDecodeError = urllib3_exceptions.DecodeError\nReadTimeoutError = urllib3_exceptions.ReadTimeoutError\nProtocolError = urllib3_exceptions.ProtocolError\nLocationParseError = urllib3_exceptions.LocationParseError\nHTTPError = exceptions.HTTPError\nMissingSchema = exceptions.MissingSchema\nInvalidURL = exceptions.InvalidURL\nChunkedEncodingError = exceptions.ChunkedEncodingError\nContentDecodingError = exceptions.ContentDecodingError\nConnectionError = exceptions.ConnectionError\nStreamConsumedError = exceptions.StreamConsumedError\nguess_filename = utils.guess_filename\nget_auth_from_url = utils.get_auth_from_url\nrequote_uri = utils.requote_uri\nstream_decode_response_unicode = utils.stream_decode_response_unicode\nto_key_val_list = utils.to_key_val_list\nparse_header_links = utils.parse_header_links\niter_slices = utils.iter_slices\nguess_json_utf = utils.guess_json_utf\nsuper_len = utils.super_len\nto_native_string = utils.to_native_string\ncodes = status_codes.codes\n\nREDIRECT_STATI: Any\nDEFAULT_REDIRECT_LIMIT: Any\nCONTENT_CHUNK_SIZE: Any\nITER_CHUNK_SIZE: Any\n\nclass RequestEncodingMixin:\n @property\n def path_url(self): ...\n\nclass RequestHooksMixin:\n def register_hook(self, event, hook): ...\n def deregister_hook(self, event, hook): ...\n\nclass Request(RequestHooksMixin):\n hooks: Any\n method: Any\n url: Any\n headers: Any\n files: Any\n data: Any\n json: Any\n params: Any\n auth: Any\n cookies: Any\n def __init__(\n self, method=..., url=..., headers=..., files=..., data=..., params=..., auth=..., cookies=..., hooks=..., json=...\n ) -> None: ...\n def prepare(self) -> PreparedRequest: ...\n\nclass PreparedRequest(RequestEncodingMixin, RequestHooksMixin):\n method: Optional[Union[str, Text]]\n url: Optional[Union[str, Text]]\n headers: CaseInsensitiveDict[str]\n body: Optional[Union[bytes, Text]]\n hooks: Any\n def __init__(self) -> None: ...\n def prepare(\n self, method=..., url=..., headers=..., files=..., data=..., params=..., auth=..., cookies=..., hooks=..., json=...\n ) -> None: ...\n def copy(self) -> PreparedRequest: ...\n def prepare_method(self, method) -> None: ...\n def prepare_url(self, url, params) -> None: ...\n def prepare_headers(self, headers) -> None: ...\n def prepare_body(self, data, files, json=...) -> None: ...\n def prepare_content_length(self, body) -> None: ...\n def prepare_auth(self, auth, url=...) -> None: ...\n def prepare_cookies(self, cookies) -> None: ...\n def prepare_hooks(self, hooks) -> None: ...\n\nclass Response:\n __attrs__: Any\n _content: Optional[bytes] # undocumented\n status_code: int\n headers: CaseInsensitiveDict[str]\n raw: Any\n url: str\n encoding: str\n history: List[Response]\n reason: str\n cookies: RequestsCookieJar\n elapsed: datetime.timedelta\n request: PreparedRequest\n def __init__(self) -> None: ...\n def __bool__(self) -> bool: ...\n def __nonzero__(self) -> bool: ...\n def __iter__(self) -> Iterator[bytes]: ...\n def __enter__(self) -> Response: ...\n def __exit__(self, *args: Any) -> None: ...\n @property\n def next(self) -> Optional[PreparedRequest]: ...\n @property\n def ok(self) -> bool: ...\n @property\n def is_redirect(self) -> bool: ...\n @property\n def is_permanent_redirect(self) -> bool: ...\n @property\n def apparent_encoding(self) -> str: ...\n def iter_content(self, chunk_size: Optional[int] = ..., decode_unicode: bool = ...) -> Iterator[Any]: ...\n def iter_lines(\n self, chunk_size: Optional[int] = ..., decode_unicode: bool = ..., delimiter: Optional[Union[Text, bytes]] = ...\n ) -> Iterator[Any]: ...\n @property\n def content(self) -> bytes: ...\n @property\n def text(self) -> str: ...\n def json(self, **kwargs) -> Any: ...\n @property\n def links(self) -> Dict[Any, Any]: ...\n def raise_for_status(self) -> None: ...\n def close(self) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\models.pyi | models.pyi | Other | 4,578 | 0.95 | 0.310078 | 0 | vue-tools | 655 | 2023-10-11T11:53:24.169881 | BSD-3-Clause | false | 7a1977988ecaf375f34b7cabe56a6c34 |
from typing import IO, Any, Callable, Iterable, List, Mapping, MutableMapping, Optional, Text, Tuple, Union\n\nfrom . import adapters, auth as _auth, compat, cookies, exceptions, hooks, models, status_codes, structures, utils\nfrom .models import Response\nfrom .packages.urllib3 import _collections\n\nBaseAdapter = adapters.BaseAdapter\nOrderedDict = compat.OrderedDict\ncookiejar_from_dict = cookies.cookiejar_from_dict\nextract_cookies_to_jar = cookies.extract_cookies_to_jar\nRequestsCookieJar = cookies.RequestsCookieJar\nmerge_cookies = cookies.merge_cookies\nRequest = models.Request\nPreparedRequest = models.PreparedRequest\nDEFAULT_REDIRECT_LIMIT = models.DEFAULT_REDIRECT_LIMIT\ndefault_hooks = hooks.default_hooks\ndispatch_hook = hooks.dispatch_hook\nto_key_val_list = utils.to_key_val_list\ndefault_headers = utils.default_headers\nto_native_string = utils.to_native_string\nTooManyRedirects = exceptions.TooManyRedirects\nInvalidSchema = exceptions.InvalidSchema\nChunkedEncodingError = exceptions.ChunkedEncodingError\nContentDecodingError = exceptions.ContentDecodingError\nRecentlyUsedContainer = _collections.RecentlyUsedContainer\nCaseInsensitiveDict = structures.CaseInsensitiveDict\nHTTPAdapter = adapters.HTTPAdapter\nrequote_uri = utils.requote_uri\nget_environ_proxies = utils.get_environ_proxies\nget_netrc_auth = utils.get_netrc_auth\nshould_bypass_proxies = utils.should_bypass_proxies\nget_auth_from_url = utils.get_auth_from_url\ncodes = status_codes.codes\nREDIRECT_STATI = models.REDIRECT_STATI\n\ndef merge_setting(request_setting, session_setting, dict_class=...): ...\ndef merge_hooks(request_hooks, session_hooks, dict_class=...): ...\n\nclass SessionRedirectMixin:\n def resolve_redirects(self, resp, req, stream=..., timeout=..., verify=..., cert=..., proxies=...): ...\n def rebuild_auth(self, prepared_request, response): ...\n def rebuild_proxies(self, prepared_request, proxies): ...\n\n_Data = Union[None, Text, bytes, Mapping[str, Any], Mapping[Text, Any], Iterable[Tuple[Text, Optional[Text]]], IO]\n\n_Hook = Callable[[Response], Any]\n_Hooks = MutableMapping[Text, List[_Hook]]\n_HooksInput = MutableMapping[Text, Union[Iterable[_Hook], _Hook]]\n\nclass Session(SessionRedirectMixin):\n __attrs__: Any\n headers: CaseInsensitiveDict[Text]\n auth: Union[None, Tuple[Text, Text], _auth.AuthBase, Callable[[Request], Request]]\n proxies: MutableMapping[Text, Text]\n hooks: _Hooks\n params: Union[bytes, MutableMapping[Text, Text]]\n stream: bool\n verify: Union[None, bool, Text]\n cert: Union[None, Text, Tuple[Text, Text]]\n max_redirects: int\n trust_env: bool\n cookies: RequestsCookieJar\n adapters: MutableMapping[Any, Any]\n redirect_cache: RecentlyUsedContainer[Any, Any]\n def __init__(self) -> None: ...\n def __enter__(self) -> Session: ...\n def __exit__(self, *args) -> None: ...\n def prepare_request(self, request): ...\n def request(\n self,\n method: str,\n url: Union[str, bytes, Text],\n params: Union[None, bytes, MutableMapping[Text, Text]] = ...,\n data: _Data = ...,\n headers: Optional[MutableMapping[Text, Text]] = ...,\n cookies: Union[None, RequestsCookieJar, MutableMapping[Text, Text]] = ...,\n files: Optional[MutableMapping[Text, IO[Any]]] = ...,\n auth: Union[None, Tuple[Text, Text], _auth.AuthBase, Callable[[Request], Request]] = ...,\n timeout: Union[None, float, Tuple[float, float], Tuple[float, None]] = ...,\n allow_redirects: Optional[bool] = ...,\n proxies: Optional[MutableMapping[Text, Text]] = ...,\n hooks: Optional[_HooksInput] = ...,\n stream: Optional[bool] = ...,\n verify: Union[None, bool, Text] = ...,\n cert: Union[Text, Tuple[Text, Text], None] = ...,\n json: Optional[Any] = ...,\n ) -> Response: ...\n def get(self, url: Union[Text, bytes], **kwargs) -> Response: ...\n def options(self, url: Union[Text, bytes], **kwargs) -> Response: ...\n def head(self, url: Union[Text, bytes], **kwargs) -> Response: ...\n def post(self, url: Union[Text, bytes], data: _Data = ..., json: Optional[Any] = ..., **kwargs) -> Response: ...\n def put(self, url: Union[Text, bytes], data: _Data = ..., **kwargs) -> Response: ...\n def patch(self, url: Union[Text, bytes], data: _Data = ..., **kwargs) -> Response: ...\n def delete(self, url: Union[Text, bytes], **kwargs) -> Response: ...\n def send(self, request: PreparedRequest, **kwargs) -> Response: ...\n def merge_environment_settings(self, url, proxies, stream, verify, cert): ...\n def get_adapter(self, url): ...\n def close(self) -> None: ...\n def mount(self, prefix: Union[Text, bytes], adapter: BaseAdapter) -> None: ...\n\ndef session() -> Session: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\sessions.pyi | sessions.pyi | Other | 4,727 | 0.85 | 0.247525 | 0 | vue-tools | 980 | 2025-02-19T09:01:38.939115 | Apache-2.0 | false | 4be9b897c011c35ebbdc8e065268d58c |
from typing import Any\n\ncodes: Any\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\status_codes.pyi | status_codes.pyi | Other | 35 | 0.65 | 0 | 0 | awesome-app | 679 | 2024-01-28T00:11:01.407346 | GPL-3.0 | false | 31d5ef501e38fcb235df8d728c50522a |
from typing import Any, Dict, Generic, Iterable, Iterator, Mapping, MutableMapping, Optional, Tuple, TypeVar, Union\n\n_VT = TypeVar("_VT")\n\nclass CaseInsensitiveDict(MutableMapping[str, _VT], Generic[_VT]):\n def __init__(self, data: Optional[Union[Mapping[str, _VT], Iterable[Tuple[str, _VT]]]] = ..., **kwargs: _VT) -> None: ...\n def lower_items(self) -> Iterator[Tuple[str, _VT]]: ...\n def __setitem__(self, key: str, value: _VT) -> None: ...\n def __getitem__(self, key: str) -> _VT: ...\n def __delitem__(self, key: str) -> None: ...\n def __iter__(self) -> Iterator[str]: ...\n def __len__(self) -> int: ...\n def copy(self) -> CaseInsensitiveDict[_VT]: ...\n\nclass LookupDict(Dict[str, _VT]):\n name: Any\n def __init__(self, name: Any = ...) -> None: ...\n def __getitem__(self, key: str) -> Optional[_VT]: ... # type: ignore\n def __getattr__(self, attr: str) -> _VT: ...\n def __setattr__(self, attr: str, value: _VT) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\structures.pyi | structures.pyi | Other | 968 | 0.95 | 0.7 | 0 | vue-tools | 318 | 2024-07-10T08:57:49.878517 | GPL-3.0 | false | 4fed11c3f6ca8eea15d9e7cc67ca0d9d |
from typing import Any, AnyStr, Dict, Iterable, Mapping, Optional, Text, Tuple\n\nfrom . import compat, cookies, exceptions, structures\n\nOrderedDict = compat.OrderedDict\nRequestsCookieJar = cookies.RequestsCookieJar\ncookiejar_from_dict = cookies.cookiejar_from_dict\nCaseInsensitiveDict = structures.CaseInsensitiveDict\nInvalidURL = exceptions.InvalidURL\n\nNETRC_FILES: Any\nDEFAULT_CA_BUNDLE_PATH: Any\nDEFAULT_PORTS: Any\n\ndef dict_to_sequence(d): ...\ndef super_len(o): ...\ndef get_netrc_auth(url, raise_errors: bool = ...): ...\ndef guess_filename(obj): ...\ndef extract_zipped_paths(path): ...\ndef from_key_val_list(value): ...\ndef to_key_val_list(value): ...\ndef parse_list_header(value): ...\ndef parse_dict_header(value): ...\ndef unquote_header_value(value, is_filename=...): ...\ndef dict_from_cookiejar(cj): ...\ndef add_dict_to_cookiejar(cj, cookie_dict): ...\ndef get_encodings_from_content(content): ...\ndef get_encoding_from_headers(headers): ...\ndef stream_decode_response_unicode(iterator, r): ...\ndef iter_slices(string, slice_length): ...\ndef get_unicode_from_response(r): ...\n\nUNRESERVED_SET: Any\n\ndef unquote_unreserved(uri): ...\ndef requote_uri(uri): ...\ndef address_in_network(ip, net): ...\ndef dotted_netmask(mask): ...\ndef is_ipv4_address(string_ip): ...\ndef is_valid_cidr(string_network): ...\ndef set_environ(env_name, value): ...\ndef should_bypass_proxies(url, no_proxy: Optional[Iterable[AnyStr]]) -> bool: ...\ndef get_environ_proxies(url, no_proxy: Optional[Iterable[AnyStr]] = ...) -> Dict[Any, Any]: ...\ndef select_proxy(url: Text, proxies: Optional[Mapping[Any, Any]]): ...\ndef default_user_agent(name=...): ...\ndef default_headers(): ...\ndef parse_header_links(value): ...\ndef guess_json_utf(data): ...\ndef prepend_scheme_if_needed(url, new_scheme): ...\ndef get_auth_from_url(url): ...\ndef to_native_string(string, encoding=...): ...\ndef urldefragauth(url): ...\ndef rewind_body(prepared_request): ...\ndef check_header_validity(header: Tuple[AnyStr, AnyStr]) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\utils.pyi | utils.pyi | Other | 1,989 | 0.85 | 0.685185 | 0 | python-kit | 214 | 2024-11-01T20:27:47.508403 | GPL-3.0 | false | a3fe5f77d961b06361444c8c1478e3c5 |
import logging\nfrom typing import Any, Text\n\nfrom .api import (\n delete as delete,\n get as get,\n head as head,\n options as options,\n patch as patch,\n post as post,\n put as put,\n request as request,\n)\nfrom .exceptions import (\n ConnectionError as ConnectionError,\n HTTPError as HTTPError,\n ReadTimeout as ReadTimeout,\n RequestException as RequestException,\n Timeout as Timeout,\n TooManyRedirects as TooManyRedirects,\n URLRequired as URLRequired,\n)\nfrom .models import PreparedRequest as PreparedRequest, Request as Request, Response as Response\nfrom .sessions import Session as Session, session as session\nfrom .status_codes import codes as codes\n\n__title__: Any\n__build__: Any\n__license__: Any\n__copyright__: Any\n__version__: Any\n\nclass NullHandler(logging.Handler):\n def emit(self, record): ...\n\ndef check_compatibility(urllib3_version: Text, chardet_version: Text) -> None: ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\__init__.pyi | __init__.pyi | Other | 928 | 0.85 | 0.083333 | 0 | node-utils | 625 | 2024-10-16T19:17:13.691784 | GPL-3.0 | false | 21c42a7235624b95cb1bd3dc4d4ef7a7 |
class VendorAlias:\n def __init__(self, package_names) -> None: ...\n def find_module(self, fullname, path=...): ...\n def load_module(self, name): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\__init__.pyi | __init__.pyi | Other | 158 | 0.85 | 1 | 0 | vue-tools | 918 | 2024-11-12T14:54:40.040547 | Apache-2.0 | false | a36078317893bff0a3ea766cd48d22fe |
import ssl\nimport sys\nfrom typing import Any\n\nfrom . import exceptions, util\nfrom .packages import ssl_match_hostname\nfrom .util import ssl_\n\nif sys.version_info < (3, 0):\n from httplib import HTTPConnection as _HTTPConnection, HTTPException as HTTPException\n class ConnectionError(Exception): ...\n\nelse:\n from builtins import ConnectionError as ConnectionError\n from http.client import HTTPConnection as _HTTPConnection, HTTPException as HTTPException\n\nclass DummyConnection: ...\n\nBaseSSLError = ssl.SSLError\n\nConnectTimeoutError = exceptions.ConnectTimeoutError\nSystemTimeWarning = exceptions.SystemTimeWarning\nSecurityWarning = exceptions.SecurityWarning\nmatch_hostname = ssl_match_hostname.match_hostname\nresolve_cert_reqs = ssl_.resolve_cert_reqs\nresolve_ssl_version = ssl_.resolve_ssl_version\nssl_wrap_socket = ssl_.ssl_wrap_socket\nassert_fingerprint = ssl_.assert_fingerprint\nconnection = util.connection\n\nport_by_scheme: Any\nRECENT_DATE: Any\n\nclass HTTPConnection(_HTTPConnection):\n default_port: Any\n default_socket_options: Any\n is_verified: Any\n source_address: Any\n socket_options: Any\n def __init__(self, *args, **kw) -> None: ...\n def connect(self): ...\n\nclass HTTPSConnection(HTTPConnection):\n default_port: Any\n key_file: Any\n cert_file: Any\n def __init__(self, host, port=..., key_file=..., cert_file=..., strict=..., timeout=..., **kw) -> None: ...\n sock: Any\n def connect(self): ...\n\nclass VerifiedHTTPSConnection(HTTPSConnection):\n cert_reqs: Any\n ca_certs: Any\n ssl_version: Any\n assert_fingerprint: Any\n key_file: Any\n cert_file: Any\n assert_hostname: Any\n def set_cert(self, key_file=..., cert_file=..., cert_reqs=..., ca_certs=..., assert_hostname=..., assert_fingerprint=...): ...\n sock: Any\n auto_open: Any\n is_verified: Any\n def connect(self): ...\n\nUnverifiedHTTPSConnection = HTTPSConnection\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\connection.pyi | connection.pyi | Other | 1,907 | 0.85 | 0.184615 | 0 | vue-tools | 308 | 2024-07-29T05:07:46.263827 | MIT | false | 0de3c75b057ef3a09683ec30e5e71633 |
from typing import Any\n\nfrom . import connection, exceptions, request, response\nfrom .connection import BaseSSLError as BaseSSLError, ConnectionError as ConnectionError, HTTPException as HTTPException\nfrom .packages import ssl_match_hostname\nfrom .util import connection as _connection, retry, timeout, url\n\nClosedPoolError = exceptions.ClosedPoolError\nProtocolError = exceptions.ProtocolError\nEmptyPoolError = exceptions.EmptyPoolError\nHostChangedError = exceptions.HostChangedError\nLocationValueError = exceptions.LocationValueError\nMaxRetryError = exceptions.MaxRetryError\nProxyError = exceptions.ProxyError\nReadTimeoutError = exceptions.ReadTimeoutError\nSSLError = exceptions.SSLError\nTimeoutError = exceptions.TimeoutError\nInsecureRequestWarning = exceptions.InsecureRequestWarning\nCertificateError = ssl_match_hostname.CertificateError\nport_by_scheme = connection.port_by_scheme\nDummyConnection = connection.DummyConnection\nHTTPConnection = connection.HTTPConnection\nHTTPSConnection = connection.HTTPSConnection\nVerifiedHTTPSConnection = connection.VerifiedHTTPSConnection\nRequestMethods = request.RequestMethods\nHTTPResponse = response.HTTPResponse\nis_connection_dropped = _connection.is_connection_dropped\nRetry = retry.Retry\nTimeout = timeout.Timeout\nget_host = url.get_host\n\nxrange: Any\nlog: Any\n\nclass ConnectionPool:\n scheme: Any\n QueueCls: Any\n host: Any\n port: Any\n def __init__(self, host, port=...) -> None: ...\n def __enter__(self): ...\n def __exit__(self, exc_type, exc_val, exc_tb): ...\n def close(self): ...\n\nclass HTTPConnectionPool(ConnectionPool, RequestMethods):\n scheme: Any\n ConnectionCls: Any\n strict: Any\n timeout: Any\n retries: Any\n pool: Any\n block: Any\n proxy: Any\n proxy_headers: Any\n num_connections: Any\n num_requests: Any\n conn_kw: Any\n def __init__(\n self,\n host,\n port=...,\n strict=...,\n timeout=...,\n maxsize=...,\n block=...,\n headers=...,\n retries=...,\n _proxy=...,\n _proxy_headers=...,\n **conn_kw,\n ) -> None: ...\n def close(self): ...\n def is_same_host(self, url): ...\n def urlopen(\n self,\n method,\n url,\n body=...,\n headers=...,\n retries=...,\n redirect=...,\n assert_same_host=...,\n timeout=...,\n pool_timeout=...,\n release_conn=...,\n **response_kw,\n ): ...\n\nclass HTTPSConnectionPool(HTTPConnectionPool):\n scheme: Any\n ConnectionCls: Any\n key_file: Any\n cert_file: Any\n cert_reqs: Any\n ca_certs: Any\n ssl_version: Any\n assert_hostname: Any\n assert_fingerprint: Any\n def __init__(\n self,\n host,\n port=...,\n strict=...,\n timeout=...,\n maxsize=...,\n block=...,\n headers=...,\n retries=...,\n _proxy=...,\n _proxy_headers=...,\n key_file=...,\n cert_file=...,\n cert_reqs=...,\n ca_certs=...,\n ssl_version=...,\n assert_hostname=...,\n assert_fingerprint=...,\n **conn_kw,\n ) -> None: ...\n\ndef connection_from_url(url, **kw): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\connectionpool.pyi | connectionpool.pyi | Other | 3,170 | 0.85 | 0.107438 | 0.026316 | vue-tools | 866 | 2025-07-01T06:15:27.716799 | Apache-2.0 | false | d0477fcae3b88f7240cdf40dbfd60370 |
from typing import Any\n\nclass HTTPError(Exception): ...\nclass HTTPWarning(Warning): ...\n\nclass PoolError(HTTPError):\n pool: Any\n def __init__(self, pool, message) -> None: ...\n def __reduce__(self): ...\n\nclass RequestError(PoolError):\n url: Any\n def __init__(self, pool, url, message) -> None: ...\n def __reduce__(self): ...\n\nclass SSLError(HTTPError): ...\nclass ProxyError(HTTPError): ...\nclass DecodeError(HTTPError): ...\nclass ProtocolError(HTTPError): ...\n\nConnectionError: Any\n\nclass MaxRetryError(RequestError):\n reason: Any\n def __init__(self, pool, url, reason=...) -> None: ...\n\nclass HostChangedError(RequestError):\n retries: Any\n def __init__(self, pool, url, retries=...) -> None: ...\n\nclass TimeoutStateError(HTTPError): ...\nclass TimeoutError(HTTPError): ...\nclass ReadTimeoutError(TimeoutError, RequestError): ...\nclass ConnectTimeoutError(TimeoutError): ...\nclass EmptyPoolError(PoolError): ...\nclass ClosedPoolError(PoolError): ...\nclass LocationValueError(ValueError, HTTPError): ...\n\nclass LocationParseError(LocationValueError):\n location: Any\n def __init__(self, location) -> None: ...\n\nclass ResponseError(HTTPError):\n GENERIC_ERROR: Any\n SPECIFIC_ERROR: Any\n\nclass SecurityWarning(HTTPWarning): ...\nclass InsecureRequestWarning(SecurityWarning): ...\nclass SystemTimeWarning(SecurityWarning): ...\nclass InsecurePlatformWarning(SecurityWarning): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\exceptions.pyi | exceptions.pyi | Other | 1,413 | 0.85 | 0.6 | 0 | vue-tools | 845 | 2024-07-09T22:02:02.868273 | BSD-3-Clause | false | 4ee69e25acc12daab566429cc8053d68 |
from typing import Any\n\ndef guess_content_type(filename, default=...): ...\ndef format_header_param(name, value): ...\n\nclass RequestField:\n data: Any\n headers: Any\n def __init__(self, name, data, filename=..., headers=...) -> None: ...\n @classmethod\n def from_tuples(cls, fieldname, value): ...\n def render_headers(self): ...\n def make_multipart(self, content_disposition=..., content_type=..., content_location=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\fields.pyi | fields.pyi | Other | 442 | 0.85 | 0.538462 | 0 | awesome-app | 657 | 2025-01-28T14:51:34.096724 | Apache-2.0 | false | ee94268c4972b2a3f2ce146918b1a77a |
from typing import Any\n\nfrom . import fields\n\nRequestField = fields.RequestField\n\nwriter: Any\n\ndef choose_boundary(): ...\ndef iter_field_objects(fields): ...\ndef iter_fields(fields): ...\ndef encode_multipart_formdata(fields, boundary=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\filepost.pyi | filepost.pyi | Other | 244 | 0.85 | 0.333333 | 0 | vue-tools | 361 | 2025-03-30T12:20:18.663764 | BSD-3-Clause | false | abd2dfc8f87e986c39196c627d5227b9 |
from typing import Any\n\nfrom .request import RequestMethods\n\nclass PoolManager(RequestMethods):\n proxy: Any\n connection_pool_kw: Any\n pools: Any\n def __init__(self, num_pools=..., headers=..., **connection_pool_kw) -> None: ...\n def __enter__(self): ...\n def __exit__(self, exc_type, exc_val, exc_tb): ...\n def clear(self): ...\n def connection_from_host(self, host, port=..., scheme=...): ...\n def connection_from_url(self, url): ...\n # TODO: This was the original signature -- copied another one from base class to fix complaint.\n # def urlopen(self, method, url, redirect=True, **kw): ...\n def urlopen(self, method, url, body=..., headers=..., encode_multipart=..., multipart_boundary=..., **kw): ...\n\nclass ProxyManager(PoolManager):\n proxy: Any\n proxy_headers: Any\n def __init__(self, proxy_url, num_pools=..., headers=..., proxy_headers=..., **connection_pool_kw) -> None: ...\n def connection_from_host(self, host, port=..., scheme=...): ...\n # TODO: This was the original signature -- copied another one from base class to fix complaint.\n # def urlopen(self, method, url, redirect=True, **kw): ...\n def urlopen(self, method, url, body=..., headers=..., encode_multipart=..., multipart_boundary=..., **kw): ...\n\ndef proxy_from_url(url, **kw): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\poolmanager.pyi | poolmanager.pyi | Other | 1,309 | 0.95 | 0.607143 | 0.166667 | awesome-app | 580 | 2024-04-07T20:26:49.059852 | Apache-2.0 | false | 2b27e7687ee29c9c57a6b6ff5de7c0ae |
from typing import Any\n\nclass RequestMethods:\n headers: Any\n def __init__(self, headers=...) -> None: ...\n def urlopen(self, method, url, body=..., headers=..., encode_multipart=..., multipart_boundary=..., **kw): ...\n def request(self, method, url, fields=..., headers=..., **urlopen_kw): ...\n def request_encode_url(self, method, url, fields=..., **urlopen_kw): ...\n def request_encode_body(\n self, method, url, fields=..., headers=..., encode_multipart=..., multipart_boundary=..., **urlopen_kw\n ): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\request.pyi | request.pyi | Other | 534 | 0.85 | 0.545455 | 0 | python-kit | 223 | 2024-08-03T13:33:59.555037 | Apache-2.0 | false | c6ae4eca68720c0041ba761769d5fb93 |
import io\nfrom typing import Any\n\nfrom . import _collections, exceptions\nfrom .connection import BaseSSLError as BaseSSLError, HTTPException as HTTPException\nfrom .util import response\n\nHTTPHeaderDict = _collections.HTTPHeaderDict\nProtocolError = exceptions.ProtocolError\nDecodeError = exceptions.DecodeError\nReadTimeoutError = exceptions.ReadTimeoutError\nbinary_type = bytes # six.binary_type\nPY3 = True # six.PY3\nis_fp_closed = response.is_fp_closed\n\nclass DeflateDecoder:\n def __init__(self) -> None: ...\n def __getattr__(self, name): ...\n def decompress(self, data): ...\n\nclass GzipDecoder:\n def __init__(self) -> None: ...\n def __getattr__(self, name): ...\n def decompress(self, data): ...\n\nclass HTTPResponse(io.IOBase):\n CONTENT_DECODERS: Any\n REDIRECT_STATUSES: Any\n headers: Any\n status: Any\n version: Any\n reason: Any\n strict: Any\n decode_content: Any\n def __init__(\n self,\n body=...,\n headers=...,\n status=...,\n version=...,\n reason=...,\n strict=...,\n preload_content=...,\n decode_content=...,\n original_response=...,\n pool=...,\n connection=...,\n ) -> None: ...\n def get_redirect_location(self): ...\n def release_conn(self): ...\n @property\n def data(self): ...\n def tell(self): ...\n def read(self, amt=..., decode_content=..., cache_content=...): ...\n def stream(self, amt=..., decode_content=...): ...\n @classmethod\n def from_httplib(cls, r, **response_kw): ...\n def getheaders(self): ...\n def getheader(self, name, default=...): ...\n def close(self): ...\n @property\n def closed(self): ...\n def fileno(self): ...\n def flush(self): ...\n def readable(self): ...\n def readinto(self, b): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\response.pyi | response.pyi | Other | 1,788 | 0.95 | 0.378788 | 0 | python-kit | 703 | 2024-08-02T19:02:36.851004 | MIT | false | f2c60b0286f60eb145e5e7f48fb07c0c |
from collections import MutableMapping\nfrom typing import Any, NoReturn, TypeVar\n\n_KT = TypeVar("_KT")\n_VT = TypeVar("_VT")\n\nclass RLock:\n def __enter__(self): ...\n def __exit__(self, exc_type, exc_value, traceback): ...\n\nclass RecentlyUsedContainer(MutableMapping[_KT, _VT]):\n ContainerCls: Any\n dispose_func: Any\n lock: Any\n def __init__(self, maxsize=..., dispose_func=...) -> None: ...\n def __getitem__(self, key): ...\n def __setitem__(self, key, value): ...\n def __delitem__(self, key): ...\n def __len__(self): ...\n def __iter__(self): ...\n def clear(self): ...\n def keys(self): ...\n\nclass HTTPHeaderDict(MutableMapping[str, str]):\n def __init__(self, headers=..., **kwargs) -> None: ...\n def __setitem__(self, key, val): ...\n def __getitem__(self, key): ...\n def __delitem__(self, key): ...\n def __contains__(self, key): ...\n def __eq__(self, other): ...\n def __iter__(self) -> NoReturn: ...\n def __len__(self) -> int: ...\n def __ne__(self, other): ...\n values: Any\n get: Any\n update: Any\n iterkeys: Any\n itervalues: Any\n def pop(self, key, default=...): ...\n def discard(self, key): ...\n def add(self, key, val): ...\n def extend(self, *args, **kwargs): ...\n def getlist(self, key): ...\n getheaders: Any\n getallmatchingheaders: Any\n iget: Any\n def copy(self): ...\n def iteritems(self): ...\n def itermerged(self): ...\n def items(self): ...\n @classmethod\n def from_httplib(cls, message, duplicates=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\_collections.pyi | _collections.pyi | Other | 1,535 | 0.85 | 0.615385 | 0 | vue-tools | 830 | 2024-10-06T17:16:00.825059 | MIT | false | addd4a9626ba8bb01f3479e605c244e5 |
import logging\nfrom typing import Any\n\nfrom . import connectionpool, filepost, poolmanager, response\nfrom .util import request as _request, retry, timeout, url\n\n__license__: Any\n\nHTTPConnectionPool = connectionpool.HTTPConnectionPool\nHTTPSConnectionPool = connectionpool.HTTPSConnectionPool\nconnection_from_url = connectionpool.connection_from_url\nencode_multipart_formdata = filepost.encode_multipart_formdata\nPoolManager = poolmanager.PoolManager\nProxyManager = poolmanager.ProxyManager\nproxy_from_url = poolmanager.proxy_from_url\nHTTPResponse = response.HTTPResponse\nmake_headers = _request.make_headers\nget_host = url.get_host\nTimeout = timeout.Timeout\nRetry = retry.Retry\n\nclass NullHandler(logging.Handler):\n def emit(self, record): ...\n\ndef add_stderr_logger(level=...): ...\ndef disable_warnings(category=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\__init__.pyi | __init__.pyi | Other | 825 | 0.85 | 0.153846 | 0 | vue-tools | 391 | 2023-11-23T13:33:48.016127 | GPL-3.0 | false | 551749b4f53b77b048979de83847d3c8 |
class CertificateError(ValueError): ...\n\ndef match_hostname(cert, hostname): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\packages\ssl_match_hostname\_implementation.pyi | _implementation.pyi | Other | 81 | 0.65 | 0.666667 | 0 | awesome-app | 519 | 2025-01-25T06:34:39.915373 | GPL-3.0 | false | 229d0ee64e9d0c7ee0143f78111a11e8 |
import ssl\n\nCertificateError = ssl.CertificateError\nmatch_hostname = ssl.match_hostname\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\packages\ssl_match_hostname\__init__.pyi | __init__.pyi | Other | 88 | 0.65 | 0 | 0 | awesome-app | 623 | 2025-04-08T10:30:25.659541 | GPL-3.0 | false | 35774064aea826c84f17652721a6ae9e |
from typing import Any\n\npoll: Any\nselect: Any\nHAS_IPV6: bool\n\ndef is_connection_dropped(conn): ...\ndef create_connection(address, timeout=..., source_address=..., socket_options=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\connection.pyi | connection.pyi | Other | 188 | 0.85 | 0.25 | 0 | python-kit | 435 | 2023-11-04T20:56:42.388045 | MIT | false | 986cdd65c3c68fe9637fcf60e4173990 |
from typing import Any\n\n# from ..packages import six\n\n# b = six.b\n\nACCEPT_ENCODING: Any\n\ndef make_headers(\n keep_alive=..., accept_encoding=..., user_agent=..., basic_auth=..., proxy_basic_auth=..., disable_cache=...\n): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\request.pyi | request.pyi | Other | 227 | 0.95 | 0.090909 | 0.285714 | react-lib | 397 | 2025-03-04T01:02:55.577298 | BSD-3-Clause | false | 2f41e4ec5b7faae672fd9d3fa38ed451 |
def is_fp_closed(obj): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\response.pyi | response.pyi | Other | 27 | 0.65 | 1 | 0 | node-utils | 513 | 2023-08-10T00:35:07.557040 | Apache-2.0 | false | 018251aca447f29ea4842411441dbfce |
from typing import Any\n\nfrom .. import exceptions\n\nConnectTimeoutError = exceptions.ConnectTimeoutError\nMaxRetryError = exceptions.MaxRetryError\nProtocolError = exceptions.ProtocolError\nReadTimeoutError = exceptions.ReadTimeoutError\nResponseError = exceptions.ResponseError\n\nlog: Any\n\nclass Retry:\n DEFAULT_METHOD_WHITELIST: Any\n BACKOFF_MAX: Any\n total: Any\n connect: Any\n read: Any\n redirect: Any\n status_forcelist: Any\n method_whitelist: Any\n backoff_factor: Any\n raise_on_redirect: Any\n def __init__(\n self,\n total=...,\n connect=...,\n read=...,\n redirect=...,\n method_whitelist=...,\n status_forcelist=...,\n backoff_factor=...,\n raise_on_redirect=...,\n _observed_errors=...,\n ) -> None: ...\n def new(self, **kw): ...\n @classmethod\n def from_int(cls, retries, redirect=..., default=...): ...\n def get_backoff_time(self): ...\n def sleep(self): ...\n def is_forced_retry(self, method, status_code): ...\n def is_exhausted(self): ...\n def increment(self, method=..., url=..., response=..., error=..., _pool=..., _stacktrace=...): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\retry.pyi | retry.pyi | Other | 1,161 | 0.85 | 0.209302 | 0 | python-kit | 12 | 2024-05-06T09:18:47.120129 | GPL-3.0 | false | 5500538729d28797c5ad547ff21fd628 |
import ssl\nfrom typing import Any\n\nfrom .. import exceptions\n\nSSLError = exceptions.SSLError\nInsecurePlatformWarning = exceptions.InsecurePlatformWarning\nSSLContext = ssl.SSLContext\n\nHAS_SNI: Any\ncreate_default_context: Any\nOP_NO_SSLv2: Any\nOP_NO_SSLv3: Any\nOP_NO_COMPRESSION: Any\n\ndef assert_fingerprint(cert, fingerprint): ...\ndef resolve_cert_reqs(candidate): ...\ndef resolve_ssl_version(candidate): ...\ndef create_urllib3_context(ssl_version=..., cert_reqs=..., options=..., ciphers=...): ...\ndef ssl_wrap_socket(\n sock,\n keyfile=...,\n certfile=...,\n cert_reqs=...,\n ca_certs=...,\n server_hostname=...,\n ssl_version=...,\n ciphers=...,\n ssl_context=...,\n): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\ssl_.pyi | ssl_.pyi | Other | 691 | 0.85 | 0.166667 | 0 | vue-tools | 399 | 2023-12-05T03:38:19.147585 | MIT | false | 337b0bc515577ddb512f10775a53c1cf |
from typing import Any\n\nfrom .. import exceptions\n\nTimeoutStateError = exceptions.TimeoutStateError\n\ndef current_time(): ...\n\nclass Timeout:\n DEFAULT_TIMEOUT: Any\n total: Any\n def __init__(self, total=..., connect=..., read=...) -> None: ...\n @classmethod\n def from_float(cls, timeout): ...\n def clone(self): ...\n def start_connect(self): ...\n def get_connect_duration(self): ...\n @property\n def connect_timeout(self): ...\n @property\n def read_timeout(self): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\timeout.pyi | timeout.pyi | Other | 499 | 0.85 | 0.428571 | 0 | awesome-app | 997 | 2025-04-14T21:12:11.013752 | Apache-2.0 | false | 9dc2086b2791c84451a426062c842f4c |
from typing import Any\n\nfrom .. import exceptions\n\nLocationParseError = exceptions.LocationParseError\n\nurl_attrs: Any\n\nclass Url:\n slots: Any\n def __new__(cls, scheme=..., auth=..., host=..., port=..., path=..., query=..., fragment=...): ...\n @property\n def hostname(self): ...\n @property\n def request_uri(self): ...\n @property\n def netloc(self): ...\n @property\n def url(self): ...\n\ndef split_first(s, delims): ...\ndef parse_url(url): ...\ndef get_host(url): ...\n | .venv\Lib\site-packages\jedi\third_party\typeshed\third_party\2and3\requests\packages\urllib3\util\url.pyi | url.pyi | Other | 492 | 0.85 | 0.391304 | 0 | vue-tools | 716 | 2024-02-26T15:11:57.613792 | Apache-2.0 | false | 0b276ac99ba18ef2286fb073df22e766 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.