basedpyright 1.31.5 → 1.31.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (771) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_ast.pyi +5 -5
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +7 -5
  8. package/dist/typeshed-fallback/stdlib/_blake2.pyi +88 -45
  9. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +4 -6
  10. package/dist/typeshed-fallback/stdlib/_compat_pickle.pyi +10 -8
  11. package/dist/typeshed-fallback/stdlib/_csv.pyi +5 -2
  12. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +11 -11
  13. package/dist/typeshed-fallback/stdlib/_curses.pyi +270 -270
  14. package/dist/typeshed-fallback/stdlib/_curses_panel.pyi +3 -3
  15. package/dist/typeshed-fallback/stdlib/_dbm.pyi +3 -3
  16. package/dist/typeshed-fallback/stdlib/_decimal.pyi +8 -8
  17. package/dist/typeshed-fallback/stdlib/_frozen_importlib_external.pyi +12 -11
  18. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +2 -1
  19. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +25 -19
  20. package/dist/typeshed-fallback/stdlib/_io.pyi +222 -164
  21. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +2 -0
  22. package/dist/typeshed-fallback/stdlib/_lzma.pyi +6 -6
  23. package/dist/typeshed-fallback/stdlib/_msi.pyi +39 -39
  24. package/dist/typeshed-fallback/stdlib/_multibytecodec.pyi +5 -0
  25. package/dist/typeshed-fallback/stdlib/_pickle.pyi +3 -1
  26. package/dist/typeshed-fallback/stdlib/_queue.pyi +2 -0
  27. package/dist/typeshed-fallback/stdlib/_random.pyi +8 -2
  28. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  29. package/dist/typeshed-fallback/stdlib/_ssl.pyi +2 -2
  30. package/dist/typeshed-fallback/stdlib/_struct.pyi +2 -1
  31. package/dist/typeshed-fallback/stdlib/_thread.pyi +3 -2
  32. package/dist/typeshed-fallback/stdlib/_threading_local.pyi +2 -0
  33. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +20 -20
  34. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +13 -2
  35. package/dist/typeshed-fallback/stdlib/_warnings.pyi +7 -7
  36. package/dist/typeshed-fallback/stdlib/_winapi.pyi +14 -14
  37. package/dist/typeshed-fallback/stdlib/_zstd.pyi +5 -5
  38. package/dist/typeshed-fallback/stdlib/abc.pyi +3 -3
  39. package/dist/typeshed-fallback/stdlib/annotationlib.pyi +15 -1
  40. package/dist/typeshed-fallback/stdlib/argparse.pyi +2 -2
  41. package/dist/typeshed-fallback/stdlib/array.pyi +2 -1
  42. package/dist/typeshed-fallback/stdlib/ast.pyi +32 -24
  43. package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +13 -13
  44. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +41 -33
  45. package/dist/typeshed-fallback/stdlib/asyncio/graph.pyi +19 -17
  46. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +6 -0
  47. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +4 -4
  49. package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +6 -6
  50. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +4 -4
  51. package/dist/typeshed-fallback/stdlib/asyncio/tools.pyi +5 -0
  52. package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +8 -1
  53. package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +18 -12
  54. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +6 -6
  55. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -1
  56. package/dist/typeshed-fallback/stdlib/asyncio/windows_utils.pyi +5 -5
  57. package/dist/typeshed-fallback/stdlib/binascii.pyi +2 -2
  58. package/dist/typeshed-fallback/stdlib/builtins.pyi +48 -11
  59. package/dist/typeshed-fallback/stdlib/calendar.pyi +19 -19
  60. package/dist/typeshed-fallback/stdlib/cgi.pyi +5 -4
  61. package/dist/typeshed-fallback/stdlib/codecs.pyi +60 -28
  62. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +13 -4
  63. package/dist/typeshed-fallback/stdlib/colorsys.pyi +5 -3
  64. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +1 -0
  65. package/dist/typeshed-fallback/stdlib/concurrent/futures/_base.pyi +1 -2
  66. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +3 -3
  67. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_crossinterp.pyi +1 -0
  68. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_queues.pyi +25 -9
  69. package/dist/typeshed-fallback/stdlib/configparser.pyi +8 -5
  70. package/dist/typeshed-fallback/stdlib/contextlib.pyi +2 -0
  71. package/dist/typeshed-fallback/stdlib/crypt.pyi +7 -1
  72. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +10 -4
  73. package/dist/typeshed-fallback/stdlib/ctypes/_endian.pyi +6 -2
  74. package/dist/typeshed-fallback/stdlib/ctypes/macholib/__init__.pyi +3 -1
  75. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +2 -2
  76. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +3 -2
  77. package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +38 -38
  78. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +34 -2
  79. package/dist/typeshed-fallback/stdlib/datetime.pyi +5 -1
  80. package/dist/typeshed-fallback/stdlib/dbm/sqlite3.pyi +1 -1
  81. package/dist/typeshed-fallback/stdlib/decimal.pyi +3 -1
  82. package/dist/typeshed-fallback/stdlib/dis.pyi +65 -59
  83. package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +2 -2
  84. package/dist/typeshed-fallback/stdlib/doctest.pyi +17 -17
  85. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +1 -1
  86. package/dist/typeshed-fallback/stdlib/email/charset.pyi +10 -3
  87. package/dist/typeshed-fallback/stdlib/enum.pyi +41 -18
  88. package/dist/typeshed-fallback/stdlib/errno.pyi +204 -202
  89. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +9 -3
  90. package/dist/typeshed-fallback/stdlib/filecmp.pyi +1 -1
  91. package/dist/typeshed-fallback/stdlib/fractions.pyi +1 -0
  92. package/dist/typeshed-fallback/stdlib/functools.pyi +14 -7
  93. package/dist/typeshed-fallback/stdlib/gettext.pyi +9 -9
  94. package/dist/typeshed-fallback/stdlib/glob.pyi +6 -2
  95. package/dist/typeshed-fallback/stdlib/hmac.pyi +1 -0
  96. package/dist/typeshed-fallback/stdlib/html/entities.pyi +6 -4
  97. package/dist/typeshed-fallback/stdlib/http/client.pyi +69 -69
  98. package/dist/typeshed-fallback/stdlib/http/server.pyi +21 -9
  99. package/dist/typeshed-fallback/stdlib/imp.pyi +11 -11
  100. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +2 -2
  101. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +46 -19
  102. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  103. package/dist/typeshed-fallback/stdlib/inspect.pyi +61 -27
  104. package/dist/typeshed-fallback/stdlib/io.pyi +2 -0
  105. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +7 -1
  106. package/dist/typeshed-fallback/stdlib/itertools.pyi +20 -2
  107. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_tuple_params.pyi +1 -2
  108. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +4 -4
  109. package/dist/typeshed-fallback/stdlib/logging/config.pyi +19 -8
  110. package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +6 -6
  111. package/dist/typeshed-fallback/stdlib/mmap.pyi +3 -2
  112. package/dist/typeshed-fallback/stdlib/msilib/__init__.pyi +14 -14
  113. package/dist/typeshed-fallback/stdlib/msilib/schema.pyi +2 -1
  114. package/dist/typeshed-fallback/stdlib/msilib/sequence.pyi +7 -6
  115. package/dist/typeshed-fallback/stdlib/msilib/text.pyi +4 -3
  116. package/dist/typeshed-fallback/stdlib/msvcrt.pyi +4 -4
  117. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +1 -0
  118. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +1 -1
  119. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +1 -1
  120. package/dist/typeshed-fallback/stdlib/nturl2path.pyi +2 -2
  121. package/dist/typeshed-fallback/stdlib/numbers.pyi +5 -0
  122. package/dist/typeshed-fallback/stdlib/opcode.pyi +16 -16
  123. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +187 -186
  124. package/dist/typeshed-fallback/stdlib/ossaudiodev.pyi +114 -113
  125. package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +43 -5
  126. package/dist/typeshed-fallback/stdlib/pdb.pyi +6 -2
  127. package/dist/typeshed-fallback/stdlib/pickle.pyi +73 -73
  128. package/dist/typeshed-fallback/stdlib/pickletools.pyi +9 -6
  129. package/dist/typeshed-fallback/stdlib/platform.pyi +19 -9
  130. package/dist/typeshed-fallback/stdlib/plistlib.pyi +3 -3
  131. package/dist/typeshed-fallback/stdlib/poplib.pyi +1 -1
  132. package/dist/typeshed-fallback/stdlib/pydoc.pyi +3 -3
  133. package/dist/typeshed-fallback/stdlib/pydoc_data/topics.pyi +3 -1
  134. package/dist/typeshed-fallback/stdlib/random.pyi +5 -0
  135. package/dist/typeshed-fallback/stdlib/resource.pyi +21 -20
  136. package/dist/typeshed-fallback/stdlib/select.pyi +68 -68
  137. package/dist/typeshed-fallback/stdlib/selectors.pyi +3 -3
  138. package/dist/typeshed-fallback/stdlib/smtplib.pyi +7 -7
  139. package/dist/typeshed-fallback/stdlib/socket.pyi +78 -77
  140. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +4 -1
  141. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +11 -6
  142. package/dist/typeshed-fallback/stdlib/sre_compile.pyi +2 -2
  143. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +11 -4
  144. package/dist/typeshed-fallback/stdlib/sre_parse.pyi +15 -15
  145. package/dist/typeshed-fallback/stdlib/ssl.pyi +2 -2
  146. package/dist/typeshed-fallback/stdlib/statistics.pyi +1 -0
  147. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +10 -10
  148. package/dist/typeshed-fallback/stdlib/stringprep.pyi +9 -7
  149. package/dist/typeshed-fallback/stdlib/subprocess.pyi +63 -63
  150. package/dist/typeshed-fallback/stdlib/sunau.pyi +15 -15
  151. package/dist/typeshed-fallback/stdlib/symbol.pyi +95 -93
  152. package/dist/typeshed-fallback/stdlib/symtable.pyi +5 -2
  153. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -1
  154. package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +5 -5
  155. package/dist/typeshed-fallback/stdlib/tarfile.pyi +26 -4
  156. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +75 -75
  157. package/dist/typeshed-fallback/stdlib/tempfile.pyi +2 -2
  158. package/dist/typeshed-fallback/stdlib/threading.pyi +10 -10
  159. package/dist/typeshed-fallback/stdlib/time.pyi +13 -13
  160. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +704 -711
  161. package/dist/typeshed-fallback/stdlib/tkinter/messagebox.pyi +3 -3
  162. package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +300 -167
  163. package/dist/typeshed-fallback/stdlib/tokenize.pyi +48 -41
  164. package/dist/typeshed-fallback/stdlib/tomllib.pyi +1 -1
  165. package/dist/typeshed-fallback/stdlib/traceback.pyi +18 -1
  166. package/dist/typeshed-fallback/stdlib/tracemalloc.pyi +5 -0
  167. package/dist/typeshed-fallback/stdlib/turtle.pyi +41 -15
  168. package/dist/typeshed-fallback/stdlib/types.pyi +60 -31
  169. package/dist/typeshed-fallback/stdlib/typing.pyi +50 -17
  170. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +14 -1
  171. package/dist/typeshed-fallback/stdlib/unicodedata.pyi +2 -2
  172. package/dist/typeshed-fallback/stdlib/unittest/loader.pyi +35 -18
  173. package/dist/typeshed-fallback/stdlib/unittest/main.pyi +5 -2
  174. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +153 -67
  175. package/dist/typeshed-fallback/stdlib/unittest/util.pyi +6 -6
  176. package/dist/typeshed-fallback/stdlib/urllib/parse.pyi +17 -11
  177. package/dist/typeshed-fallback/stdlib/uuid.pyi +1 -0
  178. package/dist/typeshed-fallback/stdlib/venv/__init__.pyi +2 -1
  179. package/dist/typeshed-fallback/stdlib/wave.pyi +23 -11
  180. package/dist/typeshed-fallback/stdlib/weakref.pyi +5 -1
  181. package/dist/typeshed-fallback/stdlib/webbrowser.pyi +10 -4
  182. package/dist/typeshed-fallback/stdlib/winreg.pyi +7 -7
  183. package/dist/typeshed-fallback/stdlib/wsgiref/headers.pyi +2 -2
  184. package/dist/typeshed-fallback/stdlib/wsgiref/simple_server.pyi +4 -4
  185. package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +17 -17
  186. package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +17 -16
  187. package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +13 -8
  188. package/dist/typeshed-fallback/stdlib/xml/dom/minicompat.pyi +2 -0
  189. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +26 -0
  190. package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +1 -1
  191. package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +13 -11
  192. package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +4 -3
  193. package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +3 -3
  194. package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +9 -8
  195. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +2 -2
  196. package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +2 -2
  197. package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +16 -16
  198. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +27 -4
  199. package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +5 -1
  200. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +2 -1
  201. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -1
  202. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +4 -0
  203. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +1 -1
  204. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -1
  205. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +9 -1
  206. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio.pyi +2 -2
  207. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_event.pyi +1 -1
  208. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_pin_data.pyi +26 -22
  209. package/dist/typeshed-fallback/stubs/Jetson.GPIO/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
  211. package/dist/typeshed-fallback/stubs/Markdown/markdown/extensions/footnotes.pyi +11 -0
  212. package/dist/typeshed-fallback/stubs/PyMeeus/METADATA.toml +2 -0
  213. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Angle.pyi +95 -0
  214. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Coordinates.pyi +192 -0
  215. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/CurveFitting.pyi +43 -0
  216. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Earth.pyi +64 -0
  217. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Epoch.pyi +129 -0
  218. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Interpolation.pyi +42 -0
  219. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Jupiter.pyi +38 -0
  220. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/JupiterMoons.pyi +78 -0
  221. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mars.pyi +38 -0
  222. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mercury.pyi +42 -0
  223. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Minor.pyi +10 -0
  224. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Moon.pyi +39 -0
  225. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Neptune.pyi +30 -0
  226. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Pluto.pyi +17 -0
  227. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Saturn.pyi +44 -0
  228. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Sun.pyi +35 -0
  229. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Uranus.pyi +34 -0
  230. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Venus.pyi +44 -0
  231. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/__init__.pyi +0 -0
  232. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/base.pyi +8 -0
  233. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +131 -116
  234. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +2 -1
  235. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/protocol.pyi +1 -0
  236. package/dist/typeshed-fallback/stubs/PySocks/METADATA.toml +2 -0
  237. package/dist/typeshed-fallback/stubs/PySocks/socks.pyi +143 -0
  238. package/dist/typeshed-fallback/stubs/PySocks/sockshandler.pyi +102 -0
  239. package/dist/typeshed-fallback/stubs/PyYAML/yaml/__init__.pyi +1 -0
  240. package/dist/typeshed-fallback/stubs/PyYAML/yaml/_yaml.pyi +4 -1
  241. package/dist/typeshed-fallback/stubs/PyYAML/yaml/emitter.pyi +18 -14
  242. package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +5 -2
  243. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +1 -0
  244. package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +3 -3
  245. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/base.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/os.pyi +10 -10
  247. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +1 -0
  248. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +1 -0
  249. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -0
  250. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +1 -0
  251. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +1 -0
  252. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/IntervalSet.pyi +1 -0
  253. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/LL1Analyzer.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +16 -0
  255. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ListTokenSource.pyi +1 -0
  256. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +12 -0
  257. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +10 -0
  258. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +1 -0
  259. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +1 -0
  260. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +1 -0
  261. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +1 -0
  262. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/TokenStreamRewriter.pyi +3 -0
  263. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATN.pyi +12 -0
  264. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfig.pyi +2 -0
  265. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfigSet.pyi +11 -0
  266. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializationOptions.pyi +1 -0
  267. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializer.pyi +1 -0
  268. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNSimulator.pyi +1 -0
  269. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNState.pyi +8 -0
  270. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerATNSimulator.pyi +2 -0
  271. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerAction.pyi +7 -0
  272. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerActionExecutor.pyi +1 -0
  273. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ParserATNSimulator.pyi +1 -0
  274. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/SemanticContext.pyi +3 -0
  275. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/Transition.pyi +10 -0
  276. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFA.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFASerializer.pyi +1 -0
  278. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFAState.pyi +11 -0
  279. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Chunk.pyi +2 -0
  280. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreeMatch.pyi +1 -0
  281. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePattern.pyi +1 -0
  282. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePatternMatcher.pyi +1 -0
  283. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/RuleTagToken.pyi +1 -0
  284. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/TokenTagToken.pyi +1 -0
  285. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +1 -0
  286. package/dist/typeshed-fallback/stubs/auth0-python/auth0/authentication/token_verifier.pyi +2 -2
  287. package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +3 -1
  288. package/dist/typeshed-fallback/stubs/boltons/boltons/mathutils.pyi +1 -0
  289. package/dist/typeshed-fallback/stubs/boltons/boltons/setutils.pyi +1 -0
  290. package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +1 -1
  291. package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +1 -0
  292. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  293. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +3 -1
  294. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +3 -2
  295. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  296. package/dist/typeshed-fallback/stubs/cffi/cffi/backend_ctypes.pyi +6 -1
  297. package/dist/typeshed-fallback/stubs/cffi/cffi/pkgconfig.pyi +1 -1
  298. package/dist/typeshed-fallback/stubs/channels/channels/layers.pyi +2 -2
  299. package/dist/typeshed-fallback/stubs/click-shell/METADATA.toml +3 -0
  300. package/dist/typeshed-fallback/stubs/click-shell/click_shell/__init__.pyi +7 -0
  301. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_cmd.pyi +28 -0
  302. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_compat.pyi +10 -0
  303. package/dist/typeshed-fallback/stubs/click-shell/click_shell/core.pyi +35 -0
  304. package/dist/typeshed-fallback/stubs/click-shell/click_shell/decorators.pyi +8 -0
  305. package/dist/typeshed-fallback/stubs/convertdate/METADATA.toml +2 -0
  306. package/dist/typeshed-fallback/stubs/convertdate/convertdate/__init__.pyi +48 -0
  307. package/dist/typeshed-fallback/stubs/convertdate/convertdate/armenian.pyi +24 -0
  308. package/dist/typeshed-fallback/stubs/convertdate/convertdate/bahai.pyi +37 -0
  309. package/dist/typeshed-fallback/stubs/convertdate/convertdate/coptic.pyi +14 -0
  310. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/__init__.pyi +0 -0
  311. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/french_republican_days.pyi +3 -0
  312. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/positivist.pyi +6 -0
  313. package/dist/typeshed-fallback/stubs/convertdate/convertdate/daycount.pyi +13 -0
  314. package/dist/typeshed-fallback/stubs/convertdate/convertdate/dublin.pyi +13 -0
  315. package/dist/typeshed-fallback/stubs/convertdate/convertdate/french_republican.pyi +27 -0
  316. package/dist/typeshed-fallback/stubs/convertdate/convertdate/gregorian.pyi +20 -0
  317. package/dist/typeshed-fallback/stubs/convertdate/convertdate/hebrew.pyi +34 -0
  318. package/dist/typeshed-fallback/stubs/convertdate/convertdate/holidays.pyi +161 -0
  319. package/dist/typeshed-fallback/stubs/convertdate/convertdate/indian_civil.pyi +15 -0
  320. package/dist/typeshed-fallback/stubs/convertdate/convertdate/islamic.pyi +17 -0
  321. package/dist/typeshed-fallback/stubs/convertdate/convertdate/iso.pyi +17 -0
  322. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julian.pyi +20 -0
  323. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julianday.pyi +8 -0
  324. package/dist/typeshed-fallback/stubs/convertdate/convertdate/mayan.pyi +40 -0
  325. package/dist/typeshed-fallback/stubs/convertdate/convertdate/ordinal.pyi +4 -0
  326. package/dist/typeshed-fallback/stubs/convertdate/convertdate/persian.pyi +19 -0
  327. package/dist/typeshed-fallback/stubs/convertdate/convertdate/positivist.pyi +15 -0
  328. package/dist/typeshed-fallback/stubs/convertdate/convertdate/utils.pyi +43 -0
  329. package/dist/typeshed-fallback/stubs/defusedxml/defusedxml/lxml.pyi +8 -15
  330. package/dist/typeshed-fallback/stubs/django-filter/django_filters/fields.pyi +71 -14
  331. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filters.pyi +116 -22
  332. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +4 -3
  333. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/__init__.pyi +32 -1
  334. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/filters.pyi +1 -4
  335. package/dist/typeshed-fallback/stubs/django-filter/django_filters/widgets.pyi +1 -6
  336. package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +1 -1
  337. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +1 -1
  338. package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +1 -1
  339. package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +1 -1
  340. package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
  341. package/dist/typeshed-fallback/stubs/docutils/docutils/__main__.pyi +3 -1
  342. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +21 -29
  343. package/dist/typeshed-fallback/stubs/docutils/docutils/examples.pyi +12 -14
  344. package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +155 -53
  345. package/dist/typeshed-fallback/stubs/docutils/docutils/io.pyi +12 -7
  346. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +2 -0
  347. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +57 -10
  348. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +1 -1
  349. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/docutils_xml.pyi +16 -0
  350. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +3 -1
  351. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +5 -1
  352. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -0
  353. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +7 -1
  354. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +3 -4
  355. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +4 -1
  356. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +11 -17
  357. package/dist/typeshed-fallback/stubs/docutils/docutils/readers/doctree.pyi +3 -1
  358. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/references.pyi +4 -0
  359. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/universal.pyi +5 -1
  360. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/writer_aux.pyi +0 -8
  361. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +13 -22
  362. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/_roman_numerals.pyi +30 -0
  363. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +2 -1
  364. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +3 -1
  365. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +2 -1
  366. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +1 -0
  367. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +1 -0
  368. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +10 -0
  369. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/_html_base.pyi +5 -3
  370. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/latex2e/__init__.pyi +17 -8
  371. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +7 -2
  372. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/null.pyi +3 -1
  373. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/odf_odt/__init__.pyi +3 -1
  374. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/xetex/__init__.pyi +1 -0
  375. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/core.pyi +1 -1
  376. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/publisher.pyi +1 -1
  377. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/wsgi.pyi +1 -1
  378. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  379. package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +3 -0
  380. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +20 -0
  381. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/bidi.pyi +4 -0
  382. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +24 -0
  383. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +3 -0
  384. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +36 -0
  385. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/structure_tree.pyi +3 -0
  386. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +1 -0
  387. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +10 -2
  388. package/dist/typeshed-fallback/stubs/gdb/gdb/disassembler.pyi +2 -0
  389. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +3 -3
  390. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +3 -3
  391. package/dist/typeshed-fallback/stubs/gevent/gevent/_abstract_linkable.pyi +1 -0
  392. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/loop.pyi +4 -4
  393. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/watcher.pyi +1 -1
  394. package/dist/typeshed-fallback/stubs/gevent/gevent/_fileobjectcommon.pyi +2 -1
  395. package/dist/typeshed-fallback/stubs/gevent/gevent/_greenlet_primitives.pyi +2 -0
  396. package/dist/typeshed-fallback/stubs/gevent/gevent/_hub_primitives.pyi +2 -1
  397. package/dist/typeshed-fallback/stubs/gevent/gevent/_ident.pyi +1 -0
  398. package/dist/typeshed-fallback/stubs/gevent/gevent/_imap.pyi +3 -1
  399. package/dist/typeshed-fallback/stubs/gevent/gevent/_monitor.pyi +1 -0
  400. package/dist/typeshed-fallback/stubs/gevent/gevent/_threading.pyi +1 -0
  401. package/dist/typeshed-fallback/stubs/gevent/gevent/_util.pyi +8 -3
  402. package/dist/typeshed-fallback/stubs/gevent/gevent/_waiter.pyi +3 -1
  403. package/dist/typeshed-fallback/stubs/gevent/gevent/event.pyi +2 -0
  404. package/dist/typeshed-fallback/stubs/gevent/gevent/greenlet.pyi +2 -1
  405. package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -0
  406. package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +3 -3
  407. package/dist/typeshed-fallback/stubs/gevent/gevent/local.pyi +10 -1
  408. package/dist/typeshed-fallback/stubs/gevent/gevent/lock.pyi +4 -1
  409. package/dist/typeshed-fallback/stubs/gevent/gevent/pool.pyi +1 -0
  410. package/dist/typeshed-fallback/stubs/gevent/gevent/pywsgi.pyi +14 -1
  411. package/dist/typeshed-fallback/stubs/gevent/gevent/queue.pyi +9 -2
  412. package/dist/typeshed-fallback/stubs/gevent/gevent/resolver/cares.pyi +4 -2
  413. package/dist/typeshed-fallback/stubs/gevent/gevent/threadpool.pyi +12 -0
  414. package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +2 -1
  415. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +3 -3
  416. package/dist/typeshed-fallback/stubs/gunicorn/METADATA.toml +8 -0
  417. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/__init__.pyi +4 -0
  418. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/_types.pyi +23 -0
  419. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/__init__.pyi +0 -0
  420. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/base.pyi +36 -0
  421. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/pasterapp.pyi +7 -0
  422. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/wsgiapp.pyi +20 -0
  423. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +68 -0
  424. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/config.pyi +1065 -0
  425. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/debug.pyi +18 -0
  426. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/errors.pyi +8 -0
  427. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/glogging.pyi +158 -0
  428. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/__init__.pyi +4 -0
  429. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/body.pyi +48 -0
  430. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/errors.pyi +89 -0
  431. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/message.pyi +62 -0
  432. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/parser.pyi +26 -0
  433. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/unreader.pyi +28 -0
  434. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/wsgi.pyi +70 -0
  435. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/__init__.pyi +0 -0
  436. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/statsd.pyi +105 -0
  437. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/pidfile.pyi +8 -0
  438. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/reloader.pyi +50 -0
  439. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +41 -0
  440. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/systemd.pyi +6 -0
  441. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/util.pyi +48 -0
  442. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/__init__.pyi +13 -0
  443. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base.pyi +48 -0
  444. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base_async.pyi +17 -0
  445. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/geventlet.pyi +31 -0
  446. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/ggevent.pyi +54 -0
  447. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gthread.pyi +50 -0
  448. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gtornado.pyi +28 -0
  449. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/sync.pyi +22 -0
  450. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/workertmp.pyi +11 -0
  451. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +4 -1
  452. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/resultrow.pyi +2 -0
  453. package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +4 -2
  454. package/dist/typeshed-fallback/stubs/httplib2/METADATA.toml +1 -1
  455. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -1
  456. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +4 -4
  457. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  458. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_types.pyi +1 -0
  459. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/cli.pyi +3 -0
  460. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/protocols.pyi +6 -4
  461. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +20 -10
  462. package/dist/typeshed-fallback/stubs/lunardate/METADATA.toml +2 -0
  463. package/dist/typeshed-fallback/stubs/lunardate/lunardate.pyi +40 -0
  464. package/dist/typeshed-fallback/stubs/lupa/lupa/lua51.pyi +23 -14
  465. package/dist/typeshed-fallback/stubs/lupa/lupa/lua52.pyi +23 -14
  466. package/dist/typeshed-fallback/stubs/lupa/lupa/lua53.pyi +23 -14
  467. package/dist/typeshed-fallback/stubs/lupa/lupa/lua54.pyi +23 -14
  468. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit20.pyi +3 -0
  469. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit21.pyi +3 -0
  470. package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +2 -2
  471. package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +3 -0
  472. package/dist/typeshed-fallback/stubs/netaddr/netaddr/eui/__init__.pyi +4 -0
  473. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +5 -0
  474. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/glob.pyi +1 -0
  475. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/sets.pyi +1 -0
  476. package/dist/typeshed-fallback/stubs/networkx/networkx/_typing.pyi +21 -5
  477. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +4 -6
  478. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +4 -5
  479. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +3 -3
  480. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +6 -1
  481. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +18 -12
  482. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +2 -0
  483. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +3 -3
  484. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +10 -9
  485. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +20 -0
  486. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +5 -3
  487. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +2 -3
  488. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +33 -17
  489. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +45 -16
  490. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +7 -3
  491. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +7 -3
  492. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +13 -4
  493. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +23 -9
  494. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +13 -6
  495. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +32 -10
  496. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +96 -56
  497. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_agraph.pyi +3 -5
  498. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_latex.pyi +53 -19
  499. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pydot.pyi +11 -9
  500. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +292 -85
  501. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gexf.pyi +2 -1
  502. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graphml.pyi +2 -2
  503. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/heaps.pyi +2 -0
  504. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/mapped_queue.pyi +1 -0
  505. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +6 -1
  506. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/token.pyi +1 -1
  507. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/tokens.pyi +2 -0
  508. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/openid/connect/core/tokens.pyi +1 -0
  509. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +2 -0
  510. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +2 -0
  511. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/sequence.pyi +1 -1
  512. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/formula/tokenizer.pyi +1 -0
  513. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/pivot/table.pyi +1 -1
  514. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
  515. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/proxy.pyi +1 -0
  516. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +1 -0
  517. package/dist/typeshed-fallback/stubs/paramiko/paramiko/packet.pyi +1 -1
  518. package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
  519. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/expressions.pyi +6 -0
  520. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +2 -0
  521. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/utils.pyi +1 -0
  522. package/dist/typeshed-fallback/stubs/pexpect/pexpect/spawnbase.pyi +1 -1
  523. package/dist/typeshed-fallback/stubs/pika/pika/adapters/blocking_connection.pyi +9 -0
  524. package/dist/typeshed-fallback/stubs/pika/pika/adapters/gevent_connection.pyi +10 -12
  525. package/dist/typeshed-fallback/stubs/pika/pika/adapters/select_connection.pyi +1 -0
  526. package/dist/typeshed-fallback/stubs/pika/pika/adapters/utils/selector_ioloop_adapter.pyi +1 -0
  527. package/dist/typeshed-fallback/stubs/pika/pika/connection.pyi +21 -0
  528. package/dist/typeshed-fallback/stubs/pony/pony/orm/core.pyi +95 -1
  529. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/mysql.pyi +2 -1
  530. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/sqlite.pyi +2 -1
  531. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/alessandro_bug.pyi +3 -0
  532. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/compositekeys.pyi +11 -0
  533. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/demo.pyi +4 -0
  534. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/estore.pyi +6 -0
  535. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/inheritance1.pyi +8 -1
  536. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/numbers.pyi +1 -0
  537. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university1.pyi +4 -0
  538. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university2.pyi +12 -0
  539. package/dist/typeshed-fallback/stubs/pony/pony/orm/ormtypes.pyi +3 -0
  540. package/dist/typeshed-fallback/stubs/pony/pony/orm/sqlbuilding.pyi +3 -0
  541. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  542. package/dist/typeshed-fallback/stubs/protobuf/google/_upb/_message.pyi +14 -13
  543. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +33 -2
  544. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +4 -0
  545. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +107 -3
  546. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/api_implementation.pyi +0 -1
  547. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +5 -0
  548. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +6 -0
  549. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +2 -1
  550. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +32 -4
  551. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +2 -2
  552. package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +5 -4
  553. package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +22 -1
  554. package/dist/typeshed-fallback/stubs/pyRFC3339/METADATA.toml +1 -0
  555. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +1 -1
  556. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
  557. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +4 -0
  558. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  559. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/compat.pyi +0 -1
  560. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/lib/modulegraph/modulegraph.pyi +11 -0
  561. package/dist/typeshed-fallback/stubs/pyluach/METADATA.toml +2 -0
  562. package/dist/typeshed-fallback/stubs/pyluach/pyluach/__init__.pyi +3 -0
  563. package/dist/typeshed-fallback/stubs/pyluach/pyluach/dates.pyi +106 -0
  564. package/dist/typeshed-fallback/stubs/pyluach/pyluach/hebrewcal.pyi +141 -0
  565. package/dist/typeshed-fallback/stubs/pyluach/pyluach/parshios.pyi +14 -0
  566. package/dist/typeshed-fallback/stubs/pyluach/pyluach/utils.pyi +32 -0
  567. package/dist/typeshed-fallback/stubs/pyserial/serial/serialposix.pyi +3 -3
  568. package/dist/typeshed-fallback/stubs/pyserial/serial/tools/list_ports_osx.pyi +1 -1
  569. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/_common.pyi +1 -0
  570. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +2 -0
  571. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +17 -0
  572. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +1 -0
  573. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +26 -11
  574. package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +2 -1
  575. package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +4 -3
  576. package/dist/typeshed-fallback/stubs/pywin32/win32/win32console.pyi +1 -1
  577. package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +1 -1
  578. package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
  579. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  580. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +10 -4
  581. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +2 -3
  582. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +1 -1
  583. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +3 -1
  584. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +9 -1
  585. package/dist/typeshed-fallback/stubs/requests/requests/sessions.pyi +1 -1
  586. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +1 -1
  587. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +8 -8
  588. package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +1 -1
  589. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +2 -0
  590. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +1 -0
  591. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +1 -0
  592. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +1 -0
  593. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +1 -0
  594. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +1 -0
  595. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +1 -0
  596. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +2 -0
  597. package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +3 -2
  598. package/dist/typeshed-fallback/stubs/simplejson/simplejson/__init__.pyi +108 -108
  599. package/dist/typeshed-fallback/stubs/simplejson/simplejson/decoder.pyi +10 -10
  600. package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +19 -19
  601. package/dist/typeshed-fallback/stubs/translationstring/translationstring/__init__.pyi +1 -0
  602. package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +22 -21
  603. package/dist/typeshed-fallback/stubs/ujson/METADATA.toml +1 -0
  604. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +1 -1
  605. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +2 -2
  606. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/algeria.pyi +1 -11
  607. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/angola.pyi +0 -9
  608. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/benin.pyi +0 -12
  609. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/ivory_coast.pyi +0 -12
  610. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/kenya.pyi +3 -13
  611. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/madagascar.pyi +1 -11
  612. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/mozambique.pyi +1 -8
  613. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/nigeria.pyi +0 -12
  614. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/sao_tome.pyi +1 -7
  615. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/south_africa.pyi +2 -8
  616. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/tunisia.pyi +1 -14
  617. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/argentina.pyi +6 -17
  618. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/barbados.pyi +6 -14
  619. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/brazil.pyi +62 -237
  620. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/canada.pyi +22 -66
  621. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/chile.pyi +1 -12
  622. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/colombia.pyi +10 -21
  623. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/el_salvador.pyi +1 -9
  624. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/mexico.pyi +1 -8
  625. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/panama.pyi +1 -10
  626. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/paraguay.pyi +4 -13
  627. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/china.pyi +5 -12
  628. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/hong_kong.pyi +2 -22
  629. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/israel.pyi +6 -6
  630. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/japan.pyi +2 -10
  631. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/kazakhstan.pyi +1 -28
  632. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/malaysia.pyi +3 -20
  633. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/philippines.pyi +1 -22
  634. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/qatar.pyi +1 -11
  635. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/singapore.pyi +2 -15
  636. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/south_korea.pyi +1 -11
  637. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/taiwan.pyi +8 -7
  638. package/dist/typeshed-fallback/stubs/workalendar/workalendar/core.pyi +119 -80
  639. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/austria.pyi +1 -18
  640. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belarus.pyi +2 -9
  641. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belgium.pyi +1 -11
  642. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/bulgaria.pyi +3 -21
  643. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cayman_islands.pyi +8 -14
  644. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/croatia.pyi +1 -17
  645. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cyprus.pyi +0 -14
  646. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/czech_republic.pyi +1 -9
  647. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/denmark.pyi +2 -15
  648. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/estonia.pyi +1 -13
  649. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/european_central_bank.pyi +1 -8
  650. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/finland.pyi +4 -18
  651. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/france.pyi +2 -15
  652. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/georgia.pyi +1 -14
  653. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/germany.pyi +21 -69
  654. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/greece.pyi +1 -19
  655. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/guernsey.pyi +5 -10
  656. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/hungary.pyi +1 -17
  657. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/iceland.pyi +3 -15
  658. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ireland.pyi +3 -9
  659. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/italy.pyi +1 -14
  660. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/latvia.pyi +3 -13
  661. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/lithuania.pyi +3 -16
  662. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/luxembourg.pyi +1 -13
  663. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/malta.pyi +1 -11
  664. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/monaco.pyi +1 -13
  665. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/netherlands.pyi +24 -29
  666. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/norway.pyi +1 -15
  667. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/poland.pyi +1 -14
  668. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/portugal.pyi +1 -14
  669. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/romania.pyi +3 -17
  670. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/russia.pyi +3 -11
  671. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/__init__.pyi +30 -101
  672. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/__init__.pyi +5 -3
  673. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/autumn_holiday.pyi +5 -4
  674. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/fair_holiday.pyi +8 -7
  675. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/spring_holiday.pyi +6 -5
  676. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/victoria_day.pyi +4 -3
  677. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/serbia.pyi +1 -10
  678. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovakia.pyi +1 -13
  679. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovenia.pyi +1 -12
  680. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/spain.pyi +18 -84
  681. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/sweden.pyi +4 -18
  682. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/switzerland.pyi +30 -178
  683. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/turkey.pyi +2 -12
  684. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ukraine.pyi +0 -11
  685. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/united_kingdom.pyi +7 -15
  686. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/australia.pyi +22 -67
  687. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/marshall_islands.pyi +1 -7
  688. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/new_zealand.pyi +3 -9
  689. package/dist/typeshed-fallback/stubs/workalendar/workalendar/precomputed_astronomy.pyi +8 -7
  690. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry.pyi +12 -9
  691. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry_tools.pyi +6 -1
  692. package/dist/typeshed-fallback/stubs/workalendar/workalendar/skyfield_astronomy.pyi +9 -6
  693. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alabama.pyi +5 -15
  694. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alaska.pyi +1 -7
  695. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/american_samoa.pyi +2 -5
  696. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arizona.pyi +1 -5
  697. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arkansas.pyi +1 -6
  698. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/california.pyi +5 -24
  699. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/connecticut.pyi +1 -5
  700. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/core.pyi +21 -28
  701. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/delaware.pyi +1 -8
  702. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/district_columbia.pyi +1 -6
  703. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/florida.pyi +13 -32
  704. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/georgia.pyi +3 -7
  705. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/guam.pyi +1 -8
  706. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/hawaii.pyi +2 -8
  707. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/idaho.pyi +1 -4
  708. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/illinois.pyi +3 -8
  709. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/indiana.pyi +3 -9
  710. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/iowa.pyi +1 -6
  711. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kansas.pyi +1 -5
  712. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kentucky.pyi +1 -10
  713. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/louisiana.pyi +1 -7
  714. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maine.pyi +1 -5
  715. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maryland.pyi +1 -6
  716. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/massachusetts.pyi +2 -8
  717. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/michigan.pyi +1 -8
  718. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/minnesota.pyi +1 -5
  719. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/mississippi.pyi +1 -9
  720. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/missouri.pyi +1 -6
  721. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/montana.pyi +1 -5
  722. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nebraska.pyi +1 -5
  723. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nevada.pyi +1 -7
  724. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_hampshire.pyi +1 -5
  725. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_jersey.pyi +1 -5
  726. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_mexico.pyi +1 -6
  727. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_york.pyi +1 -5
  728. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_carolina.pyi +2 -9
  729. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_dakota.pyi +1 -5
  730. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oklahoma.pyi +1 -6
  731. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oregon.pyi +1 -4
  732. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/pennsylvania.pyi +1 -6
  733. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/rhode_island.pyi +1 -6
  734. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_carolina.pyi +1 -9
  735. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_dakota.pyi +1 -4
  736. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/tennessee.pyi +1 -6
  737. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/texas.pyi +1 -14
  738. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/utah.pyi +1 -4
  739. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/vermont.pyi +1 -7
  740. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/virginia.pyi +0 -5
  741. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/washington.pyi +1 -4
  742. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/west_virginia.pyi +0 -7
  743. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wisconsin.pyi +1 -8
  744. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wyoming.pyi +1 -4
  745. package/dist/typeshed-fallback/stubs/xlrd/xlrd/formula.pyi +3 -3
  746. package/dist/typeshed-fallback/stubs/xlrd/xlrd/sheet.pyi +13 -0
  747. package/dist/typeshed-fallback/stubs/xmltodict/METADATA.toml +1 -1
  748. package/dist/typeshed-fallback/stubs/xmltodict/xmltodict.pyi +106 -22
  749. package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
  750. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/YoutubeDL.pyi +1 -1
  751. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +3 -11
  752. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/compat/__init__.pyi +2 -0
  753. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/cookies.pyi +13 -13
  754. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/__init__.pyi +1 -1
  755. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/common.pyi +0 -1
  756. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/external.pyi +0 -2
  757. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/ism.pyi +16 -16
  758. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +114 -108
  759. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/minicurses.pyi +4 -4
  760. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/common.pyi +2 -2
  761. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/impersonate.pyi +1 -1
  762. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/plugins.pyi +3 -3
  763. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/socks.pyi +7 -7
  764. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/__init__.pyi +7 -1
  765. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_deprecated.pyi +13 -0
  766. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +33 -31
  767. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/version.pyi +8 -6
  768. package/package.json +1 -1
  769. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +0 -41
  770. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +0 -23
  771. package/dist/typeshed-fallback/stubs/httplib2/httplib2/socks.pyi +0 -53
@@ -0,0 +1,44 @@
1
+ from typing import Final
2
+
3
+ from pymeeus.Angle import Angle
4
+ from pymeeus.Epoch import Epoch
5
+
6
+ VSOP87_L: Final[list[list[list[float]]]]
7
+ VSOP87_B: Final[list[list[list[float]]]]
8
+ VSOP87_R: Final[list[list[list[float]]]]
9
+ ORBITAL_ELEM: Final[list[list[float]]]
10
+ ORBITAL_ELEM_J2000: Final[list[list[float]]]
11
+
12
+ class Venus:
13
+ @staticmethod
14
+ def geometric_heliocentric_position(epoch: Epoch, tofk5: bool | None = True) -> tuple[Angle, Angle, float]: ...
15
+ @staticmethod
16
+ def apparent_heliocentric_position(epoch: Epoch) -> tuple[Angle, Angle, float]: ...
17
+ @staticmethod
18
+ def orbital_elements_mean_equinox(epoch: Epoch) -> tuple[Angle, float, float, Angle, Angle, Angle]: ...
19
+ @staticmethod
20
+ def orbital_elements_j2000(epoch: Epoch) -> tuple[Angle, float, float, Angle, Angle, Angle]: ...
21
+ @staticmethod
22
+ def geocentric_position(epoch: Epoch) -> tuple[Angle, Angle, Angle]: ...
23
+ @staticmethod
24
+ def inferior_conjunction(epoch: Epoch) -> Epoch: ...
25
+ @staticmethod
26
+ def superior_conjunction(epoch: Epoch) -> Epoch: ...
27
+ @staticmethod
28
+ def western_elongation(epoch: Epoch) -> tuple[Epoch, Angle]: ...
29
+ @staticmethod
30
+ def eastern_elongation(epoch: Epoch) -> tuple[Epoch, Angle]: ...
31
+ @staticmethod
32
+ def station_longitude_1(epoch: Epoch) -> Epoch: ...
33
+ @staticmethod
34
+ def station_longitude_2(epoch: Epoch) -> Epoch: ...
35
+ @staticmethod
36
+ def perihelion_aphelion(epoch: Epoch, perihelion: bool | None = True) -> Epoch: ...
37
+ @staticmethod
38
+ def passage_nodes(epoch: Epoch, ascending: bool = True) -> tuple[Epoch, float]: ...
39
+ @staticmethod
40
+ def illuminated_fraction(epoch: Epoch) -> float: ...
41
+ @staticmethod
42
+ def magnitude(sun_dist: float, earth_dist: float, phase_angle: float | Angle) -> float: ...
43
+
44
+ def main() -> None: ...
@@ -0,0 +1,8 @@
1
+ from typing import Final, Literal
2
+
3
+ TOL: Final = 1e-10
4
+
5
+ def machine_accuracy() -> tuple[float, int]: ...
6
+ def get_ordinal_suffix(ordinal: float) -> Literal["st", "nd", "rd", "th"]: ...
7
+ def iint(number: float) -> int: ...
8
+ def main() -> None: ...
@@ -1,15 +1,27 @@
1
- from _typeshed import FileDescriptorOrPath, Incomplete
2
- from collections.abc import Mapping
3
- from socket import socket as _socket
4
- from ssl import _PasswordType
5
- from typing import AnyStr, Generic, TypeVar, overload
6
- from typing_extensions import Self, deprecated
1
+ from _typeshed import FileDescriptorOrPath, Incomplete, Unused
2
+ from collections.abc import Callable, Mapping
3
+ from socket import _Address, socket as _socket
4
+ from ssl import SSLContext, _PasswordType
5
+ from typing import Any, AnyStr, Generic, overload
6
+ from typing_extensions import Self, TypeVar, deprecated
7
7
 
8
8
  from .charset import charset_by_id as charset_by_id, charset_by_name as charset_by_name
9
9
  from .constants import CLIENT as CLIENT, COMMAND as COMMAND, FIELD_TYPE as FIELD_TYPE, SERVER_STATUS as SERVER_STATUS
10
10
  from .cursors import Cursor
11
+ from .err import (
12
+ DatabaseError,
13
+ DataError,
14
+ Error,
15
+ IntegrityError,
16
+ InterfaceError,
17
+ InternalError,
18
+ NotSupportedError,
19
+ OperationalError,
20
+ ProgrammingError,
21
+ Warning,
22
+ )
11
23
 
12
- _C = TypeVar("_C", bound=Cursor)
24
+ _C = TypeVar("_C", bound=Cursor, default=Cursor)
13
25
  _C2 = TypeVar("_C2", bound=Cursor)
14
26
 
15
27
  SSL_ENABLED: bool
@@ -23,121 +35,123 @@ def dump_packet(data): ...
23
35
  def _lenenc_int(i: int) -> bytes: ...
24
36
 
25
37
  class Connection(Generic[_C]):
26
- ssl: Incomplete
27
- host: Incomplete
28
- port: Incomplete
29
- user: Incomplete
30
- password: Incomplete
31
- db: Incomplete
32
- unix_socket: Incomplete
38
+ ssl: bool
39
+ host: str
40
+ port: int
41
+ user: str | bytes | None
42
+ password: bytes
43
+ db: str | bytes | None
44
+ unix_socket: _Address | None
33
45
  charset: str
34
46
  collation: str | None
35
- bind_address: Incomplete
36
- use_unicode: Incomplete
37
- client_flag: Incomplete
38
- cursorclass: Incomplete
39
- connect_timeout: Incomplete
40
- messages: Incomplete
41
- encoders: Incomplete
42
- decoders: Incomplete
43
- host_info: Incomplete
44
- sql_mode: Incomplete
45
- init_command: Incomplete
47
+ bind_address: str | None
48
+ use_unicode: bool
49
+ client_flag: int
50
+ cursorclass: type[_C]
51
+ connect_timeout: float | None
52
+ host_info: str
53
+ sql_mode: str | None
54
+ init_command: str | None
46
55
  max_allowed_packet: int
47
- server_public_key: bytes
56
+ server_public_key: bytes | None
57
+ encoding: str
58
+ autocommit_mode: bool | None
59
+ encoders: dict[type[Any], Callable[[Any], str]] # argument type depends on the key
60
+ decoders: dict[int, Callable[[str], Any]] # return type depends on the key
61
+
48
62
  @overload
49
63
  def __init__(
50
- self: Connection[Cursor], # different between overloads
64
+ self,
51
65
  *,
66
+ user: str | bytes | None = None,
67
+ password: str | bytes = "",
52
68
  host: str | None = None,
53
- user=None,
54
- password: str = "",
55
- database=None,
69
+ database: str | bytes | None = None,
70
+ unix_socket: _Address | None = None,
56
71
  port: int = 0,
57
- unix_socket=None,
58
72
  charset: str = "",
59
73
  collation: str | None = None,
60
- sql_mode=None,
61
- read_default_file=None,
62
- conv=None,
63
- use_unicode: bool | None = True,
74
+ sql_mode: str | None = None,
75
+ read_default_file: str | None = None,
76
+ conv: dict[int | type[Any], Callable[[Any], str] | Callable[[str], Any]] | None = None,
77
+ use_unicode: bool = True,
64
78
  client_flag: int = 0,
65
- cursorclass: None = None, # different between overloads
66
- init_command=None,
67
- connect_timeout: int | None = 10,
68
- ssl: Mapping[Incomplete, Incomplete] | None = None,
69
- ssl_ca=None,
70
- ssl_cert=None,
71
- ssl_disabled=None,
72
- ssl_key=None,
73
- ssl_key_password: _PasswordType | None = None,
74
- ssl_verify_cert=None,
75
- ssl_verify_identity=None,
76
- read_default_group=None,
77
- compress=None,
78
- named_pipe=None,
79
+ cursorclass: type[_C] = ...,
80
+ init_command: str | None = None,
81
+ connect_timeout: float = 10,
82
+ read_default_group: str | None = None,
79
83
  autocommit: bool | None = False,
80
- db=None,
81
- passwd=None,
82
- local_infile: Incomplete | None = False,
83
- max_allowed_packet: int = 16777216,
84
- defer_connect: bool | None = False,
85
- auth_plugin_map: Mapping[Incomplete, Incomplete] | None = None,
84
+ local_infile: bool = False,
85
+ max_allowed_packet: int = 16_777_216,
86
+ defer_connect: bool = False,
87
+ auth_plugin_map: dict[str, Callable[[Connection[Any]], Any]] | None = None,
86
88
  read_timeout: float | None = None,
87
89
  write_timeout: float | None = None,
88
- bind_address=None,
89
- binary_prefix: bool | None = False,
90
- program_name=None,
90
+ bind_address: str | None = None,
91
+ binary_prefix: bool = False,
92
+ program_name: str | None = None,
91
93
  server_public_key: bytes | None = None,
94
+ ssl: dict[str, Incomplete] | SSLContext | None = None,
95
+ ssl_ca: str | None = None,
96
+ ssl_cert: str | None = None,
97
+ ssl_disabled: bool | None = None,
98
+ ssl_key: str | None = None,
99
+ ssl_key_password: _PasswordType | None = None,
100
+ ssl_verify_cert: bool | None = None,
101
+ ssl_verify_identity: bool | None = None,
102
+ compress: Unused = None,
103
+ named_pipe: Unused = None,
104
+ # different between overloads:
105
+ passwd: None = None, # deprecated
106
+ db: None = None, # deprecated
92
107
  ) -> None: ...
93
108
  @overload
109
+ @deprecated("'passwd' and 'db' arguments are deprecated. Use 'password' and 'database' instead.")
94
110
  def __init__(
95
- # different between overloads:
96
- self: Connection[_C], # pyright: ignore[reportInvalidTypeVarUse] #11780
111
+ self,
97
112
  *,
113
+ user: str | bytes | None = None,
114
+ password: str | bytes = "",
98
115
  host: str | None = None,
99
- user=None,
100
- password: str = "",
101
- database=None,
116
+ database: str | bytes | None = None,
117
+ unix_socket: _Address | None = None,
102
118
  port: int = 0,
103
- unix_socket=None,
104
119
  charset: str = "",
105
120
  collation: str | None = None,
106
- sql_mode=None,
107
- read_default_file=None,
108
- conv=None,
109
- use_unicode: bool | None = True,
121
+ sql_mode: str | None = None,
122
+ read_default_file: str | None = None,
123
+ conv: dict[int | type[Any], Callable[[Any], str] | Callable[[str], Any]] | None = None,
124
+ use_unicode: bool = True,
110
125
  client_flag: int = 0,
111
- cursorclass: type[_C] = ..., # different between overloads
112
- init_command=None,
113
- connect_timeout: int | None = 10,
114
- ssl: Mapping[Incomplete, Incomplete] | None = None,
115
- ssl_ca=None,
116
- ssl_cert=None,
117
- ssl_disabled=None,
118
- ssl_key=None,
119
- ssl_verify_cert=None,
120
- ssl_verify_identity=None,
121
- read_default_group=None,
122
- compress=None,
123
- named_pipe=None,
126
+ cursorclass: type[_C] = ...,
127
+ init_command: str | None = None,
128
+ connect_timeout: float = 10,
129
+ read_default_group: str | None = None,
124
130
  autocommit: bool | None = False,
125
- db=None,
126
- passwd=None,
127
- local_infile: Incomplete | None = False,
128
- max_allowed_packet: int = 16777216,
129
- defer_connect: bool | None = False,
130
- auth_plugin_map: Mapping[Incomplete, Incomplete] | None = None,
131
+ local_infile: bool = False,
132
+ max_allowed_packet: int = 16_777_216,
133
+ defer_connect: bool = False,
134
+ auth_plugin_map: dict[str, Callable[[Connection[Any]], Any]] | None = None,
131
135
  read_timeout: float | None = None,
132
136
  write_timeout: float | None = None,
133
- bind_address=None,
134
- binary_prefix: bool | None = False,
135
- program_name=None,
137
+ bind_address: str | None = None,
138
+ binary_prefix: bool = False,
139
+ program_name: str | None = None,
136
140
  server_public_key: bytes | None = None,
141
+ ssl: dict[str, Incomplete] | SSLContext | None = None,
142
+ ssl_ca: str | None = None,
143
+ ssl_cert: str | None = None,
144
+ ssl_disabled: bool | None = None,
145
+ ssl_key: str | None = None,
146
+ ssl_key_password: _PasswordType | None = None,
147
+ ssl_verify_cert: bool | None = None,
148
+ ssl_verify_identity: bool | None = None,
149
+ compress: Unused = None,
150
+ named_pipe: Unused = None,
151
+ # different between overloads:
152
+ passwd: str | bytes | None = None, # deprecated
153
+ db: str | bytes | None = None, # deprecated
137
154
  ) -> None: ...
138
- socket: Incomplete
139
- rfile: Incomplete
140
- wfile: Incomplete
141
155
  def close(self) -> None: ...
142
156
  @property
143
157
  def open(self) -> bool: ...
@@ -148,7 +162,7 @@ class Connection(Generic[_C]):
148
162
  def begin(self) -> None: ...
149
163
  def rollback(self) -> None: ...
150
164
  def select_db(self, db) -> None: ...
151
- def escape(self, obj, mapping: Mapping[Incomplete, Incomplete] | None = None): ...
165
+ def escape(self, obj, mapping: Mapping[str, Incomplete] | None = None): ...
152
166
  def literal(self, obj): ...
153
167
  def escape_string(self, s: AnyStr) -> AnyStr: ...
154
168
  @overload
@@ -169,35 +183,36 @@ class Connection(Generic[_C]):
169
183
  def insert_id(self): ...
170
184
  def thread_id(self): ...
171
185
  def character_set_name(self): ...
172
- def get_host_info(self): ...
186
+ def get_host_info(self) -> str: ...
173
187
  def get_proto_info(self): ...
174
188
  def get_server_info(self): ...
175
189
  def show_warnings(self): ...
176
190
  def __enter__(self) -> Self: ...
177
191
  def __exit__(self, *exc_info: object) -> None: ...
178
- Warning: Incomplete
179
- Error: Incomplete
180
- InterfaceError: Incomplete
181
- DatabaseError: Incomplete
182
- DataError: Incomplete
183
- OperationalError: Incomplete
184
- IntegrityError: Incomplete
185
- InternalError: Incomplete
186
- ProgrammingError: Incomplete
187
- NotSupportedError: Incomplete
192
+ Warning: type[Warning]
193
+ Error: type[Error]
194
+ InterfaceError: type[InterfaceError]
195
+ DatabaseError: type[DatabaseError]
196
+ DataError: type[DataError]
197
+ OperationalError: type[OperationalError]
198
+ IntegrityError: type[IntegrityError]
199
+ InternalError: type[InternalError]
200
+ ProgrammingError: type[ProgrammingError]
201
+ NotSupportedError: type[NotSupportedError]
188
202
 
189
203
  class MySQLResult:
190
- connection: Incomplete
191
- affected_rows: Incomplete
192
- insert_id: Incomplete
193
- server_status: Incomplete
194
- warning_count: Incomplete
195
- message: Incomplete
196
- field_count: Incomplete
204
+ connection: Connection[Any] | None
205
+ affected_rows: int | None
206
+ insert_id: int | None
207
+ server_status: int | None
208
+ warning_count: int
209
+ message: str | None
210
+ field_count: int
197
211
  description: Incomplete
198
212
  rows: Incomplete
199
- has_next: Incomplete
200
- def __init__(self, connection: Connection[Incomplete]) -> None: ...
213
+ has_next: bool | None
214
+ unbuffered_active: bool
215
+ def __init__(self, connection: Connection[Any]) -> None: ...
201
216
  def __del__(self) -> None: ...
202
217
  first_packet: Incomplete
203
218
  def read(self) -> None: ...
@@ -205,6 +220,6 @@ class MySQLResult:
205
220
 
206
221
  class LoadLocalFile:
207
222
  filename: FileDescriptorOrPath
208
- connection: Connection[Incomplete]
209
- def __init__(self, filename: FileDescriptorOrPath, connection: Connection[Incomplete]) -> None: ...
223
+ connection: Connection[Any]
224
+ def __init__(self, filename: FileDescriptorOrPath, connection: Connection[Any]) -> None: ...
210
225
  def send_data(self) -> None: ...
@@ -45,7 +45,7 @@ class DictCursorMixin:
45
45
 
46
46
  class SSCursor(Cursor):
47
47
  def __del__(self) -> None: ...
48
- def read_next(self): ...
48
+ def read_next(self) -> tuple[Any, ...] | None: ...
49
49
  def fetchall(self) -> list[tuple[Any, ...]]: ... # type: ignore[override]
50
50
  def fetchall_unbuffered(self) -> Iterator[tuple[Any, ...]]: ...
51
51
  def scroll(self, value: int, mode: str = "relative") -> None: ...
@@ -54,3 +54,4 @@ class DictCursor(DictCursorMixin, Cursor): ... # type: ignore[misc]
54
54
 
55
55
  class SSDictCursor(DictCursorMixin, SSCursor): # type: ignore[misc]
56
56
  def fetchall_unbuffered(self) -> Iterator[dict[str, Any]]: ... # type: ignore[override]
57
+ def read_next(self) -> dict[str, Any] | None: ... # type: ignore[override]
@@ -11,6 +11,7 @@ UNSIGNED_INT64_COLUMN: Final[int]
11
11
  def dump_packet(data) -> None: ...
12
12
 
13
13
  class MysqlPacket:
14
+ __slots__ = ("_position", "_data")
14
15
  def __init__(self, data, encoding) -> None: ...
15
16
  def get_all_data(self): ...
16
17
  def read(self, size): ...
@@ -0,0 +1,2 @@
1
+ version = "1.7.1"
2
+ upstream_repository = "https://github.com/Anorov/PySocks"
@@ -0,0 +1,143 @@
1
+ import logging
2
+ import socket
3
+ import types
4
+ from _typeshed import ReadableBuffer
5
+ from collections.abc import Callable, Iterable, Mapping
6
+ from typing import Final, TypeVar, overload
7
+ from typing_extensions import ParamSpec, TypeAlias
8
+
9
+ __version__: Final[str]
10
+
11
+ log: logging.Logger # undocumented
12
+
13
+ _ProxyType: TypeAlias = int
14
+
15
+ PROXY_TYPE_SOCKS4: Final[_ProxyType]
16
+ SOCKS4: Final[_ProxyType]
17
+ PROXY_TYPE_SOCKS5: Final[_ProxyType]
18
+ SOCKS5: Final[_ProxyType]
19
+ PROXY_TYPE_HTTP: Final[_ProxyType]
20
+ HTTP: Final[_ProxyType]
21
+
22
+ PROXY_TYPES: Final[dict[str, _ProxyType]]
23
+ PRINTABLE_PROXY_TYPES: Final[dict[_ProxyType, str]]
24
+
25
+ _T = TypeVar("_T")
26
+ _P = ParamSpec("_P")
27
+
28
+ def set_self_blocking(function: Callable[_P, _T]) -> Callable[_P, _T]: ... # undocumented
29
+
30
+ class ProxyError(IOError):
31
+ msg: str
32
+ socket_err: socket.error
33
+ def __init__(self, msg: str, socket_err: socket.error | None = None) -> None: ...
34
+
35
+ class GeneralProxyError(ProxyError): ...
36
+ class ProxyConnectionError(ProxyError): ...
37
+ class SOCKS5AuthError(ProxyError): ...
38
+ class SOCKS5Error(ProxyError): ...
39
+ class SOCKS4Error(ProxyError): ...
40
+ class HTTPError(ProxyError): ...
41
+
42
+ SOCKS4_ERRORS: Final[Mapping[int, str]]
43
+ SOCKS5_ERRORS: Final[Mapping[int, str]]
44
+ DEFAULT_PORTS: Final[Mapping[_ProxyType, int]]
45
+
46
+ _DefaultProxy: TypeAlias = tuple[_ProxyType | None, str | None, int | None, bool, bytes | None, bytes | None]
47
+
48
+ def set_default_proxy(
49
+ proxy_type: _ProxyType | None = None,
50
+ addr: str | None = None,
51
+ port: int | None = None,
52
+ rdns: bool = True,
53
+ username: str | None = None,
54
+ password: str | None = None,
55
+ ) -> None: ...
56
+ def setdefaultproxy(
57
+ proxy_type: _ProxyType | None = None,
58
+ addr: str | None = None,
59
+ port: int | None = None,
60
+ rdns: bool = True,
61
+ username: str | None = None,
62
+ password: str | None = None,
63
+ *,
64
+ proxytype: _ProxyType = ...,
65
+ ) -> None: ...
66
+ def get_default_proxy() -> _DefaultProxy | None: ...
67
+
68
+ getdefaultproxy = get_default_proxy
69
+
70
+ def wrap_module(module: types.ModuleType) -> None: ...
71
+
72
+ wrapmodule = wrap_module
73
+
74
+ _Endpoint: TypeAlias = tuple[str, int]
75
+
76
+ def create_connection(
77
+ dest_pair: _Endpoint,
78
+ timeout: int | None = None,
79
+ source_address: _Endpoint | None = None,
80
+ proxy_type: _ProxyType | None = None,
81
+ proxy_addr: str | None = None,
82
+ proxy_port: int | None = None,
83
+ proxy_rdns: bool = True,
84
+ proxy_username: str | None = None,
85
+ proxy_password: str | None = None,
86
+ socket_options: (
87
+ Iterable[tuple[int, int, int | ReadableBuffer] | tuple[int, int, None, int]] | None
88
+ ) = None, # values passing to `socket.setsockopt` method
89
+ ) -> socksocket: ...
90
+
91
+ class _BaseSocket(socket.socket): # undocumented
92
+ ...
93
+
94
+ class socksocket(_BaseSocket):
95
+ default_proxy: _DefaultProxy | None # undocumented
96
+ proxy: _DefaultProxy # undocumented
97
+ proxy_sockname: _Endpoint | None # undocumented
98
+ proxy_peername: _Endpoint | None # undocumented
99
+ def __init__(
100
+ self, family: socket.AddressFamily = ..., type: socket.SocketKind = ..., proto: int = 0, fileno: int | None = None
101
+ ) -> None: ...
102
+ def settimeout(self, timeout: float | None) -> None: ...
103
+ def gettimeout(self) -> float | None: ...
104
+ def setblocking(self, v: bool) -> None: ...
105
+ def set_proxy(
106
+ self,
107
+ proxy_type: _ProxyType | None = None,
108
+ addr: str | None = None,
109
+ port: int | None = None,
110
+ rdns: bool = True,
111
+ username: str | None = None,
112
+ password: str | None = None,
113
+ ) -> None: ...
114
+ def setproxy(
115
+ self,
116
+ proxy_type: _ProxyType | None = None,
117
+ addr: str | None = None,
118
+ port: int | None = None,
119
+ rdns: bool = True,
120
+ username: str | None = None,
121
+ password: str | None = None,
122
+ *,
123
+ proxytype: _ProxyType = ...,
124
+ ) -> None: ...
125
+ def bind(self, address: socket._Address, /) -> None: ...
126
+ @overload
127
+ def sendto(self, bytes: ReadableBuffer, address: socket._Address) -> int: ...
128
+ @overload
129
+ def sendto(self, bytes: ReadableBuffer, flags: int, address: socket._Address) -> int: ...
130
+ def send(self, bytes: ReadableBuffer, flags: int = 0) -> int: ...
131
+ def recvfrom(self, bufsize: int, flags: int = 0) -> tuple[bytes, _Endpoint]: ...
132
+ def recv(self, bufsize: int, flags: int = 0) -> bytes: ...
133
+ def close(self) -> None: ...
134
+ def get_proxy_sockname(self) -> _Endpoint | None: ...
135
+ getproxysockname = get_proxy_sockname
136
+ def get_proxy_peername(self) -> _Endpoint | None: ...
137
+ getproxypeername = get_proxy_peername
138
+ def get_peername(self) -> _Endpoint | None: ...
139
+ getpeername = get_peername
140
+ @set_self_blocking
141
+ def connect(self, dest_pair: _Endpoint, catch_errors: bool | None = None) -> None: ... # type: ignore[override]
142
+ @set_self_blocking
143
+ def connect_ex(self, dest_pair: _Endpoint) -> int: ... # type: ignore[override]
@@ -0,0 +1,102 @@
1
+ import http.client
2
+ import ssl
3
+ import sys
4
+ import urllib.request
5
+ from _typeshed import Incomplete, SupportsKeysAndGetItem
6
+ from typing import Any, TypeVar
7
+ from typing_extensions import override
8
+
9
+ import socks
10
+
11
+ _K = TypeVar("_K")
12
+ _V = TypeVar("_V")
13
+
14
+ def merge_dict(a: dict[_K, _V], b: SupportsKeysAndGetItem[_K, _V]) -> dict[_K, _V]: ... # undocumented
15
+ def is_ip(s: str) -> bool: ... # undocumented
16
+
17
+ socks4_no_rdns: set[str] # undocumented
18
+
19
+ class SocksiPyConnection(http.client.HTTPConnection): # undocumented
20
+ proxyargs: tuple[int, str, int | None, bool, str | None, str | None]
21
+ sock: socks.socksocket
22
+ def __init__(
23
+ self,
24
+ proxytype: int,
25
+ proxyaddr: str,
26
+ proxyport: int | None = None,
27
+ rdns: bool = True,
28
+ username: str | None = None,
29
+ password: str | None = None,
30
+ host: str | None = None,
31
+ port: int | None = None,
32
+ timeout: float | None = ...,
33
+ source_address: tuple[str, int] | None = None,
34
+ blocksize: int = 8192,
35
+ ) -> None: ...
36
+ @override
37
+ def connect(self) -> None: ...
38
+
39
+ class SocksiPyConnectionS(http.client.HTTPSConnection): # undocumented
40
+ proxyargs: tuple[int, str, int | None, bool, str | None, str | None]
41
+ sock: socks.socksocket
42
+ if sys.version_info >= (3, 12):
43
+ def __init__(
44
+ self,
45
+ proxytype: int,
46
+ proxyaddr: str,
47
+ proxyport: int | None = None,
48
+ rdns: bool = True,
49
+ username: str | None = None,
50
+ password: str | None = None,
51
+ host: str | None = None,
52
+ port: int | None = None,
53
+ *,
54
+ timeout: float | None = ...,
55
+ source_address: tuple[str, int] | None = None,
56
+ context: ssl.SSLContext | None = None,
57
+ blocksize: int = 8192,
58
+ ) -> None: ...
59
+ else:
60
+ def __init__(
61
+ self,
62
+ proxytype: int,
63
+ proxyaddr: str,
64
+ proxyport: int | None = None,
65
+ rdns: bool = True,
66
+ username: str | None = None,
67
+ password: str | None = None,
68
+ host: str | None = None,
69
+ port: int | None = None,
70
+ key_file: str | None = None,
71
+ cert_file: str | None = None,
72
+ timeout: float | None = ...,
73
+ source_address: tuple[str, int] | None = None,
74
+ *,
75
+ context: ssl.SSLContext | None = None,
76
+ check_hostname: bool | None = None,
77
+ blocksize: int = 8192,
78
+ ) -> None: ...
79
+
80
+ @override
81
+ def connect(self) -> None: ...
82
+
83
+ class SocksiPyHandler(urllib.request.HTTPHandler, urllib.request.HTTPSHandler):
84
+ args: tuple[Incomplete, ...] # undocumented
85
+ kw: dict[str, Incomplete] # undocumented
86
+ def __init__(
87
+ self,
88
+ proxytype: int,
89
+ proxyaddr: str,
90
+ proxyport: int | None = None,
91
+ rdns: bool = True,
92
+ username: str | None = None,
93
+ password: str | None = None,
94
+ *,
95
+ source_address: tuple[str, int] | None = None,
96
+ blocksize: int = 8192,
97
+ **kwargs: Any, # any additional arguments to `SocksiPyConnection` or `SocksiPyConnectionS`
98
+ ) -> None: ...
99
+ @override
100
+ def http_open(self, req: urllib.request.Request) -> http.client.HTTPResponse: ... # undocumented
101
+ @override
102
+ def https_open(self, req: urllib.request.Request) -> http.client.HTTPResponse: ... # undocumented
@@ -428,6 +428,7 @@ class YAMLObjectMetaclass(type):
428
428
  def __init__(cls, name, bases, kwds) -> None: ...
429
429
 
430
430
  class YAMLObject(metaclass=YAMLObjectMetaclass):
431
+ __slots__ = ()
431
432
  yaml_loader: Any
432
433
  yaml_dumper: Any
433
434
  yaml_tag: Any