Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/__init__.pyi +27 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/callbacks.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/linkifier.pyi +31 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi +34 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/utils.pyi +8 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/characteristic/__init__.pyi +35 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/__init__.pyi +26 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/enums.pyi +39 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langbulgarianmodel.pyi +9 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langcyrillicmodel.pyi +17 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langgreekmodel.pyi +9 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langhebrewmodel.pyi +7 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langhungarianmodel.pyi +9 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langthaimodel.pyi +7 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langturkishmodel.pyi +7 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/universaldetector.pyi +29 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/version.pyi +4 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/exceptions.pyi +7 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/fernet.pyi +25 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/__init__.pyi +45 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_compat.pyi +36 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_stringdefs.pyi +40 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/bccache.pyi +44 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/compiler.pyi +177 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/constants.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/debug.pyi +37 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/defaults.pyi +22 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/environment.pyi +224 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/exceptions.pyi +31 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/ext.pyi +66 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/filters.pyi +56 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/lexer.pyi +117 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/loaders.pyi +80 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/meta.pyi +12 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/nodes.pyi +255 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/optimizer.pyi +30 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/parser.pyi +68 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/runtime.pyi +132 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/sandbox.pyi +35 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/tests.pyi +24 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/utils.pyi +87 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/visitor.pyi +8 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi +2 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__meta__.pyi +3 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi +18 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi +59 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi +63 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/inlinepatterns.pyi +103 -0
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/__init__.pyi
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Container, Iterable, Optional, Text
|
2 |
+
|
3 |
+
from bleach.linkifier import DEFAULT_CALLBACKS as DEFAULT_CALLBACKS, Linker as Linker, _Callback
|
4 |
+
from bleach.sanitizer import (
|
5 |
+
ALLOWED_ATTRIBUTES as ALLOWED_ATTRIBUTES,
|
6 |
+
ALLOWED_PROTOCOLS as ALLOWED_PROTOCOLS,
|
7 |
+
ALLOWED_STYLES as ALLOWED_STYLES,
|
8 |
+
ALLOWED_TAGS as ALLOWED_TAGS,
|
9 |
+
Cleaner as Cleaner,
|
10 |
+
)
|
11 |
+
|
12 |
+
__releasedate__: Text
|
13 |
+
__version__: Text
|
14 |
+
VERSION: Any # packaging.version.Version
|
15 |
+
|
16 |
+
def clean(
|
17 |
+
text: Text,
|
18 |
+
tags: Container[Text] = ...,
|
19 |
+
attributes: Any = ...,
|
20 |
+
styles: Container[Text] = ...,
|
21 |
+
protocols: Container[Text] = ...,
|
22 |
+
strip: bool = ...,
|
23 |
+
strip_comments: bool = ...,
|
24 |
+
) -> Text: ...
|
25 |
+
def linkify(
|
26 |
+
text: Text, callbacks: Iterable[_Callback] = ..., skip_tags: Optional[Container[Text]] = ..., parse_email: bool = ...
|
27 |
+
) -> Text: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/callbacks.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, MutableMapping, Text
|
2 |
+
|
3 |
+
_Attrs = MutableMapping[Any, Text]
|
4 |
+
|
5 |
+
def nofollow(attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
6 |
+
def target_blank(attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/linkifier.pyi
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Container, Iterable, List, MutableMapping, Optional, Pattern, Protocol, Text
|
2 |
+
|
3 |
+
_Attrs = MutableMapping[Any, Text]
|
4 |
+
|
5 |
+
class _Callback(Protocol):
|
6 |
+
def __call__(self, attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
7 |
+
|
8 |
+
DEFAULT_CALLBACKS: List[_Callback]
|
9 |
+
|
10 |
+
TLDS: List[Text]
|
11 |
+
|
12 |
+
def build_url_re(tlds: Iterable[Text] = ..., protocols: Iterable[Text] = ...) -> Pattern[Text]: ...
|
13 |
+
|
14 |
+
URL_RE: Pattern[Text]
|
15 |
+
PROTO_RE: Pattern[Text]
|
16 |
+
EMAIL_RE: Pattern[Text]
|
17 |
+
|
18 |
+
class Linker(object):
|
19 |
+
def __init__(
|
20 |
+
self,
|
21 |
+
callbacks: Iterable[_Callback] = ...,
|
22 |
+
skip_tags: Optional[Container[Text]] = ...,
|
23 |
+
parse_email: bool = ...,
|
24 |
+
url_re: Pattern[Text] = ...,
|
25 |
+
email_re: Pattern[Text] = ...,
|
26 |
+
recognized_tags: Optional[Container[Text]] = ...,
|
27 |
+
) -> None: ...
|
28 |
+
def linkify(self, text: Text) -> Text: ...
|
29 |
+
|
30 |
+
class LinkifyFilter(object): # TODO: derives from html5lib.Filter
|
31 |
+
def __getattr__(self, item: str) -> Any: ... # incomplete
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Callable, Container, Dict, Iterable, List, Optional, Pattern, Text, Union
|
2 |
+
|
3 |
+
ALLOWED_TAGS: List[Text]
|
4 |
+
ALLOWED_ATTRIBUTES: Dict[Text, List[Text]]
|
5 |
+
ALLOWED_STYLES: List[Text]
|
6 |
+
ALLOWED_PROTOCOLS: List[Text]
|
7 |
+
|
8 |
+
INVISIBLE_CHARACTERS: Text
|
9 |
+
INVISIBLE_CHARACTERS_RE: Pattern[Text]
|
10 |
+
INVISIBLE_REPLACEMENT_CHAR: Text
|
11 |
+
|
12 |
+
# A html5lib Filter class
|
13 |
+
_Filter = Any
|
14 |
+
|
15 |
+
class Cleaner(object):
|
16 |
+
def __init__(
|
17 |
+
self,
|
18 |
+
tags: Container[Text] = ...,
|
19 |
+
attributes: Any = ...,
|
20 |
+
styles: Container[Text] = ...,
|
21 |
+
protocols: Container[Text] = ...,
|
22 |
+
strip: bool = ...,
|
23 |
+
strip_comments: bool = ...,
|
24 |
+
filters: Optional[Iterable[_Filter]] = ...,
|
25 |
+
) -> None: ...
|
26 |
+
def clean(self, text: Text) -> Text: ...
|
27 |
+
|
28 |
+
_AttributeFilter = Callable[[Text, Text, Text], bool]
|
29 |
+
_AttributeDict = Dict[Text, Union[Container[Text], _AttributeFilter]]
|
30 |
+
|
31 |
+
def attribute_filter_factory(attributes: Union[_AttributeFilter, _AttributeDict, Container[Text]]) -> _AttributeFilter: ...
|
32 |
+
|
33 |
+
class BleachSanitizerFilter(object): # TODO: derives from html5lib.sanitizer.Filter
|
34 |
+
def __getattr__(self, item: str) -> Any: ... # incomplete
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/utils.pyi
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from collections import OrderedDict
|
2 |
+
from typing import Any, Mapping, Text, overload
|
3 |
+
|
4 |
+
def force_unicode(text: Text) -> Text: ...
|
5 |
+
@overload
|
6 |
+
def alphabetize_attributes(attrs: None) -> None: ...
|
7 |
+
@overload
|
8 |
+
def alphabetize_attributes(attrs: Mapping[Any, Text]) -> OrderedDict[Any, Text]: ...
|
temp_venv/lib/python3.13/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: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/__init__.pyi
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
from typing import Any, Tuple
|
3 |
+
|
4 |
+
from .universaldetector import UniversalDetector as UniversalDetector
|
5 |
+
|
6 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
7 |
+
|
8 |
+
if sys.version_info >= (3, 8):
|
9 |
+
from typing import TypedDict
|
10 |
+
else:
|
11 |
+
from typing_extensions import TypedDict
|
12 |
+
|
13 |
+
class _LangModelType(TypedDict):
|
14 |
+
char_to_order_map: Tuple[int, ...]
|
15 |
+
precedence_matrix: Tuple[int, ...]
|
16 |
+
typical_positive_ratio: float
|
17 |
+
keep_english_letter: bool
|
18 |
+
charset_name: str
|
19 |
+
language: str
|
20 |
+
|
21 |
+
class _SMModelType(TypedDict):
|
22 |
+
class_table: Tuple[int, ...]
|
23 |
+
class_factor: int
|
24 |
+
state_table: Tuple[int, ...]
|
25 |
+
char_len_table: Tuple[int, ...]
|
26 |
+
name: str
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/enums.pyi
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class InputState(object):
|
2 |
+
PURE_ASCII: int
|
3 |
+
ESC_ASCII: int
|
4 |
+
HIGH_BYTE: int
|
5 |
+
|
6 |
+
class LanguageFilter(object):
|
7 |
+
CHINESE_SIMPLIFIED: int
|
8 |
+
CHINESE_TRADITIONAL: int
|
9 |
+
JAPANESE: int
|
10 |
+
KOREAN: int
|
11 |
+
NON_CJK: int
|
12 |
+
ALL: int
|
13 |
+
CHINESE: int
|
14 |
+
CJK: int
|
15 |
+
|
16 |
+
class ProbingState(object):
|
17 |
+
DETECTING: int
|
18 |
+
FOUND_IT: int
|
19 |
+
NOT_ME: int
|
20 |
+
|
21 |
+
class MachineState(object):
|
22 |
+
START: int
|
23 |
+
ERROR: int
|
24 |
+
ITS_ME: int
|
25 |
+
|
26 |
+
class SequenceLikelihood(object):
|
27 |
+
NEGATIVE: int
|
28 |
+
UNLIKELY: int
|
29 |
+
LIKELY: int
|
30 |
+
POSITIVE: int
|
31 |
+
@classmethod
|
32 |
+
def get_num_categories(cls) -> int: ...
|
33 |
+
|
34 |
+
class CharacterCategory(object):
|
35 |
+
UNDEFINED: int
|
36 |
+
LINE_BREAK: int
|
37 |
+
SYMBOL: int
|
38 |
+
DIGIT: int
|
39 |
+
CONTROL: int
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langbulgarianmodel.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
Latin5_BulgarianCharToOrderMap: Tuple[int, ...]
|
6 |
+
win1251BulgarianCharToOrderMap: Tuple[int, ...]
|
7 |
+
BulgarianLangModel: Tuple[int, ...]
|
8 |
+
Latin5BulgarianModel: _LangModelType
|
9 |
+
Win1251BulgarianModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langcyrillicmodel.pyi
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
KOI8R_char_to_order_map: Tuple[int, ...]
|
6 |
+
win1251_char_to_order_map: Tuple[int, ...]
|
7 |
+
latin5_char_to_order_map: Tuple[int, ...]
|
8 |
+
macCyrillic_char_to_order_map: Tuple[int, ...]
|
9 |
+
IBM855_char_to_order_map: Tuple[int, ...]
|
10 |
+
IBM866_char_to_order_map: Tuple[int, ...]
|
11 |
+
RussianLangModel: Tuple[int, ...]
|
12 |
+
Koi8rModel: _LangModelType
|
13 |
+
Win1251CyrillicModel: _LangModelType
|
14 |
+
Latin5CyrillicModel: _LangModelType
|
15 |
+
MacCyrillicModel: _LangModelType
|
16 |
+
Ibm866Model: _LangModelType
|
17 |
+
Ibm855Model: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langgreekmodel.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
Latin7_char_to_order_map: Tuple[int, ...]
|
6 |
+
win1253_char_to_order_map: Tuple[int, ...]
|
7 |
+
GreekLangModel: Tuple[int, ...]
|
8 |
+
Latin7GreekModel: _LangModelType
|
9 |
+
Win1253GreekModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langhebrewmodel.pyi
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
WIN1255_CHAR_TO_ORDER_MAP: Tuple[int, ...]
|
6 |
+
HEBREW_LANG_MODEL: Tuple[int, ...]
|
7 |
+
Win1255HebrewModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langhungarianmodel.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
Latin2_HungarianCharToOrderMap: Tuple[int, ...]
|
6 |
+
win1250HungarianCharToOrderMap: Tuple[int, ...]
|
7 |
+
HungarianLangModel: Tuple[int, ...]
|
8 |
+
Latin2HungarianModel: _LangModelType
|
9 |
+
Win1250HungarianModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langthaimodel.pyi
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
TIS620CharToOrderMap: Tuple[int, ...]
|
6 |
+
ThaiLangModel: Tuple[int, ...]
|
7 |
+
TIS620ThaiModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/langturkishmodel.pyi
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Tuple
|
2 |
+
|
3 |
+
from . import _LangModelType
|
4 |
+
|
5 |
+
Latin5_TurkishCharToOrderMap: Tuple[int, ...]
|
6 |
+
TurkishLangModel: Tuple[int, ...]
|
7 |
+
Latin5TurkishModel: _LangModelType
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/universaldetector.pyi
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from logging import Logger
|
2 |
+
from typing import Dict, Optional, Pattern
|
3 |
+
from typing_extensions import TypedDict
|
4 |
+
|
5 |
+
class _FinalResultType(TypedDict):
|
6 |
+
encoding: str
|
7 |
+
confidence: float
|
8 |
+
language: str
|
9 |
+
|
10 |
+
class _IntermediateResultType(TypedDict):
|
11 |
+
encoding: Optional[str]
|
12 |
+
confidence: float
|
13 |
+
language: Optional[str]
|
14 |
+
|
15 |
+
class UniversalDetector(object):
|
16 |
+
MINIMUM_THRESHOLD: float
|
17 |
+
HIGH_BYTE_DETECTOR: Pattern[bytes]
|
18 |
+
ESC_DETECTOR: Pattern[bytes]
|
19 |
+
WIN_BYTE_DETECTOR: Pattern[bytes]
|
20 |
+
ISO_WIN_MAP: Dict[str, str]
|
21 |
+
|
22 |
+
result: _IntermediateResultType
|
23 |
+
done: bool
|
24 |
+
lang_filter: int
|
25 |
+
logger: Logger
|
26 |
+
def __init__(self, lang_filter: int = ...) -> None: ...
|
27 |
+
def reset(self) -> None: ...
|
28 |
+
def feed(self, byte_str: bytes) -> None: ...
|
29 |
+
def close(self) -> _FinalResultType: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/chardet/version.pyi
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List
|
2 |
+
|
3 |
+
__version__: str
|
4 |
+
VERSION: List[str]
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/exceptions.pyi
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class AlreadyFinalized(Exception): ...
|
2 |
+
class AlreadyUpdated(Exception): ...
|
3 |
+
class InvalidKey(Exception): ...
|
4 |
+
class InvalidSignature(Exception): ...
|
5 |
+
class InvalidTag(Exception): ...
|
6 |
+
class NotYetFinalized(Exception): ...
|
7 |
+
class UnsupportedAlgorithm(Exception): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/cryptography/fernet.pyi
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List, Optional, Text, Union
|
2 |
+
|
3 |
+
class InvalidToken(Exception): ...
|
4 |
+
|
5 |
+
class Fernet(object):
|
6 |
+
def __init__(self, key: Union[bytes, Text]) -> None: ...
|
7 |
+
def decrypt(self, token: bytes, ttl: Optional[int] = ...) -> bytes: ...
|
8 |
+
# decrypt_at_time accepts None ttl at runtime but it's an implementtion detail and it doesn't really
|
9 |
+
# make sense for the client code to use it like that, so the parameter is typed as int as opposed to
|
10 |
+
# Optional[int].
|
11 |
+
def decrypt_at_time(self, token: bytes, ttl: int, current_time: int) -> bytes: ...
|
12 |
+
def encrypt(self, data: bytes) -> bytes: ...
|
13 |
+
def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: ...
|
14 |
+
def extract_timestamp(self, token: bytes) -> int: ...
|
15 |
+
@classmethod
|
16 |
+
def generate_key(cls) -> bytes: ...
|
17 |
+
|
18 |
+
class MultiFernet(object):
|
19 |
+
def __init__(self, fernets: List[Fernet]) -> None: ...
|
20 |
+
def decrypt(self, token: bytes, ttl: Optional[int] = ...) -> bytes: ...
|
21 |
+
# See a note above on the typing of the ttl parameter.
|
22 |
+
def decrypt_at_time(self, token: bytes, ttl: int, current_time: int) -> bytes: ...
|
23 |
+
def encrypt(self, data: bytes) -> bytes: ...
|
24 |
+
def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: ...
|
25 |
+
def rotate(self, msg: bytes) -> bytes: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/__init__.pyi
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from jinja2.bccache import (
|
2 |
+
BytecodeCache as BytecodeCache,
|
3 |
+
FileSystemBytecodeCache as FileSystemBytecodeCache,
|
4 |
+
MemcachedBytecodeCache as MemcachedBytecodeCache,
|
5 |
+
)
|
6 |
+
from jinja2.environment import Environment as Environment, Template as Template
|
7 |
+
from jinja2.exceptions import (
|
8 |
+
TemplateAssertionError as TemplateAssertionError,
|
9 |
+
TemplateError as TemplateError,
|
10 |
+
TemplateNotFound as TemplateNotFound,
|
11 |
+
TemplatesNotFound as TemplatesNotFound,
|
12 |
+
TemplateSyntaxError as TemplateSyntaxError,
|
13 |
+
UndefinedError as UndefinedError,
|
14 |
+
)
|
15 |
+
from jinja2.filters import (
|
16 |
+
contextfilter as contextfilter,
|
17 |
+
environmentfilter as environmentfilter,
|
18 |
+
evalcontextfilter as evalcontextfilter,
|
19 |
+
)
|
20 |
+
from jinja2.loaders import (
|
21 |
+
BaseLoader as BaseLoader,
|
22 |
+
ChoiceLoader as ChoiceLoader,
|
23 |
+
DictLoader as DictLoader,
|
24 |
+
FileSystemLoader as FileSystemLoader,
|
25 |
+
FunctionLoader as FunctionLoader,
|
26 |
+
ModuleLoader as ModuleLoader,
|
27 |
+
PackageLoader as PackageLoader,
|
28 |
+
PrefixLoader as PrefixLoader,
|
29 |
+
)
|
30 |
+
from jinja2.runtime import (
|
31 |
+
DebugUndefined as DebugUndefined,
|
32 |
+
StrictUndefined as StrictUndefined,
|
33 |
+
Undefined as Undefined,
|
34 |
+
make_logging_undefined as make_logging_undefined,
|
35 |
+
)
|
36 |
+
from jinja2.utils import (
|
37 |
+
Markup as Markup,
|
38 |
+
clear_caches as clear_caches,
|
39 |
+
contextfunction as contextfunction,
|
40 |
+
environmentfunction as environmentfunction,
|
41 |
+
escape as escape,
|
42 |
+
evalcontextfunction as evalcontextfunction,
|
43 |
+
is_undefined as is_undefined,
|
44 |
+
select_autoescape as select_autoescape,
|
45 |
+
)
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_compat.pyi
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
from typing import Any, Optional
|
3 |
+
|
4 |
+
if sys.version_info >= (3,):
|
5 |
+
from urllib.parse import quote_from_bytes
|
6 |
+
|
7 |
+
url_quote = quote_from_bytes
|
8 |
+
else:
|
9 |
+
import urllib
|
10 |
+
|
11 |
+
url_quote = urllib.quote
|
12 |
+
|
13 |
+
PY2: Any
|
14 |
+
PYPY: Any
|
15 |
+
unichr: Any
|
16 |
+
range_type: Any
|
17 |
+
text_type: Any
|
18 |
+
string_types: Any
|
19 |
+
integer_types: Any
|
20 |
+
iterkeys: Any
|
21 |
+
itervalues: Any
|
22 |
+
iteritems: Any
|
23 |
+
NativeStringIO: Any
|
24 |
+
|
25 |
+
def reraise(tp, value, tb: Optional[Any] = ...): ...
|
26 |
+
|
27 |
+
ifilter: Any
|
28 |
+
imap: Any
|
29 |
+
izip: Any
|
30 |
+
intern: Any
|
31 |
+
implements_iterator: Any
|
32 |
+
implements_to_string: Any
|
33 |
+
encode_filename: Any
|
34 |
+
get_next: Any
|
35 |
+
|
36 |
+
def with_metaclass(meta, *bases): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_stringdefs.pyi
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
Cc: str
|
4 |
+
Cf: str
|
5 |
+
Cn: str
|
6 |
+
Co: str
|
7 |
+
Cs: Any
|
8 |
+
Ll: str
|
9 |
+
Lm: str
|
10 |
+
Lo: str
|
11 |
+
Lt: str
|
12 |
+
Lu: str
|
13 |
+
Mc: str
|
14 |
+
Me: str
|
15 |
+
Mn: str
|
16 |
+
Nd: str
|
17 |
+
Nl: str
|
18 |
+
No: str
|
19 |
+
Pc: str
|
20 |
+
Pd: str
|
21 |
+
Pe: str
|
22 |
+
Pf: str
|
23 |
+
Pi: str
|
24 |
+
Po: str
|
25 |
+
Ps: str
|
26 |
+
Sc: str
|
27 |
+
Sk: str
|
28 |
+
Sm: str
|
29 |
+
So: str
|
30 |
+
Zl: str
|
31 |
+
Zp: str
|
32 |
+
Zs: str
|
33 |
+
cats: Any
|
34 |
+
|
35 |
+
def combine(*args): ...
|
36 |
+
|
37 |
+
xid_start: str
|
38 |
+
xid_continue: str
|
39 |
+
|
40 |
+
def allexcept(*args): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/bccache.pyi
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
marshal_dump: Any
|
4 |
+
marshal_load: Any
|
5 |
+
bc_version: int
|
6 |
+
bc_magic: Any
|
7 |
+
|
8 |
+
class Bucket:
|
9 |
+
environment: Any
|
10 |
+
key: Any
|
11 |
+
checksum: Any
|
12 |
+
def __init__(self, environment, key, checksum) -> None: ...
|
13 |
+
code: Any
|
14 |
+
def reset(self): ...
|
15 |
+
def load_bytecode(self, f): ...
|
16 |
+
def write_bytecode(self, f): ...
|
17 |
+
def bytecode_from_string(self, string): ...
|
18 |
+
def bytecode_to_string(self): ...
|
19 |
+
|
20 |
+
class BytecodeCache:
|
21 |
+
def load_bytecode(self, bucket): ...
|
22 |
+
def dump_bytecode(self, bucket): ...
|
23 |
+
def clear(self): ...
|
24 |
+
def get_cache_key(self, name, filename: Optional[Any] = ...): ...
|
25 |
+
def get_source_checksum(self, source): ...
|
26 |
+
def get_bucket(self, environment, name, filename, source): ...
|
27 |
+
def set_bucket(self, bucket): ...
|
28 |
+
|
29 |
+
class FileSystemBytecodeCache(BytecodeCache):
|
30 |
+
directory: Any
|
31 |
+
pattern: Any
|
32 |
+
def __init__(self, directory: Optional[Any] = ..., pattern: str = ...) -> None: ...
|
33 |
+
def load_bytecode(self, bucket): ...
|
34 |
+
def dump_bytecode(self, bucket): ...
|
35 |
+
def clear(self): ...
|
36 |
+
|
37 |
+
class MemcachedBytecodeCache(BytecodeCache):
|
38 |
+
client: Any
|
39 |
+
prefix: Any
|
40 |
+
timeout: Any
|
41 |
+
ignore_memcache_errors: Any
|
42 |
+
def __init__(self, client, prefix: str = ..., timeout: Optional[Any] = ..., ignore_memcache_errors: bool = ...) -> None: ...
|
43 |
+
def load_bytecode(self, bucket): ...
|
44 |
+
def dump_bytecode(self, bucket): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/compiler.pyi
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from keyword import iskeyword as is_python_keyword
|
2 |
+
from typing import Any, Optional
|
3 |
+
|
4 |
+
from jinja2.visitor import NodeVisitor
|
5 |
+
|
6 |
+
operators: Any
|
7 |
+
dict_item_iter: str
|
8 |
+
|
9 |
+
unoptimize_before_dead_code: bool
|
10 |
+
|
11 |
+
def generate(node, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...): ...
|
12 |
+
def has_safe_repr(value): ...
|
13 |
+
def find_undeclared(nodes, names): ...
|
14 |
+
|
15 |
+
class Identifiers:
|
16 |
+
declared: Any
|
17 |
+
outer_undeclared: Any
|
18 |
+
undeclared: Any
|
19 |
+
declared_locally: Any
|
20 |
+
declared_parameter: Any
|
21 |
+
def __init__(self) -> None: ...
|
22 |
+
def add_special(self, name): ...
|
23 |
+
def is_declared(self, name): ...
|
24 |
+
def copy(self): ...
|
25 |
+
|
26 |
+
class Frame:
|
27 |
+
eval_ctx: Any
|
28 |
+
identifiers: Any
|
29 |
+
toplevel: bool
|
30 |
+
rootlevel: bool
|
31 |
+
require_output_check: Any
|
32 |
+
buffer: Any
|
33 |
+
block: Any
|
34 |
+
assigned_names: Any
|
35 |
+
parent: Any
|
36 |
+
def __init__(self, eval_ctx, parent: Optional[Any] = ...) -> None: ...
|
37 |
+
def copy(self): ...
|
38 |
+
def inspect(self, nodes): ...
|
39 |
+
def find_shadowed(self, extra: Any = ...): ...
|
40 |
+
def inner(self): ...
|
41 |
+
def soft(self): ...
|
42 |
+
__copy__: Any
|
43 |
+
|
44 |
+
class VisitorExit(RuntimeError): ...
|
45 |
+
|
46 |
+
class DependencyFinderVisitor(NodeVisitor):
|
47 |
+
filters: Any
|
48 |
+
tests: Any
|
49 |
+
def __init__(self) -> None: ...
|
50 |
+
def visit_Filter(self, node): ...
|
51 |
+
def visit_Test(self, node): ...
|
52 |
+
def visit_Block(self, node): ...
|
53 |
+
|
54 |
+
class UndeclaredNameVisitor(NodeVisitor):
|
55 |
+
names: Any
|
56 |
+
undeclared: Any
|
57 |
+
def __init__(self, names) -> None: ...
|
58 |
+
def visit_Name(self, node): ...
|
59 |
+
def visit_Block(self, node): ...
|
60 |
+
|
61 |
+
class FrameIdentifierVisitor(NodeVisitor):
|
62 |
+
identifiers: Any
|
63 |
+
def __init__(self, identifiers) -> None: ...
|
64 |
+
def visit_Name(self, node): ...
|
65 |
+
def visit_If(self, node): ...
|
66 |
+
def visit_Macro(self, node): ...
|
67 |
+
def visit_Import(self, node): ...
|
68 |
+
def visit_FromImport(self, node): ...
|
69 |
+
def visit_Assign(self, node): ...
|
70 |
+
def visit_For(self, node): ...
|
71 |
+
def visit_CallBlock(self, node): ...
|
72 |
+
def visit_FilterBlock(self, node): ...
|
73 |
+
def visit_AssignBlock(self, node): ...
|
74 |
+
def visit_Scope(self, node): ...
|
75 |
+
def visit_Block(self, node): ...
|
76 |
+
|
77 |
+
class CompilerExit(Exception): ...
|
78 |
+
|
79 |
+
class CodeGenerator(NodeVisitor):
|
80 |
+
environment: Any
|
81 |
+
name: Any
|
82 |
+
filename: Any
|
83 |
+
stream: Any
|
84 |
+
created_block_context: bool
|
85 |
+
defer_init: Any
|
86 |
+
import_aliases: Any
|
87 |
+
blocks: Any
|
88 |
+
extends_so_far: int
|
89 |
+
has_known_extends: bool
|
90 |
+
code_lineno: int
|
91 |
+
tests: Any
|
92 |
+
filters: Any
|
93 |
+
debug_info: Any
|
94 |
+
def __init__(self, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...) -> None: ...
|
95 |
+
def fail(self, msg, lineno): ...
|
96 |
+
def temporary_identifier(self): ...
|
97 |
+
def buffer(self, frame): ...
|
98 |
+
def return_buffer_contents(self, frame): ...
|
99 |
+
def indent(self): ...
|
100 |
+
def outdent(self, step: int = ...): ...
|
101 |
+
def start_write(self, frame, node: Optional[Any] = ...): ...
|
102 |
+
def end_write(self, frame): ...
|
103 |
+
def simple_write(self, s, frame, node: Optional[Any] = ...): ...
|
104 |
+
def blockvisit(self, nodes, frame): ...
|
105 |
+
def write(self, x): ...
|
106 |
+
def writeline(self, x, node: Optional[Any] = ..., extra: int = ...): ...
|
107 |
+
def newline(self, node: Optional[Any] = ..., extra: int = ...): ...
|
108 |
+
def signature(self, node, frame, extra_kwargs: Optional[Any] = ...): ...
|
109 |
+
def pull_locals(self, frame): ...
|
110 |
+
def pull_dependencies(self, nodes): ...
|
111 |
+
def unoptimize_scope(self, frame): ...
|
112 |
+
def push_scope(self, frame, extra_vars: Any = ...): ...
|
113 |
+
def pop_scope(self, aliases, frame): ...
|
114 |
+
def function_scoping(self, node, frame, children: Optional[Any] = ..., find_special: bool = ...): ...
|
115 |
+
def macro_body(self, node, frame, children: Optional[Any] = ...): ...
|
116 |
+
def macro_def(self, node, frame): ...
|
117 |
+
def position(self, node): ...
|
118 |
+
def visit_Template(self, node, frame: Optional[Any] = ...): ...
|
119 |
+
def visit_Block(self, node, frame): ...
|
120 |
+
def visit_Extends(self, node, frame): ...
|
121 |
+
def visit_Include(self, node, frame): ...
|
122 |
+
def visit_Import(self, node, frame): ...
|
123 |
+
def visit_FromImport(self, node, frame): ...
|
124 |
+
def visit_For(self, node, frame): ...
|
125 |
+
def visit_If(self, node, frame): ...
|
126 |
+
def visit_Macro(self, node, frame): ...
|
127 |
+
def visit_CallBlock(self, node, frame): ...
|
128 |
+
def visit_FilterBlock(self, node, frame): ...
|
129 |
+
def visit_ExprStmt(self, node, frame): ...
|
130 |
+
def visit_Output(self, node, frame): ...
|
131 |
+
def make_assignment_frame(self, frame): ...
|
132 |
+
def export_assigned_vars(self, frame, assignment_frame): ...
|
133 |
+
def visit_Assign(self, node, frame): ...
|
134 |
+
def visit_AssignBlock(self, node, frame): ...
|
135 |
+
def visit_Name(self, node, frame): ...
|
136 |
+
def visit_Const(self, node, frame): ...
|
137 |
+
def visit_TemplateData(self, node, frame): ...
|
138 |
+
def visit_Tuple(self, node, frame): ...
|
139 |
+
def visit_List(self, node, frame): ...
|
140 |
+
def visit_Dict(self, node, frame): ...
|
141 |
+
def binop(self, interceptable: bool = ...): ...
|
142 |
+
def uaop(self, interceptable: bool = ...): ...
|
143 |
+
visit_Add: Any
|
144 |
+
visit_Sub: Any
|
145 |
+
visit_Mul: Any
|
146 |
+
visit_Div: Any
|
147 |
+
visit_FloorDiv: Any
|
148 |
+
visit_Pow: Any
|
149 |
+
visit_Mod: Any
|
150 |
+
visit_And: Any
|
151 |
+
visit_Or: Any
|
152 |
+
visit_Pos: Any
|
153 |
+
visit_Neg: Any
|
154 |
+
visit_Not: Any
|
155 |
+
def visit_Concat(self, node, frame): ...
|
156 |
+
def visit_Compare(self, node, frame): ...
|
157 |
+
def visit_Operand(self, node, frame): ...
|
158 |
+
def visit_Getattr(self, node, frame): ...
|
159 |
+
def visit_Getitem(self, node, frame): ...
|
160 |
+
def visit_Slice(self, node, frame): ...
|
161 |
+
def visit_Filter(self, node, frame): ...
|
162 |
+
def visit_Test(self, node, frame): ...
|
163 |
+
def visit_CondExpr(self, node, frame): ...
|
164 |
+
def visit_Call(self, node, frame, forward_caller: bool = ...): ...
|
165 |
+
def visit_Keyword(self, node, frame): ...
|
166 |
+
def visit_MarkSafe(self, node, frame): ...
|
167 |
+
def visit_MarkSafeIfAutoescape(self, node, frame): ...
|
168 |
+
def visit_EnvironmentAttribute(self, node, frame): ...
|
169 |
+
def visit_ExtensionAttribute(self, node, frame): ...
|
170 |
+
def visit_ImportedName(self, node, frame): ...
|
171 |
+
def visit_InternalName(self, node, frame): ...
|
172 |
+
def visit_ContextReference(self, node, frame): ...
|
173 |
+
def visit_Continue(self, node, frame): ...
|
174 |
+
def visit_Break(self, node, frame): ...
|
175 |
+
def visit_Scope(self, node, frame): ...
|
176 |
+
def visit_EvalContextModifier(self, node, frame): ...
|
177 |
+
def visit_ScopedEvalContextModifier(self, node, frame): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/constants.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
LOREM_IPSUM_WORDS: str
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/debug.pyi
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
tproxy: Any
|
4 |
+
raise_helper: str
|
5 |
+
|
6 |
+
class TracebackFrameProxy:
|
7 |
+
tb: Any
|
8 |
+
def __init__(self, tb) -> None: ...
|
9 |
+
@property
|
10 |
+
def tb_next(self): ...
|
11 |
+
def set_next(self, next): ...
|
12 |
+
@property
|
13 |
+
def is_jinja_frame(self): ...
|
14 |
+
def __getattr__(self, name): ...
|
15 |
+
|
16 |
+
def make_frame_proxy(frame): ...
|
17 |
+
|
18 |
+
class ProcessedTraceback:
|
19 |
+
exc_type: Any
|
20 |
+
exc_value: Any
|
21 |
+
frames: Any
|
22 |
+
def __init__(self, exc_type, exc_value, frames) -> None: ...
|
23 |
+
def render_as_text(self, limit: Optional[Any] = ...): ...
|
24 |
+
def render_as_html(self, full: bool = ...): ...
|
25 |
+
@property
|
26 |
+
def is_template_syntax_error(self): ...
|
27 |
+
@property
|
28 |
+
def exc_info(self): ...
|
29 |
+
@property
|
30 |
+
def standard_exc_info(self): ...
|
31 |
+
|
32 |
+
def make_traceback(exc_info, source_hint: Optional[Any] = ...): ...
|
33 |
+
def translate_syntax_error(error, source: Optional[Any] = ...): ...
|
34 |
+
def translate_exception(exc_info, initial_skip: int = ...): ...
|
35 |
+
def fake_exc_info(exc_info, filename, lineno): ...
|
36 |
+
|
37 |
+
tb_set_next: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/defaults.pyi
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Optional
|
2 |
+
|
3 |
+
from jinja2.filters import FILTERS
|
4 |
+
from jinja2.tests import TESTS
|
5 |
+
|
6 |
+
DEFAULT_FILTERS = FILTERS
|
7 |
+
DEFAULT_TESTS = TESTS
|
8 |
+
|
9 |
+
BLOCK_START_STRING: str
|
10 |
+
BLOCK_END_STRING: str
|
11 |
+
VARIABLE_START_STRING: str
|
12 |
+
VARIABLE_END_STRING: str
|
13 |
+
COMMENT_START_STRING: str
|
14 |
+
COMMENT_END_STRING: str
|
15 |
+
LINE_STATEMENT_PREFIX: Optional[str]
|
16 |
+
LINE_COMMENT_PREFIX: Optional[str]
|
17 |
+
TRIM_BLOCKS: bool
|
18 |
+
LSTRIP_BLOCKS: bool
|
19 |
+
NEWLINE_SEQUENCE: str
|
20 |
+
KEEP_TRAILING_NEWLINE: bool
|
21 |
+
DEFAULT_NAMESPACE: Dict[str, Any]
|
22 |
+
DEFAULT_POLICIES = Dict[str, Any]
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/environment.pyi
ADDED
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Sequence, Text, Type, Union
|
3 |
+
|
4 |
+
from .bccache import BytecodeCache
|
5 |
+
from .loaders import BaseLoader
|
6 |
+
from .runtime import Context, Undefined
|
7 |
+
|
8 |
+
if sys.version_info >= (3, 6):
|
9 |
+
from typing import AsyncIterator, Awaitable
|
10 |
+
|
11 |
+
def get_spontaneous_environment(*args): ...
|
12 |
+
def create_cache(size): ...
|
13 |
+
def copy_cache(cache): ...
|
14 |
+
def load_extensions(environment, extensions): ...
|
15 |
+
|
16 |
+
class Environment:
|
17 |
+
sandboxed: bool
|
18 |
+
overlayed: bool
|
19 |
+
linked_to: Any
|
20 |
+
shared: bool
|
21 |
+
exception_handler: Any
|
22 |
+
exception_formatter: Any
|
23 |
+
code_generator_class: Any
|
24 |
+
context_class: Any
|
25 |
+
block_start_string: Text
|
26 |
+
block_end_string: Text
|
27 |
+
variable_start_string: Text
|
28 |
+
variable_end_string: Text
|
29 |
+
comment_start_string: Text
|
30 |
+
comment_end_string: Text
|
31 |
+
line_statement_prefix: Text
|
32 |
+
line_comment_prefix: Text
|
33 |
+
trim_blocks: bool
|
34 |
+
lstrip_blocks: Any
|
35 |
+
newline_sequence: Text
|
36 |
+
keep_trailing_newline: bool
|
37 |
+
undefined: Type[Undefined]
|
38 |
+
optimized: bool
|
39 |
+
finalize: Callable[..., Any]
|
40 |
+
autoescape: Any
|
41 |
+
filters: Any
|
42 |
+
tests: Any
|
43 |
+
globals: Dict[str, Any]
|
44 |
+
loader: BaseLoader
|
45 |
+
cache: Any
|
46 |
+
bytecode_cache: BytecodeCache
|
47 |
+
auto_reload: bool
|
48 |
+
extensions: List[Any]
|
49 |
+
def __init__(
|
50 |
+
self,
|
51 |
+
block_start_string: Text = ...,
|
52 |
+
block_end_string: Text = ...,
|
53 |
+
variable_start_string: Text = ...,
|
54 |
+
variable_end_string: Text = ...,
|
55 |
+
comment_start_string: Any = ...,
|
56 |
+
comment_end_string: Text = ...,
|
57 |
+
line_statement_prefix: Text = ...,
|
58 |
+
line_comment_prefix: Text = ...,
|
59 |
+
trim_blocks: bool = ...,
|
60 |
+
lstrip_blocks: bool = ...,
|
61 |
+
newline_sequence: Text = ...,
|
62 |
+
keep_trailing_newline: bool = ...,
|
63 |
+
extensions: List[Any] = ...,
|
64 |
+
optimized: bool = ...,
|
65 |
+
undefined: Type[Undefined] = ...,
|
66 |
+
finalize: Optional[Callable[..., Any]] = ...,
|
67 |
+
autoescape: Union[bool, Callable[[str], bool]] = ...,
|
68 |
+
loader: Optional[BaseLoader] = ...,
|
69 |
+
cache_size: int = ...,
|
70 |
+
auto_reload: bool = ...,
|
71 |
+
bytecode_cache: Optional[BytecodeCache] = ...,
|
72 |
+
enable_async: bool = ...,
|
73 |
+
) -> None: ...
|
74 |
+
def add_extension(self, extension): ...
|
75 |
+
def extend(self, **attributes): ...
|
76 |
+
def overlay(
|
77 |
+
self,
|
78 |
+
block_start_string: Text = ...,
|
79 |
+
block_end_string: Text = ...,
|
80 |
+
variable_start_string: Text = ...,
|
81 |
+
variable_end_string: Text = ...,
|
82 |
+
comment_start_string: Any = ...,
|
83 |
+
comment_end_string: Text = ...,
|
84 |
+
line_statement_prefix: Text = ...,
|
85 |
+
line_comment_prefix: Text = ...,
|
86 |
+
trim_blocks: bool = ...,
|
87 |
+
lstrip_blocks: bool = ...,
|
88 |
+
extensions: List[Any] = ...,
|
89 |
+
optimized: bool = ...,
|
90 |
+
undefined: Type[Undefined] = ...,
|
91 |
+
finalize: Callable[..., Any] = ...,
|
92 |
+
autoescape: bool = ...,
|
93 |
+
loader: Optional[BaseLoader] = ...,
|
94 |
+
cache_size: int = ...,
|
95 |
+
auto_reload: bool = ...,
|
96 |
+
bytecode_cache: Optional[BytecodeCache] = ...,
|
97 |
+
): ...
|
98 |
+
lexer: Any
|
99 |
+
def iter_extensions(self): ...
|
100 |
+
def getitem(self, obj, argument): ...
|
101 |
+
def getattr(self, obj, attribute): ...
|
102 |
+
def call_filter(
|
103 |
+
self,
|
104 |
+
name,
|
105 |
+
value,
|
106 |
+
args: Optional[Any] = ...,
|
107 |
+
kwargs: Optional[Any] = ...,
|
108 |
+
context: Optional[Any] = ...,
|
109 |
+
eval_ctx: Optional[Any] = ...,
|
110 |
+
): ...
|
111 |
+
def call_test(self, name, value, args: Optional[Any] = ..., kwargs: Optional[Any] = ...): ...
|
112 |
+
def parse(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
|
113 |
+
def lex(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
|
114 |
+
def preprocess(self, source: Text, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
|
115 |
+
def compile(
|
116 |
+
self, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., raw: bool = ..., defer_init: bool = ...
|
117 |
+
): ...
|
118 |
+
def compile_expression(self, source: Text, undefined_to_none: bool = ...): ...
|
119 |
+
def compile_templates(
|
120 |
+
self,
|
121 |
+
target,
|
122 |
+
extensions: Optional[Any] = ...,
|
123 |
+
filter_func: Optional[Any] = ...,
|
124 |
+
zip: str = ...,
|
125 |
+
log_function: Optional[Any] = ...,
|
126 |
+
ignore_errors: bool = ...,
|
127 |
+
py_compile: bool = ...,
|
128 |
+
): ...
|
129 |
+
def list_templates(self, extensions: Optional[Any] = ..., filter_func: Optional[Any] = ...): ...
|
130 |
+
def handle_exception(self, exc_info: Optional[Any] = ..., rendered: bool = ..., source_hint: Optional[Any] = ...): ...
|
131 |
+
def join_path(self, template: Union[Template, Text], parent: Text) -> Text: ...
|
132 |
+
def get_template(
|
133 |
+
self, name: Union[Template, Text], parent: Optional[Text] = ..., globals: Optional[Any] = ...
|
134 |
+
) -> Template: ...
|
135 |
+
def select_template(
|
136 |
+
self, names: Sequence[Union[Template, Text]], parent: Optional[Text] = ..., globals: Optional[Dict[str, Any]] = ...
|
137 |
+
) -> Template: ...
|
138 |
+
def get_or_select_template(
|
139 |
+
self,
|
140 |
+
template_name_or_list: Union[Union[Template, Text], Sequence[Union[Template, Text]]],
|
141 |
+
parent: Optional[Text] = ...,
|
142 |
+
globals: Optional[Dict[str, Any]] = ...,
|
143 |
+
) -> Template: ...
|
144 |
+
def from_string(
|
145 |
+
self, source: Text, globals: Optional[Dict[str, Any]] = ..., template_class: Optional[Type[Template]] = ...
|
146 |
+
) -> Template: ...
|
147 |
+
def make_globals(self, d: Optional[Dict[str, Any]]) -> Dict[str, Any]: ...
|
148 |
+
# Frequently added extensions are included here:
|
149 |
+
# from InternationalizationExtension:
|
150 |
+
def install_gettext_translations(self, translations: Any, newstyle: Optional[bool] = ...): ...
|
151 |
+
def install_null_translations(self, newstyle: Optional[bool] = ...): ...
|
152 |
+
def install_gettext_callables(
|
153 |
+
self, gettext: Callable[..., Any], ngettext: Callable[..., Any], newstyle: Optional[bool] = ...
|
154 |
+
): ...
|
155 |
+
def uninstall_gettext_translations(self, translations: Any): ...
|
156 |
+
def extract_translations(self, source: Any, gettext_functions: Any): ...
|
157 |
+
newstyle_gettext: bool
|
158 |
+
|
159 |
+
class Template:
|
160 |
+
name: Optional[str]
|
161 |
+
filename: Optional[str]
|
162 |
+
def __new__(
|
163 |
+
cls,
|
164 |
+
source,
|
165 |
+
block_start_string: Any = ...,
|
166 |
+
block_end_string: Any = ...,
|
167 |
+
variable_start_string: Any = ...,
|
168 |
+
variable_end_string: Any = ...,
|
169 |
+
comment_start_string: Any = ...,
|
170 |
+
comment_end_string: Any = ...,
|
171 |
+
line_statement_prefix: Any = ...,
|
172 |
+
line_comment_prefix: Any = ...,
|
173 |
+
trim_blocks: Any = ...,
|
174 |
+
lstrip_blocks: Any = ...,
|
175 |
+
newline_sequence: Any = ...,
|
176 |
+
keep_trailing_newline: Any = ...,
|
177 |
+
extensions: Any = ...,
|
178 |
+
optimized: bool = ...,
|
179 |
+
undefined: Any = ...,
|
180 |
+
finalize: Optional[Any] = ...,
|
181 |
+
autoescape: bool = ...,
|
182 |
+
): ...
|
183 |
+
environment: Environment = ...
|
184 |
+
@classmethod
|
185 |
+
def from_code(cls, environment, code, globals, uptodate: Optional[Any] = ...): ...
|
186 |
+
@classmethod
|
187 |
+
def from_module_dict(cls, environment, module_dict, globals): ...
|
188 |
+
def render(self, *args, **kwargs) -> Text: ...
|
189 |
+
def stream(self, *args, **kwargs) -> TemplateStream: ...
|
190 |
+
def generate(self, *args, **kwargs) -> Iterator[Text]: ...
|
191 |
+
def new_context(
|
192 |
+
self, vars: Optional[Dict[str, Any]] = ..., shared: bool = ..., locals: Optional[Dict[str, Any]] = ...
|
193 |
+
) -> Context: ...
|
194 |
+
def make_module(
|
195 |
+
self, vars: Optional[Dict[str, Any]] = ..., shared: bool = ..., locals: Optional[Dict[str, Any]] = ...
|
196 |
+
) -> Context: ...
|
197 |
+
@property
|
198 |
+
def module(self) -> Any: ...
|
199 |
+
def get_corresponding_lineno(self, lineno): ...
|
200 |
+
@property
|
201 |
+
def is_up_to_date(self) -> bool: ...
|
202 |
+
@property
|
203 |
+
def debug_info(self): ...
|
204 |
+
if sys.version_info >= (3, 6):
|
205 |
+
def render_async(self, *args, **kwargs) -> Awaitable[Text]: ...
|
206 |
+
def generate_async(self, *args, **kwargs) -> AsyncIterator[Text]: ...
|
207 |
+
|
208 |
+
class TemplateModule:
|
209 |
+
__name__: Any
|
210 |
+
def __init__(self, template, context) -> None: ...
|
211 |
+
def __html__(self): ...
|
212 |
+
|
213 |
+
class TemplateExpression:
|
214 |
+
def __init__(self, template, undefined_to_none) -> None: ...
|
215 |
+
def __call__(self, *args, **kwargs): ...
|
216 |
+
|
217 |
+
class TemplateStream:
|
218 |
+
def __init__(self, gen) -> None: ...
|
219 |
+
def dump(self, fp, encoding: Optional[Text] = ..., errors: Text = ...): ...
|
220 |
+
buffered: bool
|
221 |
+
def disable_buffering(self) -> None: ...
|
222 |
+
def enable_buffering(self, size: int = ...) -> None: ...
|
223 |
+
def __iter__(self): ...
|
224 |
+
def __next__(self): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/exceptions.pyi
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional, Text
|
2 |
+
|
3 |
+
class TemplateError(Exception):
|
4 |
+
def __init__(self, message: Optional[Text] = ...) -> None: ...
|
5 |
+
@property
|
6 |
+
def message(self): ...
|
7 |
+
def __unicode__(self): ...
|
8 |
+
|
9 |
+
class TemplateNotFound(IOError, LookupError, TemplateError):
|
10 |
+
message: Any
|
11 |
+
name: Any
|
12 |
+
templates: Any
|
13 |
+
def __init__(self, name, message: Optional[Text] = ...) -> None: ...
|
14 |
+
|
15 |
+
class TemplatesNotFound(TemplateNotFound):
|
16 |
+
templates: Any
|
17 |
+
def __init__(self, names: Any = ..., message: Optional[Text] = ...) -> None: ...
|
18 |
+
|
19 |
+
class TemplateSyntaxError(TemplateError):
|
20 |
+
lineno: int
|
21 |
+
name: Text
|
22 |
+
filename: Text
|
23 |
+
source: Text
|
24 |
+
translated: bool
|
25 |
+
def __init__(self, message: Text, lineno: int, name: Optional[Text] = ..., filename: Optional[Text] = ...) -> None: ...
|
26 |
+
|
27 |
+
class TemplateAssertionError(TemplateSyntaxError): ...
|
28 |
+
class TemplateRuntimeError(TemplateError): ...
|
29 |
+
class UndefinedError(TemplateRuntimeError): ...
|
30 |
+
class SecurityError(TemplateRuntimeError): ...
|
31 |
+
class FilterArgumentError(TemplateRuntimeError): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/ext.pyi
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
GETTEXT_FUNCTIONS: Any
|
4 |
+
|
5 |
+
class ExtensionRegistry(type):
|
6 |
+
def __new__(cls, name, bases, d): ...
|
7 |
+
|
8 |
+
class Extension:
|
9 |
+
tags: Any
|
10 |
+
priority: int
|
11 |
+
environment: Any
|
12 |
+
def __init__(self, environment) -> None: ...
|
13 |
+
def bind(self, environment): ...
|
14 |
+
def preprocess(self, source, name, filename: Optional[Any] = ...): ...
|
15 |
+
def filter_stream(self, stream): ...
|
16 |
+
def parse(self, parser): ...
|
17 |
+
def attr(self, name, lineno: Optional[Any] = ...): ...
|
18 |
+
def call_method(
|
19 |
+
self,
|
20 |
+
name,
|
21 |
+
args: Optional[Any] = ...,
|
22 |
+
kwargs: Optional[Any] = ...,
|
23 |
+
dyn_args: Optional[Any] = ...,
|
24 |
+
dyn_kwargs: Optional[Any] = ...,
|
25 |
+
lineno: Optional[Any] = ...,
|
26 |
+
): ...
|
27 |
+
|
28 |
+
class InternationalizationExtension(Extension):
|
29 |
+
tags: Any
|
30 |
+
def __init__(self, environment) -> None: ...
|
31 |
+
def parse(self, parser): ...
|
32 |
+
|
33 |
+
class ExprStmtExtension(Extension):
|
34 |
+
tags: Any
|
35 |
+
def parse(self, parser): ...
|
36 |
+
|
37 |
+
class LoopControlExtension(Extension):
|
38 |
+
tags: Any
|
39 |
+
def parse(self, parser): ...
|
40 |
+
|
41 |
+
class WithExtension(Extension):
|
42 |
+
tags: Any
|
43 |
+
def parse(self, parser): ...
|
44 |
+
|
45 |
+
class AutoEscapeExtension(Extension):
|
46 |
+
tags: Any
|
47 |
+
def parse(self, parser): ...
|
48 |
+
|
49 |
+
def extract_from_ast(node, gettext_functions: Any = ..., babel_style: bool = ...): ...
|
50 |
+
|
51 |
+
class _CommentFinder:
|
52 |
+
tokens: Any
|
53 |
+
comment_tags: Any
|
54 |
+
offset: int
|
55 |
+
last_lineno: int
|
56 |
+
def __init__(self, tokens, comment_tags) -> None: ...
|
57 |
+
def find_backwards(self, offset): ...
|
58 |
+
def find_comments(self, lineno): ...
|
59 |
+
|
60 |
+
def babel_extract(fileobj, keywords, comment_tags, options): ...
|
61 |
+
|
62 |
+
i18n: Any
|
63 |
+
do: Any
|
64 |
+
loopcontrols: Any
|
65 |
+
with_: Any
|
66 |
+
autoescape: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/filters.pyi
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, NamedTuple, Optional
|
2 |
+
|
3 |
+
def contextfilter(f): ...
|
4 |
+
def evalcontextfilter(f): ...
|
5 |
+
def environmentfilter(f): ...
|
6 |
+
def make_attrgetter(environment, attribute): ...
|
7 |
+
def do_forceescape(value): ...
|
8 |
+
def do_urlencode(value): ...
|
9 |
+
def do_replace(eval_ctx, s, old, new, count: Optional[Any] = ...): ...
|
10 |
+
def do_upper(s): ...
|
11 |
+
def do_lower(s): ...
|
12 |
+
def do_xmlattr(_eval_ctx, d, autospace: bool = ...): ...
|
13 |
+
def do_capitalize(s): ...
|
14 |
+
def do_title(s): ...
|
15 |
+
def do_dictsort(value, case_sensitive: bool = ..., by: str = ...): ...
|
16 |
+
def do_sort(environment, value, reverse: bool = ..., case_sensitive: bool = ..., attribute: Optional[Any] = ...): ...
|
17 |
+
def do_default(value, default_value: str = ..., boolean: bool = ...): ...
|
18 |
+
def do_join(eval_ctx, value, d: str = ..., attribute: Optional[Any] = ...): ...
|
19 |
+
def do_center(value, width: int = ...): ...
|
20 |
+
def do_first(environment, seq): ...
|
21 |
+
def do_last(environment, seq): ...
|
22 |
+
def do_random(environment, seq): ...
|
23 |
+
def do_filesizeformat(value, binary: bool = ...): ...
|
24 |
+
def do_pprint(value, verbose: bool = ...): ...
|
25 |
+
def do_urlize(eval_ctx, value, trim_url_limit: Optional[Any] = ..., nofollow: bool = ..., target: Optional[Any] = ...): ...
|
26 |
+
def do_indent(s, width: int = ..., indentfirst: bool = ...): ...
|
27 |
+
def do_truncate(s, length: int = ..., killwords: bool = ..., end: str = ...): ...
|
28 |
+
def do_wordwrap(environment, s, width: int = ..., break_long_words: bool = ..., wrapstring: Optional[Any] = ...): ...
|
29 |
+
def do_wordcount(s): ...
|
30 |
+
def do_int(value, default: int = ..., base: int = ...): ...
|
31 |
+
def do_float(value, default: float = ...): ...
|
32 |
+
def do_format(value, *args, **kwargs): ...
|
33 |
+
def do_trim(value): ...
|
34 |
+
def do_striptags(value): ...
|
35 |
+
def do_slice(value, slices, fill_with: Optional[Any] = ...): ...
|
36 |
+
def do_batch(value, linecount, fill_with: Optional[Any] = ...): ...
|
37 |
+
def do_round(value, precision: int = ..., method: str = ...): ...
|
38 |
+
def do_groupby(environment, value, attribute): ...
|
39 |
+
|
40 |
+
class _GroupTuple(NamedTuple):
|
41 |
+
grouper: Any
|
42 |
+
list: Any
|
43 |
+
|
44 |
+
def do_sum(environment, iterable, attribute: Optional[Any] = ..., start: int = ...): ...
|
45 |
+
def do_list(value): ...
|
46 |
+
def do_mark_safe(value): ...
|
47 |
+
def do_mark_unsafe(value): ...
|
48 |
+
def do_reverse(value): ...
|
49 |
+
def do_attr(environment, obj, name): ...
|
50 |
+
def do_map(*args, **kwargs): ...
|
51 |
+
def do_select(*args, **kwargs): ...
|
52 |
+
def do_reject(*args, **kwargs): ...
|
53 |
+
def do_selectattr(*args, **kwargs): ...
|
54 |
+
def do_rejectattr(*args, **kwargs): ...
|
55 |
+
|
56 |
+
FILTERS: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/lexer.pyi
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional, Tuple
|
2 |
+
|
3 |
+
whitespace_re: Any
|
4 |
+
string_re: Any
|
5 |
+
integer_re: Any
|
6 |
+
name_re: Any
|
7 |
+
float_re: Any
|
8 |
+
newline_re: Any
|
9 |
+
TOKEN_ADD: Any
|
10 |
+
TOKEN_ASSIGN: Any
|
11 |
+
TOKEN_COLON: Any
|
12 |
+
TOKEN_COMMA: Any
|
13 |
+
TOKEN_DIV: Any
|
14 |
+
TOKEN_DOT: Any
|
15 |
+
TOKEN_EQ: Any
|
16 |
+
TOKEN_FLOORDIV: Any
|
17 |
+
TOKEN_GT: Any
|
18 |
+
TOKEN_GTEQ: Any
|
19 |
+
TOKEN_LBRACE: Any
|
20 |
+
TOKEN_LBRACKET: Any
|
21 |
+
TOKEN_LPAREN: Any
|
22 |
+
TOKEN_LT: Any
|
23 |
+
TOKEN_LTEQ: Any
|
24 |
+
TOKEN_MOD: Any
|
25 |
+
TOKEN_MUL: Any
|
26 |
+
TOKEN_NE: Any
|
27 |
+
TOKEN_PIPE: Any
|
28 |
+
TOKEN_POW: Any
|
29 |
+
TOKEN_RBRACE: Any
|
30 |
+
TOKEN_RBRACKET: Any
|
31 |
+
TOKEN_RPAREN: Any
|
32 |
+
TOKEN_SEMICOLON: Any
|
33 |
+
TOKEN_SUB: Any
|
34 |
+
TOKEN_TILDE: Any
|
35 |
+
TOKEN_WHITESPACE: Any
|
36 |
+
TOKEN_FLOAT: Any
|
37 |
+
TOKEN_INTEGER: Any
|
38 |
+
TOKEN_NAME: Any
|
39 |
+
TOKEN_STRING: Any
|
40 |
+
TOKEN_OPERATOR: Any
|
41 |
+
TOKEN_BLOCK_BEGIN: Any
|
42 |
+
TOKEN_BLOCK_END: Any
|
43 |
+
TOKEN_VARIABLE_BEGIN: Any
|
44 |
+
TOKEN_VARIABLE_END: Any
|
45 |
+
TOKEN_RAW_BEGIN: Any
|
46 |
+
TOKEN_RAW_END: Any
|
47 |
+
TOKEN_COMMENT_BEGIN: Any
|
48 |
+
TOKEN_COMMENT_END: Any
|
49 |
+
TOKEN_COMMENT: Any
|
50 |
+
TOKEN_LINESTATEMENT_BEGIN: Any
|
51 |
+
TOKEN_LINESTATEMENT_END: Any
|
52 |
+
TOKEN_LINECOMMENT_BEGIN: Any
|
53 |
+
TOKEN_LINECOMMENT_END: Any
|
54 |
+
TOKEN_LINECOMMENT: Any
|
55 |
+
TOKEN_DATA: Any
|
56 |
+
TOKEN_INITIAL: Any
|
57 |
+
TOKEN_EOF: Any
|
58 |
+
operators: Any
|
59 |
+
reverse_operators: Any
|
60 |
+
operator_re: Any
|
61 |
+
ignored_tokens: Any
|
62 |
+
ignore_if_empty: Any
|
63 |
+
|
64 |
+
def describe_token(token): ...
|
65 |
+
def describe_token_expr(expr): ...
|
66 |
+
def count_newlines(value): ...
|
67 |
+
def compile_rules(environment): ...
|
68 |
+
|
69 |
+
class Failure:
|
70 |
+
message: Any
|
71 |
+
error_class: Any
|
72 |
+
def __init__(self, message, cls: Any = ...) -> None: ...
|
73 |
+
def __call__(self, lineno, filename): ...
|
74 |
+
|
75 |
+
class Token(Tuple[int, Any, Any]):
|
76 |
+
lineno: Any
|
77 |
+
type: Any
|
78 |
+
value: Any
|
79 |
+
def __new__(cls, lineno, type, value): ...
|
80 |
+
def test(self, expr): ...
|
81 |
+
def test_any(self, *iterable): ...
|
82 |
+
|
83 |
+
class TokenStreamIterator:
|
84 |
+
stream: Any
|
85 |
+
def __init__(self, stream) -> None: ...
|
86 |
+
def __iter__(self): ...
|
87 |
+
def __next__(self): ...
|
88 |
+
|
89 |
+
class TokenStream:
|
90 |
+
name: Any
|
91 |
+
filename: Any
|
92 |
+
closed: bool
|
93 |
+
current: Any
|
94 |
+
def __init__(self, generator, name, filename) -> None: ...
|
95 |
+
def __iter__(self): ...
|
96 |
+
def __bool__(self): ...
|
97 |
+
__nonzero__: Any
|
98 |
+
eos: Any
|
99 |
+
def push(self, token): ...
|
100 |
+
def look(self): ...
|
101 |
+
def skip(self, n: int = ...): ...
|
102 |
+
def next_if(self, expr): ...
|
103 |
+
def skip_if(self, expr): ...
|
104 |
+
def __next__(self): ...
|
105 |
+
def close(self): ...
|
106 |
+
def expect(self, expr): ...
|
107 |
+
|
108 |
+
def get_lexer(environment): ...
|
109 |
+
|
110 |
+
class Lexer:
|
111 |
+
newline_sequence: Any
|
112 |
+
keep_trailing_newline: Any
|
113 |
+
rules: Any
|
114 |
+
def __init__(self, environment) -> None: ...
|
115 |
+
def tokenize(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
|
116 |
+
def wrap(self, stream, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
|
117 |
+
def tokeniter(self, source, name, filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/loaders.pyi
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
from types import ModuleType
|
3 |
+
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
|
4 |
+
|
5 |
+
from .environment import Environment
|
6 |
+
|
7 |
+
if sys.version_info >= (3, 7):
|
8 |
+
from os import PathLike
|
9 |
+
|
10 |
+
_SearchPath = Union[Text, PathLike[str], Iterable[Union[Text, PathLike[str]]]]
|
11 |
+
else:
|
12 |
+
_SearchPath = Union[Text, Iterable[Text]]
|
13 |
+
|
14 |
+
def split_template_path(template: Text) -> List[Text]: ...
|
15 |
+
|
16 |
+
class BaseLoader:
|
17 |
+
has_source_access: bool
|
18 |
+
def get_source(self, environment, template): ...
|
19 |
+
def list_templates(self): ...
|
20 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
21 |
+
|
22 |
+
class FileSystemLoader(BaseLoader):
|
23 |
+
searchpath: Text
|
24 |
+
encoding: Any
|
25 |
+
followlinks: Any
|
26 |
+
def __init__(self, searchpath: _SearchPath, encoding: Text = ..., followlinks: bool = ...) -> None: ...
|
27 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
28 |
+
def list_templates(self): ...
|
29 |
+
|
30 |
+
class PackageLoader(BaseLoader):
|
31 |
+
encoding: Text
|
32 |
+
manager: Any
|
33 |
+
filesystem_bound: Any
|
34 |
+
provider: Any
|
35 |
+
package_path: Any
|
36 |
+
def __init__(self, package_name: Text, package_path: Text = ..., encoding: Text = ...) -> None: ...
|
37 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
38 |
+
def list_templates(self): ...
|
39 |
+
|
40 |
+
class DictLoader(BaseLoader):
|
41 |
+
mapping: Any
|
42 |
+
def __init__(self, mapping) -> None: ...
|
43 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
44 |
+
def list_templates(self): ...
|
45 |
+
|
46 |
+
class FunctionLoader(BaseLoader):
|
47 |
+
load_func: Any
|
48 |
+
def __init__(self, load_func) -> None: ...
|
49 |
+
def get_source(
|
50 |
+
self, environment: Environment, template: Text
|
51 |
+
) -> Tuple[Text, Optional[Text], Optional[Callable[..., Any]]]: ...
|
52 |
+
|
53 |
+
class PrefixLoader(BaseLoader):
|
54 |
+
mapping: Any
|
55 |
+
delimiter: Any
|
56 |
+
def __init__(self, mapping, delimiter: str = ...) -> None: ...
|
57 |
+
def get_loader(self, template): ...
|
58 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
59 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
60 |
+
def list_templates(self): ...
|
61 |
+
|
62 |
+
class ChoiceLoader(BaseLoader):
|
63 |
+
loaders: Any
|
64 |
+
def __init__(self, loaders) -> None: ...
|
65 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
66 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
67 |
+
def list_templates(self): ...
|
68 |
+
|
69 |
+
class _TemplateModule(ModuleType): ...
|
70 |
+
|
71 |
+
class ModuleLoader(BaseLoader):
|
72 |
+
has_source_access: bool
|
73 |
+
module: Any
|
74 |
+
package_name: Any
|
75 |
+
def __init__(self, path) -> None: ...
|
76 |
+
@staticmethod
|
77 |
+
def get_template_key(name): ...
|
78 |
+
@staticmethod
|
79 |
+
def get_module_filename(name): ...
|
80 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/meta.pyi
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from jinja2.compiler import CodeGenerator
|
4 |
+
|
5 |
+
class TrackingCodeGenerator(CodeGenerator):
|
6 |
+
undeclared_identifiers: Any
|
7 |
+
def __init__(self, environment) -> None: ...
|
8 |
+
def write(self, x): ...
|
9 |
+
def pull_locals(self, frame): ...
|
10 |
+
|
11 |
+
def find_undeclared_variables(ast): ...
|
12 |
+
def find_referenced_templates(ast): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/nodes.pyi
ADDED
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import typing
|
2 |
+
from typing import Any, Optional
|
3 |
+
|
4 |
+
class Impossible(Exception): ...
|
5 |
+
|
6 |
+
class NodeType(type):
|
7 |
+
def __new__(cls, name, bases, d): ...
|
8 |
+
|
9 |
+
class EvalContext:
|
10 |
+
environment: Any
|
11 |
+
autoescape: Any
|
12 |
+
volatile: bool
|
13 |
+
def __init__(self, environment, template_name: Optional[Any] = ...) -> None: ...
|
14 |
+
def save(self): ...
|
15 |
+
def revert(self, old): ...
|
16 |
+
|
17 |
+
def get_eval_context(node, ctx): ...
|
18 |
+
|
19 |
+
class Node:
|
20 |
+
fields: Any
|
21 |
+
attributes: Any
|
22 |
+
abstract: bool
|
23 |
+
def __init__(self, *fields, **attributes) -> None: ...
|
24 |
+
def iter_fields(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
|
25 |
+
def iter_child_nodes(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
|
26 |
+
def find(self, node_type): ...
|
27 |
+
def find_all(self, node_type): ...
|
28 |
+
def set_ctx(self, ctx): ...
|
29 |
+
def set_lineno(self, lineno, override: bool = ...): ...
|
30 |
+
def set_environment(self, environment): ...
|
31 |
+
def __eq__(self, other): ...
|
32 |
+
def __ne__(self, other): ...
|
33 |
+
__hash__: Any
|
34 |
+
|
35 |
+
class Stmt(Node):
|
36 |
+
abstract: bool
|
37 |
+
|
38 |
+
class Helper(Node):
|
39 |
+
abstract: bool
|
40 |
+
|
41 |
+
class Template(Node):
|
42 |
+
fields: Any
|
43 |
+
|
44 |
+
class Output(Stmt):
|
45 |
+
fields: Any
|
46 |
+
|
47 |
+
class Extends(Stmt):
|
48 |
+
fields: Any
|
49 |
+
|
50 |
+
class For(Stmt):
|
51 |
+
fields: Any
|
52 |
+
|
53 |
+
class If(Stmt):
|
54 |
+
fields: Any
|
55 |
+
|
56 |
+
class Macro(Stmt):
|
57 |
+
fields: Any
|
58 |
+
name: str
|
59 |
+
args: typing.List[Any]
|
60 |
+
defaults: typing.List[Any]
|
61 |
+
body: typing.List[Any]
|
62 |
+
|
63 |
+
class CallBlock(Stmt):
|
64 |
+
fields: Any
|
65 |
+
|
66 |
+
class FilterBlock(Stmt):
|
67 |
+
fields: Any
|
68 |
+
|
69 |
+
class Block(Stmt):
|
70 |
+
fields: Any
|
71 |
+
|
72 |
+
class Include(Stmt):
|
73 |
+
fields: Any
|
74 |
+
|
75 |
+
class Import(Stmt):
|
76 |
+
fields: Any
|
77 |
+
|
78 |
+
class FromImport(Stmt):
|
79 |
+
fields: Any
|
80 |
+
|
81 |
+
class ExprStmt(Stmt):
|
82 |
+
fields: Any
|
83 |
+
|
84 |
+
class Assign(Stmt):
|
85 |
+
fields: Any
|
86 |
+
|
87 |
+
class AssignBlock(Stmt):
|
88 |
+
fields: Any
|
89 |
+
|
90 |
+
class Expr(Node):
|
91 |
+
abstract: bool
|
92 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
93 |
+
def can_assign(self): ...
|
94 |
+
|
95 |
+
class BinExpr(Expr):
|
96 |
+
fields: Any
|
97 |
+
operator: Any
|
98 |
+
abstract: bool
|
99 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
100 |
+
|
101 |
+
class UnaryExpr(Expr):
|
102 |
+
fields: Any
|
103 |
+
operator: Any
|
104 |
+
abstract: bool
|
105 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
106 |
+
|
107 |
+
class Name(Expr):
|
108 |
+
fields: Any
|
109 |
+
def can_assign(self): ...
|
110 |
+
|
111 |
+
class Literal(Expr):
|
112 |
+
abstract: bool
|
113 |
+
|
114 |
+
class Const(Literal):
|
115 |
+
fields: Any
|
116 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
117 |
+
@classmethod
|
118 |
+
def from_untrusted(cls, value, lineno: Optional[Any] = ..., environment: Optional[Any] = ...): ...
|
119 |
+
|
120 |
+
class TemplateData(Literal):
|
121 |
+
fields: Any
|
122 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
123 |
+
|
124 |
+
class Tuple(Literal):
|
125 |
+
fields: Any
|
126 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
127 |
+
def can_assign(self): ...
|
128 |
+
|
129 |
+
class List(Literal):
|
130 |
+
fields: Any
|
131 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
132 |
+
|
133 |
+
class Dict(Literal):
|
134 |
+
fields: Any
|
135 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
136 |
+
|
137 |
+
class Pair(Helper):
|
138 |
+
fields: Any
|
139 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
140 |
+
|
141 |
+
class Keyword(Helper):
|
142 |
+
fields: Any
|
143 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
144 |
+
|
145 |
+
class CondExpr(Expr):
|
146 |
+
fields: Any
|
147 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
148 |
+
|
149 |
+
class Filter(Expr):
|
150 |
+
fields: Any
|
151 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
152 |
+
|
153 |
+
class Test(Expr):
|
154 |
+
fields: Any
|
155 |
+
|
156 |
+
class Call(Expr):
|
157 |
+
fields: Any
|
158 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
159 |
+
|
160 |
+
class Getitem(Expr):
|
161 |
+
fields: Any
|
162 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
163 |
+
def can_assign(self): ...
|
164 |
+
|
165 |
+
class Getattr(Expr):
|
166 |
+
fields: Any
|
167 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
168 |
+
def can_assign(self): ...
|
169 |
+
|
170 |
+
class Slice(Expr):
|
171 |
+
fields: Any
|
172 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
173 |
+
|
174 |
+
class Concat(Expr):
|
175 |
+
fields: Any
|
176 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
177 |
+
|
178 |
+
class Compare(Expr):
|
179 |
+
fields: Any
|
180 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
181 |
+
|
182 |
+
class Operand(Helper):
|
183 |
+
fields: Any
|
184 |
+
|
185 |
+
class Mul(BinExpr):
|
186 |
+
operator: str
|
187 |
+
|
188 |
+
class Div(BinExpr):
|
189 |
+
operator: str
|
190 |
+
|
191 |
+
class FloorDiv(BinExpr):
|
192 |
+
operator: str
|
193 |
+
|
194 |
+
class Add(BinExpr):
|
195 |
+
operator: str
|
196 |
+
|
197 |
+
class Sub(BinExpr):
|
198 |
+
operator: str
|
199 |
+
|
200 |
+
class Mod(BinExpr):
|
201 |
+
operator: str
|
202 |
+
|
203 |
+
class Pow(BinExpr):
|
204 |
+
operator: str
|
205 |
+
|
206 |
+
class And(BinExpr):
|
207 |
+
operator: str
|
208 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
209 |
+
|
210 |
+
class Or(BinExpr):
|
211 |
+
operator: str
|
212 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
213 |
+
|
214 |
+
class Not(UnaryExpr):
|
215 |
+
operator: str
|
216 |
+
|
217 |
+
class Neg(UnaryExpr):
|
218 |
+
operator: str
|
219 |
+
|
220 |
+
class Pos(UnaryExpr):
|
221 |
+
operator: str
|
222 |
+
|
223 |
+
class EnvironmentAttribute(Expr):
|
224 |
+
fields: Any
|
225 |
+
|
226 |
+
class ExtensionAttribute(Expr):
|
227 |
+
fields: Any
|
228 |
+
|
229 |
+
class ImportedName(Expr):
|
230 |
+
fields: Any
|
231 |
+
|
232 |
+
class InternalName(Expr):
|
233 |
+
fields: Any
|
234 |
+
def __init__(self) -> None: ...
|
235 |
+
|
236 |
+
class MarkSafe(Expr):
|
237 |
+
fields: Any
|
238 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
239 |
+
|
240 |
+
class MarkSafeIfAutoescape(Expr):
|
241 |
+
fields: Any
|
242 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
243 |
+
|
244 |
+
class ContextReference(Expr): ...
|
245 |
+
class Continue(Stmt): ...
|
246 |
+
class Break(Stmt): ...
|
247 |
+
|
248 |
+
class Scope(Stmt):
|
249 |
+
fields: Any
|
250 |
+
|
251 |
+
class EvalContextModifier(Stmt):
|
252 |
+
fields: Any
|
253 |
+
|
254 |
+
class ScopedEvalContextModifier(EvalContextModifier):
|
255 |
+
fields: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/optimizer.pyi
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from jinja2.visitor import NodeTransformer
|
4 |
+
|
5 |
+
def optimize(node, environment): ...
|
6 |
+
|
7 |
+
class Optimizer(NodeTransformer):
|
8 |
+
environment: Any
|
9 |
+
def __init__(self, environment) -> None: ...
|
10 |
+
def visit_If(self, node): ...
|
11 |
+
def fold(self, node): ...
|
12 |
+
visit_Add: Any
|
13 |
+
visit_Sub: Any
|
14 |
+
visit_Mul: Any
|
15 |
+
visit_Div: Any
|
16 |
+
visit_FloorDiv: Any
|
17 |
+
visit_Pow: Any
|
18 |
+
visit_Mod: Any
|
19 |
+
visit_And: Any
|
20 |
+
visit_Or: Any
|
21 |
+
visit_Pos: Any
|
22 |
+
visit_Neg: Any
|
23 |
+
visit_Not: Any
|
24 |
+
visit_Compare: Any
|
25 |
+
visit_Getitem: Any
|
26 |
+
visit_Getattr: Any
|
27 |
+
visit_Call: Any
|
28 |
+
visit_Filter: Any
|
29 |
+
visit_Test: Any
|
30 |
+
visit_CondExpr: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/parser.pyi
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
class Parser:
|
4 |
+
environment: Any
|
5 |
+
stream: Any
|
6 |
+
name: Any
|
7 |
+
filename: Any
|
8 |
+
closed: bool
|
9 |
+
extensions: Any
|
10 |
+
def __init__(
|
11 |
+
self, environment, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., state: Optional[Any] = ...
|
12 |
+
) -> None: ...
|
13 |
+
def fail(self, msg, lineno: Optional[Any] = ..., exc: Any = ...): ...
|
14 |
+
def fail_unknown_tag(self, name, lineno: Optional[Any] = ...): ...
|
15 |
+
def fail_eof(self, end_tokens: Optional[Any] = ..., lineno: Optional[Any] = ...): ...
|
16 |
+
def is_tuple_end(self, extra_end_rules: Optional[Any] = ...): ...
|
17 |
+
def free_identifier(self, lineno: Optional[Any] = ...): ...
|
18 |
+
def parse_statement(self): ...
|
19 |
+
def parse_statements(self, end_tokens, drop_needle: bool = ...): ...
|
20 |
+
def parse_set(self): ...
|
21 |
+
def parse_for(self): ...
|
22 |
+
def parse_if(self): ...
|
23 |
+
def parse_block(self): ...
|
24 |
+
def parse_extends(self): ...
|
25 |
+
def parse_import_context(self, node, default): ...
|
26 |
+
def parse_include(self): ...
|
27 |
+
def parse_import(self): ...
|
28 |
+
def parse_from(self): ...
|
29 |
+
def parse_signature(self, node): ...
|
30 |
+
def parse_call_block(self): ...
|
31 |
+
def parse_filter_block(self): ...
|
32 |
+
def parse_macro(self): ...
|
33 |
+
def parse_print(self): ...
|
34 |
+
def parse_assign_target(self, with_tuple: bool = ..., name_only: bool = ..., extra_end_rules: Optional[Any] = ...): ...
|
35 |
+
def parse_expression(self, with_condexpr: bool = ...): ...
|
36 |
+
def parse_condexpr(self): ...
|
37 |
+
def parse_or(self): ...
|
38 |
+
def parse_and(self): ...
|
39 |
+
def parse_not(self): ...
|
40 |
+
def parse_compare(self): ...
|
41 |
+
def parse_add(self): ...
|
42 |
+
def parse_sub(self): ...
|
43 |
+
def parse_concat(self): ...
|
44 |
+
def parse_mul(self): ...
|
45 |
+
def parse_div(self): ...
|
46 |
+
def parse_floordiv(self): ...
|
47 |
+
def parse_mod(self): ...
|
48 |
+
def parse_pow(self): ...
|
49 |
+
def parse_unary(self, with_filter: bool = ...): ...
|
50 |
+
def parse_primary(self): ...
|
51 |
+
def parse_tuple(
|
52 |
+
self,
|
53 |
+
simplified: bool = ...,
|
54 |
+
with_condexpr: bool = ...,
|
55 |
+
extra_end_rules: Optional[Any] = ...,
|
56 |
+
explicit_parentheses: bool = ...,
|
57 |
+
): ...
|
58 |
+
def parse_list(self): ...
|
59 |
+
def parse_dict(self): ...
|
60 |
+
def parse_postfix(self, node): ...
|
61 |
+
def parse_filter_expr(self, node): ...
|
62 |
+
def parse_subscript(self, node): ...
|
63 |
+
def parse_subscribed(self): ...
|
64 |
+
def parse_call(self, node): ...
|
65 |
+
def parse_filter(self, node, start_inline: bool = ...): ...
|
66 |
+
def parse_test(self, node): ...
|
67 |
+
def subparse(self, end_tokens: Optional[Any] = ...): ...
|
68 |
+
def parse(self): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/runtime.pyi
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Optional, Text, Union
|
2 |
+
|
3 |
+
from jinja2.environment import Environment
|
4 |
+
from jinja2.exceptions import TemplateNotFound as TemplateNotFound, TemplateRuntimeError as TemplateRuntimeError
|
5 |
+
from jinja2.utils import Markup as Markup, concat as concat, escape as escape, missing as missing
|
6 |
+
|
7 |
+
to_string: Any
|
8 |
+
identity: Any
|
9 |
+
|
10 |
+
def markup_join(seq): ...
|
11 |
+
def unicode_join(seq): ...
|
12 |
+
|
13 |
+
class TemplateReference:
|
14 |
+
def __init__(self, context) -> None: ...
|
15 |
+
def __getitem__(self, name): ...
|
16 |
+
|
17 |
+
class Context:
|
18 |
+
parent: Union[Context, Dict[str, Any]]
|
19 |
+
vars: Dict[str, Any]
|
20 |
+
environment: Environment
|
21 |
+
eval_ctx: Any
|
22 |
+
exported_vars: Any
|
23 |
+
name: Text
|
24 |
+
blocks: Dict[str, Any]
|
25 |
+
def __init__(
|
26 |
+
self, environment: Environment, parent: Union[Context, Dict[str, Any]], name: Text, blocks: Dict[str, Any]
|
27 |
+
) -> None: ...
|
28 |
+
def super(self, name, current): ...
|
29 |
+
def get(self, key, default: Optional[Any] = ...): ...
|
30 |
+
def resolve(self, key): ...
|
31 |
+
def get_exported(self): ...
|
32 |
+
def get_all(self): ...
|
33 |
+
def call(__self, __obj, *args, **kwargs): ...
|
34 |
+
def derived(self, locals: Optional[Any] = ...): ...
|
35 |
+
keys: Any
|
36 |
+
values: Any
|
37 |
+
items: Any
|
38 |
+
iterkeys: Any
|
39 |
+
itervalues: Any
|
40 |
+
iteritems: Any
|
41 |
+
def __contains__(self, name): ...
|
42 |
+
def __getitem__(self, key): ...
|
43 |
+
|
44 |
+
class BlockReference:
|
45 |
+
name: Any
|
46 |
+
def __init__(self, name, context, stack, depth) -> None: ...
|
47 |
+
@property
|
48 |
+
def super(self): ...
|
49 |
+
def __call__(self): ...
|
50 |
+
|
51 |
+
class LoopContext:
|
52 |
+
index0: int
|
53 |
+
depth0: Any
|
54 |
+
def __init__(self, iterable, recurse: Optional[Any] = ..., depth0: int = ...) -> None: ...
|
55 |
+
def cycle(self, *args): ...
|
56 |
+
first: Any
|
57 |
+
last: Any
|
58 |
+
index: Any
|
59 |
+
revindex: Any
|
60 |
+
revindex0: Any
|
61 |
+
depth: Any
|
62 |
+
def __len__(self): ...
|
63 |
+
def __iter__(self): ...
|
64 |
+
def loop(self, iterable): ...
|
65 |
+
__call__: Any
|
66 |
+
@property
|
67 |
+
def length(self): ...
|
68 |
+
|
69 |
+
class LoopContextIterator:
|
70 |
+
context: Any
|
71 |
+
def __init__(self, context) -> None: ...
|
72 |
+
def __iter__(self): ...
|
73 |
+
def __next__(self): ...
|
74 |
+
|
75 |
+
class Macro:
|
76 |
+
name: Any
|
77 |
+
arguments: Any
|
78 |
+
defaults: Any
|
79 |
+
catch_kwargs: Any
|
80 |
+
catch_varargs: Any
|
81 |
+
caller: Any
|
82 |
+
def __init__(self, environment, func, name, arguments, defaults, catch_kwargs, catch_varargs, caller) -> None: ...
|
83 |
+
def __call__(self, *args, **kwargs): ...
|
84 |
+
|
85 |
+
class Undefined:
|
86 |
+
def __init__(self, hint: Optional[Any] = ..., obj: Any = ..., name: Optional[Any] = ..., exc: Any = ...) -> None: ...
|
87 |
+
def __getattr__(self, name): ...
|
88 |
+
__add__: Any
|
89 |
+
__radd__: Any
|
90 |
+
__mul__: Any
|
91 |
+
__rmul__: Any
|
92 |
+
__div__: Any
|
93 |
+
__rdiv__: Any
|
94 |
+
__truediv__: Any
|
95 |
+
__rtruediv__: Any
|
96 |
+
__floordiv__: Any
|
97 |
+
__rfloordiv__: Any
|
98 |
+
__mod__: Any
|
99 |
+
__rmod__: Any
|
100 |
+
__pos__: Any
|
101 |
+
__neg__: Any
|
102 |
+
__call__: Any
|
103 |
+
__getitem__: Any
|
104 |
+
__lt__: Any
|
105 |
+
__le__: Any
|
106 |
+
__gt__: Any
|
107 |
+
__ge__: Any
|
108 |
+
__int__: Any
|
109 |
+
__float__: Any
|
110 |
+
__complex__: Any
|
111 |
+
__pow__: Any
|
112 |
+
__rpow__: Any
|
113 |
+
def __eq__(self, other): ...
|
114 |
+
def __ne__(self, other): ...
|
115 |
+
def __hash__(self): ...
|
116 |
+
def __len__(self): ...
|
117 |
+
def __iter__(self): ...
|
118 |
+
def __nonzero__(self): ...
|
119 |
+
__bool__: Any
|
120 |
+
|
121 |
+
def make_logging_undefined(logger: Optional[Any] = ..., base: Optional[Any] = ...): ...
|
122 |
+
|
123 |
+
class DebugUndefined(Undefined): ...
|
124 |
+
|
125 |
+
class StrictUndefined(Undefined):
|
126 |
+
__iter__: Any
|
127 |
+
__len__: Any
|
128 |
+
__nonzero__: Any
|
129 |
+
__eq__: Any
|
130 |
+
__ne__: Any
|
131 |
+
__bool__: Any
|
132 |
+
__hash__: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/sandbox.pyi
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from jinja2.environment import Environment
|
4 |
+
|
5 |
+
MAX_RANGE: int
|
6 |
+
UNSAFE_FUNCTION_ATTRIBUTES: Any
|
7 |
+
UNSAFE_METHOD_ATTRIBUTES: Any
|
8 |
+
UNSAFE_GENERATOR_ATTRIBUTES: Any
|
9 |
+
|
10 |
+
def safe_range(*args): ...
|
11 |
+
def unsafe(f): ...
|
12 |
+
def is_internal_attribute(obj, attr): ...
|
13 |
+
def modifies_known_mutable(obj, attr): ...
|
14 |
+
|
15 |
+
class SandboxedEnvironment(Environment):
|
16 |
+
sandboxed: bool
|
17 |
+
default_binop_table: Any
|
18 |
+
default_unop_table: Any
|
19 |
+
intercepted_binops: Any
|
20 |
+
intercepted_unops: Any
|
21 |
+
def intercept_unop(self, operator): ...
|
22 |
+
binop_table: Any
|
23 |
+
unop_table: Any
|
24 |
+
def __init__(self, *args, **kwargs) -> None: ...
|
25 |
+
def is_safe_attribute(self, obj, attr, value): ...
|
26 |
+
def is_safe_callable(self, obj): ...
|
27 |
+
def call_binop(self, context, operator, left, right): ...
|
28 |
+
def call_unop(self, context, operator, arg): ...
|
29 |
+
def getitem(self, obj, argument): ...
|
30 |
+
def getattr(self, obj, attribute): ...
|
31 |
+
def unsafe_undefined(self, obj, attribute): ...
|
32 |
+
def call(__self, __context, __obj, *args, **kwargs): ...
|
33 |
+
|
34 |
+
class ImmutableSandboxedEnvironment(SandboxedEnvironment):
|
35 |
+
def is_safe_attribute(self, obj, attr, value): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/tests.pyi
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
number_re: Any
|
4 |
+
regex_type: Any
|
5 |
+
test_callable: Any
|
6 |
+
|
7 |
+
def test_odd(value): ...
|
8 |
+
def test_even(value): ...
|
9 |
+
def test_divisibleby(value, num): ...
|
10 |
+
def test_defined(value): ...
|
11 |
+
def test_undefined(value): ...
|
12 |
+
def test_none(value): ...
|
13 |
+
def test_lower(value): ...
|
14 |
+
def test_upper(value): ...
|
15 |
+
def test_string(value): ...
|
16 |
+
def test_mapping(value): ...
|
17 |
+
def test_number(value): ...
|
18 |
+
def test_sequence(value): ...
|
19 |
+
def test_equalto(value, other): ...
|
20 |
+
def test_sameas(value, other): ...
|
21 |
+
def test_iterable(value): ...
|
22 |
+
def test_escaped(value): ...
|
23 |
+
|
24 |
+
TESTS: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/utils.pyi
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from _typeshed import AnyPath
|
2 |
+
from typing import IO, Any, Callable, Iterable, Optional, Protocol, Text, TypeVar, Union
|
3 |
+
from typing_extensions import Literal
|
4 |
+
|
5 |
+
from markupsafe import Markup as Markup, escape as escape, soft_unicode as soft_unicode
|
6 |
+
|
7 |
+
missing: Any
|
8 |
+
internal_code: Any
|
9 |
+
concat: Any
|
10 |
+
|
11 |
+
_CallableT = TypeVar("_CallableT", bound=Callable[..., Any])
|
12 |
+
|
13 |
+
class _ContextFunction(Protocol[_CallableT]):
|
14 |
+
contextfunction: Literal[True]
|
15 |
+
__call__: _CallableT
|
16 |
+
|
17 |
+
class _EvalContextFunction(Protocol[_CallableT]):
|
18 |
+
evalcontextfunction: Literal[True]
|
19 |
+
__call__: _CallableT
|
20 |
+
|
21 |
+
class _EnvironmentFunction(Protocol[_CallableT]):
|
22 |
+
environmentfunction: Literal[True]
|
23 |
+
__call__: _CallableT
|
24 |
+
|
25 |
+
def contextfunction(f: _CallableT) -> _ContextFunction[_CallableT]: ...
|
26 |
+
def evalcontextfunction(f: _CallableT) -> _EvalContextFunction[_CallableT]: ...
|
27 |
+
def environmentfunction(f: _CallableT) -> _EnvironmentFunction[_CallableT]: ...
|
28 |
+
def internalcode(f: _CallableT) -> _CallableT: ...
|
29 |
+
def is_undefined(obj: object) -> bool: ...
|
30 |
+
def select_autoescape(
|
31 |
+
enabled_extensions: Iterable[str] = ...,
|
32 |
+
disabled_extensions: Iterable[str] = ...,
|
33 |
+
default_for_string: bool = ...,
|
34 |
+
default: bool = ...,
|
35 |
+
) -> Callable[[str], bool]: ...
|
36 |
+
def consume(iterable: Iterable[object]) -> None: ...
|
37 |
+
def clear_caches() -> None: ...
|
38 |
+
def import_string(import_name: str, silent: bool = ...) -> Any: ...
|
39 |
+
def open_if_exists(filename: AnyPath, mode: str = ...) -> Optional[IO[Any]]: ...
|
40 |
+
def object_type_repr(obj: object) -> str: ...
|
41 |
+
def pformat(obj: object, verbose: bool = ...) -> str: ...
|
42 |
+
def urlize(
|
43 |
+
text: Union[Markup, Text],
|
44 |
+
trim_url_limit: Optional[int] = ...,
|
45 |
+
rel: Optional[Union[Markup, Text]] = ...,
|
46 |
+
target: Optional[Union[Markup, Text]] = ...,
|
47 |
+
) -> str: ...
|
48 |
+
def generate_lorem_ipsum(n: int = ..., html: bool = ..., min: int = ..., max: int = ...) -> Union[Markup, str]: ...
|
49 |
+
def unicode_urlencode(obj: object, charset: str = ..., for_qs: bool = ...) -> str: ...
|
50 |
+
|
51 |
+
class LRUCache:
|
52 |
+
capacity: Any
|
53 |
+
def __init__(self, capacity) -> None: ...
|
54 |
+
def __getnewargs__(self): ...
|
55 |
+
def copy(self): ...
|
56 |
+
def get(self, key, default: Optional[Any] = ...): ...
|
57 |
+
def setdefault(self, key, default: Optional[Any] = ...): ...
|
58 |
+
def clear(self): ...
|
59 |
+
def __contains__(self, key): ...
|
60 |
+
def __len__(self): ...
|
61 |
+
def __getitem__(self, key): ...
|
62 |
+
def __setitem__(self, key, value): ...
|
63 |
+
def __delitem__(self, key): ...
|
64 |
+
def items(self): ...
|
65 |
+
def iteritems(self): ...
|
66 |
+
def values(self): ...
|
67 |
+
def itervalue(self): ...
|
68 |
+
def keys(self): ...
|
69 |
+
def iterkeys(self): ...
|
70 |
+
__iter__: Any
|
71 |
+
def __reversed__(self): ...
|
72 |
+
__copy__: Any
|
73 |
+
|
74 |
+
class Cycler:
|
75 |
+
items: Any
|
76 |
+
def __init__(self, *items) -> None: ...
|
77 |
+
pos: int
|
78 |
+
def reset(self): ...
|
79 |
+
@property
|
80 |
+
def current(self): ...
|
81 |
+
def __next__(self): ...
|
82 |
+
|
83 |
+
class Joiner:
|
84 |
+
sep: Any
|
85 |
+
used: bool
|
86 |
+
def __init__(self, sep: str = ...) -> None: ...
|
87 |
+
def __call__(self): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/visitor.pyi
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class NodeVisitor:
|
2 |
+
def get_visitor(self, node): ...
|
3 |
+
def visit(self, node, *args, **kwargs): ...
|
4 |
+
def generic_visit(self, node, *args, **kwargs): ...
|
5 |
+
|
6 |
+
class NodeTransformer(NodeVisitor):
|
7 |
+
def generic_visit(self, node, *args, **kwargs): ...
|
8 |
+
def visit_list(self, node, *args, **kwargs): ...
|
temp_venv/lib/python3.13/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
|
temp_venv/lib/python3.13/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
|
temp_venv/lib/python3.13/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: ...
|
temp_venv/lib/python3.13/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): ...
|
temp_venv/lib/python3.13/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: ...
|
temp_venv/lib/python3.13/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): ...
|