Soptq commited on
Commit
cf7b7bd
·
verified ·
1 Parent(s): 458f80b

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. material/dataset/Datasets/Electron Microscopy Image Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908308/1908308.tif +3 -0
  3. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/core.pyi +285 -0
  4. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/decorators.pyi +293 -0
  5. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/exceptions.pyi +60 -0
  6. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/formatting.pyi +34 -0
  7. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/types.pyi +125 -0
  8. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/datetimerange/__init__.pyi +47 -0
  9. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/__init__.pyi +0 -0
  10. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/_common.pyi +12 -0
  11. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/parser.pyi +51 -0
  12. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/rrule.pyi +105 -0
  13. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/__init__.pyi +15 -0
  14. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/_common.pyi +24 -0
  15. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/tz.pyi +101 -0
  16. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/utils.pyi +6 -0
  17. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/constants.pyi +1 -0
  18. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/environment.pyi +224 -0
  19. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/ext.pyi +66 -0
  20. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/optimizer.pyi +30 -0
  21. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/parser.pyi +68 -0
  22. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/tests.pyi +24 -0
  23. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_constants.pyi +3 -0
  24. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/__init__.pyi +1 -0
  25. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/nmap.pyi +122 -0
  26. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/__init__.pyi +0 -0
  27. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/__init__.pyi +69 -0
  28. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/event.pyi +16 -0
  29. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/view.pyi +15 -0
  30. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/__init__.pyi +5 -0
  31. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/fault.pyi +5 -0
  32. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/query.pyi +38 -0
  33. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/__init__.pyi +63 -0
  34. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/charset.pyi +16 -0
  35. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/connections.pyi +172 -0
  36. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/FLAG.pyi +17 -0
  37. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/converters.pyi +47 -0
  38. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/cursors.pyi +52 -0
  39. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/err.pyi +20 -0
  40. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/times.pyi +10 -0
  41. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/util.pyi +3 -0
  42. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pytz/__init__.pyi +43 -0
  43. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/auth.pyi +39 -0
  44. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/cookies.pyi +64 -0
  45. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/__init__.pyi +4 -0
  46. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/__init__.pyi +26 -0
  47. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/_collections.pyi +52 -0
  48. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connection.pyi +65 -0
  49. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connectionpool.pyi +121 -0
  50. material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/exceptions.pyi +50 -0
.gitattributes CHANGED
@@ -468,3 +468,4 @@ material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/m
468
  material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_Manual_4connected/1908274_m.tif filter=lfs diff=lfs merge=lfs -text
469
  material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_axes.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
470
  material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf filter=lfs diff=lfs merge=lfs -text
 
 
468
  material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_Manual_4connected/1908274_m.tif filter=lfs diff=lfs merge=lfs -text
469
  material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_axes.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
470
  material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf filter=lfs diff=lfs merge=lfs -text
471
+ material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908308/1908308.tif filter=lfs diff=lfs merge=lfs -text
material/dataset/Datasets/Electron Microscopy Image Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908308/1908308.tif ADDED

Git LFS Details

  • SHA256: 6ceffc108a6f2a1526147349dc13658115423cae651853c875f5b77d0a7ca4c2
  • Pointer size: 131 Bytes
  • Size of remote file: 729 kB
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/core.pyi ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import (
2
+ Any,
3
+ Callable,
4
+ ContextManager,
5
+ Dict,
6
+ Iterable,
7
+ List,
8
+ Mapping,
9
+ NoReturn,
10
+ Optional,
11
+ Sequence,
12
+ Set,
13
+ Tuple,
14
+ TypeVar,
15
+ Union,
16
+ )
17
+
18
+ from click.formatting import HelpFormatter
19
+ from click.parser import OptionParser
20
+
21
+ _CC = TypeVar("_CC", bound=Callable[[], Any])
22
+
23
+ def invoke_param_callback(
24
+ callback: Callable[[Context, Parameter, Optional[str]], Any], ctx: Context, param: Parameter, value: Optional[str]
25
+ ) -> Any: ...
26
+ def augment_usage_errors(ctx: Context, param: Optional[Parameter] = ...) -> ContextManager[None]: ...
27
+ def iter_params_for_processing(
28
+ invocation_order: Sequence[Parameter], declaration_order: Iterable[Parameter]
29
+ ) -> Iterable[Parameter]: ...
30
+
31
+ class Context:
32
+ parent: Optional[Context]
33
+ command: Command
34
+ info_name: Optional[str]
35
+ params: Dict[Any, Any]
36
+ args: List[str]
37
+ protected_args: List[str]
38
+ obj: Any
39
+ default_map: Optional[Mapping[str, Any]]
40
+ invoked_subcommand: Optional[str]
41
+ terminal_width: Optional[int]
42
+ max_content_width: Optional[int]
43
+ allow_extra_args: bool
44
+ allow_interspersed_args: bool
45
+ ignore_unknown_options: bool
46
+ help_option_names: List[str]
47
+ token_normalize_func: Optional[Callable[[str], str]]
48
+ resilient_parsing: bool
49
+ auto_envvar_prefix: Optional[str]
50
+ color: Optional[bool]
51
+ _meta: Dict[str, Any]
52
+ _close_callbacks: List[Any]
53
+ _depth: int
54
+ def __init__(
55
+ self,
56
+ command: Command,
57
+ parent: Optional[Context] = ...,
58
+ info_name: Optional[str] = ...,
59
+ obj: Optional[Any] = ...,
60
+ auto_envvar_prefix: Optional[str] = ...,
61
+ default_map: Optional[Mapping[str, Any]] = ...,
62
+ terminal_width: Optional[int] = ...,
63
+ max_content_width: Optional[int] = ...,
64
+ resilient_parsing: bool = ...,
65
+ allow_extra_args: Optional[bool] = ...,
66
+ allow_interspersed_args: Optional[bool] = ...,
67
+ ignore_unknown_options: Optional[bool] = ...,
68
+ help_option_names: Optional[List[str]] = ...,
69
+ token_normalize_func: Optional[Callable[[str], str]] = ...,
70
+ color: Optional[bool] = ...,
71
+ ) -> None: ...
72
+ @property
73
+ def meta(self) -> Dict[str, Any]: ...
74
+ @property
75
+ def command_path(self) -> str: ...
76
+ def scope(self, cleanup: bool = ...) -> ContextManager[Context]: ...
77
+ def make_formatter(self) -> HelpFormatter: ...
78
+ def call_on_close(self, f: _CC) -> _CC: ...
79
+ def close(self) -> None: ...
80
+ def find_root(self) -> Context: ...
81
+ def find_object(self, object_type: type) -> Any: ...
82
+ def ensure_object(self, object_type: type) -> Any: ...
83
+ def lookup_default(self, name: str) -> Any: ...
84
+ def fail(self, message: str) -> NoReturn: ...
85
+ def abort(self) -> NoReturn: ...
86
+ def exit(self, code: Union[int, str] = ...) -> NoReturn: ...
87
+ def get_usage(self) -> str: ...
88
+ def get_help(self) -> str: ...
89
+ def invoke(self, callback: Union[Command, Callable[..., Any]], *args, **kwargs) -> Any: ...
90
+ def forward(self, callback: Union[Command, Callable[..., Any]], *args, **kwargs) -> Any: ...
91
+
92
+ class BaseCommand:
93
+ allow_extra_args: bool
94
+ allow_interspersed_args: bool
95
+ ignore_unknown_options: bool
96
+ name: str
97
+ context_settings: Dict[Any, Any]
98
+ def __init__(self, name: str, context_settings: Optional[Dict[Any, Any]] = ...) -> None: ...
99
+ def get_usage(self, ctx: Context) -> str: ...
100
+ def get_help(self, ctx: Context) -> str: ...
101
+ def make_context(self, info_name: str, args: List[str], parent: Optional[Context] = ..., **extra) -> Context: ...
102
+ def parse_args(self, ctx: Context, args: List[str]) -> List[str]: ...
103
+ def invoke(self, ctx: Context) -> Any: ...
104
+ def main(
105
+ self,
106
+ args: Optional[List[str]] = ...,
107
+ prog_name: Optional[str] = ...,
108
+ complete_var: Optional[str] = ...,
109
+ standalone_mode: bool = ...,
110
+ **extra,
111
+ ) -> Any: ...
112
+ def __call__(self, *args, **kwargs) -> Any: ...
113
+
114
+ class Command(BaseCommand):
115
+ callback: Optional[Callable[..., Any]]
116
+ params: List[Parameter]
117
+ help: Optional[str]
118
+ epilog: Optional[str]
119
+ short_help: Optional[str]
120
+ options_metavar: str
121
+ add_help_option: bool
122
+ hidden: bool
123
+ deprecated: bool
124
+ def __init__(
125
+ self,
126
+ name: str,
127
+ context_settings: Optional[Dict[Any, Any]] = ...,
128
+ callback: Optional[Callable[..., Any]] = ...,
129
+ params: Optional[List[Parameter]] = ...,
130
+ help: Optional[str] = ...,
131
+ epilog: Optional[str] = ...,
132
+ short_help: Optional[str] = ...,
133
+ options_metavar: str = ...,
134
+ add_help_option: bool = ...,
135
+ hidden: bool = ...,
136
+ deprecated: bool = ...,
137
+ ) -> None: ...
138
+ def get_params(self, ctx: Context) -> List[Parameter]: ...
139
+ def format_usage(self, ctx: Context, formatter: HelpFormatter) -> None: ...
140
+ def collect_usage_pieces(self, ctx: Context) -> List[str]: ...
141
+ def get_help_option_names(self, ctx: Context) -> Set[str]: ...
142
+ def get_help_option(self, ctx: Context) -> Optional[Option]: ...
143
+ def make_parser(self, ctx: Context) -> OptionParser: ...
144
+ def get_short_help_str(self, limit: int = ...) -> str: ...
145
+ def format_help(self, ctx: Context, formatter: HelpFormatter) -> None: ...
146
+ def format_help_text(self, ctx: Context, formatter: HelpFormatter) -> None: ...
147
+ def format_options(self, ctx: Context, formatter: HelpFormatter) -> None: ...
148
+ def format_epilog(self, ctx: Context, formatter: HelpFormatter) -> None: ...
149
+
150
+ _T = TypeVar("_T")
151
+ _F = TypeVar("_F", bound=Callable[..., Any])
152
+
153
+ class MultiCommand(Command):
154
+ no_args_is_help: bool
155
+ invoke_without_command: bool
156
+ subcommand_metavar: str
157
+ chain: bool
158
+ result_callback: Callable[..., Any]
159
+ def __init__(
160
+ self,
161
+ name: Optional[str] = ...,
162
+ invoke_without_command: bool = ...,
163
+ no_args_is_help: Optional[bool] = ...,
164
+ subcommand_metavar: Optional[str] = ...,
165
+ chain: bool = ...,
166
+ result_callback: Optional[Callable[..., Any]] = ...,
167
+ **attrs,
168
+ ) -> None: ...
169
+ def resultcallback(self, replace: bool = ...) -> Callable[[_F], _F]: ...
170
+ def format_commands(self, ctx: Context, formatter: HelpFormatter) -> None: ...
171
+ def resolve_command(self, ctx: Context, args: List[str]) -> Tuple[str, Command, List[str]]: ...
172
+ def get_command(self, ctx: Context, cmd_name: str) -> Optional[Command]: ...
173
+ def list_commands(self, ctx: Context) -> Iterable[str]: ...
174
+
175
+ class Group(MultiCommand):
176
+ commands: Dict[str, Command]
177
+ def __init__(self, name: Optional[str] = ..., commands: Optional[Dict[str, Command]] = ..., **attrs) -> None: ...
178
+ def add_command(self, cmd: Command, name: Optional[str] = ...): ...
179
+ def command(self, *args, **kwargs) -> Callable[[Callable[..., Any]], Command]: ...
180
+ def group(self, *args, **kwargs) -> Callable[[Callable[..., Any]], Group]: ...
181
+
182
+ class CommandCollection(MultiCommand):
183
+ sources: List[MultiCommand]
184
+ def __init__(self, name: Optional[str] = ..., sources: Optional[List[MultiCommand]] = ..., **attrs) -> None: ...
185
+ def add_source(self, multi_cmd: MultiCommand) -> None: ...
186
+
187
+ class _ParamType:
188
+ name: str
189
+ is_composite: bool
190
+ envvar_list_splitter: Optional[str]
191
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> Any: ...
192
+ def get_metavar(self, param: Parameter) -> str: ...
193
+ def get_missing_message(self, param: Parameter) -> str: ...
194
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> Any: ...
195
+ def split_envvar_value(self, rv: str) -> List[str]: ...
196
+ def fail(self, message: str, param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> NoReturn: ...
197
+
198
+ # This type is here to resolve https://github.com/python/mypy/issues/5275
199
+ _ConvertibleType = Union[
200
+ type, _ParamType, Tuple[Union[type, _ParamType], ...], Callable[[str], Any], Callable[[Optional[str]], Any]
201
+ ]
202
+
203
+ class Parameter:
204
+ param_type_name: str
205
+ name: str
206
+ opts: List[str]
207
+ secondary_opts: List[str]
208
+ type: _ParamType
209
+ required: bool
210
+ callback: Optional[Callable[[Context, Parameter, str], Any]]
211
+ nargs: int
212
+ multiple: bool
213
+ expose_value: bool
214
+ default: Any
215
+ is_eager: bool
216
+ metavar: Optional[str]
217
+ envvar: Union[str, List[str], None]
218
+ def __init__(
219
+ self,
220
+ param_decls: Optional[List[str]] = ...,
221
+ type: Optional[_ConvertibleType] = ...,
222
+ required: bool = ...,
223
+ default: Optional[Any] = ...,
224
+ callback: Optional[Callable[[Context, Parameter, str], Any]] = ...,
225
+ nargs: Optional[int] = ...,
226
+ metavar: Optional[str] = ...,
227
+ expose_value: bool = ...,
228
+ is_eager: bool = ...,
229
+ envvar: Optional[Union[str, List[str]]] = ...,
230
+ ) -> None: ...
231
+ @property
232
+ def human_readable_name(self) -> str: ...
233
+ def make_metavar(self) -> str: ...
234
+ def get_default(self, ctx: Context) -> Any: ...
235
+ def add_to_parser(self, parser: OptionParser, ctx: Context) -> None: ...
236
+ def consume_value(self, ctx: Context, opts: Dict[str, Any]) -> Any: ...
237
+ def type_cast_value(self, ctx: Context, value: Any) -> Any: ...
238
+ def process_value(self, ctx: Context, value: Any) -> Any: ...
239
+ def value_is_missing(self, value: Any) -> bool: ...
240
+ def full_process_value(self, ctx: Context, value: Any) -> Any: ...
241
+ def resolve_envvar_value(self, ctx: Context) -> str: ...
242
+ def value_from_envvar(self, ctx: Context) -> Union[str, List[str]]: ...
243
+ def handle_parse_result(self, ctx: Context, opts: Dict[str, Any], args: List[str]) -> Tuple[Any, List[str]]: ...
244
+ def get_help_record(self, ctx: Context) -> Tuple[str, str]: ...
245
+ def get_usage_pieces(self, ctx: Context) -> List[str]: ...
246
+ def get_error_hint(self, ctx: Context) -> str: ...
247
+
248
+ class Option(Parameter):
249
+ prompt: str # sic
250
+ confirmation_prompt: bool
251
+ hide_input: bool
252
+ is_flag: bool
253
+ flag_value: Any
254
+ is_bool_flag: bool
255
+ count: bool
256
+ multiple: bool
257
+ allow_from_autoenv: bool
258
+ help: Optional[str]
259
+ hidden: bool
260
+ show_default: bool
261
+ show_choices: bool
262
+ show_envvar: bool
263
+ def __init__(
264
+ self,
265
+ param_decls: Optional[List[str]] = ...,
266
+ show_default: bool = ...,
267
+ prompt: Union[bool, str] = ...,
268
+ confirmation_prompt: bool = ...,
269
+ hide_input: bool = ...,
270
+ is_flag: Optional[bool] = ...,
271
+ flag_value: Optional[Any] = ...,
272
+ multiple: bool = ...,
273
+ count: bool = ...,
274
+ allow_from_autoenv: bool = ...,
275
+ type: Optional[_ConvertibleType] = ...,
276
+ help: Optional[str] = ...,
277
+ hidden: bool = ...,
278
+ show_choices: bool = ...,
279
+ show_envvar: bool = ...,
280
+ **attrs,
281
+ ) -> None: ...
282
+ def prompt_for_value(self, ctx: Context) -> Any: ...
283
+
284
+ class Argument(Parameter):
285
+ def __init__(self, param_decls: Optional[List[str]] = ..., required: Optional[bool] = ..., **attrs) -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/decorators.pyi ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from distutils.version import Version
2
+ from typing import Any, Callable, Dict, List, Optional, Protocol, Text, Tuple, Type, TypeVar, Union, overload
3
+
4
+ from click.core import Argument, Command, Context, Group, Option, Parameter, _ConvertibleType
5
+
6
+ _T = TypeVar("_T")
7
+ _F = TypeVar("_F", bound=Callable[..., Any])
8
+
9
+ class _IdentityFunction(Protocol):
10
+ def __call__(self, __x: _T) -> _T: ...
11
+
12
+ _Callback = Callable[[Context, Union[Option, Parameter], Any], Any]
13
+
14
+ def pass_context(__f: _T) -> _T: ...
15
+ def pass_obj(__f: _T) -> _T: ...
16
+ def make_pass_decorator(object_type: type, ensure: bool = ...) -> _IdentityFunction: ...
17
+
18
+ # NOTE: Decorators below have **attrs converted to concrete constructor
19
+ # arguments from core.pyi to help with type checking.
20
+
21
+ def command(
22
+ name: Optional[str] = ...,
23
+ cls: Optional[Type[Command]] = ...,
24
+ # Command
25
+ context_settings: Optional[Dict[Any, Any]] = ...,
26
+ help: Optional[str] = ...,
27
+ epilog: Optional[str] = ...,
28
+ short_help: Optional[str] = ...,
29
+ options_metavar: str = ...,
30
+ add_help_option: bool = ...,
31
+ hidden: bool = ...,
32
+ deprecated: bool = ...,
33
+ ) -> Callable[[Callable[..., Any]], Command]: ...
34
+
35
+ # This inherits attrs from Group, MultiCommand and Command.
36
+
37
+ def group(
38
+ name: Optional[str] = ...,
39
+ cls: Type[Command] = ...,
40
+ # Group
41
+ commands: Optional[Dict[str, Command]] = ...,
42
+ # MultiCommand
43
+ invoke_without_command: bool = ...,
44
+ no_args_is_help: Optional[bool] = ...,
45
+ subcommand_metavar: Optional[str] = ...,
46
+ chain: bool = ...,
47
+ result_callback: Optional[Callable[..., Any]] = ...,
48
+ # Command
49
+ help: Optional[str] = ...,
50
+ epilog: Optional[str] = ...,
51
+ short_help: Optional[str] = ...,
52
+ options_metavar: str = ...,
53
+ add_help_option: bool = ...,
54
+ hidden: bool = ...,
55
+ deprecated: bool = ...,
56
+ # User-defined
57
+ **kwargs: Any,
58
+ ) -> Callable[[Callable[..., Any]], Group]: ...
59
+ def argument(
60
+ *param_decls: Text,
61
+ cls: Type[Argument] = ...,
62
+ # Argument
63
+ required: Optional[bool] = ...,
64
+ # Parameter
65
+ type: Optional[_ConvertibleType] = ...,
66
+ default: Optional[Any] = ...,
67
+ callback: Optional[_Callback] = ...,
68
+ nargs: Optional[int] = ...,
69
+ metavar: Optional[str] = ...,
70
+ expose_value: bool = ...,
71
+ is_eager: bool = ...,
72
+ envvar: Optional[Union[str, List[str]]] = ...,
73
+ autocompletion: Optional[Callable[[Any, List[str], str], List[Union[str, Tuple[str, str]]]]] = ...,
74
+ ) -> _IdentityFunction: ...
75
+ @overload
76
+ def option(
77
+ *param_decls: Text,
78
+ cls: Type[Option] = ...,
79
+ # Option
80
+ show_default: Union[bool, Text] = ...,
81
+ prompt: Union[bool, Text] = ...,
82
+ confirmation_prompt: bool = ...,
83
+ hide_input: bool = ...,
84
+ is_flag: Optional[bool] = ...,
85
+ flag_value: Optional[Any] = ...,
86
+ multiple: bool = ...,
87
+ count: bool = ...,
88
+ allow_from_autoenv: bool = ...,
89
+ type: Optional[_ConvertibleType] = ...,
90
+ help: Optional[Text] = ...,
91
+ show_choices: bool = ...,
92
+ # Parameter
93
+ default: Optional[Any] = ...,
94
+ required: bool = ...,
95
+ callback: Optional[_Callback] = ...,
96
+ nargs: Optional[int] = ...,
97
+ metavar: Optional[str] = ...,
98
+ expose_value: bool = ...,
99
+ is_eager: bool = ...,
100
+ envvar: Optional[Union[str, List[str]]] = ...,
101
+ # User-defined
102
+ **kwargs: Any,
103
+ ) -> _IdentityFunction: ...
104
+ @overload
105
+ def option(
106
+ *param_decls: str,
107
+ cls: Type[Option] = ...,
108
+ # Option
109
+ show_default: Union[bool, Text] = ...,
110
+ prompt: Union[bool, Text] = ...,
111
+ confirmation_prompt: bool = ...,
112
+ hide_input: bool = ...,
113
+ is_flag: Optional[bool] = ...,
114
+ flag_value: Optional[Any] = ...,
115
+ multiple: bool = ...,
116
+ count: bool = ...,
117
+ allow_from_autoenv: bool = ...,
118
+ type: _T = ...,
119
+ help: Optional[str] = ...,
120
+ show_choices: bool = ...,
121
+ # Parameter
122
+ default: Optional[Any] = ...,
123
+ required: bool = ...,
124
+ callback: Optional[Callable[[Context, Union[Option, Parameter], Union[bool, int, str]], _T]] = ...,
125
+ nargs: Optional[int] = ...,
126
+ metavar: Optional[str] = ...,
127
+ expose_value: bool = ...,
128
+ is_eager: bool = ...,
129
+ envvar: Optional[Union[str, List[str]]] = ...,
130
+ # User-defined
131
+ **kwargs: Any,
132
+ ) -> _IdentityFunction: ...
133
+ @overload
134
+ def option(
135
+ *param_decls: str,
136
+ cls: Type[Option] = ...,
137
+ # Option
138
+ show_default: Union[bool, Text] = ...,
139
+ prompt: Union[bool, Text] = ...,
140
+ confirmation_prompt: bool = ...,
141
+ hide_input: bool = ...,
142
+ is_flag: Optional[bool] = ...,
143
+ flag_value: Optional[Any] = ...,
144
+ multiple: bool = ...,
145
+ count: bool = ...,
146
+ allow_from_autoenv: bool = ...,
147
+ type: Type[str] = ...,
148
+ help: Optional[str] = ...,
149
+ show_choices: bool = ...,
150
+ # Parameter
151
+ default: Optional[Any] = ...,
152
+ required: bool = ...,
153
+ callback: Callable[[Context, Union[Option, Parameter], str], Any] = ...,
154
+ nargs: Optional[int] = ...,
155
+ metavar: Optional[str] = ...,
156
+ expose_value: bool = ...,
157
+ is_eager: bool = ...,
158
+ envvar: Optional[Union[str, List[str]]] = ...,
159
+ # User-defined
160
+ **kwargs: Any,
161
+ ) -> _IdentityFunction: ...
162
+ @overload
163
+ def option(
164
+ *param_decls: str,
165
+ cls: Type[Option] = ...,
166
+ # Option
167
+ show_default: Union[bool, Text] = ...,
168
+ prompt: Union[bool, Text] = ...,
169
+ confirmation_prompt: bool = ...,
170
+ hide_input: bool = ...,
171
+ is_flag: Optional[bool] = ...,
172
+ flag_value: Optional[Any] = ...,
173
+ multiple: bool = ...,
174
+ count: bool = ...,
175
+ allow_from_autoenv: bool = ...,
176
+ type: Type[int] = ...,
177
+ help: Optional[str] = ...,
178
+ show_choices: bool = ...,
179
+ # Parameter
180
+ default: Optional[Any] = ...,
181
+ required: bool = ...,
182
+ callback: Callable[[Context, Union[Option, Parameter], int], Any] = ...,
183
+ nargs: Optional[int] = ...,
184
+ metavar: Optional[str] = ...,
185
+ expose_value: bool = ...,
186
+ is_eager: bool = ...,
187
+ envvar: Optional[Union[str, List[str]]] = ...,
188
+ # User-defined
189
+ **kwargs: Any,
190
+ ) -> _IdentityFunction: ...
191
+ def confirmation_option(
192
+ *param_decls: str,
193
+ cls: Type[Option] = ...,
194
+ # Option
195
+ show_default: Union[bool, Text] = ...,
196
+ prompt: Union[bool, Text] = ...,
197
+ confirmation_prompt: bool = ...,
198
+ hide_input: bool = ...,
199
+ is_flag: bool = ...,
200
+ flag_value: Optional[Any] = ...,
201
+ multiple: bool = ...,
202
+ count: bool = ...,
203
+ allow_from_autoenv: bool = ...,
204
+ type: Optional[_ConvertibleType] = ...,
205
+ help: str = ...,
206
+ show_choices: bool = ...,
207
+ # Parameter
208
+ default: Optional[Any] = ...,
209
+ callback: Optional[_Callback] = ...,
210
+ nargs: Optional[int] = ...,
211
+ metavar: Optional[str] = ...,
212
+ expose_value: bool = ...,
213
+ is_eager: bool = ...,
214
+ envvar: Optional[Union[str, List[str]]] = ...,
215
+ ) -> _IdentityFunction: ...
216
+ def password_option(
217
+ *param_decls: str,
218
+ cls: Type[Option] = ...,
219
+ # Option
220
+ show_default: Union[bool, Text] = ...,
221
+ prompt: Union[bool, Text] = ...,
222
+ confirmation_prompt: bool = ...,
223
+ hide_input: bool = ...,
224
+ is_flag: Optional[bool] = ...,
225
+ flag_value: Optional[Any] = ...,
226
+ multiple: bool = ...,
227
+ count: bool = ...,
228
+ allow_from_autoenv: bool = ...,
229
+ type: Optional[_ConvertibleType] = ...,
230
+ help: Optional[str] = ...,
231
+ show_choices: bool = ...,
232
+ # Parameter
233
+ default: Optional[Any] = ...,
234
+ callback: Optional[_Callback] = ...,
235
+ nargs: Optional[int] = ...,
236
+ metavar: Optional[str] = ...,
237
+ expose_value: bool = ...,
238
+ is_eager: bool = ...,
239
+ envvar: Optional[Union[str, List[str]]] = ...,
240
+ ) -> _IdentityFunction: ...
241
+ def version_option(
242
+ version: Optional[Union[str, Version]] = ...,
243
+ *param_decls: str,
244
+ cls: Type[Option] = ...,
245
+ # Option
246
+ prog_name: Optional[str] = ...,
247
+ message: Optional[str] = ...,
248
+ show_default: Union[bool, Text] = ...,
249
+ prompt: Union[bool, Text] = ...,
250
+ confirmation_prompt: bool = ...,
251
+ hide_input: bool = ...,
252
+ is_flag: bool = ...,
253
+ flag_value: Optional[Any] = ...,
254
+ multiple: bool = ...,
255
+ count: bool = ...,
256
+ allow_from_autoenv: bool = ...,
257
+ type: Optional[_ConvertibleType] = ...,
258
+ help: str = ...,
259
+ show_choices: bool = ...,
260
+ # Parameter
261
+ default: Optional[Any] = ...,
262
+ callback: Optional[_Callback] = ...,
263
+ nargs: Optional[int] = ...,
264
+ metavar: Optional[str] = ...,
265
+ expose_value: bool = ...,
266
+ is_eager: bool = ...,
267
+ envvar: Optional[Union[str, List[str]]] = ...,
268
+ ) -> _IdentityFunction: ...
269
+ def help_option(
270
+ *param_decls: str,
271
+ cls: Type[Option] = ...,
272
+ # Option
273
+ show_default: Union[bool, Text] = ...,
274
+ prompt: Union[bool, Text] = ...,
275
+ confirmation_prompt: bool = ...,
276
+ hide_input: bool = ...,
277
+ is_flag: bool = ...,
278
+ flag_value: Optional[Any] = ...,
279
+ multiple: bool = ...,
280
+ count: bool = ...,
281
+ allow_from_autoenv: bool = ...,
282
+ type: Optional[_ConvertibleType] = ...,
283
+ help: str = ...,
284
+ show_choices: bool = ...,
285
+ # Parameter
286
+ default: Optional[Any] = ...,
287
+ callback: Optional[_Callback] = ...,
288
+ nargs: Optional[int] = ...,
289
+ metavar: Optional[str] = ...,
290
+ expose_value: bool = ...,
291
+ is_eager: bool = ...,
292
+ envvar: Optional[Union[str, List[str]]] = ...,
293
+ ) -> _IdentityFunction: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/exceptions.pyi ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import IO, Any, List, Optional
2
+
3
+ from click.core import Context, Parameter
4
+
5
+ class ClickException(Exception):
6
+ exit_code: int
7
+ message: str
8
+ def __init__(self, message: str) -> None: ...
9
+ def format_message(self) -> str: ...
10
+ def show(self, file: Optional[Any] = ...) -> None: ...
11
+
12
+ class UsageError(ClickException):
13
+ ctx: Optional[Context]
14
+ def __init__(self, message: str, ctx: Optional[Context] = ...) -> None: ...
15
+ def show(self, file: Optional[IO[Any]] = ...) -> None: ...
16
+
17
+ class BadParameter(UsageError):
18
+ param: Optional[Parameter]
19
+ param_hint: Optional[str]
20
+ def __init__(
21
+ self, message: str, ctx: Optional[Context] = ..., param: Optional[Parameter] = ..., param_hint: Optional[str] = ...
22
+ ) -> None: ...
23
+
24
+ class MissingParameter(BadParameter):
25
+ param_type: str # valid values: 'parameter', 'option', 'argument'
26
+ def __init__(
27
+ self,
28
+ message: Optional[str] = ...,
29
+ ctx: Optional[Context] = ...,
30
+ param: Optional[Parameter] = ...,
31
+ param_hint: Optional[str] = ...,
32
+ param_type: Optional[str] = ...,
33
+ ) -> None: ...
34
+
35
+ class NoSuchOption(UsageError):
36
+ option_name: str
37
+ possibilities: Optional[List[str]]
38
+ def __init__(
39
+ self,
40
+ option_name: str,
41
+ message: Optional[str] = ...,
42
+ possibilities: Optional[List[str]] = ...,
43
+ ctx: Optional[Context] = ...,
44
+ ) -> None: ...
45
+
46
+ class BadOptionUsage(UsageError):
47
+ def __init__(self, option_name: str, message: str, ctx: Optional[Context] = ...) -> None: ...
48
+
49
+ class BadArgumentUsage(UsageError):
50
+ def __init__(self, message: str, ctx: Optional[Context] = ...) -> None: ...
51
+
52
+ class FileError(ClickException):
53
+ ui_filename: str
54
+ filename: str
55
+ def __init__(self, filename: str, hint: Optional[str] = ...) -> None: ...
56
+
57
+ class Abort(RuntimeError): ...
58
+
59
+ class Exit(RuntimeError):
60
+ def __init__(self, code: int = ...) -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/formatting.pyi ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import ContextManager, Generator, Iterable, List, Optional, Tuple
2
+
3
+ FORCED_WIDTH: Optional[int]
4
+
5
+ def measure_table(rows: Iterable[Iterable[str]]) -> Tuple[int, ...]: ...
6
+ def iter_rows(rows: Iterable[Iterable[str]], col_count: int) -> Generator[Tuple[str, ...], None, None]: ...
7
+ def wrap_text(
8
+ text: str, width: int = ..., initial_indent: str = ..., subsequent_indent: str = ..., preserve_paragraphs: bool = ...
9
+ ) -> str: ...
10
+
11
+ class HelpFormatter:
12
+ indent_increment: int
13
+ width: Optional[int]
14
+ current_indent: int
15
+ buffer: List[str]
16
+ def __init__(self, indent_increment: int = ..., width: Optional[int] = ..., max_width: Optional[int] = ...) -> None: ...
17
+ def write(self, string: str) -> None: ...
18
+ def indent(self) -> None: ...
19
+ def dedent(self) -> None: ...
20
+ def write_usage(
21
+ self,
22
+ prog: str,
23
+ args: str = ...,
24
+ prefix: str = ...,
25
+ ): ...
26
+ def write_heading(self, heading: str) -> None: ...
27
+ def write_paragraph(self) -> None: ...
28
+ def write_text(self, text: str) -> None: ...
29
+ def write_dl(self, rows: Iterable[Iterable[str]], col_max: int = ..., col_spacing: int = ...) -> None: ...
30
+ def section(self, name) -> ContextManager[None]: ...
31
+ def indentation(self) -> ContextManager[None]: ...
32
+ def getvalue(self) -> str: ...
33
+
34
+ def join_options(options: List[str]) -> Tuple[str, bool]: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/click/types.pyi ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ import uuid
3
+ from typing import IO, Any, Callable, Generic, Iterable, List, Optional, Sequence, Text, Tuple as _PyTuple, Type, TypeVar, Union
4
+
5
+ from click.core import Context, Parameter, _ConvertibleType, _ParamType
6
+
7
+ ParamType = _ParamType
8
+
9
+ class BoolParamType(ParamType):
10
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> bool: ...
11
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> bool: ...
12
+
13
+ class CompositeParamType(ParamType):
14
+ arity: int
15
+
16
+ class Choice(ParamType):
17
+ choices: Iterable[str]
18
+ case_sensitive: bool
19
+ def __init__(self, choices: Iterable[str], case_sensitive: bool = ...) -> None: ...
20
+
21
+ class DateTime(ParamType):
22
+ formats: Sequence[str]
23
+ def __init__(self, formats: Optional[Sequence[str]] = ...) -> None: ...
24
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> datetime.datetime: ...
25
+
26
+ class FloatParamType(ParamType):
27
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> float: ...
28
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> float: ...
29
+
30
+ class FloatRange(FloatParamType):
31
+ min: Optional[float]
32
+ max: Optional[float]
33
+ clamp: bool
34
+ def __init__(self, min: Optional[float] = ..., max: Optional[float] = ..., clamp: bool = ...) -> None: ...
35
+
36
+ class File(ParamType):
37
+ mode: str
38
+ encoding: Optional[str]
39
+ errors: Optional[str]
40
+ lazy: Optional[bool]
41
+ atomic: bool
42
+ def __init__(
43
+ self,
44
+ mode: Text = ...,
45
+ encoding: Optional[str] = ...,
46
+ errors: Optional[str] = ...,
47
+ lazy: Optional[bool] = ...,
48
+ atomic: Optional[bool] = ...,
49
+ ) -> None: ...
50
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> IO[Any]: ...
51
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> IO[Any]: ...
52
+ def resolve_lazy_flag(self, value: str) -> bool: ...
53
+
54
+ _F = TypeVar("_F") # result of the function
55
+ _Func = Callable[[Optional[str]], _F]
56
+
57
+ class FuncParamType(ParamType, Generic[_F]):
58
+ func: _Func[_F]
59
+ def __init__(self, func: _Func[_F]) -> None: ...
60
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> _F: ...
61
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> _F: ...
62
+
63
+ class IntParamType(ParamType):
64
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> int: ...
65
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> int: ...
66
+
67
+ class IntRange(IntParamType):
68
+ min: Optional[int]
69
+ max: Optional[int]
70
+ clamp: bool
71
+ def __init__(self, min: Optional[int] = ..., max: Optional[int] = ..., clamp: bool = ...) -> None: ...
72
+
73
+ _PathType = TypeVar("_PathType", str, bytes)
74
+ _PathTypeBound = Union[Type[str], Type[bytes]]
75
+
76
+ class Path(ParamType):
77
+ exists: bool
78
+ file_okay: bool
79
+ dir_okay: bool
80
+ writable: bool
81
+ readable: bool
82
+ resolve_path: bool
83
+ allow_dash: bool
84
+ type: Optional[_PathTypeBound]
85
+ def __init__(
86
+ self,
87
+ exists: bool = ...,
88
+ file_okay: bool = ...,
89
+ dir_okay: bool = ...,
90
+ writable: bool = ...,
91
+ readable: bool = ...,
92
+ resolve_path: bool = ...,
93
+ allow_dash: bool = ...,
94
+ path_type: Optional[Type[_PathType]] = ...,
95
+ ) -> None: ...
96
+ def coerce_path_result(self, rv: Union[str, bytes]) -> _PathType: ...
97
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> _PathType: ...
98
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> _PathType: ...
99
+
100
+ class StringParamType(ParamType):
101
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> str: ...
102
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> str: ...
103
+
104
+ class Tuple(CompositeParamType):
105
+ types: List[ParamType]
106
+ def __init__(self, types: Iterable[Any]) -> None: ...
107
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> Tuple: ...
108
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> Tuple: ...
109
+
110
+ class UnprocessedParamType(ParamType): ...
111
+
112
+ class UUIDParameterType(ParamType):
113
+ def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> uuid.UUID: ...
114
+ def convert(self, value: str, param: Optional[Parameter], ctx: Optional[Context]) -> uuid.UUID: ...
115
+
116
+ def convert_type(ty: Optional[_ConvertibleType], default: Optional[Any] = ...) -> ParamType: ...
117
+
118
+ # parameter type shortcuts
119
+
120
+ BOOL: BoolParamType
121
+ FLOAT: FloatParamType
122
+ INT: IntParamType
123
+ STRING: StringParamType
124
+ UNPROCESSED: UnprocessedParamType
125
+ UUID: UUIDParameterType
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/datetimerange/__init__.pyi ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ from typing import Iterable, Optional, Union
3
+
4
+ from dateutil.relativedelta import relativedelta
5
+
6
+ class DateTimeRange(object):
7
+ NOT_A_TIME_STR: str
8
+ start_time_format: str
9
+ end_time_format: str
10
+ is_output_elapse: bool
11
+ separator: str
12
+ def __init__(
13
+ self,
14
+ start_datetime: Optional[Union[datetime.datetime, str]] = ...,
15
+ end_datetime: Optional[Union[datetime.datetime, str]] = ...,
16
+ start_time_format: str = ...,
17
+ end_time_format: str = ...,
18
+ ) -> None: ...
19
+ def __eq__(self, other) -> bool: ...
20
+ def __ne__(self, other) -> bool: ...
21
+ def __add__(self, other) -> DateTimeRange: ...
22
+ def __iadd__(self, other) -> DateTimeRange: ...
23
+ def __sub__(self, other) -> DateTimeRange: ...
24
+ def __isub__(self, other) -> DateTimeRange: ...
25
+ def __contains__(self, x) -> bool: ...
26
+ @property
27
+ def start_datetime(self) -> datetime.datetime: ...
28
+ @property
29
+ def end_datetime(self) -> datetime.datetime: ...
30
+ @property
31
+ def timedelta(self) -> datetime.timedelta: ...
32
+ def is_set(self) -> bool: ...
33
+ def validate_time_inversion(self) -> None: ...
34
+ def is_valid_timerange(self) -> bool: ...
35
+ def is_intersection(self, x) -> bool: ...
36
+ def get_start_time_str(self) -> str: ...
37
+ def get_end_time_str(self) -> str: ...
38
+ def get_timedelta_second(self) -> float: ...
39
+ def set_start_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
40
+ def set_end_datetime(self, value: Optional[Union[datetime.datetime, str]], timezone: Optional[str] = ...) -> None: ...
41
+ def set_time_range(
42
+ self, start: Optional[Union[datetime.datetime, str]], end: Optional[Union[datetime.datetime, str]]
43
+ ) -> None: ...
44
+ def range(self, step: Union[datetime.timedelta, relativedelta]) -> Iterable[datetime.datetime]: ...
45
+ def intersection(self, x: DateTimeRange) -> DateTimeRange: ...
46
+ def encompass(self, x: DateTimeRange) -> DateTimeRange: ...
47
+ def truncate(self, percentage: float) -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/__init__.pyi ADDED
File without changes
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/_common.pyi ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional, TypeVar
2
+
3
+ _T = TypeVar("_T")
4
+
5
+ class weekday(object):
6
+ def __init__(self, weekday: int, n: Optional[int] = ...) -> None: ...
7
+ def __call__(self: _T, n: int) -> _T: ...
8
+ def __eq__(self, other) -> bool: ...
9
+ def __repr__(self) -> str: ...
10
+ def __hash__(self) -> int: ...
11
+ weekday: int
12
+ n: int
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/parser.pyi ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime, tzinfo
2
+ from typing import IO, Any, Dict, List, Mapping, Optional, Text, Tuple, Union
3
+
4
+ _FileOrStr = Union[bytes, Text, IO[str], IO[Any]]
5
+
6
+ class parserinfo(object):
7
+ JUMP: List[str]
8
+ WEEKDAYS: List[Tuple[str, str]]
9
+ MONTHS: List[Tuple[str, str]]
10
+ HMS: List[Tuple[str, str, str]]
11
+ AMPM: List[Tuple[str, str]]
12
+ UTCZONE: List[str]
13
+ PERTAIN: List[str]
14
+ TZOFFSET: Dict[str, int]
15
+ def __init__(self, dayfirst: bool = ..., yearfirst: bool = ...) -> None: ...
16
+ def jump(self, name: Text) -> bool: ...
17
+ def weekday(self, name: Text) -> Optional[int]: ...
18
+ def month(self, name: Text) -> Optional[int]: ...
19
+ def hms(self, name: Text) -> Optional[int]: ...
20
+ def ampm(self, name: Text) -> Optional[int]: ...
21
+ def pertain(self, name: Text) -> bool: ...
22
+ def utczone(self, name: Text) -> bool: ...
23
+ def tzoffset(self, name: Text) -> Optional[int]: ...
24
+ def convertyear(self, year: int) -> int: ...
25
+ def validate(self, res: datetime) -> bool: ...
26
+
27
+ class parser(object):
28
+ def __init__(self, info: Optional[parserinfo] = ...) -> None: ...
29
+ def parse(
30
+ self,
31
+ timestr: _FileOrStr,
32
+ default: Optional[datetime] = ...,
33
+ ignoretz: bool = ...,
34
+ tzinfos: Optional[Mapping[Text, tzinfo]] = ...,
35
+ **kwargs: Any,
36
+ ) -> datetime: ...
37
+
38
+ def isoparse(dt_str: Union[str, bytes, IO[str], IO[bytes]]) -> datetime: ...
39
+
40
+ DEFAULTPARSER: parser
41
+
42
+ def parse(timestr: _FileOrStr, parserinfo: Optional[parserinfo] = ..., **kwargs: Any) -> datetime: ...
43
+
44
+ class _tzparser: ...
45
+
46
+ DEFAULTTZPARSER: _tzparser
47
+
48
+ class InvalidDatetimeError(ValueError): ...
49
+ class InvalidDateError(InvalidDatetimeError): ...
50
+ class InvalidTimeError(InvalidDatetimeError): ...
51
+ class ParserError(ValueError): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/rrule.pyi ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ from typing import Any, Iterable, Optional, Union
3
+
4
+ from ._common import weekday as weekdaybase
5
+
6
+ YEARLY: int
7
+ MONTHLY: int
8
+ WEEKLY: int
9
+ DAILY: int
10
+ HOURLY: int
11
+ MINUTELY: int
12
+ SECONDLY: int
13
+
14
+ class weekday(weekdaybase): ...
15
+
16
+ MO: weekday
17
+ TU: weekday
18
+ WE: weekday
19
+ TH: weekday
20
+ FR: weekday
21
+ SA: weekday
22
+ SU: weekday
23
+
24
+ class rrulebase:
25
+ def __init__(self, cache: bool = ...) -> None: ...
26
+ def __iter__(self): ...
27
+ def __getitem__(self, item): ...
28
+ def __contains__(self, item): ...
29
+ def count(self): ...
30
+ def before(self, dt, inc: bool = ...): ...
31
+ def after(self, dt, inc: bool = ...): ...
32
+ def xafter(self, dt, count: Optional[Any] = ..., inc: bool = ...): ...
33
+ def between(self, after, before, inc: bool = ..., count: int = ...): ...
34
+
35
+ class rrule(rrulebase):
36
+ def __init__(
37
+ self,
38
+ freq,
39
+ dtstart: Optional[datetime.date] = ...,
40
+ interval: int = ...,
41
+ wkst: Optional[Union[weekday, int]] = ...,
42
+ count: Optional[int] = ...,
43
+ until: Optional[Union[datetime.date, int]] = ...,
44
+ bysetpos: Optional[Union[int, Iterable[int]]] = ...,
45
+ bymonth: Optional[Union[int, Iterable[int]]] = ...,
46
+ bymonthday: Optional[Union[int, Iterable[int]]] = ...,
47
+ byyearday: Optional[Union[int, Iterable[int]]] = ...,
48
+ byeaster: Optional[Union[int, Iterable[int]]] = ...,
49
+ byweekno: Optional[Union[int, Iterable[int]]] = ...,
50
+ byweekday: Optional[Union[int, weekday, Iterable[int], Iterable[weekday]]] = ...,
51
+ byhour: Optional[Union[int, Iterable[int]]] = ...,
52
+ byminute: Optional[Union[int, Iterable[int]]] = ...,
53
+ bysecond: Optional[Union[int, Iterable[int]]] = ...,
54
+ cache: bool = ...,
55
+ ) -> None: ...
56
+ def replace(self, **kwargs): ...
57
+
58
+ class _iterinfo:
59
+ rrule: Any = ...
60
+ def __init__(self, rrule) -> None: ...
61
+ yearlen: int = ...
62
+ nextyearlen: int = ...
63
+ yearordinal: int = ...
64
+ yearweekday: int = ...
65
+ mmask: Any = ...
66
+ mdaymask: Any = ...
67
+ nmdaymask: Any = ...
68
+ wdaymask: Any = ...
69
+ mrange: Any = ...
70
+ wnomask: Any = ...
71
+ nwdaymask: Any = ...
72
+ eastermask: Any = ...
73
+ lastyear: int = ...
74
+ lastmonth: int = ...
75
+ def rebuild(self, year, month): ...
76
+ def ydayset(self, year, month, day): ...
77
+ def mdayset(self, year, month, day): ...
78
+ def wdayset(self, year, month, day): ...
79
+ def ddayset(self, year, month, day): ...
80
+ def htimeset(self, hour, minute, second): ...
81
+ def mtimeset(self, hour, minute, second): ...
82
+ def stimeset(self, hour, minute, second): ...
83
+
84
+ class rruleset(rrulebase):
85
+ class _genitem:
86
+ dt: Any = ...
87
+ genlist: Any = ...
88
+ gen: Any = ...
89
+ def __init__(self, genlist, gen) -> None: ...
90
+ def __next__(self): ...
91
+ next: Any = ...
92
+ def __lt__(self, other): ...
93
+ def __gt__(self, other): ...
94
+ def __eq__(self, other): ...
95
+ def __ne__(self, other): ...
96
+ def __init__(self, cache: bool = ...) -> None: ...
97
+ def rrule(self, rrule): ...
98
+ def rdate(self, rdate): ...
99
+ def exrule(self, exrule): ...
100
+ def exdate(self, exdate): ...
101
+
102
+ class _rrulestr:
103
+ def __call__(self, s, **kwargs): ...
104
+
105
+ rrulestr: _rrulestr
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/__init__.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .tz import (
2
+ datetime_ambiguous as datetime_ambiguous,
3
+ datetime_exists as datetime_exists,
4
+ gettz as gettz,
5
+ resolve_imaginary as resolve_imaginary,
6
+ tzfile as tzfile,
7
+ tzical as tzical,
8
+ tzlocal as tzlocal,
9
+ tzoffset as tzoffset,
10
+ tzrange as tzrange,
11
+ tzstr as tzstr,
12
+ tzutc as tzutc,
13
+ )
14
+
15
+ UTC: tzutc
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/_common.pyi ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime, timedelta, tzinfo
2
+ from typing import Any, Optional
3
+
4
+ def tzname_in_python2(namefunc): ...
5
+ def enfold(dt: datetime, fold: int = ...): ...
6
+
7
+ class _DatetimeWithFold(datetime):
8
+ @property
9
+ def fold(self): ...
10
+
11
+ class _tzinfo(tzinfo):
12
+ def is_ambiguous(self, dt: datetime) -> bool: ...
13
+ def fromutc(self, dt: datetime) -> datetime: ...
14
+
15
+ class tzrangebase(_tzinfo):
16
+ def __init__(self) -> None: ...
17
+ def utcoffset(self, dt: Optional[datetime]) -> Optional[timedelta]: ...
18
+ def dst(self, dt: Optional[datetime]) -> Optional[timedelta]: ...
19
+ def tzname(self, dt: Optional[datetime]) -> str: ...
20
+ def fromutc(self, dt: datetime) -> datetime: ...
21
+ def is_ambiguous(self, dt: datetime) -> bool: ...
22
+ __hash__: Any
23
+ def __ne__(self, other): ...
24
+ __reduce__: Any
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/tz.pyi ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ from typing import IO, Any, List, Optional, Text, Tuple, Union
3
+
4
+ from ..relativedelta import relativedelta
5
+ from ._common import _tzinfo as _tzinfo, enfold as enfold, tzname_in_python2 as tzname_in_python2, tzrangebase as tzrangebase
6
+
7
+ _FileObj = Union[str, Text, IO[str], IO[Text]]
8
+
9
+ ZERO: datetime.timedelta
10
+ EPOCH: datetime.datetime
11
+ EPOCHORDINAL: int
12
+
13
+ class tzutc(datetime.tzinfo):
14
+ def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
15
+ def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
16
+ def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
17
+ def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
18
+ def __eq__(self, other): ...
19
+ __hash__: Any
20
+ def __ne__(self, other): ...
21
+ __reduce__: Any
22
+
23
+ class tzoffset(datetime.tzinfo):
24
+ def __init__(self, name, offset) -> None: ...
25
+ def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
26
+ def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
27
+ def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
28
+ def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
29
+ def __eq__(self, other): ...
30
+ __hash__: Any
31
+ def __ne__(self, other): ...
32
+ __reduce__: Any
33
+ @classmethod
34
+ def instance(cls, name, offset) -> tzoffset: ...
35
+
36
+ class tzlocal(_tzinfo):
37
+ def __init__(self) -> None: ...
38
+ def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
39
+ def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
40
+ def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
41
+ def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
42
+ def __eq__(self, other): ...
43
+ __hash__: Any
44
+ def __ne__(self, other): ...
45
+ __reduce__: Any
46
+
47
+ class _ttinfo:
48
+ def __init__(self) -> None: ...
49
+ def __eq__(self, other): ...
50
+ __hash__: Any
51
+ def __ne__(self, other): ...
52
+
53
+ class tzfile(_tzinfo):
54
+ def __init__(self, fileobj: _FileObj, filename: Optional[Text] = ...) -> None: ...
55
+ def is_ambiguous(self, dt: Optional[datetime.datetime], idx: Optional[int] = ...) -> bool: ...
56
+ def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
57
+ def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
58
+ def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
59
+ def __eq__(self, other): ...
60
+ __hash__: Any
61
+ def __ne__(self, other): ...
62
+ def __reduce__(self): ...
63
+ def __reduce_ex__(self, protocol): ...
64
+
65
+ class tzrange(tzrangebase):
66
+ hasdst: bool
67
+ def __init__(
68
+ self,
69
+ stdabbr: Text,
70
+ stdoffset: Union[int, datetime.timedelta, None] = ...,
71
+ dstabbr: Optional[Text] = ...,
72
+ dstoffset: Union[int, datetime.timedelta, None] = ...,
73
+ start: Optional[relativedelta] = ...,
74
+ end: Optional[relativedelta] = ...,
75
+ ) -> None: ...
76
+ def transitions(self, year: int) -> Tuple[datetime.datetime, datetime.datetime]: ...
77
+ def __eq__(self, other): ...
78
+
79
+ class tzstr(tzrange):
80
+ hasdst: bool
81
+ def __init__(self, s: Union[bytes, _FileObj], posix_offset: bool = ...) -> None: ...
82
+ @classmethod
83
+ def instance(cls, name, offset) -> tzoffset: ...
84
+
85
+ class tzical:
86
+ def __init__(self, fileobj: _FileObj) -> None: ...
87
+ def keys(self): ...
88
+ def get(self, tzid: Optional[Any] = ...): ...
89
+
90
+ TZFILES: List[str]
91
+ TZPATHS: List[str]
92
+
93
+ def datetime_exists(dt: datetime.datetime, tz: Optional[datetime.tzinfo] = ...) -> bool: ...
94
+ def datetime_ambiguous(dt: datetime.datetime, tz: Optional[datetime.tzinfo] = ...) -> bool: ...
95
+ def resolve_imaginary(dt: datetime.datetime) -> datetime.datetime: ...
96
+
97
+ class _GetTZ:
98
+ def __call__(self, name: Optional[Text] = ...) -> Optional[datetime.tzinfo]: ...
99
+ def nocache(self, name: Optional[Text]) -> Optional[datetime.tzinfo]: ...
100
+
101
+ gettz: _GetTZ
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/utils.pyi ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from datetime import datetime, timedelta, tzinfo
2
+ from typing import Optional
3
+
4
+ def default_tzinfo(dt: datetime, tzinfo: tzinfo) -> datetime: ...
5
+ def today(tzinfo: Optional[tzinfo] = ...) -> datetime: ...
6
+ def within_delta(dt1: datetime, dt2: datetime, delta: timedelta) -> bool: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/constants.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ LOREM_IPSUM_WORDS: str
material/dataset/xpsdeeplearning/.venv/lib/python3.10/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): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/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
material/dataset/xpsdeeplearning/.venv/lib/python3.10/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
material/dataset/xpsdeeplearning/.venv/lib/python3.10/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): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/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
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_constants.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from typing import Dict, Text
2
+
3
+ HTML_ENTITIES: Dict[Text, int]
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/__init__.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from .nmap import *
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/nmap.pyi ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Text, Tuple, TypeVar
2
+ from typing_extensions import TypedDict
3
+
4
+ _T = TypeVar("_T")
5
+ _Callback = Callable[[str, _Result], Any]
6
+
7
+ class _Result(TypedDict):
8
+ nmap: _ResultNmap
9
+ scan: Dict[str, PortScannerHostDict]
10
+
11
+ class _ResultNmap(TypedDict):
12
+ command_line: str
13
+ scaninfo: _ResultNmapInfo
14
+ scanstats: _ResultNampStats
15
+
16
+ class _ResultNmapInfo(TypedDict, total=False):
17
+ error: str
18
+ warning: str
19
+ protocol: _ResultNampInfoProtocol
20
+
21
+ class _ResultNampInfoProtocol(TypedDict):
22
+ method: str
23
+ services: str
24
+
25
+ class _ResultNampStats(TypedDict):
26
+ timestr: str
27
+ elapsed: str
28
+ uphosts: str
29
+ downhosts: str
30
+ totalhosts: str
31
+
32
+ class _ResulHostUptime(TypedDict):
33
+ seconds: str
34
+ lastboot: str
35
+
36
+ class _ResultHostNames(TypedDict):
37
+ type: str
38
+ name: str
39
+
40
+ class _ResultHostPort(TypedDict):
41
+ conf: str
42
+ cpe: str
43
+ extrainfo: str
44
+ name: str
45
+ product: str
46
+ reason: str
47
+ state: str
48
+ version: str
49
+
50
+ __last_modification__: str
51
+
52
+ class PortScanner(object):
53
+ def __init__(self, nmap_search_path: Iterable[str] = ...) -> None: ...
54
+ def get_nmap_last_output(self) -> Text: ...
55
+ def nmap_version(self) -> Tuple[int, int]: ...
56
+ def listscan(self, hosts: str = ...) -> List[str]: ...
57
+ def scan(self, hosts: Text = ..., ports: Optional[Text] = ..., arguments: Text = ..., sudo: bool = ...) -> _Result: ...
58
+ def analyse_nmap_xml_scan(
59
+ self,
60
+ nmap_xml_output: Optional[str] = ...,
61
+ nmap_err: str = ...,
62
+ nmap_err_keep_trace: str = ...,
63
+ nmap_warn_keep_trace: str = ...,
64
+ ) -> _Result: ...
65
+ def __getitem__(self, host: Text) -> PortScannerHostDict: ...
66
+ def all_hosts(self) -> List[str]: ...
67
+ def command_line(self) -> str: ...
68
+ def scaninfo(self) -> _ResultNmapInfo: ...
69
+ def scanstats(self) -> _ResultNampStats: ...
70
+ def has_host(self, host: str) -> bool: ...
71
+ def csv(self) -> str: ...
72
+
73
+ def __scan_progressive__(self, hosts: Text, ports: Text, arguments: Text, callback: Optional[_Callback], sudo: bool) -> None: ...
74
+
75
+ class PortScannerAsync(object):
76
+ def __init__(self) -> None: ...
77
+ def __del__(self) -> None: ...
78
+ def scan(
79
+ self,
80
+ hosts: Text = ...,
81
+ ports: Optional[Text] = ...,
82
+ arguments: Text = ...,
83
+ callback: Optional[_Callback] = ...,
84
+ sudo: bool = ...,
85
+ ) -> None: ...
86
+ def stop(self) -> None: ...
87
+ def wait(self, timeout: Optional[int] = ...) -> None: ...
88
+ def still_scanning(self) -> bool: ...
89
+
90
+ class PortScannerYield(PortScannerAsync):
91
+ def __init__(self) -> None: ...
92
+ def scan( # type: ignore
93
+ self, hosts: str = ..., ports: Optional[str] = ..., arguments: str = ..., sudo: bool = ...
94
+ ) -> Iterator[Tuple[str, _Result]]: ...
95
+ def stop(self) -> None: ...
96
+ def wait(self, timeout: Optional[int] = ...) -> None: ...
97
+ def still_scanning(self) -> None: ... # type: ignore
98
+
99
+ class PortScannerHostDict(Dict[str, Any]):
100
+ def hostnames(self) -> List[_ResultHostNames]: ...
101
+ def hostname(self) -> str: ...
102
+ def state(self) -> str: ...
103
+ def uptime(self) -> _ResulHostUptime: ...
104
+ def all_protocols(self) -> List[str]: ...
105
+ def all_tcp(self) -> List[int]: ...
106
+ def has_tcp(self, port: int) -> bool: ...
107
+ def tcp(self, port: int) -> _ResultHostPort: ...
108
+ def all_udp(self) -> List[int]: ...
109
+ def has_udp(self, port: int) -> bool: ...
110
+ def udp(self, port: int) -> _ResultHostPort: ...
111
+ def all_ip(self) -> List[int]: ...
112
+ def has_ip(self, port: int) -> bool: ...
113
+ def ip(self, port: int) -> _ResultHostPort: ...
114
+ def all_sctp(self) -> List[int]: ...
115
+ def has_sctp(self, port: int) -> bool: ...
116
+ def sctp(self, port: int) -> _ResultHostPort: ...
117
+
118
+ class PortScannerError(Exception):
119
+ value: str
120
+ def __init__(self, value: str) -> None: ...
121
+
122
+ def convert_nmap_output_to_encoding(value: _T, code: str = ...) -> _T: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/__init__.pyi ADDED
File without changes
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/__init__.pyi ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime
2
+ from enum import Enum
3
+ from typing import Any, List
4
+
5
+ from ..vmodl.query import PropertyCollector
6
+ from .event import EventManager
7
+ from .option import OptionManager
8
+ from .view import ViewManager
9
+
10
+ def __getattr__(name: str) -> Any: ... # incomplete
11
+
12
+ class ManagedObject: ...
13
+
14
+ class ManagedEntity(ManagedObject):
15
+ _moId: str
16
+ obj: None
17
+ name: str
18
+ def __getattr__(self, name: str) -> Any: ... # incomplete
19
+
20
+ class ServiceInstanceContent:
21
+ setting: OptionManager
22
+ propertyCollector: PropertyCollector
23
+ rootFolder: Folder
24
+ viewManager: ViewManager
25
+ perfManager: PerformanceManager
26
+ eventManager: EventManager
27
+ def __getattr__(self, name: str) -> Any: ... # incomplete
28
+
29
+ class ServiceInstance:
30
+ content: ServiceInstanceContent
31
+ def CurrentTime(self) -> datetime: ...
32
+ def __getattr__(self, name: str) -> Any: ... # incomplete
33
+
34
+ class PerformanceManager:
35
+ class MetricId:
36
+ counterId: int
37
+ instance: str
38
+ def __init__(self, counterId: int, instance: str): ...
39
+ class PerfCounterInfo:
40
+ key: int
41
+ groupInfo: Any
42
+ nameInfo: Any
43
+ rollupType: Any
44
+ def __getattr__(self, name: str) -> Any: ... # incomplete
45
+ class QuerySpec:
46
+ entity: ManagedEntity
47
+ metricId: List[PerformanceManager.MetricId]
48
+ intervalId: int
49
+ maxSample: int
50
+ startTime: datetime
51
+ def __getattr__(self, name: str) -> Any: ... # incomplete
52
+ class EntityMetricBase:
53
+ entity: ManagedEntity
54
+ def QueryPerfCounterByLevel(self, collection_level: int) -> List[PerformanceManager.PerfCounterInfo]: ...
55
+ def QueryPerf(self, querySpec: List[PerformanceManager.QuerySpec]) -> List[PerformanceManager.EntityMetricBase]: ...
56
+ def __getattr__(self, name: str) -> Any: ... # incomplete
57
+
58
+ class ClusterComputeResource(ManagedEntity): ...
59
+ class ComputeResource(ManagedEntity): ...
60
+ class Datacenter(ManagedEntity): ...
61
+ class Datastore(ManagedEntity): ...
62
+ class Folder(ManagedEntity): ...
63
+ class HostSystem(ManagedEntity): ...
64
+ class VirtualMachine(ManagedEntity): ...
65
+
66
+ class VirtualMachinePowerState(Enum):
67
+ poweredOff: int
68
+ poweredOn: int
69
+ suspended: int
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/event.pyi ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime
2
+ from typing import Any, List
3
+
4
+ def __getattr__(name: str) -> Any: ... # incomplete
5
+
6
+ class Event:
7
+ createdTime: datetime
8
+
9
+ class EventFilterSpec:
10
+ class ByTime:
11
+ def __init__(self, beginTime: datetime): ...
12
+ time: EventFilterSpec.ByTime
13
+
14
+ class EventManager:
15
+ latestEvent: Event
16
+ def QueryEvents(self, filer: EventFilterSpec) -> List[Event]: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/view.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, List, Type
2
+
3
+ from pyVmomi.vim import ManagedEntity
4
+
5
+ def __getattr__(name: str) -> Any: ... # incomplete
6
+
7
+ class ContainerView:
8
+ def Destroy(self) -> None: ...
9
+
10
+ class ViewManager:
11
+ # Doc says the `type` parameter of CreateContainerView is a `List[str]`,
12
+ # but in practice it seems to be `List[Type[ManagedEntity]]`
13
+ # Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html
14
+ @staticmethod
15
+ def CreateContainerView(container: ManagedEntity, type: List[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/__init__.pyi ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ class DynamicProperty:
4
+ name: str
5
+ val: Any
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/fault.pyi ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ def __getattr__(name: str) -> Any: ... # incomplete
4
+
5
+ class InvalidArgument(Exception): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/query.pyi ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, List, Optional, Type
2
+
3
+ from pyVmomi.vim import ManagedEntity
4
+ from pyVmomi.vim.view import ContainerView
5
+ from pyVmomi.vmodl import DynamicProperty
6
+
7
+ class PropertyCollector:
8
+ class PropertySpec:
9
+ all: bool
10
+ type: Type[ManagedEntity]
11
+ pathSet: List[str]
12
+ class TraversalSpec:
13
+ path: str
14
+ skip: bool
15
+ type: Type[ContainerView]
16
+ def __getattr__(self, name: str) -> Any: ... # incomplete
17
+ class RetrieveOptions:
18
+ maxObjects: int
19
+ class ObjectSpec:
20
+ skip: bool
21
+ selectSet: List[PropertyCollector.TraversalSpec]
22
+ obj: Any
23
+ class FilterSpec:
24
+ propSet: List[PropertyCollector.PropertySpec]
25
+ objectSet: List[PropertyCollector.ObjectSpec]
26
+ def __getattr__(self, name: str) -> Any: ... # incomplete
27
+ class ObjectContent:
28
+ obj: ManagedEntity
29
+ propSet: List[DynamicProperty]
30
+ def __getattr__(self, name: str) -> Any: ... # incomplete
31
+ class RetrieveResult:
32
+ objects: List[PropertyCollector.ObjectContent]
33
+ token: Optional[str]
34
+ def RetrievePropertiesEx(
35
+ self, specSet: List[PropertyCollector.FilterSpec], options: PropertyCollector.RetrieveOptions
36
+ ) -> PropertyCollector.RetrieveResult: ...
37
+ def ContinueRetrievePropertiesEx(self, token: str) -> PropertyCollector.RetrieveResult: ...
38
+ def __getattr__(self, name: str) -> Any: ... # incomplete
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/__init__.pyi ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import Callable, FrozenSet, Tuple
3
+
4
+ from .connections import Connection as _Connection
5
+ from .constants import FIELD_TYPE as FIELD_TYPE
6
+ from .converters import escape_dict as escape_dict, escape_sequence as escape_sequence, escape_string as escape_string
7
+ from .err import (
8
+ DatabaseError as DatabaseError,
9
+ DataError as DataError,
10
+ Error as Error,
11
+ IntegrityError as IntegrityError,
12
+ InterfaceError as InterfaceError,
13
+ InternalError as InternalError,
14
+ MySQLError as MySQLError,
15
+ NotSupportedError as NotSupportedError,
16
+ OperationalError as OperationalError,
17
+ ProgrammingError as ProgrammingError,
18
+ Warning as Warning,
19
+ )
20
+ from .times import (
21
+ Date as Date,
22
+ DateFromTicks as DateFromTicks,
23
+ Time as Time,
24
+ TimeFromTicks as TimeFromTicks,
25
+ Timestamp as Timestamp,
26
+ TimestampFromTicks as TimestampFromTicks,
27
+ )
28
+
29
+ threadsafety: int
30
+ apilevel: str
31
+ paramstyle: str
32
+
33
+ class DBAPISet(FrozenSet[int]):
34
+ def __ne__(self, other) -> bool: ...
35
+ def __eq__(self, other) -> bool: ...
36
+ def __hash__(self) -> int: ...
37
+
38
+ STRING: DBAPISet
39
+ BINARY: DBAPISet
40
+ NUMBER: DBAPISet
41
+ DATE: DBAPISet
42
+ TIME: DBAPISet
43
+ TIMESTAMP: DBAPISet
44
+ DATETIME: DBAPISet
45
+ ROWID: DBAPISet
46
+
47
+ if sys.version_info >= (3, 0):
48
+ def Binary(x) -> bytes: ...
49
+
50
+ else:
51
+ def Binary(x) -> bytearray: ...
52
+
53
+ def Connect(*args, **kwargs) -> _Connection: ...
54
+ def get_client_info() -> str: ...
55
+
56
+ connect: Callable[..., _Connection]
57
+ Connection: Callable[..., _Connection]
58
+ __version__: str
59
+ version_info: Tuple[int, int, int, str, int]
60
+ NULL: str
61
+
62
+ def thread_safe() -> bool: ...
63
+ def install_as_MySQLdb() -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/charset.pyi ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ MBLENGTH: Any
4
+
5
+ class Charset:
6
+ is_default: Any
7
+ def __init__(self, id, name, collation, is_default): ...
8
+
9
+ class Charsets:
10
+ def __init__(self): ...
11
+ def add(self, c): ...
12
+ def by_id(self, id): ...
13
+ def by_name(self, name): ...
14
+
15
+ def charset_by_name(name): ...
16
+ def charset_by_id(id): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/connections.pyi ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from socket import SocketType
2
+ from typing import Any, AnyStr, Mapping, Optional, Tuple, Type
3
+
4
+ from .charset import charset_by_id as charset_by_id, charset_by_name as charset_by_name
5
+ from .constants import CLIENT as CLIENT, COMMAND as COMMAND, FIELD_TYPE as FIELD_TYPE, SERVER_STATUS as SERVER_STATUS
6
+ from .cursors import Cursor
7
+ from .util import byte2int as byte2int, int2byte as int2byte
8
+
9
+ SSL_ENABLED: Any
10
+ DEFAULT_USER: Any
11
+ DEBUG: Any
12
+ DEFAULT_CHARSET: Any
13
+
14
+ def dump_packet(data): ...
15
+ def pack_int24(n): ...
16
+ def lenenc_int(i: int) -> bytes: ...
17
+
18
+ class MysqlPacket:
19
+ connection: Any
20
+ def __init__(self, data, encoding): ...
21
+ def get_all_data(self): ...
22
+ def read(self, size): ...
23
+ def read_all(self): ...
24
+ def advance(self, length): ...
25
+ def rewind(self, position: int = ...): ...
26
+ def get_bytes(self, position, length: int = ...): ...
27
+ def read_string(self) -> bytes: ...
28
+ def read_uint8(self) -> Any: ...
29
+ def read_uint16(self) -> Any: ...
30
+ def read_uint24(self) -> Any: ...
31
+ def read_uint32(self) -> Any: ...
32
+ def read_uint64(self) -> Any: ...
33
+ def read_length_encoded_integer(self) -> int: ...
34
+ def read_length_coded_string(self) -> bytes: ...
35
+ def read_struct(self, fmt: str) -> Tuple[Any, ...]: ...
36
+ def is_ok_packet(self) -> bool: ...
37
+ def is_eof_packet(self) -> bool: ...
38
+ def is_auth_switch_request(self) -> bool: ...
39
+ def is_extra_auth_data(self) -> bool: ...
40
+ def is_resultset_packet(self) -> bool: ...
41
+ def is_load_local_packet(self) -> bool: ...
42
+ def is_error_packet(self) -> bool: ...
43
+ def check_error(self): ...
44
+ def raise_for_error(self) -> None: ...
45
+ def dump(self): ...
46
+
47
+ class FieldDescriptorPacket(MysqlPacket):
48
+ def __init__(self, data, encoding): ...
49
+ def description(self): ...
50
+ def get_column_length(self): ...
51
+
52
+ class Connection:
53
+ ssl: Any
54
+ host: Any
55
+ port: Any
56
+ user: Any
57
+ password: Any
58
+ db: Any
59
+ unix_socket: Any
60
+ bind_address: Any
61
+ charset: Any
62
+ use_unicode: Any
63
+ client_flag: Any
64
+ cursorclass: Any
65
+ connect_timeout: Any
66
+ messages: Any
67
+ encoders: Any
68
+ decoders: Any
69
+ host_info: Any
70
+ sql_mode: Any
71
+ init_command: Any
72
+ max_allowed_packet: int
73
+ server_public_key: bytes
74
+ def __init__(
75
+ self,
76
+ host: Optional[str] = ...,
77
+ user: Optional[Any] = ...,
78
+ password: str = ...,
79
+ database: Optional[Any] = ...,
80
+ port: int = ...,
81
+ unix_socket: Optional[Any] = ...,
82
+ charset: str = ...,
83
+ sql_mode: Optional[Any] = ...,
84
+ read_default_file: Optional[Any] = ...,
85
+ conv=...,
86
+ use_unicode: Optional[bool] = ...,
87
+ client_flag: int = ...,
88
+ cursorclass: Optional[Type[Cursor]] = ...,
89
+ init_command: Optional[Any] = ...,
90
+ connect_timeout: Optional[int] = ...,
91
+ ssl: Optional[Mapping] = ...,
92
+ read_default_group: Optional[Any] = ...,
93
+ compress: Optional[Any] = ...,
94
+ named_pipe: Optional[Any] = ...,
95
+ autocommit: Optional[bool] = ...,
96
+ db: Optional[Any] = ...,
97
+ passwd: Optional[Any] = ...,
98
+ local_infile: Optional[Any] = ...,
99
+ max_allowed_packet: int = ...,
100
+ defer_connect: Optional[bool] = ...,
101
+ auth_plugin_map: Optional[Mapping] = ...,
102
+ read_timeout: Optional[float] = ...,
103
+ write_timeout: Optional[float] = ...,
104
+ bind_address: Optional[Any] = ...,
105
+ binary_prefix: Optional[bool] = ...,
106
+ program_name: Optional[Any] = ...,
107
+ server_public_key: Optional[bytes] = ...,
108
+ ): ...
109
+ socket: Any
110
+ rfile: Any
111
+ wfile: Any
112
+ def close(self) -> None: ...
113
+ @property
114
+ def open(self) -> bool: ...
115
+ def autocommit(self, value) -> None: ...
116
+ def get_autocommit(self) -> bool: ...
117
+ def commit(self) -> None: ...
118
+ def begin(self) -> None: ...
119
+ def rollback(self) -> None: ...
120
+ def select_db(self, db) -> None: ...
121
+ def escape(self, obj, mapping: Optional[Mapping] = ...): ...
122
+ def literal(self, obj): ...
123
+ def escape_string(self, s: AnyStr) -> AnyStr: ...
124
+ def cursor(self, cursor: Optional[Type[Cursor]] = ...) -> Cursor: ...
125
+ def query(self, sql, unbuffered: bool = ...) -> int: ...
126
+ def next_result(self, unbuffered: bool = ...) -> int: ...
127
+ def affected_rows(self): ...
128
+ def kill(self, thread_id): ...
129
+ def ping(self, reconnect: bool = ...) -> None: ...
130
+ def set_charset(self, charset) -> None: ...
131
+ def connect(self, sock: Optional[SocketType] = ...) -> None: ...
132
+ def write_packet(self, payload) -> None: ...
133
+ def _read_packet(self, packet_type=...): ...
134
+ def insert_id(self): ...
135
+ def thread_id(self): ...
136
+ def character_set_name(self): ...
137
+ def get_host_info(self): ...
138
+ def get_proto_info(self): ...
139
+ def get_server_info(self): ...
140
+ def show_warnings(self): ...
141
+ Warning: Any
142
+ Error: Any
143
+ InterfaceError: Any
144
+ DatabaseError: Any
145
+ DataError: Any
146
+ OperationalError: Any
147
+ IntegrityError: Any
148
+ InternalError: Any
149
+ ProgrammingError: Any
150
+ NotSupportedError: Any
151
+
152
+ class MySQLResult:
153
+ connection: Any
154
+ affected_rows: Any
155
+ insert_id: Any
156
+ server_status: Any
157
+ warning_count: Any
158
+ message: Any
159
+ field_count: Any
160
+ description: Any
161
+ rows: Any
162
+ has_next: Any
163
+ def __init__(self, connection: Connection) -> None: ...
164
+ first_packet: Any
165
+ def read(self) -> None: ...
166
+ def init_unbuffered_query(self) -> None: ...
167
+
168
+ class LoadLocalFile:
169
+ filename: Any
170
+ connection: Connection
171
+ def __init__(self, filename: Any, connection: Connection) -> None: ...
172
+ def send_data(self) -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/FLAG.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ NOT_NULL: Any
4
+ PRI_KEY: Any
5
+ UNIQUE_KEY: Any
6
+ MULTIPLE_KEY: Any
7
+ BLOB: Any
8
+ UNSIGNED: Any
9
+ ZEROFILL: Any
10
+ BINARY: Any
11
+ ENUM: Any
12
+ AUTO_INCREMENT: Any
13
+ TIMESTAMP: Any
14
+ SET: Any
15
+ PART_KEY: Any
16
+ GROUP: Any
17
+ UNIQUE: Any
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/converters.pyi ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ from .charset import charset_by_id as charset_by_id
4
+ from .constants import FIELD_TYPE as FIELD_TYPE, FLAG as FLAG
5
+
6
+ PYTHON3: Any
7
+ ESCAPE_REGEX: Any
8
+ ESCAPE_MAP: Any
9
+
10
+ def escape_item(val, charset): ...
11
+ def escape_dict(val, charset): ...
12
+ def escape_sequence(val, charset): ...
13
+ def escape_set(val, charset): ...
14
+ def escape_bool(value): ...
15
+ def escape_object(value): ...
16
+
17
+ escape_int: Any
18
+
19
+ escape_long: Any
20
+
21
+ def escape_float(value): ...
22
+ def escape_string(value): ...
23
+ def escape_unicode(value): ...
24
+ def escape_None(value): ...
25
+ def escape_timedelta(obj): ...
26
+ def escape_time(obj): ...
27
+ def escape_datetime(obj): ...
28
+ def escape_date(obj): ...
29
+ def escape_struct_time(obj): ...
30
+ def convert_datetime(connection, field, obj): ...
31
+ def convert_timedelta(connection, field, obj): ...
32
+ def convert_time(connection, field, obj): ...
33
+ def convert_date(connection, field, obj): ...
34
+ def convert_mysql_timestamp(connection, field, timestamp): ...
35
+ def convert_set(s): ...
36
+ def convert_bit(connection, field, b): ...
37
+ def convert_characters(connection, field, data): ...
38
+ def convert_int(connection, field, data): ...
39
+ def convert_long(connection, field, data): ...
40
+ def convert_float(connection, field, data): ...
41
+
42
+ encoders: Any
43
+ decoders: Any
44
+ conversions: Any
45
+
46
+ def convert_decimal(connection, field, data): ...
47
+ def escape_decimal(obj): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/cursors.pyi ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Dict, Iterable, Iterator, List, Optional, Text, Tuple, TypeVar, Union
2
+
3
+ from .connections import Connection
4
+
5
+ _Gen = Union[Tuple[Any, ...], Dict[Text, Any]]
6
+ _QueryArgs = Union[Tuple[Any, ...], List[Any], Dict[Text, Any], None]
7
+ _SelfT = TypeVar("_SelfT")
8
+
9
+ class Cursor:
10
+ connection: Connection
11
+ description: Tuple[Text, ...]
12
+ rownumber: int
13
+ rowcount: int
14
+ arraysize: int
15
+ messages: Any
16
+ errorhandler: Any
17
+ lastrowid: int
18
+ def __init__(self, connection: Connection) -> None: ...
19
+ def __del__(self) -> None: ...
20
+ def close(self) -> None: ...
21
+ def setinputsizes(self, *args) -> None: ...
22
+ def setoutputsizes(self, *args) -> None: ...
23
+ def nextset(self) -> Optional[bool]: ...
24
+ def mogrify(self, query: Text, args: _QueryArgs = ...) -> str: ...
25
+ def execute(self, query: Text, args: _QueryArgs = ...) -> int: ...
26
+ def executemany(self, query: Text, args: Iterable[_QueryArgs]) -> Optional[int]: ...
27
+ def callproc(self, procname: Text, args: Iterable[Any] = ...) -> Any: ...
28
+ def fetchone(self) -> Optional[_Gen]: ...
29
+ def fetchmany(self, size: Optional[int] = ...) -> Union[Optional[_Gen], List[_Gen]]: ...
30
+ def fetchall(self) -> Optional[Tuple[_Gen, ...]]: ...
31
+ def scroll(self, value: int, mode: Text = ...) -> None: ...
32
+ def __iter__(self) -> Iterator[_Gen]: ...
33
+ def __enter__(self: _SelfT) -> _SelfT: ...
34
+ def __exit__(self, *exc_info: Any) -> None: ...
35
+
36
+ class DictCursor(Cursor):
37
+ def fetchone(self) -> Optional[Dict[Text, Any]]: ...
38
+ def fetchmany(self, size: Optional[int] = ...) -> Optional[Tuple[Dict[Text, Any], ...]]: ...
39
+ def fetchall(self) -> Optional[Tuple[Dict[Text, Any], ...]]: ...
40
+
41
+ class DictCursorMixin:
42
+ dict_type: Any
43
+
44
+ class SSCursor(Cursor):
45
+ # fetchall return type is incompatible with the supertype.
46
+ def fetchall(self) -> List[_Gen]: ... # type: ignore
47
+ def fetchall_unbuffered(self) -> Iterator[_Gen]: ...
48
+ def __iter__(self) -> Iterator[_Gen]: ...
49
+ def fetchmany(self, size: Optional[int] = ...) -> List[_Gen]: ...
50
+ def scroll(self, value: int, mode: Text = ...) -> None: ...
51
+
52
+ class SSDictCursor(DictCursorMixin, SSCursor): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/err.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import builtins
2
+ from typing import Dict, NoReturn, Type
3
+
4
+ from .constants import ER as ER
5
+
6
+ class MySQLError(Exception): ...
7
+ class Warning(builtins.Warning, MySQLError): ...
8
+ class Error(MySQLError): ...
9
+ class InterfaceError(Error): ...
10
+ class DatabaseError(Error): ...
11
+ class DataError(DatabaseError): ...
12
+ class OperationalError(DatabaseError): ...
13
+ class IntegrityError(DatabaseError): ...
14
+ class InternalError(DatabaseError): ...
15
+ class ProgrammingError(DatabaseError): ...
16
+ class NotSupportedError(DatabaseError): ...
17
+
18
+ error_map: Dict[int, Type[DatabaseError]]
19
+
20
+ def raise_mysql_exception(data) -> NoReturn: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/times.pyi ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ Date: Any
4
+ Time: Any
5
+ TimeDelta: Any
6
+ Timestamp: Any
7
+
8
+ def DateFromTicks(ticks): ...
9
+ def TimeFromTicks(ticks): ...
10
+ def TimestampFromTicks(ticks): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/util.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ def byte2int(b): ...
2
+ def int2byte(i): ...
3
+ def join_bytes(bs): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pytz/__init__.pyi ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ from typing import List, Mapping, Optional, Set, Union
3
+
4
+ class BaseTzInfo(datetime.tzinfo):
5
+ zone: str = ...
6
+ def localize(self, dt: datetime.datetime, is_dst: Optional[bool] = ...) -> datetime.datetime: ...
7
+ def normalize(self, dt: datetime.datetime) -> datetime.datetime: ...
8
+
9
+ class _UTCclass(BaseTzInfo):
10
+ def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
11
+ def utcoffset(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ...
12
+ def dst(self, dt: Optional[datetime.datetime]) -> datetime.timedelta: ...
13
+
14
+ class _StaticTzInfo(BaseTzInfo):
15
+ def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ...
16
+ def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ...
17
+ def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> datetime.timedelta: ...
18
+
19
+ class _DstTzInfo(BaseTzInfo):
20
+ def tzname(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> str: ...
21
+ def utcoffset(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ...
22
+ def dst(self, dt: Optional[datetime.datetime], is_dst: Optional[bool] = ...) -> Optional[datetime.timedelta]: ...
23
+
24
+ class UnknownTimeZoneError(KeyError): ...
25
+ class InvalidTimeError(Exception): ...
26
+ class AmbiguousTimeError(InvalidTimeError): ...
27
+ class NonExistentTimeError(InvalidTimeError): ...
28
+
29
+ utc: _UTCclass
30
+ UTC: _UTCclass
31
+
32
+ def timezone(zone: str) -> Union[_UTCclass, _StaticTzInfo, _DstTzInfo]: ...
33
+ def FixedOffset(offset: int) -> Union[_UTCclass, datetime.tzinfo]: ...
34
+
35
+ all_timezones: List[str]
36
+ all_timezones_set: Set[str]
37
+ common_timezones: List[str]
38
+ common_timezones_set: Set[str]
39
+ country_timezones: Mapping[str, List[str]]
40
+ country_names: Mapping[str, str]
41
+ ZERO: datetime.timedelta
42
+ HOUR: datetime.timedelta
43
+ VERSION: str
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/auth.pyi ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Text, Union
2
+
3
+ from . import cookies, models, status_codes, utils
4
+
5
+ extract_cookies_to_jar = cookies.extract_cookies_to_jar
6
+ parse_dict_header = utils.parse_dict_header
7
+ to_native_string = utils.to_native_string
8
+
9
+ CONTENT_TYPE_FORM_URLENCODED: Any
10
+ CONTENT_TYPE_MULTI_PART: Any
11
+
12
+ def _basic_auth_str(username: Union[bytes, Text], password: Union[bytes, Text]) -> str: ...
13
+
14
+ class AuthBase:
15
+ def __call__(self, r: models.PreparedRequest) -> models.PreparedRequest: ...
16
+
17
+ class HTTPBasicAuth(AuthBase):
18
+ username: Any
19
+ password: Any
20
+ def __init__(self, username, password) -> None: ...
21
+ def __call__(self, r): ...
22
+
23
+ class HTTPProxyAuth(HTTPBasicAuth):
24
+ def __call__(self, r): ...
25
+
26
+ class HTTPDigestAuth(AuthBase):
27
+ username: Any
28
+ password: Any
29
+ last_nonce: Any
30
+ nonce_count: Any
31
+ chal: Any
32
+ pos: Any
33
+ num_401_calls: Any
34
+ def __init__(self, username, password) -> None: ...
35
+ def build_digest_header(self, method, url): ...
36
+ def handle_redirect(self, r, **kwargs): ...
37
+ def handle_401(self, r, **kwargs): ...
38
+ def __call__(self, r): ...
39
+ def init_per_thread_state(self) -> None: ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/cookies.pyi ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import Any, MutableMapping
3
+
4
+ if sys.version_info < (3, 0):
5
+ from cookielib import CookieJar
6
+ else:
7
+ from http.cookiejar import CookieJar
8
+
9
+ class MockRequest:
10
+ type: Any
11
+ def __init__(self, request) -> None: ...
12
+ def get_type(self): ...
13
+ def get_host(self): ...
14
+ def get_origin_req_host(self): ...
15
+ def get_full_url(self): ...
16
+ def is_unverifiable(self): ...
17
+ def has_header(self, name): ...
18
+ def get_header(self, name, default=...): ...
19
+ def add_header(self, key, val): ...
20
+ def add_unredirected_header(self, name, value): ...
21
+ def get_new_headers(self): ...
22
+ @property
23
+ def unverifiable(self): ...
24
+ @property
25
+ def origin_req_host(self): ...
26
+ @property
27
+ def host(self): ...
28
+
29
+ class MockResponse:
30
+ def __init__(self, headers) -> None: ...
31
+ def info(self): ...
32
+ def getheaders(self, name): ...
33
+
34
+ def extract_cookies_to_jar(jar, request, response): ...
35
+ def get_cookie_header(jar, request): ...
36
+ def remove_cookie_by_name(cookiejar, name, domain=..., path=...): ...
37
+
38
+ class CookieConflictError(RuntimeError): ...
39
+
40
+ class RequestsCookieJar(CookieJar, MutableMapping[Any, Any]):
41
+ def get(self, name, default=..., domain=..., path=...): ...
42
+ def set(self, name, value, **kwargs): ...
43
+ def iterkeys(self): ...
44
+ def keys(self): ...
45
+ def itervalues(self): ...
46
+ def values(self): ...
47
+ def iteritems(self): ...
48
+ def items(self): ...
49
+ def list_domains(self): ...
50
+ def list_paths(self): ...
51
+ def multiple_domains(self): ...
52
+ def get_dict(self, domain=..., path=...): ...
53
+ def __getitem__(self, name): ...
54
+ def __setitem__(self, name, value): ...
55
+ def __delitem__(self, name): ...
56
+ def set_cookie(self, cookie, *args, **kwargs): ...
57
+ def update(self, other): ...
58
+ def copy(self): ...
59
+ def get_policy(self): ...
60
+
61
+ def create_cookie(name, value, **kwargs): ...
62
+ def morsel_to_cookie(morsel): ...
63
+ def cookiejar_from_dict(cookie_dict, cookiejar=..., overwrite=...): ...
64
+ def merge_cookies(cookiejar, cookies): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/__init__.pyi ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ class VendorAlias:
2
+ def __init__(self, package_names) -> None: ...
3
+ def find_module(self, fullname, path=...): ...
4
+ def load_module(self, name): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/__init__.pyi ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import logging
2
+ from typing import Any
3
+
4
+ from . import connectionpool, filepost, poolmanager, response
5
+ from .util import request as _request, retry, timeout, url
6
+
7
+ __license__: Any
8
+
9
+ HTTPConnectionPool = connectionpool.HTTPConnectionPool
10
+ HTTPSConnectionPool = connectionpool.HTTPSConnectionPool
11
+ connection_from_url = connectionpool.connection_from_url
12
+ encode_multipart_formdata = filepost.encode_multipart_formdata
13
+ PoolManager = poolmanager.PoolManager
14
+ ProxyManager = poolmanager.ProxyManager
15
+ proxy_from_url = poolmanager.proxy_from_url
16
+ HTTPResponse = response.HTTPResponse
17
+ make_headers = _request.make_headers
18
+ get_host = url.get_host
19
+ Timeout = timeout.Timeout
20
+ Retry = retry.Retry
21
+
22
+ class NullHandler(logging.Handler):
23
+ def emit(self, record): ...
24
+
25
+ def add_stderr_logger(level=...): ...
26
+ def disable_warnings(category=...): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/_collections.pyi ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections import MutableMapping
2
+ from typing import Any, NoReturn, TypeVar
3
+
4
+ _KT = TypeVar("_KT")
5
+ _VT = TypeVar("_VT")
6
+
7
+ class RLock:
8
+ def __enter__(self): ...
9
+ def __exit__(self, exc_type, exc_value, traceback): ...
10
+
11
+ class RecentlyUsedContainer(MutableMapping[_KT, _VT]):
12
+ ContainerCls: Any
13
+ dispose_func: Any
14
+ lock: Any
15
+ def __init__(self, maxsize=..., dispose_func=...) -> None: ...
16
+ def __getitem__(self, key): ...
17
+ def __setitem__(self, key, value): ...
18
+ def __delitem__(self, key): ...
19
+ def __len__(self): ...
20
+ def __iter__(self): ...
21
+ def clear(self): ...
22
+ def keys(self): ...
23
+
24
+ class HTTPHeaderDict(MutableMapping[str, str]):
25
+ def __init__(self, headers=..., **kwargs) -> None: ...
26
+ def __setitem__(self, key, val): ...
27
+ def __getitem__(self, key): ...
28
+ def __delitem__(self, key): ...
29
+ def __contains__(self, key): ...
30
+ def __eq__(self, other): ...
31
+ def __iter__(self) -> NoReturn: ...
32
+ def __len__(self) -> int: ...
33
+ def __ne__(self, other): ...
34
+ values: Any
35
+ get: Any
36
+ update: Any
37
+ iterkeys: Any
38
+ itervalues: Any
39
+ def pop(self, key, default=...): ...
40
+ def discard(self, key): ...
41
+ def add(self, key, val): ...
42
+ def extend(self, *args, **kwargs): ...
43
+ def getlist(self, key): ...
44
+ getheaders: Any
45
+ getallmatchingheaders: Any
46
+ iget: Any
47
+ def copy(self): ...
48
+ def iteritems(self): ...
49
+ def itermerged(self): ...
50
+ def items(self): ...
51
+ @classmethod
52
+ def from_httplib(cls, message, duplicates=...): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connection.pyi ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ssl
2
+ import sys
3
+ from typing import Any
4
+
5
+ from . import exceptions, util
6
+ from .packages import ssl_match_hostname
7
+ from .util import ssl_
8
+
9
+ if sys.version_info < (3, 0):
10
+ from httplib import HTTPConnection as _HTTPConnection, HTTPException as HTTPException
11
+ class ConnectionError(Exception): ...
12
+
13
+ else:
14
+ from builtins import ConnectionError as ConnectionError
15
+ from http.client import HTTPConnection as _HTTPConnection, HTTPException as HTTPException
16
+
17
+ class DummyConnection: ...
18
+
19
+ BaseSSLError = ssl.SSLError
20
+
21
+ ConnectTimeoutError = exceptions.ConnectTimeoutError
22
+ SystemTimeWarning = exceptions.SystemTimeWarning
23
+ SecurityWarning = exceptions.SecurityWarning
24
+ match_hostname = ssl_match_hostname.match_hostname
25
+ resolve_cert_reqs = ssl_.resolve_cert_reqs
26
+ resolve_ssl_version = ssl_.resolve_ssl_version
27
+ ssl_wrap_socket = ssl_.ssl_wrap_socket
28
+ assert_fingerprint = ssl_.assert_fingerprint
29
+ connection = util.connection
30
+
31
+ port_by_scheme: Any
32
+ RECENT_DATE: Any
33
+
34
+ class HTTPConnection(_HTTPConnection):
35
+ default_port: Any
36
+ default_socket_options: Any
37
+ is_verified: Any
38
+ source_address: Any
39
+ socket_options: Any
40
+ def __init__(self, *args, **kw) -> None: ...
41
+ def connect(self): ...
42
+
43
+ class HTTPSConnection(HTTPConnection):
44
+ default_port: Any
45
+ key_file: Any
46
+ cert_file: Any
47
+ def __init__(self, host, port=..., key_file=..., cert_file=..., strict=..., timeout=..., **kw) -> None: ...
48
+ sock: Any
49
+ def connect(self): ...
50
+
51
+ class VerifiedHTTPSConnection(HTTPSConnection):
52
+ cert_reqs: Any
53
+ ca_certs: Any
54
+ ssl_version: Any
55
+ assert_fingerprint: Any
56
+ key_file: Any
57
+ cert_file: Any
58
+ assert_hostname: Any
59
+ def set_cert(self, key_file=..., cert_file=..., cert_reqs=..., ca_certs=..., assert_hostname=..., assert_fingerprint=...): ...
60
+ sock: Any
61
+ auto_open: Any
62
+ is_verified: Any
63
+ def connect(self): ...
64
+
65
+ UnverifiedHTTPSConnection = HTTPSConnection
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connectionpool.pyi ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ from . import connection, exceptions, request, response
4
+ from .connection import BaseSSLError as BaseSSLError, ConnectionError as ConnectionError, HTTPException as HTTPException
5
+ from .packages import ssl_match_hostname
6
+ from .util import connection as _connection, retry, timeout, url
7
+
8
+ ClosedPoolError = exceptions.ClosedPoolError
9
+ ProtocolError = exceptions.ProtocolError
10
+ EmptyPoolError = exceptions.EmptyPoolError
11
+ HostChangedError = exceptions.HostChangedError
12
+ LocationValueError = exceptions.LocationValueError
13
+ MaxRetryError = exceptions.MaxRetryError
14
+ ProxyError = exceptions.ProxyError
15
+ ReadTimeoutError = exceptions.ReadTimeoutError
16
+ SSLError = exceptions.SSLError
17
+ TimeoutError = exceptions.TimeoutError
18
+ InsecureRequestWarning = exceptions.InsecureRequestWarning
19
+ CertificateError = ssl_match_hostname.CertificateError
20
+ port_by_scheme = connection.port_by_scheme
21
+ DummyConnection = connection.DummyConnection
22
+ HTTPConnection = connection.HTTPConnection
23
+ HTTPSConnection = connection.HTTPSConnection
24
+ VerifiedHTTPSConnection = connection.VerifiedHTTPSConnection
25
+ RequestMethods = request.RequestMethods
26
+ HTTPResponse = response.HTTPResponse
27
+ is_connection_dropped = _connection.is_connection_dropped
28
+ Retry = retry.Retry
29
+ Timeout = timeout.Timeout
30
+ get_host = url.get_host
31
+
32
+ xrange: Any
33
+ log: Any
34
+
35
+ class ConnectionPool:
36
+ scheme: Any
37
+ QueueCls: Any
38
+ host: Any
39
+ port: Any
40
+ def __init__(self, host, port=...) -> None: ...
41
+ def __enter__(self): ...
42
+ def __exit__(self, exc_type, exc_val, exc_tb): ...
43
+ def close(self): ...
44
+
45
+ class HTTPConnectionPool(ConnectionPool, RequestMethods):
46
+ scheme: Any
47
+ ConnectionCls: Any
48
+ strict: Any
49
+ timeout: Any
50
+ retries: Any
51
+ pool: Any
52
+ block: Any
53
+ proxy: Any
54
+ proxy_headers: Any
55
+ num_connections: Any
56
+ num_requests: Any
57
+ conn_kw: Any
58
+ def __init__(
59
+ self,
60
+ host,
61
+ port=...,
62
+ strict=...,
63
+ timeout=...,
64
+ maxsize=...,
65
+ block=...,
66
+ headers=...,
67
+ retries=...,
68
+ _proxy=...,
69
+ _proxy_headers=...,
70
+ **conn_kw,
71
+ ) -> None: ...
72
+ def close(self): ...
73
+ def is_same_host(self, url): ...
74
+ def urlopen(
75
+ self,
76
+ method,
77
+ url,
78
+ body=...,
79
+ headers=...,
80
+ retries=...,
81
+ redirect=...,
82
+ assert_same_host=...,
83
+ timeout=...,
84
+ pool_timeout=...,
85
+ release_conn=...,
86
+ **response_kw,
87
+ ): ...
88
+
89
+ class HTTPSConnectionPool(HTTPConnectionPool):
90
+ scheme: Any
91
+ ConnectionCls: Any
92
+ key_file: Any
93
+ cert_file: Any
94
+ cert_reqs: Any
95
+ ca_certs: Any
96
+ ssl_version: Any
97
+ assert_hostname: Any
98
+ assert_fingerprint: Any
99
+ def __init__(
100
+ self,
101
+ host,
102
+ port=...,
103
+ strict=...,
104
+ timeout=...,
105
+ maxsize=...,
106
+ block=...,
107
+ headers=...,
108
+ retries=...,
109
+ _proxy=...,
110
+ _proxy_headers=...,
111
+ key_file=...,
112
+ cert_file=...,
113
+ cert_reqs=...,
114
+ ca_certs=...,
115
+ ssl_version=...,
116
+ assert_hostname=...,
117
+ assert_fingerprint=...,
118
+ **conn_kw,
119
+ ) -> None: ...
120
+
121
+ def connection_from_url(url, **kw): ...
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/exceptions.pyi ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ class HTTPError(Exception): ...
4
+ class HTTPWarning(Warning): ...
5
+
6
+ class PoolError(HTTPError):
7
+ pool: Any
8
+ def __init__(self, pool, message) -> None: ...
9
+ def __reduce__(self): ...
10
+
11
+ class RequestError(PoolError):
12
+ url: Any
13
+ def __init__(self, pool, url, message) -> None: ...
14
+ def __reduce__(self): ...
15
+
16
+ class SSLError(HTTPError): ...
17
+ class ProxyError(HTTPError): ...
18
+ class DecodeError(HTTPError): ...
19
+ class ProtocolError(HTTPError): ...
20
+
21
+ ConnectionError: Any
22
+
23
+ class MaxRetryError(RequestError):
24
+ reason: Any
25
+ def __init__(self, pool, url, reason=...) -> None: ...
26
+
27
+ class HostChangedError(RequestError):
28
+ retries: Any
29
+ def __init__(self, pool, url, retries=...) -> None: ...
30
+
31
+ class TimeoutStateError(HTTPError): ...
32
+ class TimeoutError(HTTPError): ...
33
+ class ReadTimeoutError(TimeoutError, RequestError): ...
34
+ class ConnectTimeoutError(TimeoutError): ...
35
+ class EmptyPoolError(PoolError): ...
36
+ class ClosedPoolError(PoolError): ...
37
+ class LocationValueError(ValueError, HTTPError): ...
38
+
39
+ class LocationParseError(LocationValueError):
40
+ location: Any
41
+ def __init__(self, location) -> None: ...
42
+
43
+ class ResponseError(HTTPError):
44
+ GENERIC_ERROR: Any
45
+ SPECIFIC_ERROR: Any
46
+
47
+ class SecurityWarning(HTTPWarning): ...
48
+ class InsecureRequestWarning(SecurityWarning): ...
49
+ class SystemTimeWarning(SecurityWarning): ...
50
+ class InsecurePlatformWarning(SecurityWarning): ...