Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/backports/__init__.pyi +4 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/backports/ssl_match_hostname.pyi +3 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/characteristic/__init__.pyi +35 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi +79 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi +196 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ed25519.pyi +25 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi +83 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/utils.pyi +12 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/x25519.pyi +23 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/__init__.pyi +7 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi +22 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi +12 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi +12 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi +18 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/datetimerange/__init__.pyi +47 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/emoji/__init__.pyi +13 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/emoji/unicode_codes.pyi +6 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/config.pyi +18 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/signals.pyi +29 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi +2 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__meta__.pyi +3 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi +18 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi +59 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi +63 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/__init__.pyi +13 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/abbr.pyi +16 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/admonition.pyi +15 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/attr_list.pyi +20 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/codehilite.pyi +42 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/def_list.pyi +13 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/extra.pyi +10 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/fenced_code.pyi +16 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/footnotes.pyi +57 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_attrs.pyi +13 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_em.pyi +13 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/md_in_html.pyi +9 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/meta.pyi +18 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/nl2br.pyi +9 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/sane_lists.pyi +14 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/smarty.pyi +39 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/tables.pyi +19 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/toc.pyi +44 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/wikilinks.pyi +16 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/inlinepatterns.pyi +103 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/pep562.pyi +9 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/postprocessors.pyi +17 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/preprocessors.pyi +23 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/serializers.pyi +4 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/treeprocessors.pyi +19 -0
- evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/util.pyi +56 -0
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/backports/__init__.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
# Explicitly mark this package as incomplete.
|
| 4 |
+
def __getattr__(name: str) -> Any: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/backports/ssl_match_hostname.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CertificateError(ValueError): ...
|
| 2 |
+
|
| 3 |
+
def match_hostname(cert, hostname): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/characteristic/__init__.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, AnyStr, Callable, Dict, Optional, Sequence, Type, TypeVar, Union
|
| 2 |
+
|
| 3 |
+
def with_repr(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
|
| 4 |
+
def with_cmp(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
|
| 5 |
+
def with_init(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
|
| 6 |
+
def immutable(attrs: Sequence[Union[AnyStr, Attribute]]) -> Callable[..., Any]: ...
|
| 7 |
+
def strip_leading_underscores(attribute_name: AnyStr) -> AnyStr: ...
|
| 8 |
+
|
| 9 |
+
NOTHING = Any
|
| 10 |
+
|
| 11 |
+
_T = TypeVar("_T")
|
| 12 |
+
|
| 13 |
+
def attributes(
|
| 14 |
+
attrs: Sequence[Union[AnyStr, Attribute]],
|
| 15 |
+
apply_with_cmp: bool = ...,
|
| 16 |
+
apply_with_init: bool = ...,
|
| 17 |
+
apply_with_repr: bool = ...,
|
| 18 |
+
apply_immutable: bool = ...,
|
| 19 |
+
store_attributes: Optional[Callable[[type, Attribute], Any]] = ...,
|
| 20 |
+
**kw: Optional[Dict[Any, Any]],
|
| 21 |
+
) -> Callable[[Type[_T]], Type[_T]]: ...
|
| 22 |
+
|
| 23 |
+
class Attribute:
|
| 24 |
+
def __init__(
|
| 25 |
+
self,
|
| 26 |
+
name: AnyStr,
|
| 27 |
+
exclude_from_cmp: bool = ...,
|
| 28 |
+
exclude_from_init: bool = ...,
|
| 29 |
+
exclude_from_repr: bool = ...,
|
| 30 |
+
exclude_from_immutable: bool = ...,
|
| 31 |
+
default_value: Any = ...,
|
| 32 |
+
default_factory: Optional[Callable[[None], Any]] = ...,
|
| 33 |
+
instance_of: Optional[Any] = ...,
|
| 34 |
+
init_aliaser: Optional[Callable[[AnyStr], AnyStr]] = ...,
|
| 35 |
+
) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
from typing import Optional, Union
|
| 3 |
+
|
| 4 |
+
from cryptography.hazmat.backends.interfaces import DSABackend
|
| 5 |
+
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
|
| 6 |
+
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
|
| 7 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 8 |
+
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
|
| 9 |
+
|
| 10 |
+
class DSAParameters(metaclass=ABCMeta):
|
| 11 |
+
@abstractmethod
|
| 12 |
+
def generate_private_key(self) -> DSAPrivateKey: ...
|
| 13 |
+
|
| 14 |
+
class DSAParametersWithNumbers(DSAParameters):
|
| 15 |
+
@abstractmethod
|
| 16 |
+
def parameter_numbers(self) -> DSAParameterNumbers: ...
|
| 17 |
+
|
| 18 |
+
class DSAParameterNumbers(object):
|
| 19 |
+
@property
|
| 20 |
+
def p(self) -> int: ...
|
| 21 |
+
@property
|
| 22 |
+
def q(self) -> int: ...
|
| 23 |
+
@property
|
| 24 |
+
def g(self) -> int: ...
|
| 25 |
+
def __init__(self, p: int, q: int, g: int) -> None: ...
|
| 26 |
+
def parameters(self, backend: Optional[DSABackend] = ...) -> DSAParameters: ...
|
| 27 |
+
|
| 28 |
+
class DSAPrivateKey(metaclass=ABCMeta):
|
| 29 |
+
@property
|
| 30 |
+
@abstractmethod
|
| 31 |
+
def key_size(self) -> int: ...
|
| 32 |
+
@abstractmethod
|
| 33 |
+
def parameters(self) -> DSAParameters: ...
|
| 34 |
+
@abstractmethod
|
| 35 |
+
def public_key(self) -> DSAPublicKey: ...
|
| 36 |
+
@abstractmethod
|
| 37 |
+
def sign(self, data: bytes, algorithm: Union[HashAlgorithm, Prehashed]) -> bytes: ...
|
| 38 |
+
|
| 39 |
+
class DSAPrivateKeyWithSerialization(DSAPrivateKey):
|
| 40 |
+
@abstractmethod
|
| 41 |
+
def private_bytes(
|
| 42 |
+
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
|
| 43 |
+
) -> bytes: ...
|
| 44 |
+
@abstractmethod
|
| 45 |
+
def private_numbers(self) -> DSAPrivateNumbers: ...
|
| 46 |
+
|
| 47 |
+
class DSAPrivateNumbers(object):
|
| 48 |
+
@property
|
| 49 |
+
def x(self) -> int: ...
|
| 50 |
+
@property
|
| 51 |
+
def public_numbers(self) -> DSAPublicNumbers: ...
|
| 52 |
+
def __init__(self, x: int, public_numbers: DSAPublicNumbers) -> None: ...
|
| 53 |
+
|
| 54 |
+
class DSAPublicKey(metaclass=ABCMeta):
|
| 55 |
+
@property
|
| 56 |
+
@abstractmethod
|
| 57 |
+
def key_size(self) -> int: ...
|
| 58 |
+
@abstractmethod
|
| 59 |
+
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
|
| 60 |
+
@abstractmethod
|
| 61 |
+
def public_numbers(self) -> DSAPublicNumbers: ...
|
| 62 |
+
@abstractmethod
|
| 63 |
+
def verifier(
|
| 64 |
+
self, signature: bytes, signature_algorithm: Union[HashAlgorithm, Prehashed]
|
| 65 |
+
) -> AsymmetricVerificationContext: ...
|
| 66 |
+
@abstractmethod
|
| 67 |
+
def verify(self, signature: bytes, data: bytes, algorithm: Union[HashAlgorithm, Prehashed]) -> None: ...
|
| 68 |
+
|
| 69 |
+
DSAPublicKeyWithSerialization = DSAPublicKey
|
| 70 |
+
|
| 71 |
+
class DSAPublicNumbers(object):
|
| 72 |
+
@property
|
| 73 |
+
def y(self) -> int: ...
|
| 74 |
+
@property
|
| 75 |
+
def parameter_numbers(self) -> DSAParameterNumbers: ...
|
| 76 |
+
def __init__(self, y: int, parameter_numbers: DSAParameterNumbers) -> None: ...
|
| 77 |
+
|
| 78 |
+
def generate_parameters(key_size: int, backend: Optional[DSABackend] = ...) -> DSAParameters: ...
|
| 79 |
+
def generate_private_key(key_size: int, backend: Optional[DSABackend] = ...) -> DSAPrivateKey: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
from typing import ClassVar, Optional, Union
|
| 3 |
+
|
| 4 |
+
from cryptography.hazmat.backends.interfaces import EllipticCurveBackend
|
| 5 |
+
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
|
| 6 |
+
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
|
| 7 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 8 |
+
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
|
| 9 |
+
from cryptography.x509 import ObjectIdentifier
|
| 10 |
+
|
| 11 |
+
class EllipticCurve(metaclass=ABCMeta):
|
| 12 |
+
@property
|
| 13 |
+
@abstractmethod
|
| 14 |
+
def key_size(self) -> int: ...
|
| 15 |
+
@property
|
| 16 |
+
@abstractmethod
|
| 17 |
+
def name(self) -> str: ...
|
| 18 |
+
|
| 19 |
+
class BrainpoolP256R1(EllipticCurve):
|
| 20 |
+
key_size: int = ...
|
| 21 |
+
name: str = ...
|
| 22 |
+
|
| 23 |
+
class BrainpoolP384R1(EllipticCurve):
|
| 24 |
+
key_size: int = ...
|
| 25 |
+
name: str = ...
|
| 26 |
+
|
| 27 |
+
class BrainpoolP512R1(EllipticCurve):
|
| 28 |
+
key_size: int = ...
|
| 29 |
+
name: str = ...
|
| 30 |
+
|
| 31 |
+
class SECP192R1(EllipticCurve):
|
| 32 |
+
key_size: int = ...
|
| 33 |
+
name: str = ...
|
| 34 |
+
|
| 35 |
+
class SECP224R1(EllipticCurve):
|
| 36 |
+
key_size: int = ...
|
| 37 |
+
name: str = ...
|
| 38 |
+
|
| 39 |
+
class SECP256K1(EllipticCurve):
|
| 40 |
+
key_size: int = ...
|
| 41 |
+
name: str = ...
|
| 42 |
+
|
| 43 |
+
class SECP256R1(EllipticCurve):
|
| 44 |
+
key_size: int = ...
|
| 45 |
+
name: str = ...
|
| 46 |
+
|
| 47 |
+
class SECP384R1(EllipticCurve):
|
| 48 |
+
key_size: int = ...
|
| 49 |
+
name: str = ...
|
| 50 |
+
|
| 51 |
+
class SECP521R1(EllipticCurve):
|
| 52 |
+
key_size: int = ...
|
| 53 |
+
name: str = ...
|
| 54 |
+
|
| 55 |
+
class SECT163K1(EllipticCurve):
|
| 56 |
+
key_size: int = ...
|
| 57 |
+
name: str = ...
|
| 58 |
+
|
| 59 |
+
class SECT163R2(EllipticCurve):
|
| 60 |
+
key_size: int = ...
|
| 61 |
+
name: str = ...
|
| 62 |
+
|
| 63 |
+
class SECT233K1(EllipticCurve):
|
| 64 |
+
key_size: int = ...
|
| 65 |
+
name: str = ...
|
| 66 |
+
|
| 67 |
+
class SECT233R1(EllipticCurve):
|
| 68 |
+
key_size: int = ...
|
| 69 |
+
name: str = ...
|
| 70 |
+
|
| 71 |
+
class SECT283K1(EllipticCurve):
|
| 72 |
+
key_size: int = ...
|
| 73 |
+
name: str = ...
|
| 74 |
+
|
| 75 |
+
class SECT283R1(EllipticCurve):
|
| 76 |
+
key_size: int = ...
|
| 77 |
+
name: str = ...
|
| 78 |
+
|
| 79 |
+
class SECT409K1(EllipticCurve):
|
| 80 |
+
key_size: int = ...
|
| 81 |
+
name: str = ...
|
| 82 |
+
|
| 83 |
+
class SECT409R1(EllipticCurve):
|
| 84 |
+
key_size: int = ...
|
| 85 |
+
name: str = ...
|
| 86 |
+
|
| 87 |
+
class SECT571K1(EllipticCurve):
|
| 88 |
+
key_size: int = ...
|
| 89 |
+
name: str = ...
|
| 90 |
+
|
| 91 |
+
class SECT571R1(EllipticCurve):
|
| 92 |
+
key_size: int = ...
|
| 93 |
+
name: str = ...
|
| 94 |
+
|
| 95 |
+
class EllipticCurveOID(object):
|
| 96 |
+
SECP192R1: ClassVar[ObjectIdentifier]
|
| 97 |
+
SECP224R1: ClassVar[ObjectIdentifier]
|
| 98 |
+
SECP256K1: ClassVar[ObjectIdentifier]
|
| 99 |
+
SECP256R1: ClassVar[ObjectIdentifier]
|
| 100 |
+
SECP384R1: ClassVar[ObjectIdentifier]
|
| 101 |
+
SECP521R1: ClassVar[ObjectIdentifier]
|
| 102 |
+
BRAINPOOLP256R1: ClassVar[ObjectIdentifier]
|
| 103 |
+
BRAINPOOLP384R1: ClassVar[ObjectIdentifier]
|
| 104 |
+
BRAINPOOLP512R1: ClassVar[ObjectIdentifier]
|
| 105 |
+
SECT163K1: ClassVar[ObjectIdentifier]
|
| 106 |
+
SECT163R2: ClassVar[ObjectIdentifier]
|
| 107 |
+
SECT233K1: ClassVar[ObjectIdentifier]
|
| 108 |
+
SECT233R1: ClassVar[ObjectIdentifier]
|
| 109 |
+
SECT283K1: ClassVar[ObjectIdentifier]
|
| 110 |
+
SECT283R1: ClassVar[ObjectIdentifier]
|
| 111 |
+
SECT409K1: ClassVar[ObjectIdentifier]
|
| 112 |
+
SECT409R1: ClassVar[ObjectIdentifier]
|
| 113 |
+
SECT571K1: ClassVar[ObjectIdentifier]
|
| 114 |
+
SECT571R1: ClassVar[ObjectIdentifier]
|
| 115 |
+
|
| 116 |
+
class EllipticCurvePrivateKey(metaclass=ABCMeta):
|
| 117 |
+
@property
|
| 118 |
+
@abstractmethod
|
| 119 |
+
def curve(self) -> EllipticCurve: ...
|
| 120 |
+
@property
|
| 121 |
+
@abstractmethod
|
| 122 |
+
def key_size(self) -> int: ...
|
| 123 |
+
@abstractmethod
|
| 124 |
+
def exchange(self, algorithm: ECDH, peer_public_key: EllipticCurvePublicKey) -> bytes: ...
|
| 125 |
+
@abstractmethod
|
| 126 |
+
def public_key(self) -> EllipticCurvePublicKey: ...
|
| 127 |
+
@abstractmethod
|
| 128 |
+
def sign(self, data: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm) -> bytes: ...
|
| 129 |
+
|
| 130 |
+
class EllipticCurvePrivateKeyWithSerialization(EllipticCurvePrivateKey):
|
| 131 |
+
@abstractmethod
|
| 132 |
+
def private_bytes(
|
| 133 |
+
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
|
| 134 |
+
) -> bytes: ...
|
| 135 |
+
@abstractmethod
|
| 136 |
+
def private_numbers(self) -> EllipticCurvePrivateNumbers: ...
|
| 137 |
+
|
| 138 |
+
class EllipticCurvePrivateNumbers(object):
|
| 139 |
+
@property
|
| 140 |
+
def private_value(self) -> int: ...
|
| 141 |
+
@property
|
| 142 |
+
def public_numbers(self) -> EllipticCurvePublicNumbers: ...
|
| 143 |
+
def __init__(self, private_value: int, public_numbers: EllipticCurvePublicNumbers) -> None: ...
|
| 144 |
+
def private_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ...
|
| 145 |
+
|
| 146 |
+
class EllipticCurvePublicKey(metaclass=ABCMeta):
|
| 147 |
+
@property
|
| 148 |
+
@abstractmethod
|
| 149 |
+
def curve(self) -> EllipticCurve: ...
|
| 150 |
+
@property
|
| 151 |
+
@abstractmethod
|
| 152 |
+
def key_size(self) -> int: ...
|
| 153 |
+
@classmethod
|
| 154 |
+
def from_encoded_point(cls, curve: EllipticCurve, data: bytes) -> EllipticCurvePublicKey: ...
|
| 155 |
+
@abstractmethod
|
| 156 |
+
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
|
| 157 |
+
@abstractmethod
|
| 158 |
+
def public_numbers(self) -> EllipticCurvePublicNumbers: ...
|
| 159 |
+
@abstractmethod
|
| 160 |
+
def verifier(
|
| 161 |
+
self, signature: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm
|
| 162 |
+
) -> AsymmetricVerificationContext: ...
|
| 163 |
+
@abstractmethod
|
| 164 |
+
def verify(self, signature: bytes, data: bytes, signature_algorithm: EllipticCurveSignatureAlgorithm) -> None: ...
|
| 165 |
+
|
| 166 |
+
EllipticCurvePublicKeyWithSerialization = EllipticCurvePublicKey
|
| 167 |
+
|
| 168 |
+
class EllipticCurvePublicNumbers(object):
|
| 169 |
+
@property
|
| 170 |
+
def curve(self) -> EllipticCurve: ...
|
| 171 |
+
@property
|
| 172 |
+
def x(self) -> int: ...
|
| 173 |
+
@property
|
| 174 |
+
def y(self) -> int: ...
|
| 175 |
+
def __init__(self, x: int, y: int, curve: EllipticCurve) -> None: ...
|
| 176 |
+
@classmethod
|
| 177 |
+
def from_encoded_point(cls, curve: EllipticCurve, data: bytes) -> EllipticCurvePublicNumbers: ...
|
| 178 |
+
def public_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePublicKey: ...
|
| 179 |
+
|
| 180 |
+
class EllipticCurveSignatureAlgorithm(metaclass=ABCMeta):
|
| 181 |
+
@property
|
| 182 |
+
@abstractmethod
|
| 183 |
+
def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ...
|
| 184 |
+
|
| 185 |
+
class ECDH(object): ...
|
| 186 |
+
|
| 187 |
+
class ECDSA(EllipticCurveSignatureAlgorithm):
|
| 188 |
+
def __init__(self, algorithm: Union[HashAlgorithm, Prehashed]): ...
|
| 189 |
+
@property
|
| 190 |
+
def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ...
|
| 191 |
+
|
| 192 |
+
def derive_private_key(
|
| 193 |
+
private_value: int, curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ...
|
| 194 |
+
) -> EllipticCurvePrivateKey: ...
|
| 195 |
+
def generate_private_key(curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ...
|
| 196 |
+
def get_curve_for_oid(oid: ObjectIdentifier) -> EllipticCurve: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ed25519.pyi
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
|
| 4 |
+
|
| 5 |
+
class Ed25519PrivateKey(metaclass=ABCMeta):
|
| 6 |
+
@classmethod
|
| 7 |
+
def generate(cls) -> Ed25519PrivateKey: ...
|
| 8 |
+
@classmethod
|
| 9 |
+
def from_private_bytes(cls, data: bytes) -> Ed25519PrivateKey: ...
|
| 10 |
+
@abstractmethod
|
| 11 |
+
def private_bytes(
|
| 12 |
+
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
|
| 13 |
+
) -> bytes: ...
|
| 14 |
+
@abstractmethod
|
| 15 |
+
def public_key(self) -> Ed25519PublicKey: ...
|
| 16 |
+
@abstractmethod
|
| 17 |
+
def sign(self, data: bytes) -> bytes: ...
|
| 18 |
+
|
| 19 |
+
class Ed25519PublicKey(metaclass=ABCMeta):
|
| 20 |
+
@classmethod
|
| 21 |
+
def from_public_bytes(cls, data: bytes) -> Ed25519PublicKey: ...
|
| 22 |
+
@abstractmethod
|
| 23 |
+
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
|
| 24 |
+
@abstractmethod
|
| 25 |
+
def verify(self, signature: bytes, data: bytes) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
from typing import Optional, Tuple, Union
|
| 3 |
+
|
| 4 |
+
from cryptography.hazmat.backends.interfaces import RSABackend
|
| 5 |
+
from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext
|
| 6 |
+
from cryptography.hazmat.primitives.asymmetric.padding import AsymmetricPadding
|
| 7 |
+
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
|
| 8 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 9 |
+
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
|
| 10 |
+
|
| 11 |
+
class RSAPrivateKey(metaclass=ABCMeta):
|
| 12 |
+
@property
|
| 13 |
+
@abstractmethod
|
| 14 |
+
def key_size(self) -> int: ...
|
| 15 |
+
@abstractmethod
|
| 16 |
+
def decrypt(self, ciphertext: bytes, padding: AsymmetricPadding) -> bytes: ...
|
| 17 |
+
@abstractmethod
|
| 18 |
+
def public_key(self) -> RSAPublicKey: ...
|
| 19 |
+
@abstractmethod
|
| 20 |
+
def sign(self, data: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]) -> bytes: ...
|
| 21 |
+
|
| 22 |
+
class RSAPrivateKeyWithSerialization(RSAPrivateKey):
|
| 23 |
+
@abstractmethod
|
| 24 |
+
def private_bytes(
|
| 25 |
+
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
|
| 26 |
+
) -> bytes: ...
|
| 27 |
+
@abstractmethod
|
| 28 |
+
def private_numbers(self) -> RSAPrivateNumbers: ...
|
| 29 |
+
|
| 30 |
+
class RSAPublicKey(metaclass=ABCMeta):
|
| 31 |
+
@property
|
| 32 |
+
@abstractmethod
|
| 33 |
+
def key_size(self) -> int: ...
|
| 34 |
+
@abstractmethod
|
| 35 |
+
def encrypt(self, plaintext: bytes, padding: AsymmetricPadding) -> bytes: ...
|
| 36 |
+
@abstractmethod
|
| 37 |
+
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
|
| 38 |
+
@abstractmethod
|
| 39 |
+
def public_numbers(self) -> RSAPublicNumbers: ...
|
| 40 |
+
@abstractmethod
|
| 41 |
+
def verifier(
|
| 42 |
+
self, signature: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]
|
| 43 |
+
) -> AsymmetricVerificationContext: ...
|
| 44 |
+
@abstractmethod
|
| 45 |
+
def verify(
|
| 46 |
+
self, signature: bytes, data: bytes, padding: AsymmetricPadding, algorithm: Union[HashAlgorithm, Prehashed]
|
| 47 |
+
) -> None: ...
|
| 48 |
+
|
| 49 |
+
RSAPublicKeyWithSerialization = RSAPublicKey
|
| 50 |
+
|
| 51 |
+
def generate_private_key(
|
| 52 |
+
public_exponent: int, key_size: int, backend: Optional[RSABackend] = ...
|
| 53 |
+
) -> RSAPrivateKeyWithSerialization: ...
|
| 54 |
+
def rsa_crt_iqmp(p: int, q: int) -> int: ...
|
| 55 |
+
def rsa_crt_dmp1(private_exponent: int, p: int) -> int: ...
|
| 56 |
+
def rsa_crt_dmq1(private_exponent: int, q: int) -> int: ...
|
| 57 |
+
def rsa_recover_prime_factors(n: int, e: int, d: int) -> Tuple[int, int]: ...
|
| 58 |
+
|
| 59 |
+
class RSAPrivateNumbers(object):
|
| 60 |
+
def __init__(self, p: int, q: int, d: int, dmp1: int, dmq1: int, iqmp: int, public_numbers: RSAPublicNumbers) -> None: ...
|
| 61 |
+
@property
|
| 62 |
+
def p(self) -> int: ...
|
| 63 |
+
@property
|
| 64 |
+
def q(self) -> int: ...
|
| 65 |
+
@property
|
| 66 |
+
def d(self) -> int: ...
|
| 67 |
+
@property
|
| 68 |
+
def dmp1(self) -> int: ...
|
| 69 |
+
@property
|
| 70 |
+
def dmq1(self) -> int: ...
|
| 71 |
+
@property
|
| 72 |
+
def iqmp(self) -> int: ...
|
| 73 |
+
@property
|
| 74 |
+
def public_numbers(self) -> RSAPublicNumbers: ...
|
| 75 |
+
def private_key(self, backend: Optional[RSABackend] = ...) -> RSAPrivateKey: ...
|
| 76 |
+
|
| 77 |
+
class RSAPublicNumbers(object):
|
| 78 |
+
def __init__(self, e: int, n: int) -> None: ...
|
| 79 |
+
@property
|
| 80 |
+
def e(self) -> int: ...
|
| 81 |
+
@property
|
| 82 |
+
def n(self) -> int: ...
|
| 83 |
+
def public_key(self, backend: Optional[RSABackend] = ...) -> RSAPublicKey: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/utils.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Tuple
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 4 |
+
|
| 5 |
+
def decode_dss_signature(signature: bytes) -> Tuple[int, int]: ...
|
| 6 |
+
def encode_dss_signature(r: int, s: int) -> bytes: ...
|
| 7 |
+
|
| 8 |
+
class Prehashed(object):
|
| 9 |
+
_algorithm: HashAlgorithm # undocumented
|
| 10 |
+
_digest_size: int # undocumented
|
| 11 |
+
def __init__(self, algorithm: HashAlgorithm) -> None: ...
|
| 12 |
+
digest_size: int
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/asymmetric/x25519.pyi
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat
|
| 4 |
+
|
| 5 |
+
class X25519PrivateKey(metaclass=ABCMeta):
|
| 6 |
+
@classmethod
|
| 7 |
+
def from_private_bytes(cls, data: bytes) -> X25519PrivateKey: ...
|
| 8 |
+
@classmethod
|
| 9 |
+
def generate(cls) -> X25519PrivateKey: ...
|
| 10 |
+
@abstractmethod
|
| 11 |
+
def exchange(self, peer_public_key: X25519PublicKey) -> bytes: ...
|
| 12 |
+
@abstractmethod
|
| 13 |
+
def private_bytes(
|
| 14 |
+
self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption
|
| 15 |
+
) -> bytes: ...
|
| 16 |
+
@abstractmethod
|
| 17 |
+
def public_key(self) -> X25519PublicKey: ...
|
| 18 |
+
|
| 19 |
+
class X25519PublicKey(metaclass=ABCMeta):
|
| 20 |
+
@classmethod
|
| 21 |
+
def from_public_bytes(cls, data: bytes) -> X25519PublicKey: ...
|
| 22 |
+
@abstractmethod
|
| 23 |
+
def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/__init__.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta, abstractmethod
|
| 2 |
+
|
| 3 |
+
class KeyDerivationFunction(metaclass=ABCMeta):
|
| 4 |
+
@abstractmethod
|
| 5 |
+
def derive(self, key_material: bytes) -> bytes: ...
|
| 6 |
+
@abstractmethod
|
| 7 |
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.backends.interfaces import HMACBackend
|
| 4 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 5 |
+
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
|
| 6 |
+
|
| 7 |
+
class HKDF(KeyDerivationFunction):
|
| 8 |
+
def __init__(
|
| 9 |
+
self,
|
| 10 |
+
algorithm: HashAlgorithm,
|
| 11 |
+
length: int,
|
| 12 |
+
salt: Optional[bytes],
|
| 13 |
+
info: Optional[bytes],
|
| 14 |
+
backend: Optional[HMACBackend] = ...,
|
| 15 |
+
): ...
|
| 16 |
+
def derive(self, key_material: bytes) -> bytes: ...
|
| 17 |
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
| 18 |
+
|
| 19 |
+
class HKDFExpand(KeyDerivationFunction):
|
| 20 |
+
def __init__(self, algorithm: HashAlgorithm, length: int, info: Optional[bytes], backend: Optional[HMACBackend] = ...): ...
|
| 21 |
+
def derive(self, key_material: bytes) -> bytes: ...
|
| 22 |
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend
|
| 4 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 5 |
+
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
|
| 6 |
+
|
| 7 |
+
class PBKDF2HMAC(KeyDerivationFunction):
|
| 8 |
+
def __init__(
|
| 9 |
+
self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, backend: Optional[PBKDF2HMACBackend] = ...
|
| 10 |
+
): ...
|
| 11 |
+
def derive(self, key_material: bytes) -> bytes: ...
|
| 12 |
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.backends.interfaces import HashBackend
|
| 4 |
+
from cryptography.hazmat.primitives.hashes import HashAlgorithm
|
| 5 |
+
from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
|
| 6 |
+
|
| 7 |
+
class X963KDF(KeyDerivationFunction):
|
| 8 |
+
def __init__(
|
| 9 |
+
self, algorithm: HashAlgorithm, length: int, sharedinfo: Optional[bytes], backend: Optional[HashBackend] = ...
|
| 10 |
+
): ...
|
| 11 |
+
def derive(self, key_material: bytes) -> bytes: ...
|
| 12 |
+
def verify(self, key_material: bytes, expected_key: bytes) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional, Tuple, Union
|
| 2 |
+
|
| 3 |
+
from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKeyWithSerialization
|
| 4 |
+
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKeyWithSerialization
|
| 5 |
+
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKeyWithSerialization
|
| 6 |
+
from cryptography.hazmat.primitives.serialization import KeySerializationEncryption
|
| 7 |
+
from cryptography.x509 import Certificate
|
| 8 |
+
|
| 9 |
+
def load_key_and_certificates(
|
| 10 |
+
data: bytes, password: Optional[bytes], backend: Optional[Any] = ...
|
| 11 |
+
) -> Tuple[Optional[Any], Optional[Certificate], List[Certificate]]: ...
|
| 12 |
+
def serialize_key_and_certificates(
|
| 13 |
+
name: bytes,
|
| 14 |
+
key: Union[RSAPrivateKeyWithSerialization, EllipticCurvePrivateKeyWithSerialization, DSAPrivateKeyWithSerialization],
|
| 15 |
+
cert: Optional[Certificate],
|
| 16 |
+
cas: Optional[List[Certificate]],
|
| 17 |
+
enc: KeySerializationEncryption,
|
| 18 |
+
) -> bytes: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/datetimerange/__init__.pyi
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import datetime
|
| 2 |
+
from typing import Iterable, Optional, Union
|
| 3 |
+
|
| 4 |
+
from dateutil.relativedelta import relativedelta
|
| 5 |
+
|
| 6 |
+
class DateTimeRange(object):
|
| 7 |
+
NOT_A_TIME_STR: str
|
| 8 |
+
start_time_format: str
|
| 9 |
+
end_time_format: str
|
| 10 |
+
is_output_elapse: bool
|
| 11 |
+
separator: str
|
| 12 |
+
def __init__(
|
| 13 |
+
self,
|
| 14 |
+
start_datetime: Optional[Union[datetime.datetime, str]] = ...,
|
| 15 |
+
end_datetime: Optional[Union[datetime.datetime, str]] = ...,
|
| 16 |
+
start_time_format: str = ...,
|
| 17 |
+
end_time_format: str = ...,
|
| 18 |
+
) -> None: ...
|
| 19 |
+
def __eq__(self, other) -> bool: ...
|
| 20 |
+
def __ne__(self, other) -> bool: ...
|
| 21 |
+
def __add__(self, other) -> DateTimeRange: ...
|
| 22 |
+
def __iadd__(self, other) -> DateTimeRange: ...
|
| 23 |
+
def __sub__(self, other) -> DateTimeRange: ...
|
| 24 |
+
def __isub__(self, other) -> DateTimeRange: ...
|
| 25 |
+
def __contains__(self, x) -> bool: ...
|
| 26 |
+
@property
|
| 27 |
+
def start_datetime(self) -> datetime.datetime: ...
|
| 28 |
+
@property
|
| 29 |
+
def end_datetime(self) -> datetime.datetime: ...
|
| 30 |
+
@property
|
| 31 |
+
def timedelta(self) -> datetime.timedelta: ...
|
| 32 |
+
def is_set(self) -> bool: ...
|
| 33 |
+
def validate_time_inversion(self) -> None: ...
|
| 34 |
+
def is_valid_timerange(self) -> bool: ...
|
| 35 |
+
def is_intersection(self, x) -> bool: ...
|
| 36 |
+
def get_start_time_str(self) -> str: ...
|
| 37 |
+
def get_end_time_str(self) -> str: ...
|
| 38 |
+
def get_timedelta_second(self) -> float: ...
|
| 39 |
+
def set_start_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
|
| 40 |
+
def set_end_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
|
| 41 |
+
def set_time_range(
|
| 42 |
+
self, start: Optional[Union[datetime.datetime, str]], end: Optional[Union[datetime.datetime, str]]
|
| 43 |
+
) -> None: ...
|
| 44 |
+
def range(self, step: Union[datetime.timedelta, relativedelta]) -> Iterable[datetime.datetime]: ...
|
| 45 |
+
def intersection(self, x: DateTimeRange) -> DateTimeRange: ...
|
| 46 |
+
def encompass(self, x: DateTimeRange) -> DateTimeRange: ...
|
| 47 |
+
def truncate(self, percentage: float) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/emoji/__init__.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .core import (
|
| 2 |
+
demojize as demojize,
|
| 3 |
+
emoji_count as emoji_count,
|
| 4 |
+
emoji_lis as emoji_lis,
|
| 5 |
+
emojize as emojize,
|
| 6 |
+
get_emoji_regexp as get_emoji_regexp,
|
| 7 |
+
)
|
| 8 |
+
from .unicode_codes import (
|
| 9 |
+
EMOJI_ALIAS_UNICODE as EMOJI_ALIAS_UNICODE,
|
| 10 |
+
EMOJI_UNICODE as EMOJI_UNICODE,
|
| 11 |
+
UNICODE_EMOJI as UNICODE_EMOJI,
|
| 12 |
+
UNICODE_EMOJI_ALIAS as UNICODE_EMOJI_ALIAS,
|
| 13 |
+
)
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/emoji/unicode_codes.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Dict, Text
|
| 2 |
+
|
| 3 |
+
EMOJI_ALIAS_UNICODE: Dict[Text, Text]
|
| 4 |
+
EMOJI_UNICODE: Dict[Text, Text]
|
| 5 |
+
UNICODE_EMOJI: Dict[Text, Text]
|
| 6 |
+
UNICODE_EMOJI_ALIAS: Dict[Text, Text]
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/config.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Optional
|
| 2 |
+
|
| 3 |
+
class ConfigAttribute:
|
| 4 |
+
__name__: Any = ...
|
| 5 |
+
get_converter: Any = ...
|
| 6 |
+
def __init__(self, name: Any, get_converter: Optional[Any] = ...) -> None: ...
|
| 7 |
+
def __get__(self, obj: Any, type: Optional[Any] = ...): ...
|
| 8 |
+
def __set__(self, obj: Any, value: Any) -> None: ...
|
| 9 |
+
|
| 10 |
+
class Config(Dict[str, Any]):
|
| 11 |
+
root_path: Any = ...
|
| 12 |
+
def __init__(self, root_path: Any, defaults: Optional[Any] = ...) -> None: ...
|
| 13 |
+
def from_envvar(self, variable_name: Any, silent: bool = ...): ...
|
| 14 |
+
def from_pyfile(self, filename: Any, silent: bool = ...): ...
|
| 15 |
+
def from_object(self, obj: Any) -> None: ...
|
| 16 |
+
def from_json(self, filename: Any, silent: bool = ...): ...
|
| 17 |
+
def from_mapping(self, *mapping: Any, **kwargs: Any): ...
|
| 18 |
+
def get_namespace(self, namespace: Any, lowercase: bool = ..., trim_namespace: bool = ...): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/signals.pyi
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
signals_available: bool
|
| 4 |
+
|
| 5 |
+
class Namespace:
|
| 6 |
+
def signal(self, name: Any, doc: Optional[Any] = ...): ...
|
| 7 |
+
|
| 8 |
+
class _FakeSignal:
|
| 9 |
+
name: Any = ...
|
| 10 |
+
__doc__: Any = ...
|
| 11 |
+
def __init__(self, name: Any, doc: Optional[Any] = ...) -> None: ...
|
| 12 |
+
send: Any = ...
|
| 13 |
+
connect: Any = ...
|
| 14 |
+
disconnect: Any = ...
|
| 15 |
+
has_receivers_for: Any = ...
|
| 16 |
+
receivers_for: Any = ...
|
| 17 |
+
temporarily_connected_to: Any = ...
|
| 18 |
+
connected_to: Any = ...
|
| 19 |
+
|
| 20 |
+
template_rendered: Any
|
| 21 |
+
before_render_template: Any
|
| 22 |
+
request_started: Any
|
| 23 |
+
request_finished: Any
|
| 24 |
+
request_tearing_down: Any
|
| 25 |
+
got_request_exception: Any
|
| 26 |
+
appcontext_tearing_down: Any
|
| 27 |
+
appcontext_pushed: Any
|
| 28 |
+
appcontext_popped: Any
|
| 29 |
+
message_flashed: Any
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .core import Markdown as Markdown, markdown as markdown, markdownFromFile as markdownFromFile
|
| 2 |
+
from .extensions import Extension as Extension
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__meta__.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
__version_info__: Any
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class State(list):
|
| 4 |
+
def set(self, state) -> None: ...
|
| 5 |
+
def reset(self) -> None: ...
|
| 6 |
+
def isstate(self, state): ...
|
| 7 |
+
|
| 8 |
+
class BlockParser:
|
| 9 |
+
blockprocessors: Any
|
| 10 |
+
state: Any
|
| 11 |
+
md: Any
|
| 12 |
+
def __init__(self, md) -> None: ...
|
| 13 |
+
@property
|
| 14 |
+
def markdown(self): ...
|
| 15 |
+
root: Any
|
| 16 |
+
def parseDocument(self, lines): ...
|
| 17 |
+
def parseChunk(self, parent, text) -> None: ...
|
| 18 |
+
def parseBlocks(self, parent, blocks) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
logger: Any
|
| 4 |
+
|
| 5 |
+
def build_block_parser(md, **kwargs): ...
|
| 6 |
+
|
| 7 |
+
class BlockProcessor:
|
| 8 |
+
parser: Any
|
| 9 |
+
tab_length: Any
|
| 10 |
+
def __init__(self, parser) -> None: ...
|
| 11 |
+
def lastChild(self, parent): ...
|
| 12 |
+
def detab(self, text): ...
|
| 13 |
+
def looseDetab(self, text, level: int = ...): ...
|
| 14 |
+
def test(self, parent, block) -> None: ...
|
| 15 |
+
def run(self, parent, blocks) -> None: ...
|
| 16 |
+
|
| 17 |
+
class ListIndentProcessor(BlockProcessor):
|
| 18 |
+
ITEM_TYPES: Any
|
| 19 |
+
LIST_TYPES: Any
|
| 20 |
+
INDENT_RE: Pattern
|
| 21 |
+
def __init__(self, *args) -> None: ...
|
| 22 |
+
def create_item(self, parent, block) -> None: ...
|
| 23 |
+
def get_level(self, parent, block): ...
|
| 24 |
+
|
| 25 |
+
class CodeBlockProcessor(BlockProcessor): ...
|
| 26 |
+
|
| 27 |
+
class BlockQuoteProcessor(BlockProcessor):
|
| 28 |
+
RE: Pattern
|
| 29 |
+
def clean(self, line): ...
|
| 30 |
+
|
| 31 |
+
class OListProcessor(BlockProcessor):
|
| 32 |
+
TAG: str = ...
|
| 33 |
+
STARTSWITH: str = ...
|
| 34 |
+
LAZY_OL: bool = ...
|
| 35 |
+
SIBLING_TAGS: Any
|
| 36 |
+
RE: Pattern
|
| 37 |
+
CHILD_RE: Pattern
|
| 38 |
+
INDENT_RE: Pattern
|
| 39 |
+
def __init__(self, parser) -> None: ...
|
| 40 |
+
def get_items(self, block): ...
|
| 41 |
+
|
| 42 |
+
class UListProcessor(OListProcessor):
|
| 43 |
+
TAG: str = ...
|
| 44 |
+
RE: Pattern
|
| 45 |
+
def __init__(self, parser) -> None: ...
|
| 46 |
+
|
| 47 |
+
class HashHeaderProcessor(BlockProcessor):
|
| 48 |
+
RE: Pattern
|
| 49 |
+
|
| 50 |
+
class SetextHeaderProcessor(BlockProcessor):
|
| 51 |
+
RE: Pattern
|
| 52 |
+
|
| 53 |
+
class HRProcessor(BlockProcessor):
|
| 54 |
+
RE: str = ...
|
| 55 |
+
SEARCH_RE: Pattern
|
| 56 |
+
match: Any
|
| 57 |
+
|
| 58 |
+
class EmptyBlockProcessor(BlockProcessor): ...
|
| 59 |
+
class ParagraphProcessor(BlockProcessor): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, BinaryIO, Callable, ClassVar, Dict, List, Mapping, Optional, Sequence, Text, TextIO, Union
|
| 2 |
+
from typing_extensions import Literal
|
| 3 |
+
from xml.etree.ElementTree import Element
|
| 4 |
+
|
| 5 |
+
from .blockparser import BlockParser
|
| 6 |
+
from .extensions import Extension
|
| 7 |
+
from .util import HtmlStash, Registry
|
| 8 |
+
|
| 9 |
+
class Markdown:
|
| 10 |
+
preprocessors: Registry
|
| 11 |
+
inlinePatterns: Registry
|
| 12 |
+
treeprocessors: Registry
|
| 13 |
+
postprocessors: Registry
|
| 14 |
+
parser: BlockParser
|
| 15 |
+
htmlStash: HtmlStash
|
| 16 |
+
output_formats: ClassVar[Dict[Literal["xhtml", "html"], Callable[[Element], Text]]]
|
| 17 |
+
output_format: Literal["xhtml", "html"]
|
| 18 |
+
serializer: Callable[[Element], Text]
|
| 19 |
+
tab_length: int
|
| 20 |
+
block_level_elements: List[str]
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
*,
|
| 24 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 25 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 26 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 27 |
+
tab_length: Optional[int] = ...,
|
| 28 |
+
) -> None: ...
|
| 29 |
+
def build_parser(self) -> Markdown: ...
|
| 30 |
+
def registerExtensions(
|
| 31 |
+
self, extensions: Sequence[Union[Extension, str]], configs: Mapping[str, Mapping[str, Any]]
|
| 32 |
+
) -> Markdown: ...
|
| 33 |
+
def build_extension(self, ext_name: Text, configs: Mapping[str, str]) -> Extension: ...
|
| 34 |
+
def registerExtension(self, extension: Extension) -> Markdown: ...
|
| 35 |
+
def reset(self: Markdown) -> Markdown: ...
|
| 36 |
+
def set_output_format(self, format: Literal["xhtml", "html"]) -> Markdown: ...
|
| 37 |
+
def is_block_level(self, tag: str) -> bool: ...
|
| 38 |
+
def convert(self, source: Text) -> Text: ...
|
| 39 |
+
def convertFile(
|
| 40 |
+
self,
|
| 41 |
+
input: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 42 |
+
output: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 43 |
+
encoding: Optional[str] = ...,
|
| 44 |
+
) -> Markdown: ...
|
| 45 |
+
|
| 46 |
+
def markdown(
|
| 47 |
+
text: Text,
|
| 48 |
+
*,
|
| 49 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 50 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 51 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 52 |
+
tab_length: Optional[int] = ...,
|
| 53 |
+
) -> Text: ...
|
| 54 |
+
def markdownFromFile(
|
| 55 |
+
*,
|
| 56 |
+
input: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 57 |
+
output: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 58 |
+
encoding: Optional[str] = ...,
|
| 59 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 60 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 61 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 62 |
+
tab_length: Optional[int] = ...,
|
| 63 |
+
) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/__init__.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Mapping, Tuple
|
| 2 |
+
|
| 3 |
+
from markdown.core import Markdown
|
| 4 |
+
|
| 5 |
+
class Extension:
|
| 6 |
+
config: Mapping[str, List[Any]] = ...
|
| 7 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
| 8 |
+
def getConfig(self, key: str, default: Any = ...) -> Any: ...
|
| 9 |
+
def getConfigs(self) -> Dict[str, Any]: ...
|
| 10 |
+
def getConfigInfo(self) -> List[Tuple[str, str]]: ...
|
| 11 |
+
def setConfig(self, key: str, value: Any) -> None: ...
|
| 12 |
+
def setConfigs(self, items: Mapping[str, Any]) -> None: ...
|
| 13 |
+
def extendMarkdown(self, md: Markdown) -> None: ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/abbr.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
from markdown.inlinepatterns import InlineProcessor
|
| 6 |
+
|
| 7 |
+
ABBR_REF_RE: Pattern
|
| 8 |
+
|
| 9 |
+
class AbbrExtension(Extension): ...
|
| 10 |
+
class AbbrPreprocessor(BlockProcessor): ...
|
| 11 |
+
|
| 12 |
+
class AbbrInlineProcessor(InlineProcessor):
|
| 13 |
+
title: Any
|
| 14 |
+
def __init__(self, pattern, title) -> None: ...
|
| 15 |
+
|
| 16 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/admonition.pyi
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class AdmonitionExtension(Extension): ...
|
| 7 |
+
|
| 8 |
+
class AdmonitionProcessor(BlockProcessor):
|
| 9 |
+
CLASSNAME: str = ...
|
| 10 |
+
CLASSNAME_TITLE: str = ...
|
| 11 |
+
RE: Pattern
|
| 12 |
+
RE_SPACES: Any
|
| 13 |
+
def get_class_and_title(self, match): ...
|
| 14 |
+
|
| 15 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/attr_list.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
def get_attrs(str): ...
|
| 7 |
+
def isheader(elem): ...
|
| 8 |
+
|
| 9 |
+
class AttrListTreeprocessor(Treeprocessor):
|
| 10 |
+
BASE_RE: str = ...
|
| 11 |
+
HEADER_RE: Pattern
|
| 12 |
+
BLOCK_RE: Pattern
|
| 13 |
+
INLINE_RE: Pattern
|
| 14 |
+
NAME_RE: Pattern
|
| 15 |
+
def assign_attrs(self, elem, attrs) -> None: ...
|
| 16 |
+
def sanitize_name(self, name): ...
|
| 17 |
+
|
| 18 |
+
class AttrListExtension(Extension): ...
|
| 19 |
+
|
| 20 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/codehilite.pyi
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
pygments: bool
|
| 7 |
+
|
| 8 |
+
def parse_hl_lines(expr): ...
|
| 9 |
+
|
| 10 |
+
class CodeHilite:
|
| 11 |
+
src: Any
|
| 12 |
+
lang: Any
|
| 13 |
+
linenums: Any
|
| 14 |
+
guess_lang: Any
|
| 15 |
+
css_class: Any
|
| 16 |
+
style: Any
|
| 17 |
+
noclasses: Any
|
| 18 |
+
tab_length: Any
|
| 19 |
+
hl_lines: Any
|
| 20 |
+
use_pygments: Any
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
src: Optional[Any] = ...,
|
| 24 |
+
linenums: Optional[Any] = ...,
|
| 25 |
+
guess_lang: bool = ...,
|
| 26 |
+
css_class: str = ...,
|
| 27 |
+
lang: Optional[Any] = ...,
|
| 28 |
+
style: str = ...,
|
| 29 |
+
noclasses: bool = ...,
|
| 30 |
+
tab_length: int = ...,
|
| 31 |
+
hl_lines: Optional[Any] = ...,
|
| 32 |
+
use_pygments: bool = ...,
|
| 33 |
+
) -> None: ...
|
| 34 |
+
def hilite(self): ...
|
| 35 |
+
|
| 36 |
+
class HiliteTreeprocessor(Treeprocessor):
|
| 37 |
+
def code_unescape(self, text): ...
|
| 38 |
+
|
| 39 |
+
class CodeHiliteExtension(Extension):
|
| 40 |
+
def __init__(self, **kwargs) -> None: ...
|
| 41 |
+
|
| 42 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/def_list.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor, ListIndentProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class DefListProcessor(BlockProcessor):
|
| 7 |
+
RE: Pattern
|
| 8 |
+
NO_INDENT_RE: Pattern
|
| 9 |
+
|
| 10 |
+
class DefListIndentProcessor(ListIndentProcessor): ...
|
| 11 |
+
class DefListExtension(Extension): ...
|
| 12 |
+
|
| 13 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/extra.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
|
| 5 |
+
extensions: Any
|
| 6 |
+
|
| 7 |
+
class ExtraExtension(Extension):
|
| 8 |
+
def __init__(self, **kwargs) -> None: ...
|
| 9 |
+
|
| 10 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/fenced_code.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.preprocessors import Preprocessor
|
| 5 |
+
|
| 6 |
+
class FencedCodeExtension(Extension): ...
|
| 7 |
+
|
| 8 |
+
class FencedBlockPreprocessor(Preprocessor):
|
| 9 |
+
FENCED_BLOCK_RE: Pattern
|
| 10 |
+
CODE_WRAP: str = ...
|
| 11 |
+
LANG_TAG: str = ...
|
| 12 |
+
checked_for_codehilite: bool = ...
|
| 13 |
+
codehilite_conf: Any
|
| 14 |
+
def __init__(self, md) -> None: ...
|
| 15 |
+
|
| 16 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/footnotes.pyi
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.inlinepatterns import InlineProcessor
|
| 5 |
+
from markdown.postprocessors import Postprocessor
|
| 6 |
+
from markdown.preprocessors import Preprocessor
|
| 7 |
+
from markdown.treeprocessors import Treeprocessor
|
| 8 |
+
|
| 9 |
+
FN_BACKLINK_TEXT: Any
|
| 10 |
+
NBSP_PLACEHOLDER: Any
|
| 11 |
+
DEF_RE: Pattern
|
| 12 |
+
TABBED_RE: Pattern
|
| 13 |
+
RE_REF_ID: Any
|
| 14 |
+
|
| 15 |
+
class FootnoteExtension(Extension):
|
| 16 |
+
unique_prefix: int = ...
|
| 17 |
+
found_refs: Any
|
| 18 |
+
used_refs: Any
|
| 19 |
+
def __init__(self, **kwargs) -> None: ...
|
| 20 |
+
parser: Any
|
| 21 |
+
md: Any
|
| 22 |
+
footnotes: Any
|
| 23 |
+
def reset(self) -> None: ...
|
| 24 |
+
def unique_ref(self, reference, found: bool = ...): ...
|
| 25 |
+
def findFootnotesPlaceholder(self, root): ...
|
| 26 |
+
def setFootnote(self, id, text) -> None: ...
|
| 27 |
+
def get_separator(self): ...
|
| 28 |
+
def makeFootnoteId(self, id): ...
|
| 29 |
+
def makeFootnoteRefId(self, id, found: bool = ...): ...
|
| 30 |
+
def makeFootnotesDiv(self, root): ...
|
| 31 |
+
|
| 32 |
+
class FootnotePreprocessor(Preprocessor):
|
| 33 |
+
footnotes: Any
|
| 34 |
+
def __init__(self, footnotes) -> None: ...
|
| 35 |
+
def detectTabbed(self, lines): ...
|
| 36 |
+
|
| 37 |
+
class FootnoteInlineProcessor(InlineProcessor):
|
| 38 |
+
footnotes: Any
|
| 39 |
+
def __init__(self, pattern, footnotes) -> None: ...
|
| 40 |
+
|
| 41 |
+
class FootnotePostTreeprocessor(Treeprocessor):
|
| 42 |
+
footnotes: Any
|
| 43 |
+
def __init__(self, footnotes) -> None: ...
|
| 44 |
+
def add_duplicates(self, li, duplicates) -> None: ...
|
| 45 |
+
def get_num_duplicates(self, li): ...
|
| 46 |
+
def handle_duplicates(self, parent) -> None: ...
|
| 47 |
+
offset: int = ...
|
| 48 |
+
|
| 49 |
+
class FootnoteTreeprocessor(Treeprocessor):
|
| 50 |
+
footnotes: Any
|
| 51 |
+
def __init__(self, footnotes) -> None: ...
|
| 52 |
+
|
| 53 |
+
class FootnotePostprocessor(Postprocessor):
|
| 54 |
+
footnotes: Any
|
| 55 |
+
def __init__(self, footnotes) -> None: ...
|
| 56 |
+
|
| 57 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_attrs.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
ATTR_RE: Pattern
|
| 7 |
+
|
| 8 |
+
class LegacyAttrs(Treeprocessor):
|
| 9 |
+
def handleAttributes(self, el, txt): ...
|
| 10 |
+
|
| 11 |
+
class LegacyAttrExtension(Extension): ...
|
| 12 |
+
|
| 13 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_em.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.inlinepatterns import UnderscoreProcessor
|
| 5 |
+
|
| 6 |
+
EMPHASIS_RE: str
|
| 7 |
+
STRONG_RE: str
|
| 8 |
+
STRONG_EM_RE: str
|
| 9 |
+
|
| 10 |
+
class LegacyUnderscoreProcessor(UnderscoreProcessor): ...
|
| 11 |
+
class LegacyEmExtension(Extension): ...
|
| 12 |
+
|
| 13 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/md_in_html.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class MarkdownInHtmlProcessor(BlockProcessor): ...
|
| 7 |
+
class MarkdownInHtmlExtension(Extension): ...
|
| 8 |
+
|
| 9 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/meta.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.preprocessors import Preprocessor
|
| 5 |
+
|
| 6 |
+
log: Any
|
| 7 |
+
META_RE: Pattern
|
| 8 |
+
META_MORE_RE: Pattern
|
| 9 |
+
BEGIN_RE: Pattern
|
| 10 |
+
END_RE: Pattern
|
| 11 |
+
|
| 12 |
+
class MetaExtension(Extension):
|
| 13 |
+
md: Any
|
| 14 |
+
def reset(self) -> None: ...
|
| 15 |
+
|
| 16 |
+
class MetaPreprocessor(Preprocessor): ...
|
| 17 |
+
|
| 18 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/nl2br.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
|
| 5 |
+
BR_RE: str
|
| 6 |
+
|
| 7 |
+
class Nl2BrExtension(Extension): ...
|
| 8 |
+
|
| 9 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/sane_lists.pyi
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import OListProcessor, UListProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class SaneOListProcessor(OListProcessor):
|
| 7 |
+
def __init__(self, parser) -> None: ...
|
| 8 |
+
|
| 9 |
+
class SaneUListProcessor(UListProcessor):
|
| 10 |
+
def __init__(self, parser) -> None: ...
|
| 11 |
+
|
| 12 |
+
class SaneListExtension(Extension): ...
|
| 13 |
+
|
| 14 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/smarty.pyi
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.inlinepatterns import HtmlInlineProcessor
|
| 5 |
+
|
| 6 |
+
punctClass: str
|
| 7 |
+
endOfWordClass: str
|
| 8 |
+
closeClass: str
|
| 9 |
+
openingQuotesBase: str
|
| 10 |
+
substitutions: Any
|
| 11 |
+
singleQuoteStartRe: Any
|
| 12 |
+
doubleQuoteStartRe: Any
|
| 13 |
+
doubleQuoteSetsRe: str
|
| 14 |
+
singleQuoteSetsRe: str
|
| 15 |
+
decadeAbbrRe: str
|
| 16 |
+
openingDoubleQuotesRegex: Any
|
| 17 |
+
closingDoubleQuotesRegex: str
|
| 18 |
+
closingDoubleQuotesRegex2: Any
|
| 19 |
+
openingSingleQuotesRegex: Any
|
| 20 |
+
closingSingleQuotesRegex: Any
|
| 21 |
+
closingSingleQuotesRegex2: Any
|
| 22 |
+
remainingSingleQuotesRegex: str
|
| 23 |
+
remainingDoubleQuotesRegex: str
|
| 24 |
+
HTML_STRICT_RE: str
|
| 25 |
+
|
| 26 |
+
class SubstituteTextPattern(HtmlInlineProcessor):
|
| 27 |
+
replace: Any
|
| 28 |
+
def __init__(self, pattern, replace, md) -> None: ...
|
| 29 |
+
|
| 30 |
+
class SmartyExtension(Extension):
|
| 31 |
+
substitutions: Any
|
| 32 |
+
def __init__(self, **kwargs) -> None: ...
|
| 33 |
+
def educateDashes(self, md) -> None: ...
|
| 34 |
+
def educateEllipses(self, md) -> None: ...
|
| 35 |
+
def educateAngledQuotes(self, md) -> None: ...
|
| 36 |
+
def educateQuotes(self, md) -> None: ...
|
| 37 |
+
inlinePatterns: Any
|
| 38 |
+
|
| 39 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/tables.pyi
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
PIPE_NONE: int
|
| 7 |
+
PIPE_LEFT: int
|
| 8 |
+
PIPE_RIGHT: int
|
| 9 |
+
|
| 10 |
+
class TableProcessor(BlockProcessor):
|
| 11 |
+
RE_CODE_PIPES: Any
|
| 12 |
+
RE_END_BORDER: Any
|
| 13 |
+
border: bool = ...
|
| 14 |
+
separator: str = ...
|
| 15 |
+
def __init__(self, parser) -> None: ...
|
| 16 |
+
|
| 17 |
+
class TableExtension(Extension): ...
|
| 18 |
+
|
| 19 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/toc.pyi
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
def slugify(value, separator): ...
|
| 7 |
+
|
| 8 |
+
IDCOUNT_RE: Pattern
|
| 9 |
+
|
| 10 |
+
def unique(id, ids): ...
|
| 11 |
+
def get_name(el): ...
|
| 12 |
+
def stashedHTML2text(text, md, strip_entities: bool = ...): ...
|
| 13 |
+
def unescape(text): ...
|
| 14 |
+
def nest_toc_tokens(toc_list): ...
|
| 15 |
+
|
| 16 |
+
class TocTreeprocessor(Treeprocessor):
|
| 17 |
+
marker: Any
|
| 18 |
+
title: Any
|
| 19 |
+
base_level: Any
|
| 20 |
+
slugify: Any
|
| 21 |
+
sep: Any
|
| 22 |
+
use_anchors: Any
|
| 23 |
+
anchorlink_class: Any
|
| 24 |
+
use_permalinks: Any
|
| 25 |
+
permalink_class: Any
|
| 26 |
+
permalink_title: Any
|
| 27 |
+
header_rgx: Any
|
| 28 |
+
toc_top: int = ...
|
| 29 |
+
toc_bottom: Any
|
| 30 |
+
def __init__(self, md, config) -> None: ...
|
| 31 |
+
def iterparent(self, node) -> None: ...
|
| 32 |
+
def replace_marker(self, root, elem) -> None: ...
|
| 33 |
+
def set_level(self, elem) -> None: ...
|
| 34 |
+
def add_anchor(self, c, elem_id) -> None: ...
|
| 35 |
+
def add_permalink(self, c, elem_id) -> None: ...
|
| 36 |
+
def build_toc_div(self, toc_list): ...
|
| 37 |
+
|
| 38 |
+
class TocExtension(Extension):
|
| 39 |
+
TreeProcessorClass: Any
|
| 40 |
+
def __init__(self, **kwargs) -> None: ...
|
| 41 |
+
md: Any
|
| 42 |
+
def reset(self) -> None: ...
|
| 43 |
+
|
| 44 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/wikilinks.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.inlinepatterns import InlineProcessor
|
| 5 |
+
|
| 6 |
+
def build_url(label, base, end): ...
|
| 7 |
+
|
| 8 |
+
class WikiLinkExtension(Extension):
|
| 9 |
+
def __init__(self, **kwargs) -> None: ...
|
| 10 |
+
md: Any
|
| 11 |
+
|
| 12 |
+
class WikiLinksInlineProcessor(InlineProcessor):
|
| 13 |
+
config: Any
|
| 14 |
+
def __init__(self, pattern, config) -> None: ...
|
| 15 |
+
|
| 16 |
+
def makeExtension(**kwargs): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/inlinepatterns.pyi
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Match, Optional, Tuple, Union
|
| 2 |
+
from xml.etree.ElementTree import Element
|
| 3 |
+
|
| 4 |
+
def build_inlinepatterns(md, **kwargs): ...
|
| 5 |
+
|
| 6 |
+
NOIMG: str
|
| 7 |
+
BACKTICK_RE: str
|
| 8 |
+
ESCAPE_RE: str
|
| 9 |
+
EMPHASIS_RE: str
|
| 10 |
+
STRONG_RE: str
|
| 11 |
+
SMART_STRONG_RE: str
|
| 12 |
+
SMART_EMPHASIS_RE: str
|
| 13 |
+
SMART_STRONG_EM_RE: str
|
| 14 |
+
EM_STRONG_RE: str
|
| 15 |
+
EM_STRONG2_RE: str
|
| 16 |
+
STRONG_EM_RE: str
|
| 17 |
+
STRONG_EM2_RE: str
|
| 18 |
+
STRONG_EM3_RE: str
|
| 19 |
+
LINK_RE: str
|
| 20 |
+
IMAGE_LINK_RE: str
|
| 21 |
+
REFERENCE_RE: str
|
| 22 |
+
IMAGE_REFERENCE_RE: str
|
| 23 |
+
NOT_STRONG_RE: str
|
| 24 |
+
AUTOLINK_RE: str
|
| 25 |
+
AUTOMAIL_RE: str
|
| 26 |
+
HTML_RE: str
|
| 27 |
+
ENTITY_RE: str
|
| 28 |
+
LINE_BREAK_RE: str
|
| 29 |
+
|
| 30 |
+
def dequote(string): ...
|
| 31 |
+
|
| 32 |
+
class EmStrongItem: ...
|
| 33 |
+
|
| 34 |
+
class Pattern:
|
| 35 |
+
ANCESTOR_EXCLUDES: Any
|
| 36 |
+
pattern: Any
|
| 37 |
+
compiled_re: Any
|
| 38 |
+
md: Any
|
| 39 |
+
def __init__(self, pattern, md: Optional[Any] = ...) -> None: ...
|
| 40 |
+
@property
|
| 41 |
+
def markdown(self): ...
|
| 42 |
+
def getCompiledRegExp(self): ...
|
| 43 |
+
def handleMatch(self, m: Match) -> Optional[Union[str, Element]]: ...
|
| 44 |
+
def type(self): ...
|
| 45 |
+
def unescape(self, text): ...
|
| 46 |
+
|
| 47 |
+
class InlineProcessor(Pattern):
|
| 48 |
+
safe_mode: bool = ...
|
| 49 |
+
def __init__(self, pattern, md: Optional[Any] = ...) -> None: ...
|
| 50 |
+
def handleMatch(self, m: Match, data) -> Union[Tuple[Element, int, int], Tuple[None, None, None]]: ... # type: ignore
|
| 51 |
+
|
| 52 |
+
class SimpleTextPattern(Pattern): ...
|
| 53 |
+
class SimpleTextInlineProcessor(InlineProcessor): ...
|
| 54 |
+
class EscapeInlineProcessor(InlineProcessor): ...
|
| 55 |
+
|
| 56 |
+
class SimpleTagPattern(Pattern):
|
| 57 |
+
tag: Any
|
| 58 |
+
def __init__(self, pattern, tag) -> None: ...
|
| 59 |
+
|
| 60 |
+
class SimpleTagInlineProcessor(InlineProcessor):
|
| 61 |
+
tag: Any
|
| 62 |
+
def __init__(self, pattern, tag) -> None: ...
|
| 63 |
+
|
| 64 |
+
class SubstituteTagPattern(SimpleTagPattern): ...
|
| 65 |
+
class SubstituteTagInlineProcessor(SimpleTagInlineProcessor): ...
|
| 66 |
+
|
| 67 |
+
class BacktickInlineProcessor(InlineProcessor):
|
| 68 |
+
ESCAPED_BSLASH: Any
|
| 69 |
+
tag: str = ...
|
| 70 |
+
def __init__(self, pattern) -> None: ...
|
| 71 |
+
|
| 72 |
+
class DoubleTagPattern(SimpleTagPattern): ...
|
| 73 |
+
class DoubleTagInlineProcessor(SimpleTagInlineProcessor): ...
|
| 74 |
+
class HtmlInlineProcessor(InlineProcessor): ...
|
| 75 |
+
|
| 76 |
+
class AsteriskProcessor(InlineProcessor):
|
| 77 |
+
PATTERNS: Any
|
| 78 |
+
def build_single(self, m, tag, idx): ...
|
| 79 |
+
def build_double(self, m, tags, idx): ...
|
| 80 |
+
def build_double2(self, m, tags, idx): ...
|
| 81 |
+
def parse_sub_patterns(self, data, parent, last, idx) -> None: ...
|
| 82 |
+
def build_element(self, m, builder, tags, index): ...
|
| 83 |
+
|
| 84 |
+
class UnderscoreProcessor(AsteriskProcessor):
|
| 85 |
+
PATTERNS: Any
|
| 86 |
+
|
| 87 |
+
class LinkInlineProcessor(InlineProcessor):
|
| 88 |
+
RE_LINK: Any
|
| 89 |
+
RE_TITLE_CLEAN: Any
|
| 90 |
+
def getLink(self, data, index): ...
|
| 91 |
+
def getText(self, data, index): ...
|
| 92 |
+
|
| 93 |
+
class ImageInlineProcessor(LinkInlineProcessor): ...
|
| 94 |
+
|
| 95 |
+
class ReferenceInlineProcessor(LinkInlineProcessor):
|
| 96 |
+
NEWLINE_CLEANUP_RE: Pattern
|
| 97 |
+
def evalId(self, data, index, text): ...
|
| 98 |
+
def makeTag(self, href, title, text): ...
|
| 99 |
+
|
| 100 |
+
class ShortReferenceInlineProcessor(ReferenceInlineProcessor): ...
|
| 101 |
+
class ImageReferenceInlineProcessor(ReferenceInlineProcessor): ...
|
| 102 |
+
class AutolinkInlineProcessor(InlineProcessor): ...
|
| 103 |
+
class AutomailInlineProcessor(InlineProcessor): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/pep562.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class Version:
|
| 4 |
+
def __new__(cls, major, minor, micro, release: str = ..., pre: int = ..., post: int = ..., dev: int = ...): ...
|
| 5 |
+
|
| 6 |
+
class Pep562:
|
| 7 |
+
def __init__(self, name) -> None: ...
|
| 8 |
+
def __dir__(self): ...
|
| 9 |
+
def __getattr__(self, name): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/postprocessors.pyi
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from . import util
|
| 4 |
+
|
| 5 |
+
def build_postprocessors(md, **kwargs): ...
|
| 6 |
+
|
| 7 |
+
class Postprocessor(util.Processor):
|
| 8 |
+
def run(self, text) -> None: ...
|
| 9 |
+
|
| 10 |
+
class RawHtmlPostprocessor(Postprocessor):
|
| 11 |
+
def isblocklevel(self, html): ...
|
| 12 |
+
|
| 13 |
+
class AndSubstitutePostprocessor(Postprocessor): ...
|
| 14 |
+
|
| 15 |
+
class UnescapePostprocessor(Postprocessor):
|
| 16 |
+
RE: Pattern
|
| 17 |
+
def unescape(self, m): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/preprocessors.pyi
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, List, Pattern
|
| 2 |
+
|
| 3 |
+
from . import util
|
| 4 |
+
|
| 5 |
+
def build_preprocessors(md, **kwargs): ...
|
| 6 |
+
|
| 7 |
+
class Preprocessor(util.Processor):
|
| 8 |
+
def run(self, lines: List[str]) -> List[str]: ...
|
| 9 |
+
|
| 10 |
+
class NormalizeWhitespace(Preprocessor): ...
|
| 11 |
+
|
| 12 |
+
class HtmlBlockPreprocessor(Preprocessor):
|
| 13 |
+
right_tag_patterns: Any
|
| 14 |
+
attrs_pattern: str = ...
|
| 15 |
+
left_tag_pattern: Any
|
| 16 |
+
attrs_re: Any
|
| 17 |
+
left_tag_re: Any
|
| 18 |
+
markdown_in_raw: bool = ...
|
| 19 |
+
|
| 20 |
+
class ReferencePreprocessor(Preprocessor):
|
| 21 |
+
TITLE: str = ...
|
| 22 |
+
RE: Pattern
|
| 23 |
+
TITLE_RE: Pattern
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/serializers.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
def to_html_string(element): ...
|
| 4 |
+
def to_xhtml_string(element): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/treeprocessors.pyi
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from . import util
|
| 4 |
+
|
| 5 |
+
def build_treeprocessors(md, **kwargs): ...
|
| 6 |
+
def isString(s): ...
|
| 7 |
+
|
| 8 |
+
class Treeprocessor(util.Processor):
|
| 9 |
+
def run(self, root) -> None: ...
|
| 10 |
+
|
| 11 |
+
class InlineProcessor(Treeprocessor):
|
| 12 |
+
inlinePatterns: Any
|
| 13 |
+
ancestors: Any
|
| 14 |
+
def __init__(self, md) -> None: ...
|
| 15 |
+
stashed_nodes: Any
|
| 16 |
+
parent_map: Any
|
| 17 |
+
def run(self, tree, ancestors: Optional[Any] = ...): ...
|
| 18 |
+
|
| 19 |
+
class PrettifyTreeprocessor(Treeprocessor): ...
|
evalkit_tf446/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/util.pyi
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections import namedtuple
|
| 2 |
+
from typing import Any, Optional, Pattern
|
| 3 |
+
|
| 4 |
+
PY37: Any
|
| 5 |
+
__deprecated__: Any
|
| 6 |
+
BLOCK_LEVEL_ELEMENTS: Any
|
| 7 |
+
STX: str
|
| 8 |
+
ETX: str
|
| 9 |
+
INLINE_PLACEHOLDER_PREFIX: Any
|
| 10 |
+
INLINE_PLACEHOLDER: Any
|
| 11 |
+
INLINE_PLACEHOLDER_RE: Pattern
|
| 12 |
+
AMP_SUBSTITUTE: Any
|
| 13 |
+
HTML_PLACEHOLDER: Any
|
| 14 |
+
HTML_PLACEHOLDER_RE: Pattern
|
| 15 |
+
TAG_PLACEHOLDER: Any
|
| 16 |
+
INSTALLED_EXTENSIONS: Any
|
| 17 |
+
RTL_BIDI_RANGES: Any
|
| 18 |
+
|
| 19 |
+
def deprecated(message, stacklevel: int = ...): ...
|
| 20 |
+
def isBlockLevel(tag): ...
|
| 21 |
+
def parseBoolValue(value, fail_on_errors: bool = ..., preserve_none: bool = ...): ...
|
| 22 |
+
def code_escape(text): ...
|
| 23 |
+
|
| 24 |
+
class AtomicString(str): ...
|
| 25 |
+
|
| 26 |
+
class Processor:
|
| 27 |
+
md: Any
|
| 28 |
+
def __init__(self, md: Optional[Any] = ...) -> None: ...
|
| 29 |
+
@property
|
| 30 |
+
def markdown(self): ...
|
| 31 |
+
|
| 32 |
+
class HtmlStash:
|
| 33 |
+
html_counter: int = ...
|
| 34 |
+
rawHtmlBlocks: Any
|
| 35 |
+
tag_counter: int = ...
|
| 36 |
+
tag_data: Any
|
| 37 |
+
def __init__(self) -> None: ...
|
| 38 |
+
def store(self, html): ...
|
| 39 |
+
def reset(self) -> None: ...
|
| 40 |
+
def get_placeholder(self, key): ...
|
| 41 |
+
def store_tag(self, tag, attrs, left_index, right_index): ...
|
| 42 |
+
|
| 43 |
+
class Registry:
|
| 44 |
+
def __init__(self) -> None: ...
|
| 45 |
+
def __contains__(self, item): ...
|
| 46 |
+
def __iter__(self) -> Any: ...
|
| 47 |
+
def __getitem__(self, key): ...
|
| 48 |
+
def __len__(self): ...
|
| 49 |
+
def get_index_for_name(self, name): ...
|
| 50 |
+
def register(self, item, name, priority) -> None: ...
|
| 51 |
+
def deregister(self, name, strict: bool = ...) -> None: ...
|
| 52 |
+
def __setitem__(self, key, value) -> None: ...
|
| 53 |
+
def __delitem__(self, key) -> None: ...
|
| 54 |
+
def add(self, key, value, location) -> None: ...
|
| 55 |
+
|
| 56 |
+
def __getattr__(name): ...
|