id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1 value | extension stringclasses 14 values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12 values | repo_extraction_date stringclasses 433 values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,600 | pkcs12.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi | from typing import Any, List, Optional, Tuple, Union
from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKeyWithSerialization
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKeyWithSerialization
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKeyWithSerialization
from cryptography.hazmat.primitives.serialization import KeySerializationEncryption
from cryptography.x509 import Certificate
def load_key_and_certificates(
data: bytes, password: Optional[bytes], backend: Optional[Any] = ...
) -> Tuple[Optional[Any], Optional[Certificate], List[Certificate]]: ...
def serialize_key_and_certificates(
name: bytes,
key: Union[RSAPrivateKeyWithSerialization, EllipticCurvePrivateKeyWithSerialization, DSAPrivateKeyWithSerialization],
cert: Optional[Certificate],
cas: Optional[List[Certificate]],
enc: KeySerializationEncryption,
) -> bytes: ...
| 933 | Python | .py | 16 | 55.6875 | 121 | 0.830601 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,601 | algorithms.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/ciphers/algorithms.pyi | from typing import FrozenSet
from cryptography.hazmat.primitives.ciphers import BlockCipherAlgorithm, CipherAlgorithm
from cryptography.hazmat.primitives.ciphers.modes import ModeWithNonce
class AES(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
@property
def key_size(self) -> int: ...
class ARC4(CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class Blowfish(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class Camellia(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class CAST5(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class ChaCha20(CipherAlgorithm, ModeWithNonce):
def __init__(self, key: bytes, nonce: bytes) -> None: ...
@property
def key_size(self) -> int: ...
name: str = ...
key_sizes: FrozenSet[int] = ...
@property
def nonce(self) -> bytes: ...
class IDEA(CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class SEED(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
class TripleDES(BlockCipherAlgorithm, CipherAlgorithm):
def __init__(self, key: bytes) -> None: ...
@property
def key_size(self) -> int: ...
block_size: int = ...
name: str = ...
key_sizes: FrozenSet[int] = ...
| 2,245 | Python | .py | 66 | 29.590909 | 88 | 0.612264 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,602 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/ciphers/__init__.pyi | from abc import ABCMeta, abstractmethod
from typing import Optional
from cryptography.hazmat.backends.interfaces import CipherBackend
from cryptography.hazmat.primitives.ciphers.modes import Mode
class AEADCipherContext(metaclass=ABCMeta):
@abstractmethod
def authenticate_additional_data(self, data: bytes) -> None: ...
class AEADDecryptionContext(metaclass=ABCMeta):
@abstractmethod
def finalize_with_tag(self, tag: bytes) -> bytes: ...
class AEADEncryptionContext(metaclass=ABCMeta):
@property
@abstractmethod
def tag(self) -> bytes: ...
class BlockCipherAlgorithm(metaclass=ABCMeta):
@property
@abstractmethod
def block_size(self) -> int: ...
class Cipher(object):
def __init__(self, algorithm: CipherAlgorithm, mode: Optional[Mode], backend: Optional[CipherBackend] = ...) -> None: ...
def decryptor(self) -> CipherContext: ...
def encryptor(self) -> CipherContext: ...
class CipherAlgorithm(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@property
@abstractmethod
def name(self) -> str: ...
class CipherContext(metaclass=ABCMeta):
@abstractmethod
def finalize(self) -> bytes: ...
@abstractmethod
def update(self, data: bytes) -> bytes: ...
@abstractmethod
def update_into(self, data: bytes, buf: bytearray) -> int: ...
| 1,363 | Python | .py | 36 | 33.861111 | 125 | 0.723275 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,603 | modes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/ciphers/modes.pyi | from abc import ABCMeta, abstractmethod
from typing import Optional
from cryptography.hazmat.primitives.ciphers import CipherAlgorithm
class Mode(metaclass=ABCMeta):
@property
@abstractmethod
def name(self) -> str: ...
@abstractmethod
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class ModeWithAuthenticationTag(metaclass=ABCMeta):
@property
@abstractmethod
def tag(self) -> bytes: ...
class ModeWithInitializationVector(metaclass=ABCMeta):
@property
@abstractmethod
def initialization_vector(self) -> bytes: ...
class ModeWithNonce(metaclass=ABCMeta):
@property
@abstractmethod
def nonce(self) -> bytes: ...
class ModeWithTweak(metaclass=ABCMeta):
@property
@abstractmethod
def tweak(self) -> bytes: ...
class CBC(Mode, ModeWithInitializationVector):
def __init__(self, initialization_vector: bytes) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property
def name(self) -> str: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class CTR(Mode, ModeWithNonce):
def __init__(self, nonce: bytes) -> None: ...
@property
def name(self) -> str: ...
@property
def nonce(self) -> bytes: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class CFB(Mode, ModeWithInitializationVector):
def __init__(self, initialization_vector: bytes) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property
def name(self) -> str: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class CFB8(Mode, ModeWithInitializationVector):
def __init__(self, initialization_vector: bytes) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property
def name(self) -> str: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class ECB(Mode):
@property
def name(self) -> str: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class GCM(Mode, ModeWithInitializationVector, ModeWithAuthenticationTag):
def __init__(self, initialization_vector: bytes, tag: Optional[bytes], min_tag_length: Optional[int]) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property
def name(self) -> str: ...
@property
def tag(self) -> bytes: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class OFB(Mode, ModeWithInitializationVector):
def __init__(self, initialization_vector: bytes) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property
def name(self) -> str: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class XTS(Mode, ModeWithTweak):
def __init__(self, tweak: bytes) -> None: ...
@property
def name(self) -> str: ...
@property
def tweak(self) -> bytes: ...
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
| 3,089 | Python | .py | 80 | 34.2375 | 118 | 0.683139 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,604 | aead.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/ciphers/aead.pyi | from typing import Optional
class AESCCM(object):
def __init__(self, key: bytes, tag_length: Optional[int]) -> None: ...
def decrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
def encrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
@classmethod
def generate_key(cls, bit_length: int) -> bytes: ...
class AESGCM(object):
def __init__(self, key: bytes) -> None: ...
def decrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
def encrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
@classmethod
def generate_key(cls, bit_length: int) -> bytes: ...
class ChaCha20Poly1305(object):
def __init__(self, key: bytes) -> None: ...
def decrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
def encrypt(self, nonce: bytes, data: bytes, associated_data: Optional[bytes]) -> bytes: ...
@classmethod
def generate_key(cls) -> bytes: ...
| 1,065 | Python | .py | 19 | 51.736842 | 96 | 0.658677 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,605 | totp.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/twofactor/totp.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
class TOTP(object):
def __init__(
self,
key: bytes,
length: int,
algorithm: HashAlgorithm,
time_step: int,
backend: HMACBackend,
enforce_key_length: bool = ...,
): ...
def generate(self, time: int) -> bytes: ...
def get_provisioning_uri(self, account_name: str, issuer: Optional[str]) -> str: ...
def verify(self, totp: bytes, time: int) -> None: ...
| 585 | Python | .py | 16 | 30.6875 | 88 | 0.654321 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,606 | hotp.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/twofactor/hotp.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
class HOTP(object):
def __init__(
self, key: bytes, length: int, algorithm: HashAlgorithm, backend: HMACBackend, enforce_key_length: bool = ...
): ...
def generate(self, counter: int) -> bytes: ...
def get_provisioning_uri(self, account_name: str, counter: int, issuer: Optional[str]) -> str: ...
def verify(self, hotp: bytes, counter: int) -> None: ...
| 540 | Python | .py | 10 | 50 | 117 | 0.712121 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,607 | hkdf.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class HKDF(KeyDerivationFunction):
def __init__(
self,
algorithm: HashAlgorithm,
length: int,
salt: Optional[bytes],
info: Optional[bytes],
backend: Optional[HMACBackend] = ...,
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
class HKDFExpand(KeyDerivationFunction):
def __init__(self, algorithm: HashAlgorithm, length: int, info: Optional[bytes], backend: Optional[HMACBackend] = ...): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 902 | Python | .py | 19 | 42.315789 | 127 | 0.703409 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,608 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/__init__.pyi | from abc import ABCMeta, abstractmethod
class KeyDerivationFunction(metaclass=ABCMeta):
@abstractmethod
def derive(self, key_material: bytes) -> bytes: ...
@abstractmethod
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 261 | Python | .py | 6 | 39.666667 | 75 | 0.73622 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,609 | kbkdf.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/kbkdf.pyi | from enum import Enum
from typing import Optional
from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class Mode(Enum):
CounterMode: str
class CounterLocation(Enum):
BeforeFixed: str
AfterFixed: str
class KBKDFHMAC(KeyDerivationFunction):
def __init__(
self,
algorithm: HashAlgorithm,
mode: Mode,
length: int,
rlen: int,
llen: int,
location: CounterLocation,
label: Optional[bytes],
context: Optional[bytes],
fixed: Optional[bytes],
backend: Optional[HMACBackend] = ...,
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 867 | Python | .py | 26 | 27.730769 | 75 | 0.696535 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,610 | concatkdf.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/concatkdf.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import HashBackend, HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class ConcatKDFHash(KeyDerivationFunction):
def __init__(
self, algorithm: HashAlgorithm, length: int, otherinfo: Optional[bytes], backend: Optional[HashBackend] = ...
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
class ConcatKDFHMAC(KeyDerivationFunction):
def __init__(
self,
algorithm: HashAlgorithm,
length: int,
salt: Optional[bytes],
otherinfo: Optional[bytes],
backend: Optional[HMACBackend] = ...,
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 951 | Python | .py | 21 | 39.952381 | 117 | 0.703344 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,611 | scrypt.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/scrypt.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import ScryptBackend
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class Scrypt(KeyDerivationFunction):
def __init__(self, salt: bytes, length: int, n: int, r: int, p: int, backend: Optional[ScryptBackend] = ...): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 452 | Python | .py | 7 | 61.571429 | 117 | 0.742664 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,612 | x963kdf.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import HashBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class X963KDF(KeyDerivationFunction):
def __init__(
self, algorithm: HashAlgorithm, length: int, sharedinfo: Optional[bytes], backend: Optional[HashBackend] = ...
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 545 | Python | .py | 10 | 50.9 | 118 | 0.763602 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,613 | pbkdf2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi | from typing import Optional
from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
class PBKDF2HMAC(KeyDerivationFunction):
def __init__(
self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, backend: Optional[PBKDF2HMACBackend] = ...
): ...
def derive(self, key_material: bytes) -> bytes: ...
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
| 561 | Python | .py | 10 | 52.5 | 125 | 0.766849 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,614 | x448.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/x448.pyi | from abc import ABCMeta, abstractmethod
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class X448PrivateKey(metaclass=ABCMeta):
@classmethod
def from_private_bytes(cls, data: bytes) -> X448PrivateKey: ...
@classmethod
def generate(cls) -> X448PrivateKey: ...
@abstractmethod
def exchange(self, peer_public_key: X448PublicKey) -> bytes: ...
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def public_key(self) -> X448PublicKey: ...
class X448PublicKey(metaclass=ABCMeta):
@classmethod
def from_public_bytes(cls, data: bytes) -> X448PublicKey: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
| 905 | Python | .py | 20 | 40.7 | 122 | 0.741497 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,615 | padding.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/padding.pyi | from abc import ABCMeta, abstractmethod
from typing import ClassVar, Optional, Union
from cryptography.hazmat.primitives.hashes import HashAlgorithm
class AsymmetricPadding(metaclass=ABCMeta):
@property
@abstractmethod
def name(self) -> str: ...
class MGF1(object):
def __init__(self, algorithm: HashAlgorithm) -> None: ...
class OAEP(AsymmetricPadding):
def __init__(self, mgf: MGF1, algorithm: HashAlgorithm, label: Optional[bytes]) -> None: ...
@property
def name(self) -> str: ...
class PKCS1v15(AsymmetricPadding):
@property
def name(self) -> str: ...
class PSS(AsymmetricPadding):
MAX_LENGTH: ClassVar[object]
def __init__(self, mgf: MGF1, salt_length: Union[int, object]) -> None: ...
@property
def name(self) -> str: ...
| 787 | Python | .py | 21 | 33.714286 | 96 | 0.7 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,616 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/utils.pyi | from typing import Tuple
from cryptography.hazmat.primitives.hashes import HashAlgorithm
def decode_dss_signature(signature: bytes) -> Tuple[int, int]: ...
def encode_dss_signature(r: int, s: int) -> bytes: ...
class Prehashed(object):
_algorithm: HashAlgorithm # undocumented
_digest_size: int # undocumented
def __init__(self, algorithm: HashAlgorithm) -> None: ...
digest_size: int
| 406 | Python | .py | 9 | 42 | 66 | 0.728426 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,617 | ed448.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ed448.pyi | from abc import ABCMeta, abstractmethod
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class Ed448PrivateKey(metaclass=ABCMeta):
@classmethod
def generate(cls) -> Ed448PrivateKey: ...
@classmethod
def from_private_bytes(cls, data: bytes) -> Ed448PrivateKey: ...
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def public_key(self) -> Ed448PublicKey: ...
@abstractmethod
def sign(self, data: bytes) -> bytes: ...
class Ed448PublicKey(metaclass=ABCMeta):
@classmethod
def from_public_bytes(cls, data: bytes) -> Ed448PublicKey: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def verify(self, signature: bytes, data: bytes) -> None: ...
| 973 | Python | .py | 22 | 39.636364 | 122 | 0.731013 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,618 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/__init__.pyi | from typing import Any
def __getattr__(name: str) -> Any: ...
| 63 | Python | .py | 2 | 30 | 38 | 0.65 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,619 | rsa.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi | from abc import ABCMeta, abstractmethod
from typing import Optional, Tuple, Union
from cryptography.hazmat.backends.interfaces import RSABackend
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
from cryptography.hazmat.primitives.asymmetric.padding import AsymmetricPadding
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class RSAPrivateKey(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def decrypt(self, ciphertext: bytes, padding: AsymmetricPadding) -> bytes: ...
@abstractmethod
def public_key(self) -> RSAPublicKey: ...
@abstractmethod
def sign(self, data: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]) -> bytes: ...
class RSAPrivateKeyWithSerialization(RSAPrivateKey):
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def private_numbers(self) -> RSAPrivateNumbers: ...
class RSAPublicKey(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def encrypt(self, plaintext: bytes, padding: AsymmetricPadding) -> bytes: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def public_numbers(self) -> RSAPublicNumbers: ...
@abstractmethod
def verifier(
self, signature: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]
) -> AsymmetricVerificationContext: ...
@abstractmethod
def verify(
self, signature: bytes, data: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]
) -> None: ...
RSAPublicKeyWithSerialization = RSAPublicKey
def generate_private_key(
public_exponent: int, key_size: int, backend: Optional[RSABackend] = ...
) -> RSAPrivateKeyWithSerialization: ...
def rsa_crt_iqmp(p: int, q: int) -> int: ...
def rsa_crt_dmp1(private_exponent: int, p: int) -> int: ...
def rsa_crt_dmq1(private_exponent: int, q: int) -> int: ...
def rsa_recover_prime_factors(n: int, e: int, d: int) -> Tuple[int, int]: ...
class RSAPrivateNumbers(object):
def __init__(self, p: int, q: int, d: int, dmp1: int, dmq1: int, iqmp: int, public_numbers: RSAPublicNumbers) -> None: ...
@property
def p(self) -> int: ...
@property
def q(self) -> int: ...
@property
def d(self) -> int: ...
@property
def dmp1(self) -> int: ...
@property
def dmq1(self) -> int: ...
@property
def iqmp(self) -> int: ...
@property
def public_numbers(self) -> RSAPublicNumbers: ...
def private_key(self, backend: Optional[RSABackend] = ...) -> RSAPrivateKey: ...
class RSAPublicNumbers(object):
def __init__(self, e: int, n: int) -> None: ...
@property
def e(self) -> int: ...
@property
def n(self) -> int: ...
def public_key(self, backend: Optional[RSABackend] = ...) -> RSAPublicKey: ...
| 3,288 | Python | .py | 75 | 39.64 | 126 | 0.71014 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,620 | x25519.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/x25519.pyi | from abc import ABCMeta, abstractmethod
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class X25519PrivateKey(metaclass=ABCMeta):
@classmethod
def from_private_bytes(cls, data: bytes) -> X25519PrivateKey: ...
@classmethod
def generate(cls) -> X25519PrivateKey: ...
@abstractmethod
def exchange(self, peer_public_key: X25519PublicKey) -> bytes: ...
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def public_key(self) -> X25519PublicKey: ...
class X25519PublicKey(metaclass=ABCMeta):
@classmethod
def from_public_bytes(cls, data: bytes) -> X25519PublicKey: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
| 919 | Python | .py | 20 | 41.4 | 122 | 0.745536 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,621 | ed25519.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ed25519.pyi | from abc import ABCMeta, abstractmethod
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class Ed25519PrivateKey(metaclass=ABCMeta):
@classmethod
def generate(cls) -> Ed25519PrivateKey: ...
@classmethod
def from_private_bytes(cls, data: bytes) -> Ed25519PrivateKey: ...
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def public_key(self) -> Ed25519PublicKey: ...
@abstractmethod
def sign(self, data: bytes) -> bytes: ...
class Ed25519PublicKey(metaclass=ABCMeta):
@classmethod
def from_public_bytes(cls, data: bytes) -> Ed25519PublicKey: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def verify(self, signature: bytes, data: bytes) -> None: ...
| 985 | Python | .py | 22 | 40.181818 | 122 | 0.734375 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,622 | dh.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dh.pyi | from abc import ABCMeta, abstractmethod
from typing import Optional
from cryptography.hazmat.backends.interfaces import DHBackend
from cryptography.hazmat.primitives.serialization import (
Encoding,
KeySerializationEncryption,
ParameterFormat,
PrivateFormat,
PublicFormat,
)
class DHParameters(metaclass=ABCMeta):
@abstractmethod
def generate_private_key(self) -> DHPrivateKey: ...
@abstractmethod
def parameter_bytes(self, encoding: Encoding, format: ParameterFormat) -> bytes: ...
@abstractmethod
def parameter_numbers(self) -> DHParameterNumbers: ...
DHParametersWithSerialization = DHParameters
class DHParameterNumbers(object):
@property
def p(self) -> int: ...
@property
def g(self) -> int: ...
@property
def q(self) -> int: ...
def __init__(self, p: int, g: int, q: Optional[int]) -> None: ...
def parameters(self, backend: Optional[DHBackend] = ...) -> DHParameters: ...
class DHPrivateKey(metaclass=ABCMeta):
key_size: int
@abstractmethod
def exchange(self, peer_public_key: DHPublicKey) -> bytes: ...
@abstractmethod
def parameters(self) -> DHParameters: ...
@abstractmethod
def public_key(self) -> DHPublicKey: ...
class DHPrivateKeyWithSerialization(DHPrivateKey):
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def private_numbers(self) -> DHPrivateNumbers: ...
class DHPrivateNumbers(object):
@property
def public_numbers(self) -> DHPublicNumbers: ...
@property
def x(self) -> int: ...
def __init__(self, x: int, public_numbers: DHPublicNumbers) -> None: ...
def private_key(self, backend: Optional[DHBackend] = ...) -> DHPrivateKey: ...
class DHPublicKey(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def parameters(self) -> DHParameters: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def public_numbers(self) -> DHPublicNumbers: ...
DHPublicKeyWithSerialization = DHPublicKey
class DHPublicNumbers(object):
@property
def parameter_numbers(self) -> DHParameterNumbers: ...
@property
def y(self) -> int: ...
def __init__(self, y: int, parameter_numbers: DHParameterNumbers) -> None: ...
def public_key(self, backend: Optional[DHBackend] = ...) -> DHPublicKey: ...
def generate_parameters(generator: int, key_size: int, backend: Optional[DHBackend] = ...) -> DHParameters: ...
| 2,651 | Python | .py | 68 | 34.647059 | 111 | 0.702955 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,623 | ec.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi | from abc import ABCMeta, abstractmethod
from typing import ClassVar, Optional, Union
from cryptography.hazmat.backends.interfaces import EllipticCurveBackend
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
from cryptography.x509 import ObjectIdentifier
class EllipticCurve(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@property
@abstractmethod
def name(self) -> str: ...
class BrainpoolP256R1(EllipticCurve):
key_size: int = ...
name: str = ...
class BrainpoolP384R1(EllipticCurve):
key_size: int = ...
name: str = ...
class BrainpoolP512R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP192R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP224R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP256K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP256R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP384R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECP521R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT163K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT163R2(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT233K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT233R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT283K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT283R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT409K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT409R1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT571K1(EllipticCurve):
key_size: int = ...
name: str = ...
class SECT571R1(EllipticCurve):
key_size: int = ...
name: str = ...
class EllipticCurveOID(object):
SECP192R1: ClassVar[ObjectIdentifier]
SECP224R1: ClassVar[ObjectIdentifier]
SECP256K1: ClassVar[ObjectIdentifier]
SECP256R1: ClassVar[ObjectIdentifier]
SECP384R1: ClassVar[ObjectIdentifier]
SECP521R1: ClassVar[ObjectIdentifier]
BRAINPOOLP256R1: ClassVar[ObjectIdentifier]
BRAINPOOLP384R1: ClassVar[ObjectIdentifier]
BRAINPOOLP512R1: ClassVar[ObjectIdentifier]
SECT163K1: ClassVar[ObjectIdentifier]
SECT163R2: ClassVar[ObjectIdentifier]
SECT233K1: ClassVar[ObjectIdentifier]
SECT233R1: ClassVar[ObjectIdentifier]
SECT283K1: ClassVar[ObjectIdentifier]
SECT283R1: ClassVar[ObjectIdentifier]
SECT409K1: ClassVar[ObjectIdentifier]
SECT409R1: ClassVar[ObjectIdentifier]
SECT571K1: ClassVar[ObjectIdentifier]
SECT571R1: ClassVar[ObjectIdentifier]
class EllipticCurvePrivateKey(metaclass=ABCMeta):
@property
@abstractmethod
def curve(self) -> EllipticCurve: ...
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def exchange(self, algorithm: ECDH, peer_public_key: EllipticCurvePublicKey) -> bytes: ...
@abstractmethod
def public_key(self) -> EllipticCurvePublicKey: ...
@abstractmethod
def sign(self, data: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm) -> bytes: ...
class EllipticCurvePrivateKeyWithSerialization(EllipticCurvePrivateKey):
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def private_numbers(self) -> EllipticCurvePrivateNumbers: ...
class EllipticCurvePrivateNumbers(object):
@property
def private_value(self) -> int: ...
@property
def public_numbers(self) -> EllipticCurvePublicNumbers: ...
def __init__(self, private_value: int, public_numbers: EllipticCurvePublicNumbers) -> None: ...
def private_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ...
class EllipticCurvePublicKey(metaclass=ABCMeta):
@property
@abstractmethod
def curve(self) -> EllipticCurve: ...
@property
@abstractmethod
def key_size(self) -> int: ...
@classmethod
def from_encoded_point(cls, curve: EllipticCurve, data: bytes) -> EllipticCurvePublicKey: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def public_numbers(self) -> EllipticCurvePublicNumbers: ...
@abstractmethod
def verifier(
self, signature: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm
) -> AsymmetricVerificationContext: ...
@abstractmethod
def verify(self, signature: bytes, data: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm) -> None: ...
EllipticCurvePublicKeyWithSerialization = EllipticCurvePublicKey
class EllipticCurvePublicNumbers(object):
@property
def curve(self) -> EllipticCurve: ...
@property
def x(self) -> int: ...
@property
def y(self) -> int: ...
def __init__(self, x: int, y: int, curve: EllipticCurve) -> None: ...
@classmethod
def from_encoded_point(cls, curve: EllipticCurve, data: bytes) -> EllipticCurvePublicNumbers: ...
def public_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePublicKey: ...
class EllipticCurveSignatureAlgorithm(metaclass=ABCMeta):
@property
@abstractmethod
def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ...
class ECDH(object): ...
class ECDSA(EllipticCurveSignatureAlgorithm):
def __init__(self, algorithm: Union[HashAlgorithm, Prehashed]): ...
@property
def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ...
def derive_private_key(
private_value: int, curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ...
) -> EllipticCurvePrivateKey: ...
def generate_private_key(curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ...
def get_curve_for_oid(oid: ObjectIdentifier) -> EllipticCurve: ...
| 6,340 | Python | .py | 164 | 34.439024 | 125 | 0.723958 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,624 | dsa.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi | from abc import ABCMeta, abstractmethod
from typing import Optional, Union
from cryptography.hazmat.backends.interfaces import DSABackend
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
class DSAParameters(metaclass=ABCMeta):
@abstractmethod
def generate_private_key(self) -> DSAPrivateKey: ...
class DSAParametersWithNumbers(DSAParameters):
@abstractmethod
def parameter_numbers(self) -> DSAParameterNumbers: ...
class DSAParameterNumbers(object):
@property
def p(self) -> int: ...
@property
def q(self) -> int: ...
@property
def g(self) -> int: ...
def __init__(self, p: int, q: int, g: int) -> None: ...
def parameters(self, backend: Optional[DSABackend] = ...) -> DSAParameters: ...
class DSAPrivateKey(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def parameters(self) -> DSAParameters: ...
@abstractmethod
def public_key(self) -> DSAPublicKey: ...
@abstractmethod
def sign(self, data: bytes, algorithm: Union[HashAlgorithm, Prehashed]) -> bytes: ...
class DSAPrivateKeyWithSerialization(DSAPrivateKey):
@abstractmethod
def private_bytes(
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
) -> bytes: ...
@abstractmethod
def private_numbers(self) -> DSAPrivateNumbers: ...
class DSAPrivateNumbers(object):
@property
def x(self) -> int: ...
@property
def public_numbers(self) -> DSAPublicNumbers: ...
def __init__(self, x: int, public_numbers: DSAPublicNumbers) -> None: ...
class DSAPublicKey(metaclass=ABCMeta):
@property
@abstractmethod
def key_size(self) -> int: ...
@abstractmethod
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
@abstractmethod
def public_numbers(self) -> DSAPublicNumbers: ...
@abstractmethod
def verifier(
self, signature: bytes, signature_algorithm: Union[HashAlgorithm, Prehashed]
) -> AsymmetricVerificationContext: ...
@abstractmethod
def verify(self, signature: bytes, data: bytes, algorithm: Union[HashAlgorithm, Prehashed]) -> None: ...
DSAPublicKeyWithSerialization = DSAPublicKey
class DSAPublicNumbers(object):
@property
def y(self) -> int: ...
@property
def parameter_numbers(self) -> DSAParameterNumbers: ...
def __init__(self, y: int, parameter_numbers: DSAParameterNumbers) -> None: ...
def generate_parameters(key_size: int, backend: Optional[DSABackend] = ...) -> DSAParameters: ...
def generate_private_key(key_size: int, backend: Optional[DSABackend] = ...) -> DSAPrivateKey: ...
| 2,965 | Python | .py | 68 | 39.382353 | 122 | 0.726958 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,625 | oid.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/x509/oid.pyi | from typing import Dict, Optional
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.x509 import ObjectIdentifier
class ExtensionOID:
SUBJECT_DIRECTORY_ATTRIBUTES: ObjectIdentifier = ...
SUBJECT_KEY_IDENTIFIER: ObjectIdentifier = ...
KEY_USAGE: ObjectIdentifier = ...
SUBJECT_ALTERNATIVE_NAME: ObjectIdentifier = ...
ISSUER_ALTERNATIVE_NAME: ObjectIdentifier = ...
BASIC_CONSTRAINTS: ObjectIdentifier = ...
NAME_CONSTRAINTS: ObjectIdentifier = ...
CRL_DISTRIBUTION_POINTS: ObjectIdentifier = ...
CERTIFICATE_POLICIES: ObjectIdentifier = ...
POLICY_MAPPINGS: ObjectIdentifier = ...
AUTHORITY_KEY_IDENTIFIER: ObjectIdentifier = ...
POLICY_CONSTRAINTS: ObjectIdentifier = ...
EXTENDED_KEY_USAGE: ObjectIdentifier = ...
FRESHEST_CRL: ObjectIdentifier = ...
INHIBIT_ANY_POLICY: ObjectIdentifier = ...
ISSUING_DISTRIBUTION_POINT: ObjectIdentifier = ...
AUTHORITY_INFORMATION_ACCESS: ObjectIdentifier = ...
SUBJECT_INFORMATION_ACCESS: ObjectIdentifier = ...
OCSP_NO_CHECK: ObjectIdentifier = ...
TLS_FEATURE: ObjectIdentifier = ...
CRL_NUMBER: ObjectIdentifier = ...
DELTA_CRL_INDICATOR: ObjectIdentifier = ...
PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS: ObjectIdentifier = ...
PRECERT_POISON: ObjectIdentifier = ...
class OCSPExtensionOID:
NONCE: ObjectIdentifier = ...
class CRLEntryExtensionOID:
CERTIFICATE_ISSUER: ObjectIdentifier = ...
CRL_REASON: ObjectIdentifier = ...
INVALIDITY_DATE: ObjectIdentifier = ...
class NameOID:
COMMON_NAME: ObjectIdentifier = ...
COUNTRY_NAME: ObjectIdentifier = ...
LOCALITY_NAME: ObjectIdentifier = ...
STATE_OR_PROVINCE_NAME: ObjectIdentifier = ...
STREET_ADDRESS: ObjectIdentifier = ...
ORGANIZATION_NAME: ObjectIdentifier = ...
ORGANIZATIONAL_UNIT_NAME: ObjectIdentifier = ...
SERIAL_NUMBER: ObjectIdentifier = ...
SURNAME: ObjectIdentifier = ...
GIVEN_NAME: ObjectIdentifier = ...
TITLE: ObjectIdentifier = ...
GENERATION_QUALIFIER: ObjectIdentifier = ...
X500_UNIQUE_IDENTIFIER: ObjectIdentifier = ...
DN_QUALIFIER: ObjectIdentifier = ...
PSEUDONYM: ObjectIdentifier = ...
USER_ID: ObjectIdentifier = ...
DOMAIN_COMPONENT: ObjectIdentifier = ...
EMAIL_ADDRESS: ObjectIdentifier = ...
JURISDICTION_COUNTRY_NAME: ObjectIdentifier = ...
JURISDICTION_LOCALITY_NAME: ObjectIdentifier = ...
JURISDICTION_STATE_OR_PROVINCE_NAME: ObjectIdentifier = ...
BUSINESS_CATEGORY: ObjectIdentifier = ...
POSTAL_ADDRESS: ObjectIdentifier = ...
POSTAL_CODE: ObjectIdentifier = ...
class SignatureAlgorithmOID:
RSA_WITH_MD5: ObjectIdentifier = ...
RSA_WITH_SHA1: ObjectIdentifier = ...
_RSA_WITH_SHA1: ObjectIdentifier = ...
RSA_WITH_SHA224: ObjectIdentifier = ...
RSA_WITH_SHA256: ObjectIdentifier = ...
RSA_WITH_SHA384: ObjectIdentifier = ...
RSA_WITH_SHA512: ObjectIdentifier = ...
RSASSA_PSS: ObjectIdentifier = ...
ECDSA_WITH_SHA1: ObjectIdentifier = ...
ECDSA_WITH_SHA224: ObjectIdentifier = ...
ECDSA_WITH_SHA256: ObjectIdentifier = ...
ECDSA_WITH_SHA384: ObjectIdentifier = ...
ECDSA_WITH_SHA512: ObjectIdentifier = ...
DSA_WITH_SHA1: ObjectIdentifier = ...
DSA_WITH_SHA224: ObjectIdentifier = ...
DSA_WITH_SHA256: ObjectIdentifier = ...
ED25519: ObjectIdentifier = ...
ED448: ObjectIdentifier = ...
class ExtendedKeyUsageOID:
SERVER_AUTH: ObjectIdentifier = ...
CLIENT_AUTH: ObjectIdentifier = ...
CODE_SIGNING: ObjectIdentifier = ...
EMAIL_PROTECTION: ObjectIdentifier = ...
TIME_STAMPING: ObjectIdentifier = ...
OCSP_SIGNING: ObjectIdentifier = ...
ANY_EXTENDED_KEY_USAGE: ObjectIdentifier = ...
class AuthorityInformationAccessOID:
CA_ISSUERS: ObjectIdentifier = ...
OCSP: ObjectIdentifier = ...
class CertificatePoliciesOID:
CPS_QUALIFIER: ObjectIdentifier = ...
CPS_USER_NOTICE: ObjectIdentifier = ...
ANY_POLICY: ObjectIdentifier = ...
_OID_NAMES: Dict[ObjectIdentifier, str] = ...
_SIG_OIDS_TO_HASH: Dict[ObjectIdentifier, Optional[HashAlgorithm]] = ...
| 4,153 | Python | .py | 95 | 39.147368 | 72 | 0.712132 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,626 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/x509/__init__.pyi | import datetime
from abc import ABCMeta, abstractmethod
from enum import Enum
from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network
from typing import Any, ClassVar, Generator, Generic, Iterable, List, Optional, Sequence, Text, Type, TypeVar, Union
from cryptography.hazmat.backends.interfaces import X509Backend
from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKey, DSAPublicKey
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKey, EllipticCurvePublicKey
from cryptography.hazmat.primitives.asymmetric.ed448 import Ed448PrivateKey, Ed448PublicKey
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey, Ed25519PublicKey
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey, RSAPublicKey
from cryptography.hazmat.primitives.hashes import HashAlgorithm
from cryptography.hazmat.primitives.serialization import Encoding
class ObjectIdentifier(object):
dotted_string: str
def __init__(self, dotted_string: str) -> None: ...
class CRLEntryExtensionOID(object):
CERTIFICATE_ISSUER: ClassVar[ObjectIdentifier]
CRL_REASON: ClassVar[ObjectIdentifier]
INVALIDITY_DATE: ClassVar[ObjectIdentifier]
class ExtensionOID(object):
AUTHORITY_INFORMATION_ACCESS: ClassVar[ObjectIdentifier]
AUTHORITY_KEY_IDENTIFIER: ClassVar[ObjectIdentifier]
BASIC_CONSTRAINTS: ClassVar[ObjectIdentifier]
CERTIFICATE_POLICIES: ClassVar[ObjectIdentifier]
CRL_DISTRIBUTION_POINTS: ClassVar[ObjectIdentifier]
CRL_NUMBER: ClassVar[ObjectIdentifier]
DELTA_CRL_INDICATOR: ClassVar[ObjectIdentifier]
EXTENDED_KEY_USAGE: ClassVar[ObjectIdentifier]
FRESHEST_CRL: ClassVar[ObjectIdentifier]
INHIBIT_ANY_POLICY: ClassVar[ObjectIdentifier]
ISSUER_ALTERNATIVE_NAME: ClassVar[ObjectIdentifier]
ISSUING_DISTRIBUTION_POINT: ClassVar[ObjectIdentifier]
KEY_USAGE: ClassVar[ObjectIdentifier]
NAME_CONSTRAINTS: ClassVar[ObjectIdentifier]
OCSP_NO_CHECK: ClassVar[ObjectIdentifier]
POLICY_CONSTRAINTS: ClassVar[ObjectIdentifier]
POLICY_MAPPINGS: ClassVar[ObjectIdentifier]
PRECERT_POISON: ClassVar[ObjectIdentifier]
PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS: ClassVar[ObjectIdentifier]
SUBJECT_ALTERNATIVE_NAME: ClassVar[ObjectIdentifier]
SUBJECT_DIRECTORY_ATTRIBUTES: ClassVar[ObjectIdentifier]
SUBJECT_INFORMATION_ACCESS: ClassVar[ObjectIdentifier]
SUBJECT_KEY_IDENTIFIER: ClassVar[ObjectIdentifier]
TLS_FEATURE: ClassVar[ObjectIdentifier]
class NameOID(object):
BUSINESS_CATEGORY: ClassVar[ObjectIdentifier]
COMMON_NAME: ClassVar[ObjectIdentifier]
COUNTRY_NAME: ClassVar[ObjectIdentifier]
DN_QUALIFIER: ClassVar[ObjectIdentifier]
DOMAIN_COMPONENT: ClassVar[ObjectIdentifier]
EMAIL_ADDRESS: ClassVar[ObjectIdentifier]
GENERATION_QUALIFIER: ClassVar[ObjectIdentifier]
GIVEN_NAME: ClassVar[ObjectIdentifier]
JURISDICTION_COUNTRY_NAME: ClassVar[ObjectIdentifier]
JURISDICTION_LOCALITY_NAME: ClassVar[ObjectIdentifier]
JURISDICTION_STATE_OR_PROVINCE_NAME: ClassVar[ObjectIdentifier]
LOCALITY_NAME: ClassVar[ObjectIdentifier]
ORGANIZATIONAL_UNIT_NAME: ClassVar[ObjectIdentifier]
ORGANIZATION_NAME: ClassVar[ObjectIdentifier]
POSTAL_ADDRESS: ClassVar[ObjectIdentifier]
POSTAL_CODE: ClassVar[ObjectIdentifier]
PSEUDONYM: ClassVar[ObjectIdentifier]
SERIAL_NUMBER: ClassVar[ObjectIdentifier]
STATE_OR_PROVINCE_NAME: ClassVar[ObjectIdentifier]
STREET_ADDRESS: ClassVar[ObjectIdentifier]
SURNAME: ClassVar[ObjectIdentifier]
TITLE: ClassVar[ObjectIdentifier]
USER_ID: ClassVar[ObjectIdentifier]
X500_UNIQUE_IDENTIFIER: ClassVar[ObjectIdentifier]
class OCSPExtensionOID(object):
NONCE: ClassVar[ObjectIdentifier]
class SignatureAlgorithmOID(object):
DSA_WITH_SHA1: ClassVar[ObjectIdentifier]
DSA_WITH_SHA224: ClassVar[ObjectIdentifier]
DSA_WITH_SHA256: ClassVar[ObjectIdentifier]
ECDSA_WITH_SHA1: ClassVar[ObjectIdentifier]
ECDSA_WITH_SHA224: ClassVar[ObjectIdentifier]
ECDSA_WITH_SHA256: ClassVar[ObjectIdentifier]
ECDSA_WITH_SHA384: ClassVar[ObjectIdentifier]
ECDSA_WITH_SHA512: ClassVar[ObjectIdentifier]
ED25519: ClassVar[ObjectIdentifier]
ED448: ClassVar[ObjectIdentifier]
RSASSA_PSS: ClassVar[ObjectIdentifier]
RSA_WITH_MD5: ClassVar[ObjectIdentifier]
RSA_WITH_SHA1: ClassVar[ObjectIdentifier]
RSA_WITH_SHA224: ClassVar[ObjectIdentifier]
RSA_WITH_SHA256: ClassVar[ObjectIdentifier]
RSA_WITH_SHA384: ClassVar[ObjectIdentifier]
RSA_WITH_SHA512: ClassVar[ObjectIdentifier]
class ExtendedKeyUsageOID(object):
SERVER_AUTH: ClassVar[ObjectIdentifier]
CLIENT_AUTH: ClassVar[ObjectIdentifier]
CODE_SIGNING: ClassVar[ObjectIdentifier]
EMAIL_PROTECTION: ClassVar[ObjectIdentifier]
TIME_STAMPING: ClassVar[ObjectIdentifier]
OCSP_SIGNING: ClassVar[ObjectIdentifier]
ANY_EXTENDED_KEY_USAGE: ClassVar[ObjectIdentifier]
class NameAttribute(object):
oid: ObjectIdentifier
value: Text
def __init__(self, oid: ObjectIdentifier, value: Text) -> None: ...
def rfc4514_string(self) -> str: ...
class RelativeDistinguishedName(object):
def __init__(self, attributes: List[NameAttribute]) -> None: ...
def __iter__(self) -> Generator[NameAttribute, None, None]: ...
def get_attributes_for_oid(self, oid: ObjectIdentifier) -> List[NameAttribute]: ...
def rfc4514_string(self) -> str: ...
class Name(object):
rdns: List[RelativeDistinguishedName]
def __init__(self, attributes: Sequence[Union[NameAttribute, RelativeDistinguishedName]]) -> None: ...
def __iter__(self) -> Generator[NameAttribute, None, None]: ...
def __len__(self) -> int: ...
def get_attributes_for_oid(self, oid: ObjectIdentifier) -> List[NameAttribute]: ...
def public_bytes(self, backend: Optional[X509Backend] = ...) -> bytes: ...
def rfc4514_string(self) -> str: ...
class Version(Enum):
v1: int
v3: int
class Certificate(metaclass=ABCMeta):
extensions: Extensions
issuer: Name
not_valid_after: datetime.datetime
not_valid_before: datetime.datetime
serial_number: int
signature: bytes
signature_algorithm_oid: ObjectIdentifier
signature_hash_algorithm: HashAlgorithm
tbs_certificate_bytes: bytes
subject: Name
version: Version
@abstractmethod
def fingerprint(self, algorithm: HashAlgorithm) -> bytes: ...
@abstractmethod
def public_bytes(self, encoding: Encoding) -> bytes: ...
@abstractmethod
def public_key(self) -> Union[DSAPublicKey, Ed25519PublicKey, Ed448PublicKey, EllipticCurvePublicKey, RSAPublicKey]: ...
class CertificateBuilder(object):
def __init__(
self,
issuer_name: Optional[Name] = ...,
subject_name: Optional[Name] = ...,
public_key: Union[DSAPublicKey, Ed25519PublicKey, Ed448PublicKey, EllipticCurvePublicKey, RSAPublicKey, None] = ...,
serial_number: Optional[int] = ...,
not_valid_before: Optional[datetime.datetime] = ...,
not_valid_after: Optional[datetime.datetime] = ...,
extensions: Optional[Iterable[ExtensionType]] = ...,
) -> None: ...
def add_extension(self, extension: ExtensionType, critical: bool) -> CertificateBuilder: ...
def issuer_name(self, name: Name) -> CertificateBuilder: ...
def not_valid_after(self, time: datetime.datetime) -> CertificateBuilder: ...
def not_valid_before(self, time: datetime.datetime) -> CertificateBuilder: ...
def public_key(
self, public_key: Union[DSAPublicKey, Ed25519PublicKey, Ed448PublicKey, EllipticCurvePublicKey, RSAPublicKey]
) -> CertificateBuilder: ...
def serial_number(self, serial_number: int) -> CertificateBuilder: ...
def sign(
self,
private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey],
algorithm: Optional[HashAlgorithm],
backend: Optional[X509Backend] = ...,
) -> Certificate: ...
def subject_name(self, name: Name) -> CertificateBuilder: ...
class CertificateRevocationList(metaclass=ABCMeta):
extensions: Extensions
issuer: Name
last_update: datetime.datetime
next_update: datetime.datetime
signature: bytes
signature_algorithm_oid: ObjectIdentifier
signature_hash_algorithm: HashAlgorithm
tbs_certlist_bytes: bytes
@abstractmethod
def fingerprint(self, algorithm: HashAlgorithm) -> bytes: ...
@abstractmethod
def get_revoked_certificate_by_serial_number(self, serial_number: int) -> RevokedCertificate: ...
@abstractmethod
def is_signature_valid(
self, public_key: Union[DSAPublicKey, Ed25519PublicKey, Ed448PublicKey, EllipticCurvePublicKey, RSAPublicKey]
) -> bool: ...
@abstractmethod
def public_bytes(self, encoding: Encoding) -> bytes: ...
class CertificateRevocationListBuilder(object):
def add_extension(self, extension: ExtensionType, critical: bool) -> CertificateRevocationListBuilder: ...
def add_revoked_certificate(self, revoked_certificate: RevokedCertificate) -> CertificateRevocationListBuilder: ...
def issuer_name(self, name: Name) -> CertificateRevocationListBuilder: ...
def last_update(self, time: datetime.datetime) -> CertificateRevocationListBuilder: ...
def next_update(self, time: datetime.datetime) -> CertificateRevocationListBuilder: ...
def sign(
self,
private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey],
algorithm: Optional[HashAlgorithm],
backend: Optional[X509Backend] = ...,
) -> CertificateRevocationList: ...
class CertificateSigningRequest(metaclass=ABCMeta):
extensions: Extensions
is_signature_valid: bool
signature: bytes
signature_algorithm_oid: ObjectIdentifier
signature_hash_algorithm: HashAlgorithm
subject: Name
tbs_certrequest_bytes: bytes
@abstractmethod
def public_bytes(self, encoding: Encoding) -> bytes: ...
@abstractmethod
def public_key(self) -> Union[DSAPublicKey, Ed25519PublicKey, Ed448PublicKey, EllipticCurvePublicKey, RSAPublicKey]: ...
class CertificateSigningRequestBuilder(object):
def add_extension(self, extension: ExtensionType, critical: bool) -> CertificateSigningRequestBuilder: ...
def subject_name(self, name: Name) -> CertificateSigningRequestBuilder: ...
def sign(
self,
private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey],
algorithm: Optional[HashAlgorithm],
backend: Optional[X509Backend] = ...,
) -> CertificateSigningRequest: ...
class RevokedCertificate(metaclass=ABCMeta):
extensions: Extensions
revocation_date: datetime.datetime
serial_number: int
class RevokedCertificateBuilder(object):
def add_extension(self, extension: ExtensionType, critical: bool) -> RevokedCertificateBuilder: ...
def build(self, backend: Optional[X509Backend] = ...) -> RevokedCertificate: ...
def revocation_date(self, time: datetime.datetime) -> RevokedCertificateBuilder: ...
def serial_number(self, serial_number: int) -> RevokedCertificateBuilder: ...
# General Name Classes
class GeneralName(metaclass=ABCMeta):
value: Any
class DirectoryName(GeneralName):
value: Name
def __init__(self, value: Name) -> None: ...
class DNSName(GeneralName):
value: Text
def __init__(self, value: Text) -> None: ...
class IPAddress(GeneralName):
value: Union[IPv4Address, IPv6Address, IPv4Network, IPv6Network]
def __init__(self, value: Union[IPv4Address, IPv6Address, IPv4Network, IPv6Network]) -> None: ...
class OtherName(GeneralName):
type_id: ObjectIdentifier
value: bytes
def __init__(self, type_id: ObjectIdentifier, value: bytes) -> None: ...
class RegisteredID(GeneralName):
value: ObjectIdentifier
def __init__(self, value: ObjectIdentifier) -> None: ...
class RFC822Name(GeneralName):
value: Text
def __init__(self, value: Text) -> None: ...
class UniformResourceIdentifier(GeneralName):
value: Text
def __init__(self, value: Text) -> None: ...
# X.509 Extensions
class ExtensionType(metaclass=ABCMeta):
oid: ObjectIdentifier
_T = TypeVar("_T", bound="ExtensionType")
class Extension(Generic[_T]):
critical: bool
oid: ObjectIdentifier
value: _T
class Extensions(object):
def __init__(self, general_names: List[Extension[Any]]) -> None: ...
def __iter__(self) -> Generator[Extension[Any], None, None]: ...
def get_extension_for_oid(self, oid: ObjectIdentifier) -> Extension[Any]: ...
def get_extension_for_class(self, extclass: Type[_T]) -> Extension[_T]: ...
class DuplicateExtension(Exception):
oid: ObjectIdentifier
def __init__(self, msg: str, oid: ObjectIdentifier) -> None: ...
class ExtensionNotFound(Exception):
oid: ObjectIdentifier
def __init__(self, msg: str, oid: ObjectIdentifier) -> None: ...
class IssuerAlternativeName(ExtensionType):
def __init__(self, general_names: List[GeneralName]) -> None: ...
def __iter__(self) -> Generator[GeneralName, None, None]: ...
def get_values_for_type(self, type: Type[GeneralName]) -> List[Any]: ...
class SubjectAlternativeName(ExtensionType):
def __init__(self, general_names: List[GeneralName]) -> None: ...
def __iter__(self) -> Generator[GeneralName, None, None]: ...
def get_values_for_type(self, type: Type[GeneralName]) -> List[Any]: ...
class AuthorityKeyIdentifier(ExtensionType):
@property
def key_identifier(self) -> bytes: ...
@property
def authority_cert_issuer(self) -> Optional[List[GeneralName]]: ...
@property
def authority_cert_serial_number(self) -> Optional[int]: ...
def __init__(
self,
key_identifier: bytes,
authority_cert_issuer: Optional[Iterable[GeneralName]],
authority_cert_serial_number: Optional[int],
) -> None: ...
@classmethod
def from_issuer_public_key(
cls, public_key: Union[RSAPublicKey, DSAPublicKey, EllipticCurvePublicKey, Ed25519PublicKey, Ed448PublicKey]
) -> AuthorityKeyIdentifier: ...
@classmethod
def from_issuer_subject_key_identifier(cls, ski: SubjectKeyIdentifier) -> AuthorityKeyIdentifier: ...
class SubjectKeyIdentifier(ExtensionType):
@property
def digest(self) -> bytes: ...
def __init__(self, digest: bytes) -> None: ...
@classmethod
def from_public_key(
cls, public_key: Union[RSAPublicKey, DSAPublicKey, EllipticCurvePublicKey, Ed25519PublicKey, Ed448PublicKey]
) -> SubjectKeyIdentifier: ...
class AccessDescription:
@property
def access_method(self) -> ObjectIdentifier: ...
@property
def access_location(self) -> GeneralName: ...
def __init__(self, access_method: ObjectIdentifier, access_location: GeneralName) -> None: ...
class AuthorityInformationAccess(ExtensionType):
def __init__(self, descriptions: Iterable[AccessDescription]) -> None: ...
def __len__(self) -> int: ...
def __iter__(self) -> Generator[AccessDescription, None, None]: ...
def __getitem__(self, item: int) -> AccessDescription: ...
class SubjectInformationAccess(ExtensionType):
def __init__(self, descriptions: Iterable[AccessDescription]) -> None: ...
def __len__(self) -> int: ...
def __iter__(self) -> Generator[AccessDescription, None, None]: ...
def __getitem__(self, item: int) -> AccessDescription: ...
class BasicConstraints(ExtensionType):
@property
def ca(self) -> bool: ...
@property
def path_length(self) -> Optional[int]: ...
def __init__(self, ca: bool, path_length: Optional[int]) -> None: ...
class KeyUsage(ExtensionType):
@property
def digital_signature(self) -> bool: ...
@property
def content_commitment(self) -> bool: ...
@property
def key_encipherment(self) -> bool: ...
@property
def data_encipherment(self) -> bool: ...
@property
def key_agreement(self) -> bool: ...
@property
def key_cert_sign(self) -> bool: ...
@property
def crl_sign(self) -> bool: ...
@property
def encipher_only(self) -> bool: ...
@property
def decipher_only(self) -> bool: ...
def __init__(
self,
digital_signature: bool,
content_commitment: bool,
key_encipherment: bool,
data_encipherment: bool,
key_agreement: bool,
key_cert_sign: bool,
crl_sign: bool,
encipher_only: bool,
decipher_only: bool,
) -> None: ...
class ExtendedKeyUsage(ExtensionType):
def __init__(self, usages: Iterable[ObjectIdentifier]) -> None: ...
def __len__(self) -> int: ...
def __iter__(self) -> Generator[ObjectIdentifier, None, None]: ...
def __getitem__(self, item: int) -> ObjectIdentifier: ...
class UnrecognizedExtension(ExtensionType):
@property
def value(self) -> bytes: ...
def __init__(self, oid: ObjectIdentifier, value: bytes) -> None: ...
def load_der_x509_certificate(data: bytes, backend: Optional[X509Backend] = ...) -> Certificate: ...
def load_pem_x509_certificate(data: bytes, backend: Optional[X509Backend] = ...) -> Certificate: ...
def load_der_x509_crl(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateRevocationList: ...
def load_pem_x509_crl(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateRevocationList: ...
def load_der_x509_csr(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateSigningRequest: ...
def load_pem_x509_csr(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateSigningRequest: ...
def __getattr__(name: str) -> Any: ... # incomplete
| 17,734 | Python | .py | 372 | 42.844086 | 124 | 0.729236 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,627 | extensions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/cryptography/x509/extensions.pyi | from typing import Any, Iterator
from cryptography.x509 import GeneralName, ObjectIdentifier
class Extension:
value: Any = ...
class GeneralNames:
def __iter__(self) -> Iterator[GeneralName]: ...
class DistributionPoint:
full_name: GeneralNames = ...
class CRLDistributionPoints:
def __iter__(self) -> Iterator[DistributionPoint]: ...
class AccessDescription:
access_method: ObjectIdentifier = ...
access_location: GeneralName = ...
class AuthorityInformationAccess:
def __iter__(self) -> Iterator[AccessDescription]: ...
| 557 | Python | .py | 15 | 33.8 | 59 | 0.738318 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,628 | records.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/geoip2/records.pyi | from typing import Any, Mapping, Optional, Sequence, Text, Tuple
from geoip2.mixins import SimpleEquality
_Locales = Optional[Sequence[Text]]
_Names = Mapping[Text, Text]
class Record(SimpleEquality):
def __init__(self, **kwargs: Any) -> None: ...
def __setattr__(self, name: Text, value: Any) -> None: ...
class PlaceRecord(Record):
def __init__(self, locales: _Locales = ..., **kwargs: Any) -> None: ...
@property
def name(self) -> Text: ...
class City(PlaceRecord):
confidence: int
geoname_id: int
names: _Names
class Continent(PlaceRecord):
code: Text
geoname_id: int
names: _Names
class Country(PlaceRecord):
confidence: int
geoname_id: int
is_in_european_union: bool
iso_code: Text
names: _Names
def __init__(self, locales: _Locales = ..., **kwargs: Any) -> None: ...
class RepresentedCountry(Country):
type: Text
class Location(Record):
average_income: int
accuracy_radius: int
latitude: float
longitude: float
metro_code: int
population_density: int
time_zone: Text
class MaxMind(Record):
queries_remaining: int
class Postal(Record):
code: Text
confidence: int
class Subdivision(PlaceRecord):
confidence: int
geoname_id: int
iso_code: Text
names: _Names
class Subdivisions(Tuple[Subdivision]):
def __new__(cls, locales: _Locales, *subdivisions: Subdivision) -> Subdivisions: ...
def __init__(self, locales: _Locales, *subdivisions: Subdivision) -> None: ...
@property
def most_specific(self) -> Subdivision: ...
class Traits(Record):
autonomous_system_number: int
autonomous_system_organization: Text
connection_type: Text
domain: Text
ip_address: Text
is_anonymous: bool
is_anonymous_proxy: bool
is_anonymous_vpn: bool
is_hosting_provider: bool
is_legitimate_proxy: bool
is_public_proxy: bool
is_satellite_provider: bool
is_tor_exit_node: bool
isp: Text
organization: Text
user_type: Text
def __init__(self, **kwargs: Any) -> None: ...
| 2,071 | Python | .py | 69 | 25.73913 | 88 | 0.681087 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,629 | models.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/geoip2/models.pyi | from typing import Any, Mapping, Optional, Sequence, Text
from geoip2 import records
from geoip2.mixins import SimpleEquality
_Locales = Optional[Sequence[Text]]
_RawResponse = Mapping[Text, Mapping[Text, Any]]
class Country(SimpleEquality):
continent: records.Continent
country: records.Country
registered_country: records.Country
represented_country: records.RepresentedCountry
maxmind: records.MaxMind
traits: records.Traits
raw: _RawResponse
def __init__(self, raw_response: _RawResponse, locales: _Locales = ...) -> None: ...
class City(Country):
city: records.City
location: records.Location
postal: records.Postal
subdivisions: records.Subdivisions
def __init__(self, raw_response: _RawResponse, locales: _Locales = ...) -> None: ...
class Insights(City): ...
class Enterprise(City): ...
class SimpleModel(SimpleEquality): ...
class AnonymousIP(SimpleModel):
is_anonymous: bool
is_anonymous_vpn: bool
is_hosting_provider: bool
is_public_proxy: bool
is_tor_exit_node: bool
ip_address: Optional[Text]
raw: _RawResponse
def __init__(self, raw: _RawResponse) -> None: ...
class ASN(SimpleModel):
autonomous_system_number: Optional[int]
autonomous_system_organization: Optional[Text]
ip_address: Optional[Text]
raw: _RawResponse
def __init__(self, raw: _RawResponse) -> None: ...
class ConnectionType(SimpleModel):
connection_type: Optional[Text]
ip_address: Optional[Text]
raw: _RawResponse
def __init__(self, raw: _RawResponse) -> None: ...
class Domain(SimpleModel):
domain: Optional[Text]
ip_address: Optional[Text]
raw: Optional[Text]
def __init__(self, raw: _RawResponse) -> None: ...
class ISP(ASN):
isp: Optional[Text]
organization: Optional[Text]
def __init__(self, raw: _RawResponse) -> None: ...
| 1,867 | Python | .py | 52 | 31.865385 | 88 | 0.708587 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,630 | errors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/geoip2/errors.pyi | from typing import Optional, Text
class GeoIP2Error(RuntimeError): ...
class AddressNotFoundError(GeoIP2Error): ...
class AuthenticationError(GeoIP2Error): ...
class HTTPError(GeoIP2Error):
http_status: Optional[int]
uri: Optional[Text]
def __init__(self, message: Text, http_status: Optional[int] = ..., uri: Optional[Text] = ...) -> None: ...
class InvalidRequestError(GeoIP2Error): ...
class OutOfQueriesError(GeoIP2Error): ...
class PermissionRequiredError(GeoIP2Error): ...
| 494 | Python | .py | 11 | 42.545455 | 111 | 0.74375 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,631 | database.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/geoip2/database.pyi | from types import TracebackType
from typing import Optional, Sequence, Text, Type
from geoip2.models import ASN, ISP, AnonymousIP, City, ConnectionType, Country, Domain, Enterprise
from maxminddb.reader import Metadata
_Locales = Optional[Sequence[Text]]
class Reader:
def __init__(self, filename: Text, locales: _Locales = ..., mode: int = ...) -> None: ...
def __enter__(self) -> Reader: ...
def __exit__(
self,
exc_type: Optional[Type[BaseException]] = ...,
exc_val: Optional[BaseException] = ...,
exc_tb: Optional[TracebackType] = ...,
) -> None: ...
def country(self, ip_address: Text) -> Country: ...
def city(self, ip_address: Text) -> City: ...
def anonymous_ip(self, ip_address: Text) -> AnonymousIP: ...
def asn(self, ip_address: Text) -> ASN: ...
def connection_type(self, ip_address: Text) -> ConnectionType: ...
def domain(self, ip_address: Text) -> Domain: ...
def enterprise(self, ip_address: Text) -> Enterprise: ...
def isp(self, ip_address: Text) -> ISP: ...
def metadata(self) -> Metadata: ...
def close(self) -> None: ...
| 1,133 | Python | .py | 24 | 42.416667 | 98 | 0.632911 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,632 | mixins.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/geoip2/mixins.pyi | class SimpleEquality:
def __eq__(self, other: object) -> bool: ...
def __ne__(self, other: object) -> bool: ...
| 120 | Python | .py | 3 | 36.333333 | 48 | 0.57265 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,633 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/atomicwrites/__init__.pyi | from _typeshed import AnyPath
from typing import IO, Any, AnyStr, Callable, ContextManager, Optional, Text, Type
def replace_atomic(src: AnyStr, dst: AnyStr) -> None: ...
def move_atomic(src: AnyStr, dst: AnyStr) -> None: ...
class AtomicWriter(object):
def __init__(self, path: AnyPath, mode: Text = ..., overwrite: bool = ...) -> None: ...
def open(self) -> ContextManager[IO[Any]]: ...
def _open(self, get_fileobject: Callable[..., IO[AnyStr]]) -> ContextManager[IO[AnyStr]]: ...
def get_fileobject(self, dir: Optional[AnyPath] = ..., **kwargs: Any) -> IO[Any]: ...
def sync(self, f: IO[Any]) -> None: ...
def commit(self, f: IO[Any]) -> None: ...
def rollback(self, f: IO[Any]) -> None: ...
def atomic_write(path: AnyPath, writer_cls: Type[AtomicWriter] = ..., **cls_kwargs: object) -> ContextManager[IO[Any]]: ...
| 850 | Python | .py | 13 | 62 | 123 | 0.635492 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,634 | source_context_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/source_context_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class SourceContext(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
file_name: typing___Text = ...
def __init__(self,
*,
file_name : typing___Optional[typing___Text] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"file_name",b"file_name"]) -> None: ...
type___SourceContext = SourceContext
| 1,097 | Python | .py | 32 | 31 | 105 | 0.699811 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,635 | reflection.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/reflection.pyi | class GeneratedProtocolMessageType(type):
def __new__(cls, name, bases, dictionary): ...
def __init__(self, name, bases, dictionary) -> None: ...
def ParseMessage(descriptor, byte_str): ...
def MakeClass(descriptor): ...
| 230 | Python | .py | 5 | 43.2 | 60 | 0.683036 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,636 | duration_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/duration_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.well_known_types import (
Duration as google___protobuf___internal___well_known_types___Duration,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Duration(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Duration):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
seconds: builtin___int = ...
nanos: builtin___int = ...
def __init__(self,
*,
seconds : typing___Optional[builtin___int] = None,
nanos : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
type___Duration = Duration
| 1,348 | Python | .py | 36 | 34.055556 | 119 | 0.697389 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,637 | field_mask_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/field_mask_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.well_known_types import (
FieldMask as google___protobuf___internal___well_known_types___FieldMask,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class FieldMask(google___protobuf___message___Message, google___protobuf___internal___well_known_types___FieldMask):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
paths: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
def __init__(self,
*,
paths : typing___Optional[typing___Iterable[typing___Text]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"paths",b"paths"]) -> None: ...
type___FieldMask = FieldMask
| 1,558 | Python | .py | 39 | 36.717949 | 116 | 0.724138 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,638 | descriptor_pool.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pool.pyi | from typing import Any, Optional
class DescriptorPool:
def __new__(cls, descriptor_db: Optional[Any] = ...): ...
def __init__(self, descriptor_db: Optional[Any] = ...) -> None: ...
def Add(self, file_desc_proto): ...
def AddSerializedFile(self, serialized_file_desc_proto): ...
def AddDescriptor(self, desc): ...
def AddEnumDescriptor(self, enum_desc): ...
def AddFileDescriptor(self, file_desc): ...
def FindFileByName(self, file_name): ...
def FindFileContainingSymbol(self, symbol): ...
def FindMessageTypeByName(self, full_name): ...
def FindEnumTypeByName(self, full_name): ...
def FindFieldByName(self, full_name): ...
def FindExtensionByName(self, full_name): ...
def Default(): ...
| 744 | Python | .py | 16 | 42.125 | 71 | 0.665289 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,639 | wrappers_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/wrappers_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class DoubleValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___float = ...
def __init__(self,
*,
value : typing___Optional[builtin___float] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___DoubleValue = DoubleValue
class FloatValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___float = ...
def __init__(self,
*,
value : typing___Optional[builtin___float] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___FloatValue = FloatValue
class Int64Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___Int64Value = Int64Value
class UInt64Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___UInt64Value = UInt64Value
class Int32Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___Int32Value = Int32Value
class UInt32Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___int = ...
def __init__(self,
*,
value : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___UInt32Value = UInt32Value
class BoolValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___bool = ...
def __init__(self,
*,
value : typing___Optional[builtin___bool] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___BoolValue = BoolValue
class StringValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: typing___Text = ...
def __init__(self,
*,
value : typing___Optional[typing___Text] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___StringValue = StringValue
class BytesValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
value: builtin___bytes = ...
def __init__(self,
*,
value : typing___Optional[builtin___bytes] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
type___BytesValue = BytesValue
| 4,287 | Python | .py | 104 | 36.288462 | 97 | 0.638047 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,640 | message_factory.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message_factory.pyi | from typing import Any, Dict, Iterable, Optional, Type
from google.protobuf.descriptor import Descriptor
from google.protobuf.descriptor_pb2 import FileDescriptorProto
from google.protobuf.descriptor_pool import DescriptorPool
from google.protobuf.message import Message
class MessageFactory:
pool: Any
def __init__(self, pool: Optional[DescriptorPool] = ...) -> None: ...
def GetPrototype(self, descriptor: Descriptor) -> Type[Message]: ...
def GetMessages(self, files: Iterable[str]) -> Dict[str, Type[Message]]: ...
def GetMessages(file_protos: Iterable[FileDescriptorProto]) -> Dict[str, Type[Message]]: ...
| 631 | Python | .py | 11 | 54.636364 | 92 | 0.763371 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,641 | descriptor.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor.pyi | from typing import Any
from .descriptor_pb2 import (
EnumOptions,
EnumValueOptions,
FieldOptions,
FileOptions,
MessageOptions,
MethodOptions,
OneofOptions,
ServiceOptions,
)
from .message import Message
class Error(Exception): ...
class TypeTransformationError(Error): ...
class DescriptorMetaclass(type):
def __instancecheck__(self, obj): ...
class DescriptorBase(metaclass=DescriptorMetaclass):
has_options: Any
def __init__(self, options, serialized_options, options_class_name) -> None: ...
def GetOptions(self): ...
class _NestedDescriptorBase(DescriptorBase):
name: Any
full_name: Any
file: Any
containing_type: Any
def __init__(
self,
options,
options_class_name,
name,
full_name,
file,
containing_type,
serialized_start=...,
serialized_end=...,
serialized_options=...,
) -> None: ...
def GetTopLevelContainingType(self): ...
def CopyToProto(self, proto): ...
class Descriptor(_NestedDescriptorBase):
def __new__(
cls,
name,
full_name,
filename,
containing_type,
fields,
nested_types,
enum_types,
extensions,
options=...,
serialized_options=...,
is_extendable=...,
extension_ranges=...,
oneofs=...,
file=...,
serialized_start=...,
serialized_end=...,
syntax=...,
): ...
fields: Any
fields_by_number: Any
fields_by_name: Any
nested_types: Any
nested_types_by_name: Any
enum_types: Any
enum_types_by_name: Any
enum_values_by_name: Any
extensions: Any
extensions_by_name: Any
is_extendable: Any
extension_ranges: Any
oneofs: Any
oneofs_by_name: Any
syntax: Any
def __init__(
self,
name,
full_name,
filename,
containing_type,
fields,
nested_types,
enum_types,
extensions,
options=...,
serialized_options=...,
is_extendable=...,
extension_ranges=...,
oneofs=...,
file=...,
serialized_start=...,
serialized_end=...,
syntax=...,
) -> None: ...
def EnumValueName(self, enum, value): ...
def CopyToProto(self, proto): ...
def GetOptions(self) -> MessageOptions: ...
class FieldDescriptor(DescriptorBase):
TYPE_DOUBLE: Any
TYPE_FLOAT: Any
TYPE_INT64: Any
TYPE_UINT64: Any
TYPE_INT32: Any
TYPE_FIXED64: Any
TYPE_FIXED32: Any
TYPE_BOOL: Any
TYPE_STRING: Any
TYPE_GROUP: Any
TYPE_MESSAGE: Any
TYPE_BYTES: Any
TYPE_UINT32: Any
TYPE_ENUM: Any
TYPE_SFIXED32: Any
TYPE_SFIXED64: Any
TYPE_SINT32: Any
TYPE_SINT64: Any
MAX_TYPE: Any
CPPTYPE_INT32: Any
CPPTYPE_INT64: Any
CPPTYPE_UINT32: Any
CPPTYPE_UINT64: Any
CPPTYPE_DOUBLE: Any
CPPTYPE_FLOAT: Any
CPPTYPE_BOOL: Any
CPPTYPE_ENUM: Any
CPPTYPE_STRING: Any
CPPTYPE_MESSAGE: Any
MAX_CPPTYPE: Any
LABEL_OPTIONAL: Any
LABEL_REQUIRED: Any
LABEL_REPEATED: Any
MAX_LABEL: Any
MAX_FIELD_NUMBER: Any
FIRST_RESERVED_FIELD_NUMBER: Any
LAST_RESERVED_FIELD_NUMBER: Any
def __new__(
cls,
name,
full_name,
index,
number,
type,
cpp_type,
label,
default_value,
message_type,
enum_type,
containing_type,
is_extension,
extension_scope,
options=...,
serialized_options=...,
file=...,
has_default_value=...,
containing_oneof=...,
): ...
name: Any
full_name: Any
index: Any
number: Any
type: Any
cpp_type: Any
label: Any
has_default_value: Any
default_value: Any
containing_type: Any
message_type: Any
enum_type: Any
is_extension: Any
extension_scope: Any
containing_oneof: Any
def __init__(
self,
name,
full_name,
index,
number,
type,
cpp_type,
label,
default_value,
message_type,
enum_type,
containing_type,
is_extension,
extension_scope,
options=...,
serialized_options=...,
file=...,
has_default_value=...,
containing_oneof=...,
) -> None: ...
@staticmethod
def ProtoTypeToCppProtoType(proto_type): ...
def GetOptions(self) -> FieldOptions: ...
class EnumDescriptor(_NestedDescriptorBase):
def __new__(
cls,
name,
full_name,
filename,
values,
containing_type=...,
options=...,
serialized_options=...,
file=...,
serialized_start=...,
serialized_end=...,
): ...
values: Any
values_by_name: Any
values_by_number: Any
def __init__(
self,
name,
full_name,
filename,
values,
containing_type=...,
options=...,
serialized_options=...,
file=...,
serialized_start=...,
serialized_end=...,
) -> None: ...
def CopyToProto(self, proto): ...
def GetOptions(self) -> EnumOptions: ...
class EnumValueDescriptor(DescriptorBase):
def __new__(cls, name, index, number, type=..., options=..., serialized_options=...): ...
name: Any
index: Any
number: Any
type: Any
def __init__(self, name, index, number, type=..., options=..., serialized_options=...) -> None: ...
def GetOptions(self) -> EnumValueOptions: ...
class OneofDescriptor:
def __new__(cls, name, full_name, index, containing_type, fields): ...
name: Any
full_name: Any
index: Any
containing_type: Any
fields: Any
def __init__(self, name, full_name, index, containing_type, fields) -> None: ...
def GetOptions(self) -> OneofOptions: ...
class ServiceDescriptor(_NestedDescriptorBase):
index: Any
methods: Any
methods_by_name: Any
def __init__(
self,
name,
full_name,
index,
methods,
options=...,
serialized_options=...,
file=...,
serialized_start=...,
serialized_end=...,
) -> None: ...
def FindMethodByName(self, name): ...
def CopyToProto(self, proto): ...
def GetOptions(self) -> ServiceOptions: ...
class MethodDescriptor(DescriptorBase):
name: Any
full_name: Any
index: Any
containing_service: Any
input_type: Any
output_type: Any
def __init__(
self, name, full_name, index, containing_service, input_type, output_type, options=..., serialized_options=...
) -> None: ...
def GetOptions(self) -> MethodOptions: ...
class FileDescriptor(DescriptorBase):
def __new__(
cls,
name,
package,
options=...,
serialized_options=...,
serialized_pb=...,
dependencies=...,
public_dependencies=...,
syntax=...,
pool=...,
): ...
_options: Any
pool: Any
message_types_by_name: Any
name: Any
package: Any
syntax: Any
serialized_pb: Any
enum_types_by_name: Any
extensions_by_name: Any
services_by_name: Any
dependencies: Any
public_dependencies: Any
def __init__(
self,
name,
package,
options=...,
serialized_options=...,
serialized_pb=...,
dependencies=...,
public_dependencies=...,
syntax=...,
pool=...,
) -> None: ...
def CopyToProto(self, proto): ...
def GetOptions(self) -> FileOptions: ...
def MakeDescriptor(desc_proto, package=..., build_file_if_cpp=..., syntax=...): ...
def _ParseOptions(message: Message, string: bytes) -> Message: ...
| 7,843 | Python | .py | 316 | 18.281646 | 118 | 0.575802 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,642 | struct_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/struct_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
MessageMap as google___protobuf___internal___containers___MessageMap,
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.internal.well_known_types import (
ListValue as google___protobuf___internal___well_known_types___ListValue,
Struct as google___protobuf___internal___well_known_types___Struct,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
Mapping as typing___Mapping,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
NullValueValue = typing___NewType('NullValueValue', builtin___int)
type___NullValueValue = NullValueValue
NullValue: _NullValue
class _NullValue(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[NullValueValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
NULL_VALUE = typing___cast(NullValueValue, 0)
NULL_VALUE = typing___cast(NullValueValue, 0)
class Struct(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Struct):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class FieldsEntry(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
key: typing___Text = ...
@property
def value(self) -> type___Value: ...
def __init__(self,
*,
key : typing___Optional[typing___Text] = None,
value : typing___Optional[type___Value] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
type___FieldsEntry = FieldsEntry
@property
def fields(self) -> google___protobuf___internal___containers___MessageMap[typing___Text, type___Value]: ...
def __init__(self,
*,
fields : typing___Optional[typing___Mapping[typing___Text, type___Value]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields"]) -> None: ...
type___Struct = Struct
class Value(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
null_value: type___NullValueValue = ...
number_value: builtin___float = ...
string_value: typing___Text = ...
bool_value: builtin___bool = ...
@property
def struct_value(self) -> type___Struct: ...
@property
def list_value(self) -> type___ListValue: ...
def __init__(self,
*,
null_value : typing___Optional[type___NullValueValue] = None,
number_value : typing___Optional[builtin___float] = None,
string_value : typing___Optional[typing___Text] = None,
bool_value : typing___Optional[builtin___bool] = None,
struct_value : typing___Optional[type___Struct] = None,
list_value : typing___Optional[type___ListValue] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> None: ...
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"kind",b"kind"]) -> typing_extensions___Literal["null_value","number_value","string_value","bool_value","struct_value","list_value"]: ...
type___Value = Value
class ListValue(google___protobuf___message___Message, google___protobuf___internal___well_known_types___ListValue):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def values(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Value]: ...
def __init__(self,
*,
values : typing___Optional[typing___Iterable[type___Value]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"values",b"values"]) -> None: ...
type___ListValue = ListValue
| 5,358 | Python | .py | 102 | 47.490196 | 283 | 0.676988 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,643 | any_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/any_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.well_known_types import (
Any as google___protobuf___internal___well_known_types___Any,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Any(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Any):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
type_url: typing___Text = ...
value: builtin___bytes = ...
def __init__(self,
*,
type_url : typing___Optional[typing___Text] = None,
value : typing___Optional[builtin___bytes] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"type_url",b"type_url",u"value",b"value"]) -> None: ...
type___Any = Any
| 1,353 | Python | .py | 37 | 33.135135 | 121 | 0.687596 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,644 | type_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/type_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.any_pb2 import (
Any as google___protobuf___any_pb2___Any,
)
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from google.protobuf.source_context_pb2 import (
SourceContext as google___protobuf___source_context_pb2___SourceContext,
)
from typing import (
Iterable as typing___Iterable,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
SyntaxValue = typing___NewType('SyntaxValue', builtin___int)
type___SyntaxValue = SyntaxValue
Syntax: _Syntax
class _Syntax(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[SyntaxValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
class Type(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
oneofs: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
syntax: type___SyntaxValue = ...
@property
def fields(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Field]: ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
fields : typing___Optional[typing___Iterable[type___Field]] = None,
oneofs : typing___Optional[typing___Iterable[typing___Text]] = None,
options : typing___Optional[typing___Iterable[type___Option]] = None,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
syntax : typing___Optional[type___SyntaxValue] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields",u"name",b"name",u"oneofs",b"oneofs",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
type___Type = Type
class Field(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
KindValue = typing___NewType('KindValue', builtin___int)
type___KindValue = KindValue
Kind: _Kind
class _Kind(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.KindValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
TYPE_INT64 = typing___cast(Field.KindValue, 3)
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
TYPE_INT32 = typing___cast(Field.KindValue, 5)
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
TYPE_BOOL = typing___cast(Field.KindValue, 8)
TYPE_STRING = typing___cast(Field.KindValue, 9)
TYPE_GROUP = typing___cast(Field.KindValue, 10)
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
TYPE_BYTES = typing___cast(Field.KindValue, 12)
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
TYPE_ENUM = typing___cast(Field.KindValue, 14)
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
TYPE_INT64 = typing___cast(Field.KindValue, 3)
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
TYPE_INT32 = typing___cast(Field.KindValue, 5)
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
TYPE_BOOL = typing___cast(Field.KindValue, 8)
TYPE_STRING = typing___cast(Field.KindValue, 9)
TYPE_GROUP = typing___cast(Field.KindValue, 10)
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
TYPE_BYTES = typing___cast(Field.KindValue, 12)
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
TYPE_ENUM = typing___cast(Field.KindValue, 14)
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
CardinalityValue = typing___NewType('CardinalityValue', builtin___int)
type___CardinalityValue = CardinalityValue
Cardinality: _Cardinality
class _Cardinality(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.CardinalityValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
kind: type___Field.KindValue = ...
cardinality: type___Field.CardinalityValue = ...
number: builtin___int = ...
name: typing___Text = ...
type_url: typing___Text = ...
oneof_index: builtin___int = ...
packed: builtin___bool = ...
json_name: typing___Text = ...
default_value: typing___Text = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def __init__(self,
*,
kind : typing___Optional[type___Field.KindValue] = None,
cardinality : typing___Optional[type___Field.CardinalityValue] = None,
number : typing___Optional[builtin___int] = None,
name : typing___Optional[typing___Text] = None,
type_url : typing___Optional[typing___Text] = None,
oneof_index : typing___Optional[builtin___int] = None,
packed : typing___Optional[builtin___bool] = None,
options : typing___Optional[typing___Iterable[type___Option]] = None,
json_name : typing___Optional[typing___Text] = None,
default_value : typing___Optional[typing___Text] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"cardinality",b"cardinality",u"default_value",b"default_value",u"json_name",b"json_name",u"kind",b"kind",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"packed",b"packed",u"type_url",b"type_url"]) -> None: ...
type___Field = Field
class Enum(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
syntax: type___SyntaxValue = ...
@property
def enumvalue(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumValue]: ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
enumvalue : typing___Optional[typing___Iterable[type___EnumValue]] = None,
options : typing___Optional[typing___Iterable[type___Option]] = None,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
syntax : typing___Optional[type___SyntaxValue] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"enumvalue",b"enumvalue",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
type___Enum = Enum
class EnumValue(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
number: builtin___int = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
number : typing___Optional[builtin___int] = None,
options : typing___Optional[typing___Iterable[type___Option]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
type___EnumValue = EnumValue
class Option(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
@property
def value(self) -> google___protobuf___any_pb2___Any: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
value : typing___Optional[google___protobuf___any_pb2___Any] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"value",b"value"]) -> None: ...
type___Option = Option
| 11,139 | Python | .py | 204 | 49.04902 | 317 | 0.676206 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,645 | descriptor_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class FileDescriptorSet(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FileDescriptorProto]: ...
def __init__(self,
*,
file : typing___Optional[typing___Iterable[type___FileDescriptorProto]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"file",b"file"]) -> None: ...
type___FileDescriptorSet = FileDescriptorSet
class FileDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
package: typing___Text = ...
dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
public_dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
weak_dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
syntax: typing___Text = ...
@property
def message_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto]: ...
@property
def enum_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto]: ...
@property
def service(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___ServiceDescriptorProto]: ...
@property
def extension(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
@property
def options(self) -> type___FileOptions: ...
@property
def source_code_info(self) -> type___SourceCodeInfo: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
package : typing___Optional[typing___Text] = None,
dependency : typing___Optional[typing___Iterable[typing___Text]] = None,
public_dependency : typing___Optional[typing___Iterable[builtin___int]] = None,
weak_dependency : typing___Optional[typing___Iterable[builtin___int]] = None,
message_type : typing___Optional[typing___Iterable[type___DescriptorProto]] = None,
enum_type : typing___Optional[typing___Iterable[type___EnumDescriptorProto]] = None,
service : typing___Optional[typing___Iterable[type___ServiceDescriptorProto]] = None,
extension : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
options : typing___Optional[type___FileOptions] = None,
source_code_info : typing___Optional[type___SourceCodeInfo] = None,
syntax : typing___Optional[typing___Text] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"package",b"package",u"source_code_info",b"source_code_info",u"syntax",b"syntax"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"dependency",b"dependency",u"enum_type",b"enum_type",u"extension",b"extension",u"message_type",b"message_type",u"name",b"name",u"options",b"options",u"package",b"package",u"public_dependency",b"public_dependency",u"service",b"service",u"source_code_info",b"source_code_info",u"syntax",b"syntax",u"weak_dependency",b"weak_dependency"]) -> None: ...
type___FileDescriptorProto = FileDescriptorProto
class DescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class ExtensionRange(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
start: builtin___int = ...
end: builtin___int = ...
@property
def options(self) -> type___ExtensionRangeOptions: ...
def __init__(self,
*,
start : typing___Optional[builtin___int] = None,
end : typing___Optional[builtin___int] = None,
options : typing___Optional[type___ExtensionRangeOptions] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"options",b"options",u"start",b"start"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"options",b"options",u"start",b"start"]) -> None: ...
type___ExtensionRange = ExtensionRange
class ReservedRange(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
start: builtin___int = ...
end: builtin___int = ...
def __init__(self,
*,
start : typing___Optional[builtin___int] = None,
end : typing___Optional[builtin___int] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> None: ...
type___ReservedRange = ReservedRange
name: typing___Text = ...
reserved_name: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
@property
def field(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
@property
def extension(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
@property
def nested_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto]: ...
@property
def enum_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto]: ...
@property
def extension_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto.ExtensionRange]: ...
@property
def oneof_decl(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___OneofDescriptorProto]: ...
@property
def options(self) -> type___MessageOptions: ...
@property
def reserved_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto.ReservedRange]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
field : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
extension : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
nested_type : typing___Optional[typing___Iterable[type___DescriptorProto]] = None,
enum_type : typing___Optional[typing___Iterable[type___EnumDescriptorProto]] = None,
extension_range : typing___Optional[typing___Iterable[type___DescriptorProto.ExtensionRange]] = None,
oneof_decl : typing___Optional[typing___Iterable[type___OneofDescriptorProto]] = None,
options : typing___Optional[type___MessageOptions] = None,
reserved_range : typing___Optional[typing___Iterable[type___DescriptorProto.ReservedRange]] = None,
reserved_name : typing___Optional[typing___Iterable[typing___Text]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"enum_type",b"enum_type",u"extension",b"extension",u"extension_range",b"extension_range",u"field",b"field",u"name",b"name",u"nested_type",b"nested_type",u"oneof_decl",b"oneof_decl",u"options",b"options",u"reserved_name",b"reserved_name",u"reserved_range",b"reserved_range"]) -> None: ...
type___DescriptorProto = DescriptorProto
class ExtensionRangeOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___ExtensionRangeOptions = ExtensionRangeOptions
class FieldDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
TypeValue = typing___NewType('TypeValue', builtin___int)
type___TypeValue = TypeValue
Type: _Type
class _Type(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldDescriptorProto.TypeValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
TYPE_DOUBLE = typing___cast(FieldDescriptorProto.TypeValue, 1)
TYPE_FLOAT = typing___cast(FieldDescriptorProto.TypeValue, 2)
TYPE_INT64 = typing___cast(FieldDescriptorProto.TypeValue, 3)
TYPE_UINT64 = typing___cast(FieldDescriptorProto.TypeValue, 4)
TYPE_INT32 = typing___cast(FieldDescriptorProto.TypeValue, 5)
TYPE_FIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 6)
TYPE_FIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 7)
TYPE_BOOL = typing___cast(FieldDescriptorProto.TypeValue, 8)
TYPE_STRING = typing___cast(FieldDescriptorProto.TypeValue, 9)
TYPE_GROUP = typing___cast(FieldDescriptorProto.TypeValue, 10)
TYPE_MESSAGE = typing___cast(FieldDescriptorProto.TypeValue, 11)
TYPE_BYTES = typing___cast(FieldDescriptorProto.TypeValue, 12)
TYPE_UINT32 = typing___cast(FieldDescriptorProto.TypeValue, 13)
TYPE_ENUM = typing___cast(FieldDescriptorProto.TypeValue, 14)
TYPE_SFIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 15)
TYPE_SFIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 16)
TYPE_SINT32 = typing___cast(FieldDescriptorProto.TypeValue, 17)
TYPE_SINT64 = typing___cast(FieldDescriptorProto.TypeValue, 18)
TYPE_DOUBLE = typing___cast(FieldDescriptorProto.TypeValue, 1)
TYPE_FLOAT = typing___cast(FieldDescriptorProto.TypeValue, 2)
TYPE_INT64 = typing___cast(FieldDescriptorProto.TypeValue, 3)
TYPE_UINT64 = typing___cast(FieldDescriptorProto.TypeValue, 4)
TYPE_INT32 = typing___cast(FieldDescriptorProto.TypeValue, 5)
TYPE_FIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 6)
TYPE_FIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 7)
TYPE_BOOL = typing___cast(FieldDescriptorProto.TypeValue, 8)
TYPE_STRING = typing___cast(FieldDescriptorProto.TypeValue, 9)
TYPE_GROUP = typing___cast(FieldDescriptorProto.TypeValue, 10)
TYPE_MESSAGE = typing___cast(FieldDescriptorProto.TypeValue, 11)
TYPE_BYTES = typing___cast(FieldDescriptorProto.TypeValue, 12)
TYPE_UINT32 = typing___cast(FieldDescriptorProto.TypeValue, 13)
TYPE_ENUM = typing___cast(FieldDescriptorProto.TypeValue, 14)
TYPE_SFIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 15)
TYPE_SFIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 16)
TYPE_SINT32 = typing___cast(FieldDescriptorProto.TypeValue, 17)
TYPE_SINT64 = typing___cast(FieldDescriptorProto.TypeValue, 18)
LabelValue = typing___NewType('LabelValue', builtin___int)
type___LabelValue = LabelValue
Label: _Label
class _Label(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldDescriptorProto.LabelValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
LABEL_OPTIONAL = typing___cast(FieldDescriptorProto.LabelValue, 1)
LABEL_REQUIRED = typing___cast(FieldDescriptorProto.LabelValue, 2)
LABEL_REPEATED = typing___cast(FieldDescriptorProto.LabelValue, 3)
LABEL_OPTIONAL = typing___cast(FieldDescriptorProto.LabelValue, 1)
LABEL_REQUIRED = typing___cast(FieldDescriptorProto.LabelValue, 2)
LABEL_REPEATED = typing___cast(FieldDescriptorProto.LabelValue, 3)
name: typing___Text = ...
number: builtin___int = ...
label: type___FieldDescriptorProto.LabelValue = ...
type: type___FieldDescriptorProto.TypeValue = ...
type_name: typing___Text = ...
extendee: typing___Text = ...
default_value: typing___Text = ...
oneof_index: builtin___int = ...
json_name: typing___Text = ...
proto3_optional: builtin___bool = ...
@property
def options(self) -> type___FieldOptions: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
number : typing___Optional[builtin___int] = None,
label : typing___Optional[type___FieldDescriptorProto.LabelValue] = None,
type : typing___Optional[type___FieldDescriptorProto.TypeValue] = None,
type_name : typing___Optional[typing___Text] = None,
extendee : typing___Optional[typing___Text] = None,
default_value : typing___Optional[typing___Text] = None,
oneof_index : typing___Optional[builtin___int] = None,
json_name : typing___Optional[typing___Text] = None,
options : typing___Optional[type___FieldOptions] = None,
proto3_optional : typing___Optional[builtin___bool] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"default_value",b"default_value",u"extendee",b"extendee",u"json_name",b"json_name",u"label",b"label",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"proto3_optional",b"proto3_optional",u"type",b"type",u"type_name",b"type_name"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"default_value",b"default_value",u"extendee",b"extendee",u"json_name",b"json_name",u"label",b"label",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"proto3_optional",b"proto3_optional",u"type",b"type",u"type_name",b"type_name"]) -> None: ...
type___FieldDescriptorProto = FieldDescriptorProto
class OneofDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
@property
def options(self) -> type___OneofOptions: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
options : typing___Optional[type___OneofOptions] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> None: ...
type___OneofDescriptorProto = OneofDescriptorProto
class EnumDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class EnumReservedRange(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
start: builtin___int = ...
end: builtin___int = ...
def __init__(self,
*,
start : typing___Optional[builtin___int] = None,
end : typing___Optional[builtin___int] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> None: ...
type___EnumReservedRange = EnumReservedRange
name: typing___Text = ...
reserved_name: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
@property
def value(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumValueDescriptorProto]: ...
@property
def options(self) -> type___EnumOptions: ...
@property
def reserved_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto.EnumReservedRange]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
value : typing___Optional[typing___Iterable[type___EnumValueDescriptorProto]] = None,
options : typing___Optional[type___EnumOptions] = None,
reserved_range : typing___Optional[typing___Iterable[type___EnumDescriptorProto.EnumReservedRange]] = None,
reserved_name : typing___Optional[typing___Iterable[typing___Text]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"reserved_name",b"reserved_name",u"reserved_range",b"reserved_range",u"value",b"value"]) -> None: ...
type___EnumDescriptorProto = EnumDescriptorProto
class EnumValueDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
number: builtin___int = ...
@property
def options(self) -> type___EnumValueOptions: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
number : typing___Optional[builtin___int] = None,
options : typing___Optional[type___EnumValueOptions] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
type___EnumValueDescriptorProto = EnumValueDescriptorProto
class ServiceDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
@property
def method(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___MethodDescriptorProto]: ...
@property
def options(self) -> type___ServiceOptions: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
method : typing___Optional[typing___Iterable[type___MethodDescriptorProto]] = None,
options : typing___Optional[type___ServiceOptions] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"method",b"method",u"name",b"name",u"options",b"options"]) -> None: ...
type___ServiceDescriptorProto = ServiceDescriptorProto
class MethodDescriptorProto(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
input_type: typing___Text = ...
output_type: typing___Text = ...
client_streaming: builtin___bool = ...
server_streaming: builtin___bool = ...
@property
def options(self) -> type___MethodOptions: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
input_type : typing___Optional[typing___Text] = None,
output_type : typing___Optional[typing___Text] = None,
options : typing___Optional[type___MethodOptions] = None,
client_streaming : typing___Optional[builtin___bool] = None,
server_streaming : typing___Optional[builtin___bool] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"client_streaming",b"client_streaming",u"input_type",b"input_type",u"name",b"name",u"options",b"options",u"output_type",b"output_type",u"server_streaming",b"server_streaming"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"client_streaming",b"client_streaming",u"input_type",b"input_type",u"name",b"name",u"options",b"options",u"output_type",b"output_type",u"server_streaming",b"server_streaming"]) -> None: ...
type___MethodDescriptorProto = MethodDescriptorProto
class FileOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
OptimizeModeValue = typing___NewType('OptimizeModeValue', builtin___int)
type___OptimizeModeValue = OptimizeModeValue
OptimizeMode: _OptimizeMode
class _OptimizeMode(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FileOptions.OptimizeModeValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
SPEED = typing___cast(FileOptions.OptimizeModeValue, 1)
CODE_SIZE = typing___cast(FileOptions.OptimizeModeValue, 2)
LITE_RUNTIME = typing___cast(FileOptions.OptimizeModeValue, 3)
SPEED = typing___cast(FileOptions.OptimizeModeValue, 1)
CODE_SIZE = typing___cast(FileOptions.OptimizeModeValue, 2)
LITE_RUNTIME = typing___cast(FileOptions.OptimizeModeValue, 3)
java_package: typing___Text = ...
java_outer_classname: typing___Text = ...
java_multiple_files: builtin___bool = ...
java_generate_equals_and_hash: builtin___bool = ...
java_string_check_utf8: builtin___bool = ...
optimize_for: type___FileOptions.OptimizeModeValue = ...
go_package: typing___Text = ...
cc_generic_services: builtin___bool = ...
java_generic_services: builtin___bool = ...
py_generic_services: builtin___bool = ...
php_generic_services: builtin___bool = ...
deprecated: builtin___bool = ...
cc_enable_arenas: builtin___bool = ...
objc_class_prefix: typing___Text = ...
csharp_namespace: typing___Text = ...
swift_prefix: typing___Text = ...
php_class_prefix: typing___Text = ...
php_namespace: typing___Text = ...
php_metadata_namespace: typing___Text = ...
ruby_package: typing___Text = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
java_package : typing___Optional[typing___Text] = None,
java_outer_classname : typing___Optional[typing___Text] = None,
java_multiple_files : typing___Optional[builtin___bool] = None,
java_generate_equals_and_hash : typing___Optional[builtin___bool] = None,
java_string_check_utf8 : typing___Optional[builtin___bool] = None,
optimize_for : typing___Optional[type___FileOptions.OptimizeModeValue] = None,
go_package : typing___Optional[typing___Text] = None,
cc_generic_services : typing___Optional[builtin___bool] = None,
java_generic_services : typing___Optional[builtin___bool] = None,
py_generic_services : typing___Optional[builtin___bool] = None,
php_generic_services : typing___Optional[builtin___bool] = None,
deprecated : typing___Optional[builtin___bool] = None,
cc_enable_arenas : typing___Optional[builtin___bool] = None,
objc_class_prefix : typing___Optional[typing___Text] = None,
csharp_namespace : typing___Optional[typing___Text] = None,
swift_prefix : typing___Optional[typing___Text] = None,
php_class_prefix : typing___Optional[typing___Text] = None,
php_namespace : typing___Optional[typing___Text] = None,
php_metadata_namespace : typing___Optional[typing___Text] = None,
ruby_package : typing___Optional[typing___Text] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"cc_enable_arenas",b"cc_enable_arenas",u"cc_generic_services",b"cc_generic_services",u"csharp_namespace",b"csharp_namespace",u"deprecated",b"deprecated",u"go_package",b"go_package",u"java_generate_equals_and_hash",b"java_generate_equals_and_hash",u"java_generic_services",b"java_generic_services",u"java_multiple_files",b"java_multiple_files",u"java_outer_classname",b"java_outer_classname",u"java_package",b"java_package",u"java_string_check_utf8",b"java_string_check_utf8",u"objc_class_prefix",b"objc_class_prefix",u"optimize_for",b"optimize_for",u"php_class_prefix",b"php_class_prefix",u"php_generic_services",b"php_generic_services",u"php_metadata_namespace",b"php_metadata_namespace",u"php_namespace",b"php_namespace",u"py_generic_services",b"py_generic_services",u"ruby_package",b"ruby_package",u"swift_prefix",b"swift_prefix"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"cc_enable_arenas",b"cc_enable_arenas",u"cc_generic_services",b"cc_generic_services",u"csharp_namespace",b"csharp_namespace",u"deprecated",b"deprecated",u"go_package",b"go_package",u"java_generate_equals_and_hash",b"java_generate_equals_and_hash",u"java_generic_services",b"java_generic_services",u"java_multiple_files",b"java_multiple_files",u"java_outer_classname",b"java_outer_classname",u"java_package",b"java_package",u"java_string_check_utf8",b"java_string_check_utf8",u"objc_class_prefix",b"objc_class_prefix",u"optimize_for",b"optimize_for",u"php_class_prefix",b"php_class_prefix",u"php_generic_services",b"php_generic_services",u"php_metadata_namespace",b"php_metadata_namespace",u"php_namespace",b"php_namespace",u"py_generic_services",b"py_generic_services",u"ruby_package",b"ruby_package",u"swift_prefix",b"swift_prefix",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___FileOptions = FileOptions
class MessageOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
message_set_wire_format: builtin___bool = ...
no_standard_descriptor_accessor: builtin___bool = ...
deprecated: builtin___bool = ...
map_entry: builtin___bool = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
message_set_wire_format : typing___Optional[builtin___bool] = None,
no_standard_descriptor_accessor : typing___Optional[builtin___bool] = None,
deprecated : typing___Optional[builtin___bool] = None,
map_entry : typing___Optional[builtin___bool] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"map_entry",b"map_entry",u"message_set_wire_format",b"message_set_wire_format",u"no_standard_descriptor_accessor",b"no_standard_descriptor_accessor"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"map_entry",b"map_entry",u"message_set_wire_format",b"message_set_wire_format",u"no_standard_descriptor_accessor",b"no_standard_descriptor_accessor",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___MessageOptions = MessageOptions
class FieldOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
CTypeValue = typing___NewType('CTypeValue', builtin___int)
type___CTypeValue = CTypeValue
CType: _CType
class _CType(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldOptions.CTypeValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
STRING = typing___cast(FieldOptions.CTypeValue, 0)
CORD = typing___cast(FieldOptions.CTypeValue, 1)
STRING_PIECE = typing___cast(FieldOptions.CTypeValue, 2)
STRING = typing___cast(FieldOptions.CTypeValue, 0)
CORD = typing___cast(FieldOptions.CTypeValue, 1)
STRING_PIECE = typing___cast(FieldOptions.CTypeValue, 2)
JSTypeValue = typing___NewType('JSTypeValue', builtin___int)
type___JSTypeValue = JSTypeValue
JSType: _JSType
class _JSType(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldOptions.JSTypeValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
JS_NORMAL = typing___cast(FieldOptions.JSTypeValue, 0)
JS_STRING = typing___cast(FieldOptions.JSTypeValue, 1)
JS_NUMBER = typing___cast(FieldOptions.JSTypeValue, 2)
JS_NORMAL = typing___cast(FieldOptions.JSTypeValue, 0)
JS_STRING = typing___cast(FieldOptions.JSTypeValue, 1)
JS_NUMBER = typing___cast(FieldOptions.JSTypeValue, 2)
ctype: type___FieldOptions.CTypeValue = ...
packed: builtin___bool = ...
jstype: type___FieldOptions.JSTypeValue = ...
lazy: builtin___bool = ...
deprecated: builtin___bool = ...
weak: builtin___bool = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
ctype : typing___Optional[type___FieldOptions.CTypeValue] = None,
packed : typing___Optional[builtin___bool] = None,
jstype : typing___Optional[type___FieldOptions.JSTypeValue] = None,
lazy : typing___Optional[builtin___bool] = None,
deprecated : typing___Optional[builtin___bool] = None,
weak : typing___Optional[builtin___bool] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"ctype",b"ctype",u"deprecated",b"deprecated",u"jstype",b"jstype",u"lazy",b"lazy",u"packed",b"packed",u"weak",b"weak"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"ctype",b"ctype",u"deprecated",b"deprecated",u"jstype",b"jstype",u"lazy",b"lazy",u"packed",b"packed",u"uninterpreted_option",b"uninterpreted_option",u"weak",b"weak"]) -> None: ...
type___FieldOptions = FieldOptions
class OneofOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___OneofOptions = OneofOptions
class EnumOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
allow_alias: builtin___bool = ...
deprecated: builtin___bool = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
allow_alias : typing___Optional[builtin___bool] = None,
deprecated : typing___Optional[builtin___bool] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"allow_alias",b"allow_alias",u"deprecated",b"deprecated"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"allow_alias",b"allow_alias",u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___EnumOptions = EnumOptions
class EnumValueOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
deprecated: builtin___bool = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
deprecated : typing___Optional[builtin___bool] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___EnumValueOptions = EnumValueOptions
class ServiceOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
deprecated: builtin___bool = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
deprecated : typing___Optional[builtin___bool] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___ServiceOptions = ServiceOptions
class MethodOptions(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
IdempotencyLevelValue = typing___NewType('IdempotencyLevelValue', builtin___int)
type___IdempotencyLevelValue = IdempotencyLevelValue
IdempotencyLevel: _IdempotencyLevel
class _IdempotencyLevel(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[MethodOptions.IdempotencyLevelValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
IDEMPOTENCY_UNKNOWN = typing___cast(MethodOptions.IdempotencyLevelValue, 0)
NO_SIDE_EFFECTS = typing___cast(MethodOptions.IdempotencyLevelValue, 1)
IDEMPOTENT = typing___cast(MethodOptions.IdempotencyLevelValue, 2)
IDEMPOTENCY_UNKNOWN = typing___cast(MethodOptions.IdempotencyLevelValue, 0)
NO_SIDE_EFFECTS = typing___cast(MethodOptions.IdempotencyLevelValue, 1)
IDEMPOTENT = typing___cast(MethodOptions.IdempotencyLevelValue, 2)
deprecated: builtin___bool = ...
idempotency_level: type___MethodOptions.IdempotencyLevelValue = ...
@property
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
def __init__(self,
*,
deprecated : typing___Optional[builtin___bool] = None,
idempotency_level : typing___Optional[type___MethodOptions.IdempotencyLevelValue] = None,
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"idempotency_level",b"idempotency_level"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"idempotency_level",b"idempotency_level",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
type___MethodOptions = MethodOptions
class UninterpretedOption(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class NamePart(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name_part: typing___Text = ...
is_extension: builtin___bool = ...
def __init__(self,
*,
name_part : typing___Optional[typing___Text] = None,
is_extension : typing___Optional[builtin___bool] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"is_extension",b"is_extension",u"name_part",b"name_part"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"is_extension",b"is_extension",u"name_part",b"name_part"]) -> None: ...
type___NamePart = NamePart
identifier_value: typing___Text = ...
positive_int_value: builtin___int = ...
negative_int_value: builtin___int = ...
double_value: builtin___float = ...
string_value: builtin___bytes = ...
aggregate_value: typing___Text = ...
@property
def name(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption.NamePart]: ...
def __init__(self,
*,
name : typing___Optional[typing___Iterable[type___UninterpretedOption.NamePart]] = None,
identifier_value : typing___Optional[typing___Text] = None,
positive_int_value : typing___Optional[builtin___int] = None,
negative_int_value : typing___Optional[builtin___int] = None,
double_value : typing___Optional[builtin___float] = None,
string_value : typing___Optional[builtin___bytes] = None,
aggregate_value : typing___Optional[typing___Text] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"aggregate_value",b"aggregate_value",u"double_value",b"double_value",u"identifier_value",b"identifier_value",u"negative_int_value",b"negative_int_value",u"positive_int_value",b"positive_int_value",u"string_value",b"string_value"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"aggregate_value",b"aggregate_value",u"double_value",b"double_value",u"identifier_value",b"identifier_value",u"name",b"name",u"negative_int_value",b"negative_int_value",u"positive_int_value",b"positive_int_value",u"string_value",b"string_value"]) -> None: ...
type___UninterpretedOption = UninterpretedOption
class SourceCodeInfo(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Location(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
path: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
span: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
leading_comments: typing___Text = ...
trailing_comments: typing___Text = ...
leading_detached_comments: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
def __init__(self,
*,
path : typing___Optional[typing___Iterable[builtin___int]] = None,
span : typing___Optional[typing___Iterable[builtin___int]] = None,
leading_comments : typing___Optional[typing___Text] = None,
trailing_comments : typing___Optional[typing___Text] = None,
leading_detached_comments : typing___Optional[typing___Iterable[typing___Text]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"leading_comments",b"leading_comments",u"trailing_comments",b"trailing_comments"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"leading_comments",b"leading_comments",u"leading_detached_comments",b"leading_detached_comments",u"path",b"path",u"span",b"span",u"trailing_comments",b"trailing_comments"]) -> None: ...
type___Location = Location
@property
def location(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SourceCodeInfo.Location]: ...
def __init__(self,
*,
location : typing___Optional[typing___Iterable[type___SourceCodeInfo.Location]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"location",b"location"]) -> None: ...
type___SourceCodeInfo = SourceCodeInfo
class GeneratedCodeInfo(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
class Annotation(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
path: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
source_file: typing___Text = ...
begin: builtin___int = ...
end: builtin___int = ...
def __init__(self,
*,
path : typing___Optional[typing___Iterable[builtin___int]] = None,
source_file : typing___Optional[typing___Text] = None,
begin : typing___Optional[builtin___int] = None,
end : typing___Optional[builtin___int] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"begin",b"begin",u"end",b"end",u"source_file",b"source_file"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"begin",b"begin",u"end",b"end",u"path",b"path",u"source_file",b"source_file"]) -> None: ...
type___Annotation = Annotation
@property
def annotation(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___GeneratedCodeInfo.Annotation]: ...
def __init__(self,
*,
annotation : typing___Optional[typing___Iterable[type___GeneratedCodeInfo.Annotation]] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"annotation",b"annotation"]) -> None: ...
type___GeneratedCodeInfo = GeneratedCodeInfo
| 43,146 | Python | .py | 628 | 62.082803 | 961 | 0.6845 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,646 | timestamp_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/timestamp_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.well_known_types import (
Timestamp as google___protobuf___internal___well_known_types___Timestamp,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Optional as typing___Optional,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Timestamp(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Timestamp):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
seconds: builtin___int = ...
nanos: builtin___int = ...
def __init__(self,
*,
seconds : typing___Optional[builtin___int] = None,
nanos : typing___Optional[builtin___int] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
type___Timestamp = Timestamp
| 1,354 | Python | .py | 36 | 34.222222 | 119 | 0.698777 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,647 | service.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/service.pyi | from concurrent.futures import Future
from typing import Callable, Optional, Text, Type
from google.protobuf.descriptor import MethodDescriptor, ServiceDescriptor
from google.protobuf.message import Message
class RpcException(Exception): ...
class Service:
@staticmethod
def GetDescriptor() -> ServiceDescriptor: ...
def CallMethod(
self,
method_descriptor: MethodDescriptor,
rpc_controller: RpcController,
request: Message,
done: Optional[Callable[[Message], None]],
) -> Optional[Future[Message]]: ...
def GetRequestClass(self, method_descriptor: MethodDescriptor) -> Type[Message]: ...
def GetResponseClass(self, method_descriptor: MethodDescriptor) -> Type[Message]: ...
class RpcController:
def Reset(self) -> None: ...
def Failed(self) -> bool: ...
def ErrorText(self) -> Optional[Text]: ...
def StartCancel(self) -> None: ...
def SetFailed(self, reason: Text) -> None: ...
def IsCanceled(self) -> bool: ...
def NotifyOnCancel(self, callback: Callable[[], None]) -> None: ...
class RpcChannel:
def CallMethod(
self,
method_descriptor: MethodDescriptor,
rpc_controller: RpcController,
request: Message,
response_class: Type[Message],
done: Optional[Callable[[Message], None]],
) -> Optional[Future[Message]]: ...
| 1,371 | Python | .py | 34 | 34.823529 | 89 | 0.683183 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,648 | symbol_database.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/symbol_database.pyi | from typing import Dict, Iterable, Type, Union
from google.protobuf.descriptor import Descriptor, EnumDescriptor, FileDescriptor, ServiceDescriptor
from google.protobuf.message import Message
from google.protobuf.message_factory import MessageFactory
class SymbolDatabase(MessageFactory):
def RegisterMessage(self, message: Union[Type[Message], Message]) -> Union[Type[Message], Message]: ...
def RegisterMessageDescriptor(self, message_descriptor: Descriptor) -> None: ...
def RegisterEnumDescriptor(self, enum_descriptor: EnumDescriptor) -> EnumDescriptor: ...
def RegisterServiceDescriptor(self, service_descriptor: ServiceDescriptor) -> None: ...
def RegisterFileDescriptor(self, file_descriptor: FileDescriptor) -> None: ...
def GetSymbol(self, symbol: str) -> Type[Message]: ...
def GetMessages(self, files: Iterable[str]) -> Dict[str, Type[Message]]: ...
def Default(): ...
| 912 | Python | .py | 13 | 66.769231 | 107 | 0.766741 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,649 | message.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message.pyi | import sys
from typing import Any, ByteString, Sequence, Tuple, Type, TypeVar, Union, overload
from .descriptor import Descriptor, FieldDescriptor
from .internal.extension_dict import _ExtensionDict, _ExtensionFieldDescriptor
class Error(Exception): ...
class DecodeError(Error): ...
class EncodeError(Error): ...
_M = TypeVar("_M", bound=Message) # message type (of self)
if sys.version_info < (3,):
_Serialized = Union[bytes, buffer, unicode]
else:
_Serialized = ByteString
class Message:
DESCRIPTOR: Descriptor
def __deepcopy__(self, memo=...): ...
def __eq__(self, other_msg): ...
def __ne__(self, other_msg): ...
def MergeFrom(self: _M, other_msg: _M) -> None: ...
def CopyFrom(self: _M, other_msg: _M) -> None: ...
def Clear(self) -> None: ...
def SetInParent(self) -> None: ...
def IsInitialized(self) -> bool: ...
def MergeFromString(self, serialized: _Serialized) -> int: ...
def ParseFromString(self, serialized: _Serialized) -> int: ...
def SerializeToString(self, deterministic: bool = ...) -> bytes: ...
def SerializePartialToString(self, deterministic: bool = ...) -> bytes: ...
def ListFields(self) -> Sequence[Tuple[FieldDescriptor, Any]]: ...
# Dummy fallback overloads with FieldDescriptor are for backward compatibility with
# mypy-protobuf <= 1.23. We can drop them a few months after 1.24 releases.
@overload
def HasExtension(self: _M, extension_handle: _ExtensionFieldDescriptor[_M, Any]) -> bool: ...
@overload
def HasExtension(self, extension_handle: FieldDescriptor) -> bool: ...
@overload
def ClearExtension(self: _M, extension_handle: _ExtensionFieldDescriptor[_M, Any]) -> None: ...
@overload
def ClearExtension(self, extension_handle: FieldDescriptor) -> None: ...
def ByteSize(self) -> int: ...
@classmethod
def FromString(cls: Type[_M], s: _Serialized) -> _M: ...
@property
def Extensions(self: _M) -> _ExtensionDict[_M]: ...
# Intentionally left out typing on these three methods, because they are
# stringly typed and it is not useful to call them on a Message directly.
# We prefer more specific typing on individual subclasses of Message
# See https://github.com/dropbox/mypy-protobuf/issues/62 for details
def HasField(self, field_name: Any) -> bool: ...
def ClearField(self, field_name: Any) -> None: ...
def WhichOneof(self, oneof_group: Any) -> Any: ...
# TODO: check kwargs
def __init__(self, **kwargs) -> None: ...
| 2,522 | Python | .py | 51 | 45.215686 | 99 | 0.676399 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,650 | json_format.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/json_format.pyi | from typing import Any, Dict, Text, TypeVar, Union
from google.protobuf.message import Message
_MessageVar = TypeVar("_MessageVar", bound=Message)
class Error(Exception): ...
class ParseError(Error): ...
class SerializeToJsonError(Error): ...
def MessageToJson(
message: Message,
including_default_value_fields: bool = ...,
preserving_proto_field_name: bool = ...,
indent: int = ...,
sort_keys: bool = ...,
use_integers_for_enums: bool = ...,
) -> str: ...
def MessageToDict(
message: Message,
including_default_value_fields: bool = ...,
preserving_proto_field_name: bool = ...,
use_integers_for_enums: bool = ...,
) -> Dict[Text, Any]: ...
def Parse(text: Union[bytes, Text], message: _MessageVar, ignore_unknown_fields: bool = ...) -> _MessageVar: ...
def ParseDict(js_dict: Any, message: _MessageVar, ignore_unknown_fields: bool = ...) -> _MessageVar: ...
| 903 | Python | .py | 22 | 38.045455 | 112 | 0.673888 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,651 | api_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/api_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from google.protobuf.source_context_pb2 import (
SourceContext as google___protobuf___source_context_pb2___SourceContext,
)
from google.protobuf.type_pb2 import (
Option as google___protobuf___type_pb2___Option,
SyntaxValue as google___protobuf___type_pb2___SyntaxValue,
)
from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Api(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
version: typing___Text = ...
syntax: google___protobuf___type_pb2___SyntaxValue = ...
@property
def methods(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Method]: ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
@property
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
@property
def mixins(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Mixin]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
methods : typing___Optional[typing___Iterable[type___Method]] = None,
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = None,
version : typing___Optional[typing___Text] = None,
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
mixins : typing___Optional[typing___Iterable[type___Mixin]] = None,
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ...
type___Api = Api
class Method(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
request_type_url: typing___Text = ...
request_streaming: builtin___bool = ...
response_type_url: typing___Text = ...
response_streaming: builtin___bool = ...
syntax: google___protobuf___type_pb2___SyntaxValue = ...
@property
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
request_type_url : typing___Optional[typing___Text] = None,
request_streaming : typing___Optional[builtin___bool] = None,
response_type_url : typing___Optional[typing___Text] = None,
response_streaming : typing___Optional[builtin___bool] = None,
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = None,
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ...
type___Method = Method
class Mixin(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
root: typing___Text = ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
root : typing___Optional[typing___Text] = None,
) -> None: ...
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"root",b"root"]) -> None: ...
type___Mixin = Mixin
| 4,881 | Python | .py | 93 | 47.55914 | 305 | 0.675477 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,652 | empty_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/empty_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Empty(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
def __init__(self,
) -> None: ...
type___Empty = Empty
| 603 | Python | .py | 17 | 32.529412 | 70 | 0.712565 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,653 | wire_format.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/wire_format.pyi | from typing import Any
TAG_TYPE_BITS: Any
TAG_TYPE_MASK: Any
WIRETYPE_VARINT: Any
WIRETYPE_FIXED64: Any
WIRETYPE_LENGTH_DELIMITED: Any
WIRETYPE_START_GROUP: Any
WIRETYPE_END_GROUP: Any
WIRETYPE_FIXED32: Any
INT32_MAX: Any
INT32_MIN: Any
UINT32_MAX: Any
INT64_MAX: Any
INT64_MIN: Any
UINT64_MAX: Any
FORMAT_UINT32_LITTLE_ENDIAN: Any
FORMAT_UINT64_LITTLE_ENDIAN: Any
FORMAT_FLOAT_LITTLE_ENDIAN: Any
FORMAT_DOUBLE_LITTLE_ENDIAN: Any
def PackTag(field_number, wire_type): ...
def UnpackTag(tag): ...
def ZigZagEncode(value): ...
def ZigZagDecode(value): ...
def Int32ByteSize(field_number, int32): ...
def Int32ByteSizeNoTag(int32): ...
def Int64ByteSize(field_number, int64): ...
def UInt32ByteSize(field_number, uint32): ...
def UInt64ByteSize(field_number, uint64): ...
def SInt32ByteSize(field_number, int32): ...
def SInt64ByteSize(field_number, int64): ...
def Fixed32ByteSize(field_number, fixed32): ...
def Fixed64ByteSize(field_number, fixed64): ...
def SFixed32ByteSize(field_number, sfixed32): ...
def SFixed64ByteSize(field_number, sfixed64): ...
def FloatByteSize(field_number, flt): ...
def DoubleByteSize(field_number, double): ...
def BoolByteSize(field_number, b): ...
def EnumByteSize(field_number, enum): ...
def StringByteSize(field_number, string): ...
def BytesByteSize(field_number, b): ...
def GroupByteSize(field_number, message): ...
def MessageByteSize(field_number, message): ...
def MessageSetItemByteSize(field_number, msg): ...
def TagByteSize(field_number): ...
NON_PACKABLE_TYPES: Any
def IsTypePackable(field_type): ...
| 1,554 | Python | .py | 46 | 32.695652 | 50 | 0.770612 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,654 | encoder.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/encoder.pyi | from typing import Any
Int32Sizer: Any
UInt32Sizer: Any
SInt32Sizer: Any
Fixed32Sizer: Any
Fixed64Sizer: Any
BoolSizer: Any
def StringSizer(field_number, is_repeated, is_packed): ...
def BytesSizer(field_number, is_repeated, is_packed): ...
def GroupSizer(field_number, is_repeated, is_packed): ...
def MessageSizer(field_number, is_repeated, is_packed): ...
def MessageSetItemSizer(field_number): ...
def MapSizer(field_descriptor): ...
def TagBytes(field_number, wire_type): ...
Int32Encoder: Any
UInt32Encoder: Any
SInt32Encoder: Any
Fixed32Encoder: Any
Fixed64Encoder: Any
SFixed32Encoder: Any
SFixed64Encoder: Any
FloatEncoder: Any
DoubleEncoder: Any
def BoolEncoder(field_number, is_repeated, is_packed): ...
def StringEncoder(field_number, is_repeated, is_packed): ...
def BytesEncoder(field_number, is_repeated, is_packed): ...
def GroupEncoder(field_number, is_repeated, is_packed): ...
def MessageEncoder(field_number, is_repeated, is_packed): ...
def MessageSetItemEncoder(field_number): ...
def MapEncoder(field_descriptor): ...
| 1,045 | Python | .py | 30 | 33.7 | 61 | 0.78635 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,655 | extension_dict.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/extension_dict.pyi | from typing import Any, Generic, Iterator, TypeVar, overload
from google.protobuf.descriptor import FieldDescriptor
from google.protobuf.message import Message
_ContainerMessageT = TypeVar("_ContainerMessageT", bound=Message)
_ExtenderMessageT = TypeVar("_ExtenderMessageT", bound=Message)
class _ExtensionFieldDescriptor(FieldDescriptor, Generic[_ContainerMessageT, _ExtenderMessageT]): ...
class _ExtensionDict(Generic[_ContainerMessageT]):
def __init__(self, extended_message: _ContainerMessageT) -> None: ...
# Dummy fallback overloads with FieldDescriptor are for backward compatibility with
# mypy-protobuf <= 1.23. We can drop them a few months after 1.24 releases.
@overload
def __getitem__(
self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]
) -> _ExtenderMessageT: ...
@overload
def __getitem__(self, extension_handle: FieldDescriptor) -> Any: ...
@overload
def __setitem__(
self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT], value: _ExtenderMessageT
) -> None: ...
@overload
def __setitem__(self, extension_handle: FieldDescriptor, value: Any) -> None: ...
@overload
def __delitem__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> None: ...
@overload
def __delitem__(self, extension_handle: FieldDescriptor) -> None: ...
@overload
def __contains__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> bool: ...
@overload
def __contains__(self, extension_handle: FieldDescriptor) -> bool: ...
def __iter__(self) -> Iterator[_ExtensionFieldDescriptor[_ContainerMessageT, Any]]: ...
def __len__(self) -> int: ...
| 1,795 | Python | .py | 32 | 51.59375 | 123 | 0.723707 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,656 | containers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/containers.pyi | from typing import (
Any,
Callable,
Iterable,
Iterator,
List,
Mapping as Mapping,
MutableMapping as MutableMapping,
Optional,
Sequence,
TypeVar,
Union,
overload,
)
from google.protobuf.descriptor import Descriptor
from google.protobuf.internal.message_listener import MessageListener
from google.protobuf.internal.python_message import GeneratedProtocolMessageType
_T = TypeVar("_T")
_K = TypeVar("_K")
_V = TypeVar("_V")
_M = TypeVar("_M")
class BaseContainer(Sequence[_T]):
def __init__(self, message_listener: MessageListener) -> None: ...
def __len__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
def __hash__(self) -> int: ...
def __repr__(self) -> str: ...
def sort(self, *, key: Optional[Callable[[_T], Any]] = ..., reverse: bool = ...) -> None: ...
@overload
def __getitem__(self, key: int) -> _T: ...
@overload
def __getitem__(self, key: slice) -> List[_T]: ...
class RepeatedScalarFieldContainer(BaseContainer[_T]):
def __init__(self, message_listener: MessageListener, message_descriptor: Descriptor) -> None: ...
def append(self, value: _T) -> None: ...
def insert(self, key: int, value: _T) -> None: ...
def extend(self, elem_seq: Optional[Iterable[_T]]) -> None: ...
def MergeFrom(self: _M, other: _M) -> None: ...
def remove(self, elem: _T) -> None: ...
def pop(self, key: int = ...) -> _T: ...
@overload
def __setitem__(self, key: int, value: _T) -> None: ...
@overload
def __setitem__(self, key: slice, value: Iterable[_T]) -> None: ...
def __getslice__(self, start: int, stop: int) -> List[_T]: ...
def __setslice__(self, start: int, stop: int, values: Iterable[_T]) -> None: ...
def __delitem__(self, key: Union[int, slice]) -> None: ...
def __delslice__(self, start: int, stop: int) -> None: ...
def __eq__(self, other: object) -> bool: ...
class RepeatedCompositeFieldContainer(BaseContainer[_T]):
def __init__(self, message_listener: MessageListener, type_checker: Any) -> None: ...
def add(self, **kwargs: Any) -> _T: ...
def append(self, value: _T) -> None: ...
def insert(self, key: int, value: _T) -> None: ...
def extend(self, elem_seq: Iterable[_T]) -> None: ...
def MergeFrom(self: _M, other: _M) -> None: ...
def remove(self, elem: _T) -> None: ...
def pop(self, key: int = ...) -> _T: ...
def __getslice__(self, start: int, stop: int) -> List[_T]: ...
def __delitem__(self, key: Union[int, slice]) -> None: ...
def __delslice__(self, start: int, stop: int) -> None: ...
def __eq__(self, other: object) -> bool: ...
class ScalarMap(MutableMapping[_K, _V]):
def __setitem__(self, k: _K, v: _V) -> None: ...
def __delitem__(self, v: _K) -> None: ...
def __getitem__(self, k: _K) -> _V: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[_K]: ...
def __eq__(self, other: object) -> bool: ...
def MergeFrom(self: _M, other: _M): ...
def InvalidateIterators(self) -> None: ...
def GetEntryClass(self) -> GeneratedProtocolMessageType: ...
class MessageMap(MutableMapping[_K, _V]):
def __setitem__(self, k: _K, v: _V) -> None: ...
def __delitem__(self, v: _K) -> None: ...
def __getitem__(self, k: _K) -> _V: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[_K]: ...
def __eq__(self, other: object) -> bool: ...
def get_or_create(self, key: _K) -> _V: ...
def MergeFrom(self: _M, other: _M): ...
def InvalidateIterators(self) -> None: ...
def GetEntryClass(self) -> GeneratedProtocolMessageType: ...
| 3,653 | Python | .py | 83 | 39.60241 | 102 | 0.577884 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,657 | enum_type_wrapper.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/enum_type_wrapper.pyi | from typing import Generic, List, Tuple, TypeVar
from google.protobuf.descriptor import EnumDescriptor
_V = TypeVar("_V", bound=int)
# Expose a generic version so that those using mypy-protobuf
# can get autogenerated NewType wrapper around the int values
class _EnumTypeWrapper(Generic[_V]):
DESCRIPTOR: EnumDescriptor
def __init__(self, enum_type: EnumDescriptor) -> None: ...
def Name(self, number: _V) -> str: ...
def Value(self, name: str) -> _V: ...
def keys(self) -> List[str]: ...
def values(self) -> List[_V]: ...
def items(self) -> List[Tuple[str, _V]]: ...
class EnumTypeWrapper(_EnumTypeWrapper[int]): ...
| 650 | Python | .py | 14 | 43.142857 | 62 | 0.685127 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,658 | well_known_types.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/well_known_types.pyi | from datetime import datetime, timedelta
from typing import Any as tAny, Dict, Optional, Text, Type
class Error(Exception): ...
class ParseError(Error): ...
class Any:
type_url: tAny = ...
value: tAny = ...
def Pack(self, msg: tAny, type_url_prefix: bytes = ..., deterministic: Optional[tAny] = ...) -> None: ...
def Unpack(self, msg: tAny): ...
def TypeName(self): ...
def Is(self, descriptor: tAny): ...
class Timestamp:
def ToJsonString(self) -> str: ...
seconds: int = ...
nanos: int = ...
def FromJsonString(self, value: str) -> None: ...
def GetCurrentTime(self) -> None: ...
def ToNanoseconds(self) -> int: ...
def ToMicroseconds(self) -> int: ...
def ToMilliseconds(self) -> int: ...
def ToSeconds(self) -> int: ...
def FromNanoseconds(self, nanos: int) -> None: ...
def FromMicroseconds(self, micros: int) -> None: ...
def FromMilliseconds(self, millis: int) -> None: ...
def FromSeconds(self, seconds: int) -> None: ...
def ToDatetime(self) -> datetime: ...
def FromDatetime(self, dt: datetime) -> None: ...
class Duration:
def ToJsonString(self) -> str: ...
seconds: int = ...
nanos: int = ...
def FromJsonString(self, value: tAny) -> None: ...
def ToNanoseconds(self) -> int: ...
def ToMicroseconds(self) -> int: ...
def ToMilliseconds(self) -> int: ...
def ToSeconds(self) -> int: ...
def FromNanoseconds(self, nanos: int) -> None: ...
def FromMicroseconds(self, micros: int) -> None: ...
def FromMilliseconds(self, millis: int) -> None: ...
def FromSeconds(self, seconds: int) -> None: ...
def ToTimedelta(self) -> timedelta: ...
def FromTimedelta(self, td: timedelta) -> None: ...
class FieldMask:
def ToJsonString(self) -> str: ...
def FromJsonString(self, value: tAny) -> None: ...
def IsValidForDescriptor(self, message_descriptor: tAny): ...
def AllFieldsFromDescriptor(self, message_descriptor: tAny) -> None: ...
def CanonicalFormFromMask(self, mask: tAny) -> None: ...
def Union(self, mask1: tAny, mask2: tAny) -> None: ...
def Intersect(self, mask1: tAny, mask2: tAny) -> None: ...
def MergeMessage(
self, source: tAny, destination: tAny, replace_message_field: bool = ..., replace_repeated_field: bool = ...
) -> None: ...
class _FieldMaskTree:
def __init__(self, field_mask: Optional[tAny] = ...) -> None: ...
def MergeFromFieldMask(self, field_mask: tAny) -> None: ...
def AddPath(self, path: tAny): ...
def ToFieldMask(self, field_mask: tAny) -> None: ...
def IntersectPath(self, path: tAny, intersection: tAny): ...
def AddLeafNodes(self, prefix: tAny, node: tAny) -> None: ...
def MergeMessage(self, source: tAny, destination: tAny, replace_message: tAny, replace_repeated: tAny) -> None: ...
class Struct:
def __getitem__(self, key: tAny): ...
def __contains__(self, item: tAny): ...
def __setitem__(self, key: tAny, value: tAny) -> None: ...
def __delitem__(self, key: tAny) -> None: ...
def __len__(self): ...
def __iter__(self): ...
def keys(self): ...
def values(self): ...
def items(self): ...
def get_or_create_list(self, key: tAny): ...
def get_or_create_struct(self, key: tAny): ...
def update(self, dictionary: tAny) -> None: ...
class ListValue:
def __len__(self): ...
def append(self, value: tAny) -> None: ...
def extend(self, elem_seq: tAny) -> None: ...
def __getitem__(self, index: tAny): ...
def __setitem__(self, index: tAny, value: tAny) -> None: ...
def __delitem__(self, key: tAny) -> None: ...
def items(self) -> None: ...
def add_struct(self): ...
def add_list(self): ...
WKTBASES: Dict[Text, Type]
| 3,756 | Python | .py | 85 | 39.6 | 119 | 0.611141 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,659 | decoder.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/decoder.pyi | from typing import Any
def ReadTag(buffer, pos): ...
def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): ...
Int32Decoder: Any
Int64Decoder: Any
UInt32Decoder: Any
UInt64Decoder: Any
SInt32Decoder: Any
SInt64Decoder: Any
Fixed32Decoder: Any
Fixed64Decoder: Any
SFixed32Decoder: Any
SFixed64Decoder: Any
FloatDecoder: Any
DoubleDecoder: Any
BoolDecoder: Any
def StringDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): ...
MESSAGE_SET_ITEM_TAG: Any
def MessageSetItemDecoder(extensions_by_number): ...
def MapDecoder(field_descriptor, new_default, is_message_map): ...
SkipField: Any
| 860 | Python | .py | 24 | 34.583333 | 79 | 0.792771 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,660 | message_listener.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/message_listener.pyi | class MessageListener(object):
def Modified(self) -> None: ...
class NullMessageListener(MessageListener):
def Modified(self) -> None: ...
| 148 | Python | .py | 4 | 33.75 | 43 | 0.72028 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,661 | plugin_pb2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi | """
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.descriptor_pb2 import (
FileDescriptorProto as google___protobuf___descriptor_pb2___FileDescriptorProto,
GeneratedCodeInfo as google___protobuf___descriptor_pb2___GeneratedCodeInfo,
)
from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)
from google.protobuf.internal.enum_type_wrapper import (
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
)
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from typing import (
Iterable as typing___Iterable,
NewType as typing___NewType,
Optional as typing___Optional,
Text as typing___Text,
cast as typing___cast,
)
from typing_extensions import (
Literal as typing_extensions___Literal,
)
builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class Version(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
major: builtin___int = ...
minor: builtin___int = ...
patch: builtin___int = ...
suffix: typing___Text = ...
def __init__(self,
*,
major : typing___Optional[builtin___int] = None,
minor : typing___Optional[builtin___int] = None,
patch : typing___Optional[builtin___int] = None,
suffix : typing___Optional[typing___Text] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> None: ...
type___Version = Version
class CodeGeneratorRequest(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
file_to_generate: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
parameter: typing___Text = ...
@property
def proto_file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___descriptor_pb2___FileDescriptorProto]: ...
@property
def compiler_version(self) -> type___Version: ...
def __init__(self,
*,
file_to_generate : typing___Optional[typing___Iterable[typing___Text]] = None,
parameter : typing___Optional[typing___Text] = None,
proto_file : typing___Optional[typing___Iterable[google___protobuf___descriptor_pb2___FileDescriptorProto]] = None,
compiler_version : typing___Optional[type___Version] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"parameter",b"parameter"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"file_to_generate",b"file_to_generate",u"parameter",b"parameter",u"proto_file",b"proto_file"]) -> None: ...
type___CodeGeneratorRequest = CodeGeneratorRequest
class CodeGeneratorResponse(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
FeatureValue = typing___NewType('FeatureValue', builtin___int)
type___FeatureValue = FeatureValue
Feature: _Feature
class _Feature(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[CodeGeneratorResponse.FeatureValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
class File(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
name: typing___Text = ...
insertion_point: typing___Text = ...
content: typing___Text = ...
@property
def generated_code_info(self) -> google___protobuf___descriptor_pb2___GeneratedCodeInfo: ...
def __init__(self,
*,
name : typing___Optional[typing___Text] = None,
insertion_point : typing___Optional[typing___Text] = None,
content : typing___Optional[typing___Text] = None,
generated_code_info : typing___Optional[google___protobuf___descriptor_pb2___GeneratedCodeInfo] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> None: ...
type___File = File
error: typing___Text = ...
supported_features: builtin___int = ...
@property
def file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CodeGeneratorResponse.File]: ...
def __init__(self,
*,
error : typing___Optional[typing___Text] = None,
supported_features : typing___Optional[builtin___int] = None,
file : typing___Optional[typing___Iterable[type___CodeGeneratorResponse.File]] = None,
) -> None: ...
def HasField(self, field_name: typing_extensions___Literal[u"error",b"error",u"supported_features",b"supported_features"]) -> builtin___bool: ...
def ClearField(self, field_name: typing_extensions___Literal[u"error",b"error",u"file",b"file",u"supported_features",b"supported_features"]) -> None: ...
type___CodeGeneratorResponse = CodeGeneratorResponse
| 6,548 | Python | .py | 113 | 52.318584 | 213 | 0.689021 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,662 | client.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/redis/client.pyi | from datetime import timedelta
from typing import (
Any,
Callable,
Dict,
Generic,
Iterable,
Iterator,
List,
Mapping,
Optional,
Sequence,
Set,
Text,
Tuple,
TypeVar,
Union,
overload,
)
from typing_extensions import Literal
from .connection import ConnectionPool
SYM_EMPTY: Any
def list_or_args(keys, args): ...
def timestamp_to_datetime(response): ...
def string_keys_to_dict(key_string, callback): ...
def dict_merge(*dicts): ...
def parse_debug_object(response): ...
def parse_object(response, infotype): ...
def parse_info(response): ...
SENTINEL_STATE_TYPES: Any
def parse_sentinel_state(item): ...
def parse_sentinel_master(response): ...
def parse_sentinel_masters(response): ...
def parse_sentinel_slaves_and_sentinels(response): ...
def parse_sentinel_get_master(response): ...
def pairs_to_dict(response): ...
def pairs_to_dict_typed(response, type_info): ...
def zset_score_pairs(response, **options): ...
def sort_return_tuples(response, **options): ...
def int_or_none(response): ...
def float_or_none(response): ...
def bool_ok(response): ...
def parse_client_list(response, **options): ...
def parse_config_get(response, **options): ...
def parse_scan(response, **options): ...
def parse_hscan(response, **options): ...
def parse_zscan(response, **options): ...
def parse_slowlog_get(response, **options): ...
_Value = Union[bytes, float, int, Text]
_Key = Union[Text, bytes]
# Lib returns str or bytes depending on Python version and value of decode_responses
_StrType = TypeVar("_StrType", bound=Union[Text, bytes])
class Redis(Generic[_StrType]):
RESPONSE_CALLBACKS: Any
@overload
@classmethod
def from_url(
cls,
url: Text,
host: Optional[Text] = ...,
port: Optional[int] = ...,
db: Optional[int] = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
errors: Optional[Text] = ...,
decode_responses: Optional[bool] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> Redis[bytes]: ...
@overload
@classmethod
def from_url(
cls,
url: Text,
host: Optional[Text] = ...,
port: Optional[int] = ...,
db: Optional[int] = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
decode_responses: Literal[True] = ...,
errors: Optional[Text] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> Redis[str]: ...
connection_pool: Any
response_callbacks: Any
@overload
def __new__(
cls,
host: Text = ...,
port: int = ...,
db: int = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
errors: Optional[Text] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> Redis[bytes]: ...
@overload
def __new__(
cls,
host: Text = ...,
port: int = ...,
db: int = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
errors: Optional[Text] = ...,
decode_responses: Literal[True] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> Redis[str]: ...
@overload
def __init__(
self: Redis[str],
host: Text = ...,
port: int = ...,
db: int = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
errors: Optional[Text] = ...,
decode_responses: Literal[True] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> None: ...
@overload
def __init__(
self: Redis[bytes],
host: Text = ...,
port: int = ...,
db: int = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: Optional[bool] = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
connection_pool: Optional[ConnectionPool] = ...,
unix_socket_path: Optional[Text] = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
charset: Optional[Text] = ...,
errors: Optional[Text] = ...,
decode_responses: Optional[bool] = ...,
retry_on_timeout: bool = ...,
ssl: bool = ...,
ssl_keyfile: Optional[Text] = ...,
ssl_certfile: Optional[Text] = ...,
ssl_cert_reqs: Optional[Union[str, int]] = ...,
ssl_ca_certs: Optional[Text] = ...,
ssl_check_hostname: bool = ...,
max_connections: Optional[int] = ...,
single_connection_client: bool = ...,
health_check_interval: float = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> None: ...
def set_response_callback(self, command, callback): ...
def pipeline(self, transaction: bool = ..., shard_hint: Any = ...) -> Pipeline: ...
def transaction(self, func, *watches, **kwargs): ...
def lock(self, name, timeout=..., sleep=..., blocking_timeout=..., lock_class=..., thread_local=...): ...
def pubsub(self, shard_hint: Any = ..., ignore_subscribe_messages: bool = ...) -> PubSub: ...
def execute_command(self, *args, **options): ...
def parse_response(self, connection, command_name, **options): ...
def acl_cat(self, category: Optional[Text] = ...) -> List[str]: ...
def acl_deluser(self, username: Text) -> int: ...
def acl_genpass(self) -> Text: ...
def acl_getuser(self, username: Text) -> Optional[Any]: ...
def acl_list(self) -> List[Text]: ...
def acl_load(self) -> bool: ...
def acl_setuser(
self,
username: Text = ...,
enabled: bool = ...,
nopass: bool = ...,
passwords: Optional[Sequence[Text]] = ...,
hashed_passwords: Optional[Sequence[Text]] = ...,
categories: Optional[Sequence[Text]] = ...,
commands: Optional[Sequence[Text]] = ...,
keys: Optional[Sequence[Text]] = ...,
reset: bool = ...,
reset_keys: bool = ...,
reset_passwords: bool = ...,
) -> bool: ...
def acl_users(self) -> List[Text]: ...
def acl_whoami(self) -> Text: ...
def bgrewriteaof(self): ...
def bgsave(self): ...
def client_id(self) -> int: ...
def client_kill(self, address: Text) -> bool: ...
def client_list(self) -> List[Dict[str, str]]: ...
def client_getname(self) -> Optional[str]: ...
def client_setname(self, name: Text) -> bool: ...
def readwrite(self) -> bool: ...
def readonly(self) -> bool: ...
def config_get(self, pattern=...): ...
def config_set(self, name, value): ...
def config_resetstat(self): ...
def config_rewrite(self): ...
def dbsize(self) -> int: ...
def debug_object(self, key): ...
def echo(self, value): ...
def flushall(self) -> bool: ...
def flushdb(self) -> bool: ...
def info(self, section: Optional[_Key] = ...) -> Mapping[str, Any]: ...
def lastsave(self): ...
def object(self, infotype, key): ...
def ping(self) -> bool: ...
def save(self) -> bool: ...
def sentinel(self, *args): ...
def sentinel_get_master_addr_by_name(self, service_name): ...
def sentinel_master(self, service_name): ...
def sentinel_masters(self): ...
def sentinel_monitor(self, name, ip, port, quorum): ...
def sentinel_remove(self, name): ...
def sentinel_sentinels(self, service_name): ...
def sentinel_set(self, name, option, value): ...
def sentinel_slaves(self, service_name): ...
def shutdown(self): ...
def slaveof(self, host=..., port=...): ...
def slowlog_get(self, num=...): ...
def slowlog_len(self): ...
def slowlog_reset(self): ...
def time(self): ...
def append(self, key, value): ...
def bitcount(self, key: _Key, start: Optional[int] = ..., end: Optional[int] = ...) -> int: ...
def bitop(self, operation, dest, *keys): ...
def bitpos(self, key, bit, start=..., end=...): ...
def decr(self, name, amount=...): ...
def delete(self, *names: _Key) -> int: ...
def __delitem__(self, _Key): ...
def dump(self, name): ...
def exists(self, *names: _Key) -> int: ...
__contains__: Any
def expire(self, name: _Key, time: Union[int, timedelta]) -> bool: ...
def expireat(self, name, when): ...
def get(self, name: _Key) -> Optional[_StrType]: ...
def __getitem__(self, name): ...
def getbit(self, name: _Key, offset: int) -> int: ...
def getrange(self, key, start, end): ...
def getset(self, name, value) -> Optional[_StrType]: ...
def incr(self, name, amount=...): ...
def incrby(self, name, amount=...): ...
def incrbyfloat(self, name, amount=...): ...
def keys(self, pattern=...): ...
def mget(self, keys, *args): ...
def mset(self, *args, **kwargs): ...
def msetnx(self, *args, **kwargs): ...
def move(self, name, db): ...
def persist(self, name): ...
def pexpire(self, name, time): ...
def pexpireat(self, name, when): ...
def psetex(self, name, time_ms, value): ...
def pttl(self, name): ...
def randomkey(self): ...
def rename(self, src, dst): ...
def renamenx(self, src, dst): ...
def restore(self, name, ttl, value): ...
def set(
self,
name: _Key,
value: _Value,
ex: Union[None, int, timedelta] = ...,
px: Union[None, int, timedelta] = ...,
nx: bool = ...,
xx: bool = ...,
keepttl: bool = ...,
) -> Optional[bool]: ...
def __setitem__(self, name, value): ...
def setbit(self, name: _Key, offset: int, value: int) -> int: ...
def setex(self, name: _Key, time: Union[int, timedelta], value: _Value) -> bool: ...
def setnx(self, name, value): ...
def setrange(self, name, offset, value): ...
def strlen(self, name): ...
def substr(self, name, start, end=...): ...
def ttl(self, name: _Key) -> int: ...
def type(self, name): ...
def watch(self, *names): ...
def unlink(self, *names: _Key) -> int: ...
def unwatch(self): ...
def blpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[_StrType, _StrType]]: ...
def brpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[_StrType, _StrType]]: ...
def brpoplpush(self, src, dst, timeout=...): ...
def lindex(self, name: _Key, index: int) -> Optional[_StrType]: ...
def linsert(
self, name: _Key, where: Literal["BEFORE", "AFTER", "before", "after"], refvalue: _Value, value: _Value
) -> int: ...
def llen(self, name: _Key) -> int: ...
def lpop(self, name): ...
def lpush(self, name: _Value, *values: _Value) -> int: ...
def lpushx(self, name, value): ...
def lrange(self, name: _Key, start: int, end: int) -> List[_StrType]: ...
def lrem(self, name: _Key, count: int, value: _Value) -> int: ...
def lset(self, name: _Key, index: int, value: _Value) -> bool: ...
def ltrim(self, name: _Key, start: int, end: int) -> bool: ...
def rpop(self, name): ...
def rpoplpush(self, src, dst): ...
def rpush(self, name: _Value, *values: _Value) -> int: ...
def rpushx(self, name, value): ...
@overload
def sort(
self,
name: _Key,
start: Optional[int] = ...,
num: Optional[int] = ...,
by: Optional[_Key] = ...,
get: Optional[Union[_Key, Sequence[_Key]]] = ...,
desc: bool = ...,
alpha: bool = ...,
store: None = ...,
groups: bool = ...,
) -> List[_StrType]: ...
@overload
def sort(
self,
name: _Key,
start: Optional[int] = ...,
num: Optional[int] = ...,
by: Optional[_Key] = ...,
get: Optional[Union[_Key, Sequence[_Key]]] = ...,
desc: bool = ...,
alpha: bool = ...,
*,
store: _Key,
groups: bool = ...,
) -> int: ...
@overload
def sort(
self,
name: _Key,
start: Optional[int],
num: Optional[int],
by: Optional[_Key],
get: Optional[Union[_Key, Sequence[_Key]]],
desc: bool,
alpha: bool,
store: _Key,
groups: bool = ...,
) -> int: ...
def scan(self, cursor: int = ..., match: Optional[_Key] = ..., count: Optional[int] = ...) -> Tuple[int, List[_StrType]]: ...
def scan_iter(self, match: Optional[Text] = ..., count: Optional[int] = ...) -> Iterator[_StrType]: ...
def sscan(self, name: _Key, cursor: int = ..., match: Text = ..., count: int = ...) -> Tuple[int, List[_StrType]]: ...
def sscan_iter(self, name, match=..., count=...): ...
def hscan(
self, name: _Key, cursor: int = ..., match: Text = ..., count: int = ...
) -> Tuple[int, Dict[_StrType, _StrType]]: ...
def hscan_iter(self, name, match=..., count=...): ...
def zscan(self, name, cursor=..., match=..., count=..., score_cast_func=...): ...
def zscan_iter(self, name, match=..., count=..., score_cast_func=...): ...
def sadd(self, name: _Key, *values: _Value) -> int: ...
def scard(self, name: _Key) -> int: ...
def sdiff(self, keys, *args): ...
def sdiffstore(self, dest, keys, *args): ...
def sinter(self, keys: _Key, *args: _Key) -> Set[_Value]: ...
def sinterstore(self, dest, keys, *args): ...
def sismember(self, name: _Key, value: _Value) -> bool: ...
def smembers(self, name: _Key) -> Set[_Value]: ...
def smove(self, src, dst, value): ...
def spop(self, name, count: Optional[int] = ...): ...
@overload
def srandmember(self, name: _Key, number: None = ...) -> Optional[_Value]: ...
@overload
def srandmember(self, name: _Key, number: int) -> List[_Value]: ...
def srem(self, name: _Key, *values: _Value) -> int: ...
def sunion(self, keys, *args): ...
def sunionstore(self, dest, keys, *args): ...
def xack(self, name, groupname, *ids): ...
def xadd(self, name, fields, id=..., maxlen=..., approximate=...): ...
def xclaim(
self,
name,
groupname,
consumername,
min_idle_time,
message_ids,
idle=...,
time=...,
retrycount=...,
force=...,
justid=...,
): ...
def xdel(self, name, *ids): ...
def xgroup_create(self, name, groupname, id=..., mkstream=...): ...
def xgroup_delconsumer(self, name, groupname, consumername): ...
def xgroup_destroy(self, name, groupname): ...
def xgroup_setid(self, name, groupname, id): ...
def xinfo_consumers(self, name, groupname): ...
def xinfo_groups(self, name): ...
def xinfo_stream(self, name): ...
def xlen(self, name: _Key) -> int: ...
def xpending(self, name, groupname): ...
def xpending_range(self, name, groupname, min, max, count, consumername=...): ...
def xrange(self, name, min=..., max=..., count=...): ...
def xread(self, streams, count=..., block=...): ...
def xreadgroup(self, groupname, consumername, streams, count=..., block=..., noack=...): ...
def xrevrange(self, name, max=..., min=..., count=...): ...
def xtrim(self, name, maxlen, approximate=...): ...
def zadd(
self, name: _Key, mapping: Mapping[_Key, _Value], nx: bool = ..., xx: bool = ..., ch: bool = ..., incr: bool = ...
) -> int: ...
def zcard(self, name): ...
def zcount(self, name: _Key, min: _Value, max: _Value) -> int: ...
def zincrby(self, name, value, amount=...): ...
def zinterstore(self, dest, keys, aggregate=...): ...
def zlexcount(self, name, min, max): ...
def zpopmax(self, name, count=...): ...
def zpopmin(self, name, count=...): ...
def bzpopmax(self, keys, timeout=...): ...
def bzpopmin(self, keys, timeout=...): ...
def zrange(self, name, start, end, desc=..., withscores=..., score_cast_func=...): ...
def zrangebylex(self, name, min, max, start=..., num=...): ...
def zrangebyscore(self, name, min, max, start=..., num=..., withscores=..., score_cast_func=...): ...
def zrank(self, name: _Key, value: _Key) -> Optional[int]: ...
def zrem(self, name, *values): ...
def zremrangebylex(self, name, min, max): ...
def zremrangebyrank(self, name, min, max): ...
def zremrangebyscore(self, name: _Key, min: _Value, max: _Value) -> int: ...
def zrevrange(self, name, start, end, withscores=..., score_cast_func=...): ...
def zrevrangebyscore(self, name, max, min, start=..., num=..., withscores=..., score_cast_func=...): ...
def zrevrank(self, name, value): ...
def zscore(self, name, value): ...
def zunionstore(self, dest, keys, aggregate=...): ...
def pfadd(self, name: _Key, *values: _Value) -> int: ...
def pfcount(self, name: _Key) -> int: ...
def pfmerge(self, dest: _Key, *sources: _Key) -> bool: ...
def hdel(self, name: _Key, *keys: _Key) -> int: ...
def hexists(self, name: _Key, key: _Key) -> bool: ...
def hget(self, name: _Key, key: _Key) -> Optional[_StrType]: ...
def hgetall(self, name: _Key) -> Dict[_StrType, _StrType]: ...
def hincrby(self, name: _Key, key: _Key, amount: int = ...) -> int: ...
def hincrbyfloat(self, name: _Key, key: _Key, amount: float = ...) -> float: ...
def hkeys(self, name: _Key) -> List[_StrType]: ...
def hlen(self, name: _Key) -> int: ...
def hset(
self, name: _Key, key: Optional[_Key], value: Optional[_Value], mapping: Optional[Mapping[_Value, _Value]] = ...
) -> int: ...
def hsetnx(self, name: _Key, key: _Key, value: _Value) -> int: ...
def hmset(self, name: _Key, mapping: Mapping[_Value, _Value]) -> bool: ...
def hmget(self, name: _Key, keys: Union[_Key, Iterable[_Key]], *args: _Key) -> List[Optional[_StrType]]: ...
def hvals(self, name: _Key) -> List[_StrType]: ...
def publish(self, channel: _Key, message: _Key) -> int: ...
def eval(self, script, numkeys, *keys_and_args): ...
def evalsha(self, sha, numkeys, *keys_and_args): ...
def script_exists(self, *args): ...
def script_flush(self): ...
def script_kill(self): ...
def script_load(self, script): ...
def register_script(self, script: Union[Text, _StrType]) -> Script: ...
def pubsub_channels(self, pattern: _Key = ...) -> List[Text]: ...
def pubsub_numsub(self, *args: _Key) -> List[Tuple[Text, int]]: ...
def pubsub_numpat(self) -> int: ...
def monitor(self) -> Monitor: ...
def cluster(self, cluster_arg: str, *args: Any) -> Any: ...
def __enter__(self) -> Redis: ...
def __exit__(self, exc_type, exc_value, traceback): ...
def client(self) -> Redis: ...
StrictRedis = Redis
class PubSub:
PUBLISH_MESSAGE_TYPES: Any
UNSUBSCRIBE_MESSAGE_TYPES: Any
connection_pool: Any
shard_hint: Any
ignore_subscribe_messages: Any
connection: Any
encoding: Any
encoding_errors: Any
decode_responses: Any
def __init__(self, connection_pool, shard_hint=..., ignore_subscribe_messages=...) -> None: ...
def __del__(self): ...
channels: Any
patterns: Any
def reset(self): ...
def close(self) -> None: ...
def on_connect(self, connection): ...
def encode(self, value): ...
@property
def subscribed(self): ...
def execute_command(self, *args, **kwargs): ...
def parse_response(self, block=...): ...
def psubscribe(self, *args: _Key, **kwargs: Callable[[Any], None]): ...
def punsubscribe(self, *args: _Key) -> None: ...
def subscribe(self, *args: _Key, **kwargs: Callable[[Any], None]) -> None: ...
def unsubscribe(self, *args: _Key) -> None: ...
def listen(self): ...
def get_message(self, ignore_subscribe_messages: bool = ..., timeout: float = ...) -> Optional[Dict[str, Any]]: ...
def handle_message(self, response, ignore_subscribe_messages: bool = ...) -> Optional[Dict[str, Any]]: ...
def run_in_thread(self, sleep_time=...): ...
def ping(self, message: Optional[_Value] = ...) -> None: ...
class BasePipeline:
UNWATCH_COMMANDS: Any
connection_pool: Any
connection: Any
response_callbacks: Any
transaction: Any
shard_hint: Any
watching: Any
def __init__(self, connection_pool, response_callbacks, transaction, shard_hint) -> None: ...
def __enter__(self): ...
def __exit__(self, exc_type, exc_value, traceback): ...
def __del__(self): ...
def __len__(self): ...
command_stack: Any
scripts: Any
explicit_transaction: Any
def reset(self): ...
def multi(self) -> None: ...
def execute_command(self, *args, **kwargs): ...
def immediate_execute_command(self, *args, **options): ...
def pipeline_execute_command(self, *args, **options): ...
def raise_first_error(self, commands, response): ...
def annotate_exception(self, exception, number, command): ...
def parse_response(self, connection, command_name, **options): ...
def load_scripts(self): ...
def execute(self, raise_on_error: bool = ...) -> List[Any]: ...
def watch(self, *names: _Key) -> bool: ...
def unwatch(self): ...
def script_load_for_pipeline(self, script): ...
class StrictPipeline(BasePipeline, StrictRedis): ...
class Pipeline(BasePipeline, Redis): ...
class Script:
registered_client: Any
script: Any
sha: Any
def __init__(self, registered_client, script) -> None: ...
def __call__(self, keys=..., args=..., client=...): ...
class Monitor(object):
def __init__(self, connection_pool) -> None: ...
def __enter__(self) -> Monitor: ...
def __exit__(self, *args: Any) -> None: ...
def next_command(self) -> Dict[Text, Any]: ...
def listen(self) -> Iterable[Dict[Text, Any]]: ...
| 26,034 | Python | .py | 619 | 35.801292 | 129 | 0.562576 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,663 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/redis/utils.pyi | from typing import Any
HIREDIS_AVAILABLE: Any
def from_url(url, db=..., **kwargs): ...
def pipeline(redis_obj): ...
class dummy: ...
| 136 | Python | .py | 5 | 25.6 | 40 | 0.6875 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,664 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/redis/__init__.pyi | from . import client, connection, exceptions, utils
Redis = client.Redis
StrictRedis = client.StrictRedis
BlockingConnectionPool = connection.BlockingConnectionPool
ConnectionPool = connection.ConnectionPool
Connection = connection.Connection
SSLConnection = connection.SSLConnection
UnixDomainSocketConnection = connection.UnixDomainSocketConnection
from_url = utils.from_url
AuthenticationError = exceptions.AuthenticationError
BusyLoadingError = exceptions.BusyLoadingError
ConnectionError = exceptions.ConnectionError
DataError = exceptions.DataError
InvalidResponse = exceptions.InvalidResponse
PubSubError = exceptions.PubSubError
ReadOnlyError = exceptions.ReadOnlyError
RedisError = exceptions.RedisError
ResponseError = exceptions.ResponseError
TimeoutError = exceptions.TimeoutError
WatchError = exceptions.WatchError
| 829 | Python | .py | 20 | 40.4 | 66 | 0.891089 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,665 | connection.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/redis/connection.pyi | from typing import Any, List, Mapping, Optional, Text, Tuple, Type, Union
ssl_available: Any
hiredis_version: Any
HIREDIS_SUPPORTS_CALLABLE_ERRORS: Any
HIREDIS_SUPPORTS_BYTE_BUFFER: Any
msg: Any
HIREDIS_USE_BYTE_BUFFER: Any
SYM_STAR: Any
SYM_DOLLAR: Any
SYM_CRLF: Any
SYM_EMPTY: Any
SERVER_CLOSED_CONNECTION_ERROR: Any
class BaseParser:
EXCEPTION_CLASSES: Any
def parse_error(self, response): ...
class SocketBuffer:
socket_read_size: Any
bytes_written: Any
bytes_read: Any
def __init__(self, socket, socket_read_size, socket_timeout) -> None: ...
@property
def length(self): ...
def read(self, length): ...
def readline(self): ...
def purge(self): ...
def close(self): ...
def can_read(self, timeout): ...
class PythonParser(BaseParser):
encoding: Any
socket_read_size: Any
def __init__(self, socket_read_size) -> None: ...
def __del__(self): ...
def on_connect(self, connection): ...
def on_disconnect(self): ...
def can_read(self, timeout): ...
def read_response(self): ...
class HiredisParser(BaseParser):
socket_read_size: Any
def __init__(self, socket_read_size) -> None: ...
def __del__(self): ...
def on_connect(self, connection): ...
def on_disconnect(self): ...
def can_read(self, timeout): ...
def read_from_socket(self, timeout=..., raise_on_timeout: bool = ...) -> bool: ...
def read_response(self): ...
DefaultParser: Any
class Encoder:
def __init__(self, encoding, encoding_errors, decode_responses: bool) -> None: ...
def encode(self, value: Union[Text, bytes, memoryview, bool, float]) -> bytes: ...
def decode(self, value: Union[Text, bytes, memoryview], force: bool = ...) -> Text: ...
class Connection:
description_format: Any
pid: Any
host: Any
port: Any
db: Any
password: Any
socket_timeout: Any
socket_connect_timeout: Any
socket_keepalive: Any
socket_keepalive_options: Any
retry_on_timeout: Any
encoding: Any
encoding_errors: Any
decode_responses: Any
def __init__(
self,
host: Text = ...,
port: int = ...,
db: int = ...,
password: Optional[Text] = ...,
socket_timeout: Optional[float] = ...,
socket_connect_timeout: Optional[float] = ...,
socket_keepalive: bool = ...,
socket_keepalive_options: Optional[Mapping[str, Union[int, str]]] = ...,
socket_type: int = ...,
retry_on_timeout: bool = ...,
encoding: Text = ...,
encoding_errors: Text = ...,
decode_responses: bool = ...,
parser_class: Type[BaseParser] = ...,
socket_read_size: int = ...,
health_check_interval: int = ...,
client_name: Optional[Text] = ...,
username: Optional[Text] = ...,
) -> None: ...
def __del__(self): ...
def register_connect_callback(self, callback): ...
def clear_connect_callbacks(self): ...
def connect(self): ...
def on_connect(self): ...
def disconnect(self): ...
def check_health(self) -> None: ...
def send_packed_command(self, command, check_health: bool = ...): ...
def send_command(self, *args): ...
def can_read(self, timeout=...): ...
def read_response(self): ...
def pack_command(self, *args): ...
def pack_commands(self, commands): ...
def repr_pieces(self) -> List[Tuple[Text, Text]]: ...
class SSLConnection(Connection):
description_format: Any
keyfile: Any
certfile: Any
cert_reqs: Any
ca_certs: Any
def __init__(
self, ssl_keyfile=..., ssl_certfile=..., ssl_cert_reqs=..., ssl_ca_certs=..., ssl_check_hostname: bool = ..., **kwargs
) -> None: ...
class UnixDomainSocketConnection(Connection):
description_format: Any
pid: Any
path: Any
db: Any
password: Any
socket_timeout: Any
retry_on_timeout: Any
encoding: Any
encoding_errors: Any
decode_responses: Any
def __init__(
self,
path=...,
db: int = ...,
username=...,
password=...,
socket_timeout=...,
encoding=...,
encoding_errors=...,
decode_responses=...,
retry_on_timeout=...,
parser_class=...,
socket_read_size: int = ...,
health_check_interval: int = ...,
client_name=...,
) -> None: ...
def repr_pieces(self) -> List[Tuple[Text, Text]]: ...
def to_bool(value: object) -> bool: ...
class ConnectionPool:
@classmethod
def from_url(cls, url: Text, db: Optional[int] = ..., decode_components: bool = ..., **kwargs) -> ConnectionPool: ...
connection_class: Any
connection_kwargs: Any
max_connections: Any
def __init__(self, connection_class=..., max_connections=..., **connection_kwargs) -> None: ...
pid: Any
def reset(self): ...
def get_connection(self, command_name, *keys, **options): ...
def make_connection(self): ...
def release(self, connection): ...
def disconnect(self, inuse_connections: bool = ...): ...
def get_encoder(self) -> Encoder: ...
def owns_connection(self, connection: Connection) -> bool: ...
class BlockingConnectionPool(ConnectionPool):
queue_class: Any
timeout: Any
def __init__(self, max_connections=..., timeout=..., connection_class=..., queue_class=..., **connection_kwargs) -> None: ...
pid: Any
pool: Any
def reset(self): ...
def make_connection(self): ...
def get_connection(self, command_name, *keys, **options): ...
def release(self, connection): ...
def disconnect(self): ...
| 5,595 | Python | .py | 164 | 28.792683 | 129 | 0.607789 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,666 | exceptions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/redis/exceptions.pyi | class RedisError(Exception): ...
def __unicode__(self): ...
class AuthenticationError(RedisError): ...
class ConnectionError(RedisError): ...
class TimeoutError(RedisError): ...
class BusyLoadingError(ConnectionError): ...
class InvalidResponse(RedisError): ...
class ResponseError(RedisError): ...
class DataError(RedisError): ...
class PubSubError(RedisError): ...
class WatchError(RedisError): ...
class NoScriptError(ResponseError): ...
class ExecAbortError(ResponseError): ...
class ReadOnlyError(ResponseError): ...
class LockError(RedisError, ValueError): ...
| 569 | Python | .py | 15 | 36.8 | 44 | 0.771739 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,667 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/characteristic/__init__.pyi | from typing import Any, AnyStr, Callable, Dict, Optional, Sequence, Type, TypeVar, Union
def with_repr(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
def with_cmp(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
def with_init(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
def immutable(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
def strip_leading_underscores(attribute_name: AnyStr) -> AnyStr: ...
NOTHING = Any
_T = TypeVar("_T")
def attributes(
attrs: Sequence[Union[AnyStr, Attribute]],
apply_with_cmp: bool = ...,
apply_with_init: bool = ...,
apply_with_repr: bool = ...,
apply_immutable: bool = ...,
store_attributes: Optional[Callable[[type, Attribute], Any]] = ...,
**kw: Optional[Dict[Any, Any]],
) -> Callable[[Type[_T]], Type[_T]]: ...
class Attribute:
def __init__(
self,
name: AnyStr,
exclude_from_cmp: bool = ...,
exclude_from_init: bool = ...,
exclude_from_repr: bool = ...,
exclude_from_immutable: bool = ...,
default_value: Any = ...,
default_factory: Optional[Callable[[None], Any]] = ...,
instance_of: Optional[Any] = ...,
init_aliaser: Optional[Callable[[AnyStr], AnyStr]] = ...,
) -> None: ...
| 1,330 | Python | .py | 30 | 39.3 | 88 | 0.609266 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,668 | nmap.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/nmap/nmap.pyi | from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Text, Tuple, TypeVar
from typing_extensions import TypedDict
_T = TypeVar("_T")
_Callback = Callable[[str, _Result], Any]
class _Result(TypedDict):
nmap: _ResultNmap
scan: Dict[str, PortScannerHostDict]
class _ResultNmap(TypedDict):
command_line: str
scaninfo: _ResultNmapInfo
scanstats: _ResultNampStats
class _ResultNmapInfo(TypedDict, total=False):
error: str
warning: str
protocol: _ResultNampInfoProtocol
class _ResultNampInfoProtocol(TypedDict):
method: str
services: str
class _ResultNampStats(TypedDict):
timestr: str
elapsed: str
uphosts: str
downhosts: str
totalhosts: str
class _ResulHostUptime(TypedDict):
seconds: str
lastboot: str
class _ResultHostNames(TypedDict):
type: str
name: str
class _ResultHostPort(TypedDict):
conf: str
cpe: str
extrainfo: str
name: str
product: str
reason: str
state: str
version: str
__last_modification__: str
class PortScanner(object):
def __init__(self, nmap_search_path: Iterable[str] = ...) -> None: ...
def get_nmap_last_output(self) -> Text: ...
def nmap_version(self) -> Tuple[int, int]: ...
def listscan(self, hosts: str = ...) -> List[str]: ...
def scan(self, hosts: Text = ..., ports: Optional[Text] = ..., arguments: Text = ..., sudo: bool = ...) -> _Result: ...
def analyse_nmap_xml_scan(
self,
nmap_xml_output: Optional[str] = ...,
nmap_err: str = ...,
nmap_err_keep_trace: str = ...,
nmap_warn_keep_trace: str = ...,
) -> _Result: ...
def __getitem__(self, host: Text) -> PortScannerHostDict: ...
def all_hosts(self) -> List[str]: ...
def command_line(self) -> str: ...
def scaninfo(self) -> _ResultNmapInfo: ...
def scanstats(self) -> _ResultNampStats: ...
def has_host(self, host: str) -> bool: ...
def csv(self) -> str: ...
def __scan_progressive__(self, hosts: Text, ports: Text, arguments: Text, callback: Optional[_Callback], sudo: bool) -> None: ...
class PortScannerAsync(object):
def __init__(self) -> None: ...
def __del__(self) -> None: ...
def scan(
self,
hosts: Text = ...,
ports: Optional[Text] = ...,
arguments: Text = ...,
callback: Optional[_Callback] = ...,
sudo: bool = ...,
) -> None: ...
def stop(self) -> None: ...
def wait(self, timeout: Optional[int] = ...) -> None: ...
def still_scanning(self) -> bool: ...
class PortScannerYield(PortScannerAsync):
def __init__(self) -> None: ...
def scan( # type: ignore
self, hosts: str = ..., ports: Optional[str] = ..., arguments: str = ..., sudo: bool = ...
) -> Iterator[Tuple[str, _Result]]: ...
def stop(self) -> None: ...
def wait(self, timeout: Optional[int] = ...) -> None: ...
def still_scanning(self) -> None: ... # type: ignore
class PortScannerHostDict(Dict[str, Any]):
def hostnames(self) -> List[_ResultHostNames]: ...
def hostname(self) -> str: ...
def state(self) -> str: ...
def uptime(self) -> _ResulHostUptime: ...
def all_protocols(self) -> List[str]: ...
def all_tcp(self) -> List[int]: ...
def has_tcp(self, port: int) -> bool: ...
def tcp(self, port: int) -> _ResultHostPort: ...
def all_udp(self) -> List[int]: ...
def has_udp(self, port: int) -> bool: ...
def udp(self, port: int) -> _ResultHostPort: ...
def all_ip(self) -> List[int]: ...
def has_ip(self, port: int) -> bool: ...
def ip(self, port: int) -> _ResultHostPort: ...
def all_sctp(self) -> List[int]: ...
def has_sctp(self, port: int) -> bool: ...
def sctp(self, port: int) -> _ResultHostPort: ...
class PortScannerError(Exception):
value: str
def __init__(self, value: str) -> None: ...
def convert_nmap_output_to_encoding(value: _T, code: str = ...) -> _T: ...
| 3,953 | Python | .py | 105 | 32.790476 | 129 | 0.60402 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,669 | visitor.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/visitor.pyi | class NodeVisitor:
def get_visitor(self, node): ...
def visit(self, node, *args, **kwargs): ...
def generic_visit(self, node, *args, **kwargs): ...
class NodeTransformer(NodeVisitor):
def generic_visit(self, node, *args, **kwargs): ...
def visit_list(self, node, *args, **kwargs): ...
| 306 | Python | .py | 7 | 39.714286 | 55 | 0.637584 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,670 | bccache.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/bccache.pyi | from typing import Any, Optional
marshal_dump: Any
marshal_load: Any
bc_version: int
bc_magic: Any
class Bucket:
environment: Any
key: Any
checksum: Any
def __init__(self, environment, key, checksum) -> None: ...
code: Any
def reset(self): ...
def load_bytecode(self, f): ...
def write_bytecode(self, f): ...
def bytecode_from_string(self, string): ...
def bytecode_to_string(self): ...
class BytecodeCache:
def load_bytecode(self, bucket): ...
def dump_bytecode(self, bucket): ...
def clear(self): ...
def get_cache_key(self, name, filename: Optional[Any] = ...): ...
def get_source_checksum(self, source): ...
def get_bucket(self, environment, name, filename, source): ...
def set_bucket(self, bucket): ...
class FileSystemBytecodeCache(BytecodeCache):
directory: Any
pattern: Any
def __init__(self, directory: Optional[Any] = ..., pattern: str = ...) -> None: ...
def load_bytecode(self, bucket): ...
def dump_bytecode(self, bucket): ...
def clear(self): ...
class MemcachedBytecodeCache(BytecodeCache):
client: Any
prefix: Any
timeout: Any
ignore_memcache_errors: Any
def __init__(self, client, prefix: str = ..., timeout: Optional[Any] = ..., ignore_memcache_errors: bool = ...) -> None: ...
def load_bytecode(self, bucket): ...
def dump_bytecode(self, bucket): ...
| 1,396 | Python | .py | 39 | 31.589744 | 128 | 0.644231 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,671 | loaders.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/loaders.pyi | import sys
from types import ModuleType
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
from .environment import Environment
if sys.version_info >= (3, 7):
from os import PathLike
_SearchPath = Union[Text, PathLike[str], Iterable[Union[Text, PathLike[str]]]]
else:
_SearchPath = Union[Text, Iterable[Text]]
def split_template_path(template: Text) -> List[Text]: ...
class BaseLoader:
has_source_access: bool
def get_source(self, environment, template): ...
def list_templates(self): ...
def load(self, environment, name, globals: Optional[Any] = ...): ...
class FileSystemLoader(BaseLoader):
searchpath: Text
encoding: Any
followlinks: Any
def __init__(self, searchpath: _SearchPath, encoding: Text = ..., followlinks: bool = ...) -> None: ...
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
def list_templates(self): ...
class PackageLoader(BaseLoader):
encoding: Text
manager: Any
filesystem_bound: Any
provider: Any
package_path: Any
def __init__(self, package_name: Text, package_path: Text = ..., encoding: Text = ...) -> None: ...
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
def list_templates(self): ...
class DictLoader(BaseLoader):
mapping: Any
def __init__(self, mapping) -> None: ...
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
def list_templates(self): ...
class FunctionLoader(BaseLoader):
load_func: Any
def __init__(self, load_func) -> None: ...
def get_source(
self, environment: Environment, template: Text
) -> Tuple[Text, Optional[Text], Optional[Callable[..., Any]]]: ...
class PrefixLoader(BaseLoader):
mapping: Any
delimiter: Any
def __init__(self, mapping, delimiter: str = ...) -> None: ...
def get_loader(self, template): ...
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
def load(self, environment, name, globals: Optional[Any] = ...): ...
def list_templates(self): ...
class ChoiceLoader(BaseLoader):
loaders: Any
def __init__(self, loaders) -> None: ...
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
def load(self, environment, name, globals: Optional[Any] = ...): ...
def list_templates(self): ...
class _TemplateModule(ModuleType): ...
class ModuleLoader(BaseLoader):
has_source_access: bool
module: Any
package_name: Any
def __init__(self, path) -> None: ...
@staticmethod
def get_template_key(name): ...
@staticmethod
def get_module_filename(name): ...
def load(self, environment, name, globals: Optional[Any] = ...): ...
| 2,923 | Python | .py | 67 | 39.328358 | 112 | 0.660218 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,672 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/utils.pyi | from _typeshed import AnyPath
from typing import IO, Any, Callable, Iterable, Optional, Protocol, Text, TypeVar, Union
from typing_extensions import Literal
from markupsafe import Markup as Markup, escape as escape, soft_unicode as soft_unicode
missing: Any
internal_code: Any
concat: Any
_CallableT = TypeVar("_CallableT", bound=Callable[..., Any])
class _ContextFunction(Protocol[_CallableT]):
contextfunction: Literal[True]
__call__: _CallableT
class _EvalContextFunction(Protocol[_CallableT]):
evalcontextfunction: Literal[True]
__call__: _CallableT
class _EnvironmentFunction(Protocol[_CallableT]):
environmentfunction: Literal[True]
__call__: _CallableT
def contextfunction(f: _CallableT) -> _ContextFunction[_CallableT]: ...
def evalcontextfunction(f: _CallableT) -> _EvalContextFunction[_CallableT]: ...
def environmentfunction(f: _CallableT) -> _EnvironmentFunction[_CallableT]: ...
def internalcode(f: _CallableT) -> _CallableT: ...
def is_undefined(obj: object) -> bool: ...
def select_autoescape(
enabled_extensions: Iterable[str] = ...,
disabled_extensions: Iterable[str] = ...,
default_for_string: bool = ...,
default: bool = ...,
) -> Callable[[str], bool]: ...
def consume(iterable: Iterable[object]) -> None: ...
def clear_caches() -> None: ...
def import_string(import_name: str, silent: bool = ...) -> Any: ...
def open_if_exists(filename: AnyPath, mode: str = ...) -> Optional[IO[Any]]: ...
def object_type_repr(obj: object) -> str: ...
def pformat(obj: object, verbose: bool = ...) -> str: ...
def urlize(
text: Union[Markup, Text],
trim_url_limit: Optional[int] = ...,
rel: Optional[Union[Markup, Text]] = ...,
target: Optional[Union[Markup, Text]] = ...,
) -> str: ...
def generate_lorem_ipsum(n: int = ..., html: bool = ..., min: int = ..., max: int = ...) -> Union[Markup, str]: ...
def unicode_urlencode(obj: object, charset: str = ..., for_qs: bool = ...) -> str: ...
class LRUCache:
capacity: Any
def __init__(self, capacity) -> None: ...
def __getnewargs__(self): ...
def copy(self): ...
def get(self, key, default: Optional[Any] = ...): ...
def setdefault(self, key, default: Optional[Any] = ...): ...
def clear(self): ...
def __contains__(self, key): ...
def __len__(self): ...
def __getitem__(self, key): ...
def __setitem__(self, key, value): ...
def __delitem__(self, key): ...
def items(self): ...
def iteritems(self): ...
def values(self): ...
def itervalue(self): ...
def keys(self): ...
def iterkeys(self): ...
__iter__: Any
def __reversed__(self): ...
__copy__: Any
class Cycler:
items: Any
def __init__(self, *items) -> None: ...
pos: int
def reset(self): ...
@property
def current(self): ...
def __next__(self): ...
class Joiner:
sep: Any
used: bool
def __init__(self, sep: str = ...) -> None: ...
def __call__(self): ...
| 2,957 | Python | .py | 77 | 34.883117 | 115 | 0.626132 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,673 | optimizer.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/optimizer.pyi | from typing import Any
from jinja2.visitor import NodeTransformer
def optimize(node, environment): ...
class Optimizer(NodeTransformer):
environment: Any
def __init__(self, environment) -> None: ...
def visit_If(self, node): ...
def fold(self, node): ...
visit_Add: Any
visit_Sub: Any
visit_Mul: Any
visit_Div: Any
visit_FloorDiv: Any
visit_Pow: Any
visit_Mod: Any
visit_And: Any
visit_Or: Any
visit_Pos: Any
visit_Neg: Any
visit_Not: Any
visit_Compare: Any
visit_Getitem: Any
visit_Getattr: Any
visit_Call: Any
visit_Filter: Any
visit_Test: Any
visit_CondExpr: Any
| 661 | Python | .py | 27 | 19.962963 | 48 | 0.66561 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,674 | nodes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/nodes.pyi | import typing
from typing import Any, Optional
class Impossible(Exception): ...
class NodeType(type):
def __new__(cls, name, bases, d): ...
class EvalContext:
environment: Any
autoescape: Any
volatile: bool
def __init__(self, environment, template_name: Optional[Any] = ...) -> None: ...
def save(self): ...
def revert(self, old): ...
def get_eval_context(node, ctx): ...
class Node:
fields: Any
attributes: Any
abstract: bool
def __init__(self, *fields, **attributes) -> None: ...
def iter_fields(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
def iter_child_nodes(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
def find(self, node_type): ...
def find_all(self, node_type): ...
def set_ctx(self, ctx): ...
def set_lineno(self, lineno, override: bool = ...): ...
def set_environment(self, environment): ...
def __eq__(self, other): ...
def __ne__(self, other): ...
__hash__: Any
class Stmt(Node):
abstract: bool
class Helper(Node):
abstract: bool
class Template(Node):
fields: Any
class Output(Stmt):
fields: Any
class Extends(Stmt):
fields: Any
class For(Stmt):
fields: Any
class If(Stmt):
fields: Any
class Macro(Stmt):
fields: Any
name: str
args: typing.List[Any]
defaults: typing.List[Any]
body: typing.List[Any]
class CallBlock(Stmt):
fields: Any
class FilterBlock(Stmt):
fields: Any
class Block(Stmt):
fields: Any
class Include(Stmt):
fields: Any
class Import(Stmt):
fields: Any
class FromImport(Stmt):
fields: Any
class ExprStmt(Stmt):
fields: Any
class Assign(Stmt):
fields: Any
class AssignBlock(Stmt):
fields: Any
class Expr(Node):
abstract: bool
def as_const(self, eval_ctx: Optional[Any] = ...): ...
def can_assign(self): ...
class BinExpr(Expr):
fields: Any
operator: Any
abstract: bool
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class UnaryExpr(Expr):
fields: Any
operator: Any
abstract: bool
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Name(Expr):
fields: Any
def can_assign(self): ...
class Literal(Expr):
abstract: bool
class Const(Literal):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
@classmethod
def from_untrusted(cls, value, lineno: Optional[Any] = ..., environment: Optional[Any] = ...): ...
class TemplateData(Literal):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Tuple(Literal):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
def can_assign(self): ...
class List(Literal):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Dict(Literal):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Pair(Helper):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Keyword(Helper):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class CondExpr(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Filter(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Test(Expr):
fields: Any
class Call(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Getitem(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
def can_assign(self): ...
class Getattr(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
def can_assign(self): ...
class Slice(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Concat(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Compare(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Operand(Helper):
fields: Any
class Mul(BinExpr):
operator: str
class Div(BinExpr):
operator: str
class FloorDiv(BinExpr):
operator: str
class Add(BinExpr):
operator: str
class Sub(BinExpr):
operator: str
class Mod(BinExpr):
operator: str
class Pow(BinExpr):
operator: str
class And(BinExpr):
operator: str
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Or(BinExpr):
operator: str
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class Not(UnaryExpr):
operator: str
class Neg(UnaryExpr):
operator: str
class Pos(UnaryExpr):
operator: str
class EnvironmentAttribute(Expr):
fields: Any
class ExtensionAttribute(Expr):
fields: Any
class ImportedName(Expr):
fields: Any
class InternalName(Expr):
fields: Any
def __init__(self) -> None: ...
class MarkSafe(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class MarkSafeIfAutoescape(Expr):
fields: Any
def as_const(self, eval_ctx: Optional[Any] = ...): ...
class ContextReference(Expr): ...
class Continue(Stmt): ...
class Break(Stmt): ...
class Scope(Stmt):
fields: Any
class EvalContextModifier(Stmt):
fields: Any
class ScopedEvalContextModifier(EvalContextModifier):
fields: Any
| 5,271 | Python | .py | 189 | 24.021164 | 102 | 0.647329 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,675 | debug.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/debug.pyi | from typing import Any, Optional
tproxy: Any
raise_helper: str
class TracebackFrameProxy:
tb: Any
def __init__(self, tb) -> None: ...
@property
def tb_next(self): ...
def set_next(self, next): ...
@property
def is_jinja_frame(self): ...
def __getattr__(self, name): ...
def make_frame_proxy(frame): ...
class ProcessedTraceback:
exc_type: Any
exc_value: Any
frames: Any
def __init__(self, exc_type, exc_value, frames) -> None: ...
def render_as_text(self, limit: Optional[Any] = ...): ...
def render_as_html(self, full: bool = ...): ...
@property
def is_template_syntax_error(self): ...
@property
def exc_info(self): ...
@property
def standard_exc_info(self): ...
def make_traceback(exc_info, source_hint: Optional[Any] = ...): ...
def translate_syntax_error(error, source: Optional[Any] = ...): ...
def translate_exception(exc_info, initial_skip: int = ...): ...
def fake_exc_info(exc_info, filename, lineno): ...
tb_set_next: Any
| 1,018 | Python | .py | 31 | 29.064516 | 67 | 0.630989 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,676 | ext.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/ext.pyi | from typing import Any, Optional
GETTEXT_FUNCTIONS: Any
class ExtensionRegistry(type):
def __new__(cls, name, bases, d): ...
class Extension:
tags: Any
priority: int
environment: Any
def __init__(self, environment) -> None: ...
def bind(self, environment): ...
def preprocess(self, source, name, filename: Optional[Any] = ...): ...
def filter_stream(self, stream): ...
def parse(self, parser): ...
def attr(self, name, lineno: Optional[Any] = ...): ...
def call_method(
self,
name,
args: Optional[Any] = ...,
kwargs: Optional[Any] = ...,
dyn_args: Optional[Any] = ...,
dyn_kwargs: Optional[Any] = ...,
lineno: Optional[Any] = ...,
): ...
class InternationalizationExtension(Extension):
tags: Any
def __init__(self, environment) -> None: ...
def parse(self, parser): ...
class ExprStmtExtension(Extension):
tags: Any
def parse(self, parser): ...
class LoopControlExtension(Extension):
tags: Any
def parse(self, parser): ...
class WithExtension(Extension):
tags: Any
def parse(self, parser): ...
class AutoEscapeExtension(Extension):
tags: Any
def parse(self, parser): ...
def extract_from_ast(node, gettext_functions: Any = ..., babel_style: bool = ...): ...
class _CommentFinder:
tokens: Any
comment_tags: Any
offset: int
last_lineno: int
def __init__(self, tokens, comment_tags) -> None: ...
def find_backwards(self, offset): ...
def find_comments(self, lineno): ...
def babel_extract(fileobj, keywords, comment_tags, options): ...
i18n: Any
do: Any
loopcontrols: Any
with_: Any
autoescape: Any
| 1,684 | Python | .py | 54 | 26.703704 | 86 | 0.635352 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,677 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/__init__.pyi | from jinja2.bccache import (
BytecodeCache as BytecodeCache,
FileSystemBytecodeCache as FileSystemBytecodeCache,
MemcachedBytecodeCache as MemcachedBytecodeCache,
)
from jinja2.environment import Environment as Environment, Template as Template
from jinja2.exceptions import (
TemplateAssertionError as TemplateAssertionError,
TemplateError as TemplateError,
TemplateNotFound as TemplateNotFound,
TemplatesNotFound as TemplatesNotFound,
TemplateSyntaxError as TemplateSyntaxError,
UndefinedError as UndefinedError,
)
from jinja2.filters import (
contextfilter as contextfilter,
environmentfilter as environmentfilter,
evalcontextfilter as evalcontextfilter,
)
from jinja2.loaders import (
BaseLoader as BaseLoader,
ChoiceLoader as ChoiceLoader,
DictLoader as DictLoader,
FileSystemLoader as FileSystemLoader,
FunctionLoader as FunctionLoader,
ModuleLoader as ModuleLoader,
PackageLoader as PackageLoader,
PrefixLoader as PrefixLoader,
)
from jinja2.runtime import (
DebugUndefined as DebugUndefined,
StrictUndefined as StrictUndefined,
Undefined as Undefined,
make_logging_undefined as make_logging_undefined,
)
from jinja2.utils import (
Markup as Markup,
clear_caches as clear_caches,
contextfunction as contextfunction,
environmentfunction as environmentfunction,
escape as escape,
evalcontextfunction as evalcontextfunction,
is_undefined as is_undefined,
select_autoescape as select_autoescape,
)
| 1,529 | Python | .py | 45 | 30.133333 | 79 | 0.811321 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,678 | parser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/parser.pyi | from typing import Any, Optional
class Parser:
environment: Any
stream: Any
name: Any
filename: Any
closed: bool
extensions: Any
def __init__(
self, environment, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., state: Optional[Any] = ...
) -> None: ...
def fail(self, msg, lineno: Optional[Any] = ..., exc: Any = ...): ...
def fail_unknown_tag(self, name, lineno: Optional[Any] = ...): ...
def fail_eof(self, end_tokens: Optional[Any] = ..., lineno: Optional[Any] = ...): ...
def is_tuple_end(self, extra_end_rules: Optional[Any] = ...): ...
def free_identifier(self, lineno: Optional[Any] = ...): ...
def parse_statement(self): ...
def parse_statements(self, end_tokens, drop_needle: bool = ...): ...
def parse_set(self): ...
def parse_for(self): ...
def parse_if(self): ...
def parse_block(self): ...
def parse_extends(self): ...
def parse_import_context(self, node, default): ...
def parse_include(self): ...
def parse_import(self): ...
def parse_from(self): ...
def parse_signature(self, node): ...
def parse_call_block(self): ...
def parse_filter_block(self): ...
def parse_macro(self): ...
def parse_print(self): ...
def parse_assign_target(self, with_tuple: bool = ..., name_only: bool = ..., extra_end_rules: Optional[Any] = ...): ...
def parse_expression(self, with_condexpr: bool = ...): ...
def parse_condexpr(self): ...
def parse_or(self): ...
def parse_and(self): ...
def parse_not(self): ...
def parse_compare(self): ...
def parse_add(self): ...
def parse_sub(self): ...
def parse_concat(self): ...
def parse_mul(self): ...
def parse_div(self): ...
def parse_floordiv(self): ...
def parse_mod(self): ...
def parse_pow(self): ...
def parse_unary(self, with_filter: bool = ...): ...
def parse_primary(self): ...
def parse_tuple(
self,
simplified: bool = ...,
with_condexpr: bool = ...,
extra_end_rules: Optional[Any] = ...,
explicit_parentheses: bool = ...,
): ...
def parse_list(self): ...
def parse_dict(self): ...
def parse_postfix(self, node): ...
def parse_filter_expr(self, node): ...
def parse_subscript(self, node): ...
def parse_subscribed(self): ...
def parse_call(self, node): ...
def parse_filter(self, node, start_inline: bool = ...): ...
def parse_test(self, node): ...
def subparse(self, end_tokens: Optional[Any] = ...): ...
def parse(self): ...
| 2,576 | Python | .py | 67 | 33.19403 | 123 | 0.577751 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,679 | tests.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/tests.pyi | from typing import Any
number_re: Any
regex_type: Any
test_callable: Any
def test_odd(value): ...
def test_even(value): ...
def test_divisibleby(value, num): ...
def test_defined(value): ...
def test_undefined(value): ...
def test_none(value): ...
def test_lower(value): ...
def test_upper(value): ...
def test_string(value): ...
def test_mapping(value): ...
def test_number(value): ...
def test_sequence(value): ...
def test_equalto(value, other): ...
def test_sameas(value, other): ...
def test_iterable(value): ...
def test_escaped(value): ...
TESTS: Any
| 561 | Python | .py | 21 | 25.571429 | 37 | 0.6946 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,680 | meta.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/meta.pyi | from typing import Any
from jinja2.compiler import CodeGenerator
class TrackingCodeGenerator(CodeGenerator):
undeclared_identifiers: Any
def __init__(self, environment) -> None: ...
def write(self, x): ...
def pull_locals(self, frame): ...
def find_undeclared_variables(ast): ...
def find_referenced_templates(ast): ...
| 339 | Python | .py | 9 | 34.555556 | 48 | 0.727829 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,681 | _stringdefs.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/_stringdefs.pyi | from typing import Any
Cc: str
Cf: str
Cn: str
Co: str
Cs: Any
Ll: str
Lm: str
Lo: str
Lt: str
Lu: str
Mc: str
Me: str
Mn: str
Nd: str
Nl: str
No: str
Pc: str
Pd: str
Pe: str
Pf: str
Pi: str
Po: str
Ps: str
Sc: str
Sk: str
Sm: str
So: str
Zl: str
Zp: str
Zs: str
cats: Any
def combine(*args): ...
xid_start: str
xid_continue: str
def allexcept(*args): ...
| 360 | Python | .py | 36 | 8.888889 | 25 | 0.721875 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,682 | filters.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/filters.pyi | from typing import Any, NamedTuple, Optional
def contextfilter(f): ...
def evalcontextfilter(f): ...
def environmentfilter(f): ...
def make_attrgetter(environment, attribute): ...
def do_forceescape(value): ...
def do_urlencode(value): ...
def do_replace(eval_ctx, s, old, new, count: Optional[Any] = ...): ...
def do_upper(s): ...
def do_lower(s): ...
def do_xmlattr(_eval_ctx, d, autospace: bool = ...): ...
def do_capitalize(s): ...
def do_title(s): ...
def do_dictsort(value, case_sensitive: bool = ..., by: str = ...): ...
def do_sort(environment, value, reverse: bool = ..., case_sensitive: bool = ..., attribute: Optional[Any] = ...): ...
def do_default(value, default_value: str = ..., boolean: bool = ...): ...
def do_join(eval_ctx, value, d: str = ..., attribute: Optional[Any] = ...): ...
def do_center(value, width: int = ...): ...
def do_first(environment, seq): ...
def do_last(environment, seq): ...
def do_random(environment, seq): ...
def do_filesizeformat(value, binary: bool = ...): ...
def do_pprint(value, verbose: bool = ...): ...
def do_urlize(eval_ctx, value, trim_url_limit: Optional[Any] = ..., nofollow: bool = ..., target: Optional[Any] = ...): ...
def do_indent(s, width: int = ..., indentfirst: bool = ...): ...
def do_truncate(s, length: int = ..., killwords: bool = ..., end: str = ...): ...
def do_wordwrap(environment, s, width: int = ..., break_long_words: bool = ..., wrapstring: Optional[Any] = ...): ...
def do_wordcount(s): ...
def do_int(value, default: int = ..., base: int = ...): ...
def do_float(value, default: float = ...): ...
def do_format(value, *args, **kwargs): ...
def do_trim(value): ...
def do_striptags(value): ...
def do_slice(value, slices, fill_with: Optional[Any] = ...): ...
def do_batch(value, linecount, fill_with: Optional[Any] = ...): ...
def do_round(value, precision: int = ..., method: str = ...): ...
def do_groupby(environment, value, attribute): ...
class _GroupTuple(NamedTuple):
grouper: Any
list: Any
def do_sum(environment, iterable, attribute: Optional[Any] = ..., start: int = ...): ...
def do_list(value): ...
def do_mark_safe(value): ...
def do_mark_unsafe(value): ...
def do_reverse(value): ...
def do_attr(environment, obj, name): ...
def do_map(*args, **kwargs): ...
def do_select(*args, **kwargs): ...
def do_reject(*args, **kwargs): ...
def do_selectattr(*args, **kwargs): ...
def do_rejectattr(*args, **kwargs): ...
FILTERS: Any
| 2,425 | Python | .py | 52 | 45.403846 | 123 | 0.624314 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,683 | sandbox.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/sandbox.pyi | from typing import Any
from jinja2.environment import Environment
MAX_RANGE: int
UNSAFE_FUNCTION_ATTRIBUTES: Any
UNSAFE_METHOD_ATTRIBUTES: Any
UNSAFE_GENERATOR_ATTRIBUTES: Any
def safe_range(*args): ...
def unsafe(f): ...
def is_internal_attribute(obj, attr): ...
def modifies_known_mutable(obj, attr): ...
class SandboxedEnvironment(Environment):
sandboxed: bool
default_binop_table: Any
default_unop_table: Any
intercepted_binops: Any
intercepted_unops: Any
def intercept_unop(self, operator): ...
binop_table: Any
unop_table: Any
def __init__(self, *args, **kwargs) -> None: ...
def is_safe_attribute(self, obj, attr, value): ...
def is_safe_callable(self, obj): ...
def call_binop(self, context, operator, left, right): ...
def call_unop(self, context, operator, arg): ...
def getitem(self, obj, argument): ...
def getattr(self, obj, attribute): ...
def unsafe_undefined(self, obj, attribute): ...
def call(__self, __context, __obj, *args, **kwargs): ...
class ImmutableSandboxedEnvironment(SandboxedEnvironment):
def is_safe_attribute(self, obj, attr, value): ...
| 1,146 | Python | .py | 30 | 34.633333 | 61 | 0.69577 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,684 | runtime.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/runtime.pyi | from typing import Any, Dict, Optional, Text, Union
from jinja2.environment import Environment
from jinja2.exceptions import TemplateNotFound as TemplateNotFound, TemplateRuntimeError as TemplateRuntimeError
from jinja2.utils import Markup as Markup, concat as concat, escape as escape, missing as missing
to_string: Any
identity: Any
def markup_join(seq): ...
def unicode_join(seq): ...
class TemplateReference:
def __init__(self, context) -> None: ...
def __getitem__(self, name): ...
class Context:
parent: Union[Context, Dict[str, Any]]
vars: Dict[str, Any]
environment: Environment
eval_ctx: Any
exported_vars: Any
name: Text
blocks: Dict[str, Any]
def __init__(
self, environment: Environment, parent: Union[Context, Dict[str, Any]], name: Text, blocks: Dict[str, Any]
) -> None: ...
def super(self, name, current): ...
def get(self, key, default: Optional[Any] = ...): ...
def resolve(self, key): ...
def get_exported(self): ...
def get_all(self): ...
def call(__self, __obj, *args, **kwargs): ...
def derived(self, locals: Optional[Any] = ...): ...
keys: Any
values: Any
items: Any
iterkeys: Any
itervalues: Any
iteritems: Any
def __contains__(self, name): ...
def __getitem__(self, key): ...
class BlockReference:
name: Any
def __init__(self, name, context, stack, depth) -> None: ...
@property
def super(self): ...
def __call__(self): ...
class LoopContext:
index0: int
depth0: Any
def __init__(self, iterable, recurse: Optional[Any] = ..., depth0: int = ...) -> None: ...
def cycle(self, *args): ...
first: Any
last: Any
index: Any
revindex: Any
revindex0: Any
depth: Any
def __len__(self): ...
def __iter__(self): ...
def loop(self, iterable): ...
__call__: Any
@property
def length(self): ...
class LoopContextIterator:
context: Any
def __init__(self, context) -> None: ...
def __iter__(self): ...
def __next__(self): ...
class Macro:
name: Any
arguments: Any
defaults: Any
catch_kwargs: Any
catch_varargs: Any
caller: Any
def __init__(self, environment, func, name, arguments, defaults, catch_kwargs, catch_varargs, caller) -> None: ...
def __call__(self, *args, **kwargs): ...
class Undefined:
def __init__(self, hint: Optional[Any] = ..., obj: Any = ..., name: Optional[Any] = ..., exc: Any = ...) -> None: ...
def __getattr__(self, name): ...
__add__: Any
__radd__: Any
__mul__: Any
__rmul__: Any
__div__: Any
__rdiv__: Any
__truediv__: Any
__rtruediv__: Any
__floordiv__: Any
__rfloordiv__: Any
__mod__: Any
__rmod__: Any
__pos__: Any
__neg__: Any
__call__: Any
__getitem__: Any
__lt__: Any
__le__: Any
__gt__: Any
__ge__: Any
__int__: Any
__float__: Any
__complex__: Any
__pow__: Any
__rpow__: Any
def __eq__(self, other): ...
def __ne__(self, other): ...
def __hash__(self): ...
def __len__(self): ...
def __iter__(self): ...
def __nonzero__(self): ...
__bool__: Any
def make_logging_undefined(logger: Optional[Any] = ..., base: Optional[Any] = ...): ...
class DebugUndefined(Undefined): ...
class StrictUndefined(Undefined):
__iter__: Any
__len__: Any
__nonzero__: Any
__eq__: Any
__ne__: Any
__bool__: Any
__hash__: Any
| 3,463 | Python | .py | 119 | 24.563025 | 121 | 0.578205 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,685 | lexer.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/lexer.pyi | from typing import Any, Optional, Tuple
whitespace_re: Any
string_re: Any
integer_re: Any
name_re: Any
float_re: Any
newline_re: Any
TOKEN_ADD: Any
TOKEN_ASSIGN: Any
TOKEN_COLON: Any
TOKEN_COMMA: Any
TOKEN_DIV: Any
TOKEN_DOT: Any
TOKEN_EQ: Any
TOKEN_FLOORDIV: Any
TOKEN_GT: Any
TOKEN_GTEQ: Any
TOKEN_LBRACE: Any
TOKEN_LBRACKET: Any
TOKEN_LPAREN: Any
TOKEN_LT: Any
TOKEN_LTEQ: Any
TOKEN_MOD: Any
TOKEN_MUL: Any
TOKEN_NE: Any
TOKEN_PIPE: Any
TOKEN_POW: Any
TOKEN_RBRACE: Any
TOKEN_RBRACKET: Any
TOKEN_RPAREN: Any
TOKEN_SEMICOLON: Any
TOKEN_SUB: Any
TOKEN_TILDE: Any
TOKEN_WHITESPACE: Any
TOKEN_FLOAT: Any
TOKEN_INTEGER: Any
TOKEN_NAME: Any
TOKEN_STRING: Any
TOKEN_OPERATOR: Any
TOKEN_BLOCK_BEGIN: Any
TOKEN_BLOCK_END: Any
TOKEN_VARIABLE_BEGIN: Any
TOKEN_VARIABLE_END: Any
TOKEN_RAW_BEGIN: Any
TOKEN_RAW_END: Any
TOKEN_COMMENT_BEGIN: Any
TOKEN_COMMENT_END: Any
TOKEN_COMMENT: Any
TOKEN_LINESTATEMENT_BEGIN: Any
TOKEN_LINESTATEMENT_END: Any
TOKEN_LINECOMMENT_BEGIN: Any
TOKEN_LINECOMMENT_END: Any
TOKEN_LINECOMMENT: Any
TOKEN_DATA: Any
TOKEN_INITIAL: Any
TOKEN_EOF: Any
operators: Any
reverse_operators: Any
operator_re: Any
ignored_tokens: Any
ignore_if_empty: Any
def describe_token(token): ...
def describe_token_expr(expr): ...
def count_newlines(value): ...
def compile_rules(environment): ...
class Failure:
message: Any
error_class: Any
def __init__(self, message, cls: Any = ...) -> None: ...
def __call__(self, lineno, filename): ...
class Token(Tuple[int, Any, Any]):
lineno: Any
type: Any
value: Any
def __new__(cls, lineno, type, value): ...
def test(self, expr): ...
def test_any(self, *iterable): ...
class TokenStreamIterator:
stream: Any
def __init__(self, stream) -> None: ...
def __iter__(self): ...
def __next__(self): ...
class TokenStream:
name: Any
filename: Any
closed: bool
current: Any
def __init__(self, generator, name, filename) -> None: ...
def __iter__(self): ...
def __bool__(self): ...
__nonzero__: Any
eos: Any
def push(self, token): ...
def look(self): ...
def skip(self, n: int = ...): ...
def next_if(self, expr): ...
def skip_if(self, expr): ...
def __next__(self): ...
def close(self): ...
def expect(self, expr): ...
def get_lexer(environment): ...
class Lexer:
newline_sequence: Any
keep_trailing_newline: Any
rules: Any
def __init__(self, environment) -> None: ...
def tokenize(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
def wrap(self, stream, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
def tokeniter(self, source, name, filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
| 2,764 | Python | .py | 109 | 22.889908 | 121 | 0.680015 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,686 | environment.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/environment.pyi | import sys
from typing import Any, Callable, Dict, Iterator, List, Optional, Sequence, Text, Type, Union
from .bccache import BytecodeCache
from .loaders import BaseLoader
from .runtime import Context, Undefined
if sys.version_info >= (3, 6):
from typing import AsyncIterator, Awaitable
def get_spontaneous_environment(*args): ...
def create_cache(size): ...
def copy_cache(cache): ...
def load_extensions(environment, extensions): ...
class Environment:
sandboxed: bool
overlayed: bool
linked_to: Any
shared: bool
exception_handler: Any
exception_formatter: Any
code_generator_class: Any
context_class: Any
block_start_string: Text
block_end_string: Text
variable_start_string: Text
variable_end_string: Text
comment_start_string: Text
comment_end_string: Text
line_statement_prefix: Text
line_comment_prefix: Text
trim_blocks: bool
lstrip_blocks: Any
newline_sequence: Text
keep_trailing_newline: bool
undefined: Type[Undefined]
optimized: bool
finalize: Callable[..., Any]
autoescape: Any
filters: Any
tests: Any
globals: Dict[str, Any]
loader: BaseLoader
cache: Any
bytecode_cache: BytecodeCache
auto_reload: bool
extensions: List[Any]
def __init__(
self,
block_start_string: Text = ...,
block_end_string: Text = ...,
variable_start_string: Text = ...,
variable_end_string: Text = ...,
comment_start_string: Any = ...,
comment_end_string: Text = ...,
line_statement_prefix: Text = ...,
line_comment_prefix: Text = ...,
trim_blocks: bool = ...,
lstrip_blocks: bool = ...,
newline_sequence: Text = ...,
keep_trailing_newline: bool = ...,
extensions: List[Any] = ...,
optimized: bool = ...,
undefined: Type[Undefined] = ...,
finalize: Optional[Callable[..., Any]] = ...,
autoescape: Union[bool, Callable[[str], bool]] = ...,
loader: Optional[BaseLoader] = ...,
cache_size: int = ...,
auto_reload: bool = ...,
bytecode_cache: Optional[BytecodeCache] = ...,
enable_async: bool = ...,
) -> None: ...
def add_extension(self, extension): ...
def extend(self, **attributes): ...
def overlay(
self,
block_start_string: Text = ...,
block_end_string: Text = ...,
variable_start_string: Text = ...,
variable_end_string: Text = ...,
comment_start_string: Any = ...,
comment_end_string: Text = ...,
line_statement_prefix: Text = ...,
line_comment_prefix: Text = ...,
trim_blocks: bool = ...,
lstrip_blocks: bool = ...,
extensions: List[Any] = ...,
optimized: bool = ...,
undefined: Type[Undefined] = ...,
finalize: Callable[..., Any] = ...,
autoescape: bool = ...,
loader: Optional[BaseLoader] = ...,
cache_size: int = ...,
auto_reload: bool = ...,
bytecode_cache: Optional[BytecodeCache] = ...,
): ...
lexer: Any
def iter_extensions(self): ...
def getitem(self, obj, argument): ...
def getattr(self, obj, attribute): ...
def call_filter(
self,
name,
value,
args: Optional[Any] = ...,
kwargs: Optional[Any] = ...,
context: Optional[Any] = ...,
eval_ctx: Optional[Any] = ...,
): ...
def call_test(self, name, value, args: Optional[Any] = ..., kwargs: Optional[Any] = ...): ...
def parse(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
def lex(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
def preprocess(self, source: Text, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
def compile(
self, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., raw: bool = ..., defer_init: bool = ...
): ...
def compile_expression(self, source: Text, undefined_to_none: bool = ...): ...
def compile_templates(
self,
target,
extensions: Optional[Any] = ...,
filter_func: Optional[Any] = ...,
zip: str = ...,
log_function: Optional[Any] = ...,
ignore_errors: bool = ...,
py_compile: bool = ...,
): ...
def list_templates(self, extensions: Optional[Any] = ..., filter_func: Optional[Any] = ...): ...
def handle_exception(self, exc_info: Optional[Any] = ..., rendered: bool = ..., source_hint: Optional[Any] = ...): ...
def join_path(self, template: Union[Template, Text], parent: Text) -> Text: ...
def get_template(
self, name: Union[Template, Text], parent: Optional[Text] = ..., globals: Optional[Any] = ...
) -> Template: ...
def select_template(
self, names: Sequence[Union[Template, Text]], parent: Optional[Text] = ..., globals: Optional[Dict[str, Any]] = ...
) -> Template: ...
def get_or_select_template(
self,
template_name_or_list: Union[Union[Template, Text], Sequence[Union[Template, Text]]],
parent: Optional[Text] = ...,
globals: Optional[Dict[str, Any]] = ...,
) -> Template: ...
def from_string(
self, source: Text, globals: Optional[Dict[str, Any]] = ..., template_class: Optional[Type[Template]] = ...
) -> Template: ...
def make_globals(self, d: Optional[Dict[str, Any]]) -> Dict[str, Any]: ...
# Frequently added extensions are included here:
# from InternationalizationExtension:
def install_gettext_translations(self, translations: Any, newstyle: Optional[bool] = ...): ...
def install_null_translations(self, newstyle: Optional[bool] = ...): ...
def install_gettext_callables(
self, gettext: Callable[..., Any], ngettext: Callable[..., Any], newstyle: Optional[bool] = ...
): ...
def uninstall_gettext_translations(self, translations: Any): ...
def extract_translations(self, source: Any, gettext_functions: Any): ...
newstyle_gettext: bool
class Template:
name: Optional[str]
filename: Optional[str]
def __new__(
cls,
source,
block_start_string: Any = ...,
block_end_string: Any = ...,
variable_start_string: Any = ...,
variable_end_string: Any = ...,
comment_start_string: Any = ...,
comment_end_string: Any = ...,
line_statement_prefix: Any = ...,
line_comment_prefix: Any = ...,
trim_blocks: Any = ...,
lstrip_blocks: Any = ...,
newline_sequence: Any = ...,
keep_trailing_newline: Any = ...,
extensions: Any = ...,
optimized: bool = ...,
undefined: Any = ...,
finalize: Optional[Any] = ...,
autoescape: bool = ...,
): ...
environment: Environment = ...
@classmethod
def from_code(cls, environment, code, globals, uptodate: Optional[Any] = ...): ...
@classmethod
def from_module_dict(cls, environment, module_dict, globals): ...
def render(self, *args, **kwargs) -> Text: ...
def stream(self, *args, **kwargs) -> TemplateStream: ...
def generate(self, *args, **kwargs) -> Iterator[Text]: ...
def new_context(
self, vars: Optional[Dict[str, Any]] = ..., shared: bool = ..., locals: Optional[Dict[str, Any]] = ...
) -> Context: ...
def make_module(
self, vars: Optional[Dict[str, Any]] = ..., shared: bool = ..., locals: Optional[Dict[str, Any]] = ...
) -> Context: ...
@property
def module(self) -> Any: ...
def get_corresponding_lineno(self, lineno): ...
@property
def is_up_to_date(self) -> bool: ...
@property
def debug_info(self): ...
if sys.version_info >= (3, 6):
def render_async(self, *args, **kwargs) -> Awaitable[Text]: ...
def generate_async(self, *args, **kwargs) -> AsyncIterator[Text]: ...
class TemplateModule:
__name__: Any
def __init__(self, template, context) -> None: ...
def __html__(self): ...
class TemplateExpression:
def __init__(self, template, undefined_to_none) -> None: ...
def __call__(self, *args, **kwargs): ...
class TemplateStream:
def __init__(self, gen) -> None: ...
def dump(self, fp, encoding: Optional[Text] = ..., errors: Text = ...): ...
buffered: bool
def disable_buffering(self) -> None: ...
def enable_buffering(self, size: int = ...) -> None: ...
def __iter__(self): ...
def __next__(self): ...
| 8,493 | Python | .py | 216 | 32.893519 | 123 | 0.581086 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,687 | defaults.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/defaults.pyi | from typing import Any, Dict, Optional
from jinja2.filters import FILTERS
from jinja2.tests import TESTS
DEFAULT_FILTERS = FILTERS
DEFAULT_TESTS = TESTS
BLOCK_START_STRING: str
BLOCK_END_STRING: str
VARIABLE_START_STRING: str
VARIABLE_END_STRING: str
COMMENT_START_STRING: str
COMMENT_END_STRING: str
LINE_STATEMENT_PREFIX: Optional[str]
LINE_COMMENT_PREFIX: Optional[str]
TRIM_BLOCKS: bool
LSTRIP_BLOCKS: bool
NEWLINE_SEQUENCE: str
KEEP_TRAILING_NEWLINE: bool
DEFAULT_NAMESPACE: Dict[str, Any]
DEFAULT_POLICIES = Dict[str, Any]
| 532 | Python | .py | 19 | 26.842105 | 38 | 0.829412 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,688 | compiler.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/compiler.pyi | from keyword import iskeyword as is_python_keyword
from typing import Any, Optional
from jinja2.visitor import NodeVisitor
operators: Any
dict_item_iter: str
unoptimize_before_dead_code: bool
def generate(node, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...): ...
def has_safe_repr(value): ...
def find_undeclared(nodes, names): ...
class Identifiers:
declared: Any
outer_undeclared: Any
undeclared: Any
declared_locally: Any
declared_parameter: Any
def __init__(self) -> None: ...
def add_special(self, name): ...
def is_declared(self, name): ...
def copy(self): ...
class Frame:
eval_ctx: Any
identifiers: Any
toplevel: bool
rootlevel: bool
require_output_check: Any
buffer: Any
block: Any
assigned_names: Any
parent: Any
def __init__(self, eval_ctx, parent: Optional[Any] = ...) -> None: ...
def copy(self): ...
def inspect(self, nodes): ...
def find_shadowed(self, extra: Any = ...): ...
def inner(self): ...
def soft(self): ...
__copy__: Any
class VisitorExit(RuntimeError): ...
class DependencyFinderVisitor(NodeVisitor):
filters: Any
tests: Any
def __init__(self) -> None: ...
def visit_Filter(self, node): ...
def visit_Test(self, node): ...
def visit_Block(self, node): ...
class UndeclaredNameVisitor(NodeVisitor):
names: Any
undeclared: Any
def __init__(self, names) -> None: ...
def visit_Name(self, node): ...
def visit_Block(self, node): ...
class FrameIdentifierVisitor(NodeVisitor):
identifiers: Any
def __init__(self, identifiers) -> None: ...
def visit_Name(self, node): ...
def visit_If(self, node): ...
def visit_Macro(self, node): ...
def visit_Import(self, node): ...
def visit_FromImport(self, node): ...
def visit_Assign(self, node): ...
def visit_For(self, node): ...
def visit_CallBlock(self, node): ...
def visit_FilterBlock(self, node): ...
def visit_AssignBlock(self, node): ...
def visit_Scope(self, node): ...
def visit_Block(self, node): ...
class CompilerExit(Exception): ...
class CodeGenerator(NodeVisitor):
environment: Any
name: Any
filename: Any
stream: Any
created_block_context: bool
defer_init: Any
import_aliases: Any
blocks: Any
extends_so_far: int
has_known_extends: bool
code_lineno: int
tests: Any
filters: Any
debug_info: Any
def __init__(self, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...) -> None: ...
def fail(self, msg, lineno): ...
def temporary_identifier(self): ...
def buffer(self, frame): ...
def return_buffer_contents(self, frame): ...
def indent(self): ...
def outdent(self, step: int = ...): ...
def start_write(self, frame, node: Optional[Any] = ...): ...
def end_write(self, frame): ...
def simple_write(self, s, frame, node: Optional[Any] = ...): ...
def blockvisit(self, nodes, frame): ...
def write(self, x): ...
def writeline(self, x, node: Optional[Any] = ..., extra: int = ...): ...
def newline(self, node: Optional[Any] = ..., extra: int = ...): ...
def signature(self, node, frame, extra_kwargs: Optional[Any] = ...): ...
def pull_locals(self, frame): ...
def pull_dependencies(self, nodes): ...
def unoptimize_scope(self, frame): ...
def push_scope(self, frame, extra_vars: Any = ...): ...
def pop_scope(self, aliases, frame): ...
def function_scoping(self, node, frame, children: Optional[Any] = ..., find_special: bool = ...): ...
def macro_body(self, node, frame, children: Optional[Any] = ...): ...
def macro_def(self, node, frame): ...
def position(self, node): ...
def visit_Template(self, node, frame: Optional[Any] = ...): ...
def visit_Block(self, node, frame): ...
def visit_Extends(self, node, frame): ...
def visit_Include(self, node, frame): ...
def visit_Import(self, node, frame): ...
def visit_FromImport(self, node, frame): ...
def visit_For(self, node, frame): ...
def visit_If(self, node, frame): ...
def visit_Macro(self, node, frame): ...
def visit_CallBlock(self, node, frame): ...
def visit_FilterBlock(self, node, frame): ...
def visit_ExprStmt(self, node, frame): ...
def visit_Output(self, node, frame): ...
def make_assignment_frame(self, frame): ...
def export_assigned_vars(self, frame, assignment_frame): ...
def visit_Assign(self, node, frame): ...
def visit_AssignBlock(self, node, frame): ...
def visit_Name(self, node, frame): ...
def visit_Const(self, node, frame): ...
def visit_TemplateData(self, node, frame): ...
def visit_Tuple(self, node, frame): ...
def visit_List(self, node, frame): ...
def visit_Dict(self, node, frame): ...
def binop(self, interceptable: bool = ...): ...
def uaop(self, interceptable: bool = ...): ...
visit_Add: Any
visit_Sub: Any
visit_Mul: Any
visit_Div: Any
visit_FloorDiv: Any
visit_Pow: Any
visit_Mod: Any
visit_And: Any
visit_Or: Any
visit_Pos: Any
visit_Neg: Any
visit_Not: Any
def visit_Concat(self, node, frame): ...
def visit_Compare(self, node, frame): ...
def visit_Operand(self, node, frame): ...
def visit_Getattr(self, node, frame): ...
def visit_Getitem(self, node, frame): ...
def visit_Slice(self, node, frame): ...
def visit_Filter(self, node, frame): ...
def visit_Test(self, node, frame): ...
def visit_CondExpr(self, node, frame): ...
def visit_Call(self, node, frame, forward_caller: bool = ...): ...
def visit_Keyword(self, node, frame): ...
def visit_MarkSafe(self, node, frame): ...
def visit_MarkSafeIfAutoescape(self, node, frame): ...
def visit_EnvironmentAttribute(self, node, frame): ...
def visit_ExtensionAttribute(self, node, frame): ...
def visit_ImportedName(self, node, frame): ...
def visit_InternalName(self, node, frame): ...
def visit_ContextReference(self, node, frame): ...
def visit_Continue(self, node, frame): ...
def visit_Break(self, node, frame): ...
def visit_Scope(self, node, frame): ...
def visit_EvalContextModifier(self, node, frame): ...
def visit_ScopedEvalContextModifier(self, node, frame): ...
| 6,363 | Python | .py | 165 | 33.90303 | 117 | 0.628678 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,689 | _compat.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/_compat.pyi | import sys
from typing import Any, Optional
if sys.version_info >= (3,):
from urllib.parse import quote_from_bytes
url_quote = quote_from_bytes
else:
import urllib
url_quote = urllib.quote
PY2: Any
PYPY: Any
unichr: Any
range_type: Any
text_type: Any
string_types: Any
integer_types: Any
iterkeys: Any
itervalues: Any
iteritems: Any
NativeStringIO: Any
def reraise(tp, value, tb: Optional[Any] = ...): ...
ifilter: Any
imap: Any
izip: Any
intern: Any
implements_iterator: Any
implements_to_string: Any
encode_filename: Any
get_next: Any
def with_metaclass(meta, *bases): ...
| 598 | Python | .py | 29 | 18.827586 | 52 | 0.763345 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,690 | exceptions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/jinja2/exceptions.pyi | from typing import Any, Optional, Text
class TemplateError(Exception):
def __init__(self, message: Optional[Text] = ...) -> None: ...
@property
def message(self): ...
def __unicode__(self): ...
class TemplateNotFound(IOError, LookupError, TemplateError):
message: Any
name: Any
templates: Any
def __init__(self, name, message: Optional[Text] = ...) -> None: ...
class TemplatesNotFound(TemplateNotFound):
templates: Any
def __init__(self, names: Any = ..., message: Optional[Text] = ...) -> None: ...
class TemplateSyntaxError(TemplateError):
lineno: int
name: Text
filename: Text
source: Text
translated: bool
def __init__(self, message: Text, lineno: int, name: Optional[Text] = ..., filename: Optional[Text] = ...) -> None: ...
class TemplateAssertionError(TemplateSyntaxError): ...
class TemplateRuntimeError(TemplateError): ...
class UndefinedError(TemplateRuntimeError): ...
class SecurityError(TemplateRuntimeError): ...
class FilterArgumentError(TemplateRuntimeError): ...
| 1,050 | Python | .py | 26 | 36.730769 | 123 | 0.691855 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,691 | reader.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/reader.pyi | from ipaddress import IPv4Address, IPv6Address
from types import TracebackType
from typing import Any, Mapping, Optional, Sequence, Text, Tuple, Type, Union
class Reader:
closed: bool = ...
def __init__(self, database: bytes, mode: int = ...) -> None: ...
def metadata(self) -> Metadata: ...
def get(self, ip_address: Union[Text, IPv4Address, IPv6Address]) -> Optional[Any]: ...
def get_with_prefix_len(self, ip_address: Union[Text, IPv4Address, IPv6Address]) -> Tuple[Optional[Any], int]: ...
def close(self) -> None: ...
def __enter__(self) -> Reader: ...
def __exit__(
self,
exc_type: Optional[Type[BaseException]] = ...,
exc_val: Optional[BaseException] = ...,
exc_tb: Optional[TracebackType] = ...,
) -> None: ...
class Metadata:
node_count: int = ...
record_size: int = ...
ip_version: int = ...
database_type: Text = ...
languages: Sequence[Text] = ...
binary_format_major_version: int = ...
binary_format_minor_version: int = ...
build_epoch: int = ...
description: Mapping[Text, Text] = ...
def __init__(self, **kwargs: Any) -> None: ...
@property
def node_byte_size(self) -> int: ...
@property
def search_tree_size(self) -> int: ...
| 1,269 | Python | .py | 32 | 34.71875 | 118 | 0.608097 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,692 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/__init__.pyi | from typing import Text
from maxminddb import reader
def open_database(database: Text, mode: int = ...) -> reader.Reader: ...
def Reader(database: Text) -> reader.Reader: ...
| 177 | Python | .py | 4 | 42.75 | 72 | 0.725146 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,693 | extension.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/extension.pyi | from typing import Any, Mapping, Sequence, Text
from maxminddb.errors import InvalidDatabaseError as InvalidDatabaseError
class Reader:
closed: bool = ...
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def close(self, *args: Any, **kwargs: Any) -> Any: ...
def get(self, *args: Any, **kwargs: Any) -> Any: ...
def metadata(self, *args: Any, **kwargs: Any) -> Any: ...
def __enter__(self, *args: Any, **kwargs: Any) -> Any: ...
def __exit__(self, *args: Any, **kwargs: Any) -> Any: ...
class extension:
@property
def node_count(self) -> int: ...
@property
def record_size(self) -> int: ...
@property
def ip_version(self) -> int: ...
@property
def database_type(self) -> Text: ...
@property
def languages(self) -> Sequence[Text]: ...
@property
def binary_format_major_version(self) -> int: ...
@property
def binary_format_minor_version(self) -> int: ...
@property
def build_epoch(self) -> int: ...
@property
def description(self) -> Mapping[Text, Text]: ...
def __init__(self, **kwargs: Any) -> None: ...
| 1,122 | Python | .py | 30 | 32.833333 | 73 | 0.598714 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,694 | decoder.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/decoder.pyi | from typing import Any, Tuple
class Decoder:
def __init__(self, database_buffer: bytes, pointer_base: int = ..., pointer_test: bool = ...) -> None: ...
def decode(self, offset: int) -> Tuple[Any, int]: ...
| 215 | Python | .py | 4 | 50.5 | 110 | 0.628571 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,695 | const.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/const.pyi | MODE_AUTO: int = ...
MODE_MMAP_EXT: int = ...
MODE_MMAP: int = ...
MODE_FILE: int = ...
MODE_MEMORY: int = ...
MODE_FD: int = ...
| 130 | Python | .py | 6 | 20.666667 | 24 | 0.556452 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,696 | compat.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/maxminddb/compat.pyi | from typing import Any
def compat_ip_address(address: object) -> Any: ...
def int_from_byte(x: int) -> int: ...
def int_from_bytes(x: bytes) -> int: ...
def byte_from_int(x: int) -> bytes: ...
| 194 | Python | .py | 5 | 37.6 | 50 | 0.643617 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,697 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/datetimerange/__init__.pyi | import datetime
from typing import Iterable, Optional, Union
from dateutil.relativedelta import relativedelta
class DateTimeRange(object):
NOT_A_TIME_STR: str
start_time_format: str
end_time_format: str
is_output_elapse: bool
separator: str
def __init__(
self,
start_datetime: Optional[Union[datetime.datetime, str]] = ...,
end_datetime: Optional[Union[datetime.datetime, str]] = ...,
start_time_format: str = ...,
end_time_format: str = ...,
) -> None: ...
def __eq__(self, other) -> bool: ...
def __ne__(self, other) -> bool: ...
def __add__(self, other) -> DateTimeRange: ...
def __iadd__(self, other) -> DateTimeRange: ...
def __sub__(self, other) -> DateTimeRange: ...
def __isub__(self, other) -> DateTimeRange: ...
def __contains__(self, x) -> bool: ...
@property
def start_datetime(self) -> datetime.datetime: ...
@property
def end_datetime(self) -> datetime.datetime: ...
@property
def timedelta(self) -> datetime.timedelta: ...
def is_set(self) -> bool: ...
def validate_time_inversion(self) -> None: ...
def is_valid_timerange(self) -> bool: ...
def is_intersection(self, x) -> bool: ...
def get_start_time_str(self) -> str: ...
def get_end_time_str(self) -> str: ...
def get_timedelta_second(self) -> float: ...
def set_start_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
def set_end_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
def set_time_range(
self, start: Optional[Union[datetime.datetime, str]], end: Optional[Union[datetime.datetime, str]]
) -> None: ...
def range(self, step: Union[datetime.timedelta, relativedelta]) -> Iterable[datetime.datetime]: ...
def intersection(self, x: DateTimeRange) -> DateTimeRange: ...
def encompass(self, x: DateTimeRange) -> DateTimeRange: ...
def truncate(self, percentage: float) -> None: ...
| 2,062 | Python | .py | 45 | 40.6 | 124 | 0.628784 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,698 | enums.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/chardet/enums.pyi | class InputState(object):
PURE_ASCII: int
ESC_ASCII: int
HIGH_BYTE: int
class LanguageFilter(object):
CHINESE_SIMPLIFIED: int
CHINESE_TRADITIONAL: int
JAPANESE: int
KOREAN: int
NON_CJK: int
ALL: int
CHINESE: int
CJK: int
class ProbingState(object):
DETECTING: int
FOUND_IT: int
NOT_ME: int
class MachineState(object):
START: int
ERROR: int
ITS_ME: int
class SequenceLikelihood(object):
NEGATIVE: int
UNLIKELY: int
LIKELY: int
POSITIVE: int
@classmethod
def get_num_categories(cls) -> int: ...
class CharacterCategory(object):
UNDEFINED: int
LINE_BREAK: int
SYMBOL: int
DIGIT: int
CONTROL: int
| 710 | Python | .py | 34 | 16.441176 | 43 | 0.682563 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,699 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/chardet/__init__.pyi | import sys
from typing import Any, Tuple
from .universaldetector import UniversalDetector as UniversalDetector
def __getattr__(name: str) -> Any: ... # incomplete
if sys.version_info >= (3, 8):
from typing import TypedDict
else:
from typing_extensions import TypedDict
class _LangModelType(TypedDict):
char_to_order_map: Tuple[int, ...]
precedence_matrix: Tuple[int, ...]
typical_positive_ratio: float
keep_english_letter: bool
charset_name: str
language: str
class _SMModelType(TypedDict):
class_table: Tuple[int, ...]
class_factor: int
state_table: Tuple[int, ...]
char_len_table: Tuple[int, ...]
name: str
| 667 | Python | .py | 21 | 28.047619 | 69 | 0.708268 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |