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,18 @@
1
+ __all__ = ["spew", "unspew"]
2
+
3
+ from collections.abc import Container
4
+ from types import FrameType
5
+ from typing import Any
6
+ from typing_extensions import Self
7
+
8
+ class Spew:
9
+ trace_names: Container[str] | None = None
10
+ show_values: bool
11
+
12
+ def __init__(self, trace_names: Container[str] | None = None, show_values: bool = True) -> None: ...
13
+ def __call__(
14
+ self, frame: FrameType, event: str, arg: Any # `arg` is not used inside the function, stub is set Any
15
+ ) -> Self: ...
16
+
17
+ def spew(trace_names: Container[str] | None = None, show_values: bool = False) -> None: ...
18
+ def unspew() -> None: ...
@@ -0,0 +1,8 @@
1
+ class HaltServer(BaseException):
2
+ reason: str
3
+ exit_status: int
4
+
5
+ def __init__(self, reason: str, exit_status: int = 1) -> None: ...
6
+
7
+ class ConfigError(Exception): ...
8
+ class AppImportError(Exception): ...
@@ -0,0 +1,158 @@
1
+ import logging
2
+ import threading
3
+ from collections.abc import Mapping
4
+ from datetime import timedelta
5
+ from logging.config import _DictConfigArgs
6
+ from socket import SocketKind
7
+ from typing import Annotated, Any, ClassVar, Literal, TypedDict, type_check_only
8
+ from typing_extensions import TypeAlias, override
9
+
10
+ from gunicorn.http import Request
11
+ from gunicorn.http.wsgi import Response
12
+
13
+ from ._types import _EnvironType
14
+ from .config import Config
15
+
16
+ SYSLOG_FACILITIES: dict[str, int]
17
+
18
+ @type_check_only
19
+ class _AtomsDict(TypedDict, total=False):
20
+ h: str
21
+ l: str
22
+ u: str
23
+ t: str
24
+ r: str
25
+ s: str
26
+ m: str | None
27
+ U: str | None
28
+ q: str | None
29
+ H: str | None
30
+ b: str
31
+ B: int | None
32
+ f: str
33
+ a: str
34
+ T: int
35
+ D: int
36
+ M: int
37
+ L: str
38
+ p: str
39
+
40
+ _CriticalIntType: TypeAlias = Annotated[int, "50"]
41
+ _ErrorIntType: TypeAlias = Annotated[int, "40"]
42
+ _WarningIntType: TypeAlias = Annotated[int, "30"]
43
+ _InfoIntType: TypeAlias = Annotated[int, "20"]
44
+ _DebugIntType: TypeAlias = Annotated[int, "10"]
45
+ _LogLevelIntType: TypeAlias = _CriticalIntType | _ErrorIntType | _WarningIntType | _InfoIntType | _DebugIntType
46
+ _LogLevelStrType: TypeAlias = Literal["critical", "error", "warning", "info", "debug"]
47
+ _LogLevelType: TypeAlias = _LogLevelIntType | _LogLevelStrType
48
+
49
+ CONFIG_DEFAULTS: _DictConfigArgs
50
+
51
+ def loggers() -> list[logging.Logger]: ...
52
+
53
+ class SafeAtoms(dict[str, Any]):
54
+ def __init__(self, atoms: dict[str, Any]) -> None: ...
55
+ @override
56
+ def __getitem__(self, k: str) -> str: ...
57
+
58
+ _SyslogAddressType: TypeAlias = (
59
+ tuple[Literal[SocketKind.SOCK_DGRAM] | None, str] # Unix Socket
60
+ | tuple[Literal[SocketKind.SOCK_DGRAM, SocketKind.SOCK_STREAM], tuple[str, int]] # TCP/UDP Socket
61
+ )
62
+
63
+ def parse_syslog_address(addr: str) -> _SyslogAddressType: ...
64
+ @type_check_only
65
+ class _LogLevels(TypedDict):
66
+ critical: _CriticalIntType
67
+ error: _ErrorIntType
68
+ warning: _WarningIntType
69
+ info: _InfoIntType
70
+ debug: _DebugIntType
71
+
72
+ class Logger:
73
+ LOG_LEVELS: ClassVar[_LogLevels]
74
+ loglevel: ClassVar[_LogLevelIntType]
75
+ error_fmt: ClassVar[str]
76
+ datefmt: ClassVar[str]
77
+ access_fmt: ClassVar[str]
78
+ syslog_fmt: ClassVar[str]
79
+ atoms_wrapper_class: ClassVar[type[SafeAtoms]]
80
+ error_log: logging.Logger
81
+ access_log: logging.Logger
82
+ error_handlers: list[logging.Handler]
83
+ access_handlers: list[logging.Handler]
84
+ logfile: Any | None
85
+ lock: threading.Lock
86
+ cfg: Config
87
+
88
+ def __init__(self, cfg: Config) -> None: ...
89
+ def setup(self, cfg: Config) -> None: ...
90
+ def critical(
91
+ self,
92
+ msg: object,
93
+ *args: object,
94
+ exc_info: logging._ExcInfoType = None,
95
+ stack_info: bool = False,
96
+ stacklevel: int = 1,
97
+ extra: Mapping[str, object] | None = None,
98
+ ) -> None: ...
99
+ def error(
100
+ self,
101
+ msg: object,
102
+ *args: object,
103
+ exc_info: logging._ExcInfoType = None,
104
+ stack_info: bool = False,
105
+ stacklevel: int = 1,
106
+ extra: Mapping[str, object] | None = None,
107
+ ) -> None: ...
108
+ def warning(
109
+ self,
110
+ msg: object,
111
+ *args: object,
112
+ exc_info: logging._ExcInfoType = None,
113
+ stack_info: bool = False,
114
+ stacklevel: int = 1,
115
+ extra: Mapping[str, object] | None = None,
116
+ ) -> None: ...
117
+ def info(
118
+ self,
119
+ msg: object,
120
+ *args: object,
121
+ exc_info: logging._ExcInfoType = None,
122
+ stack_info: bool = False,
123
+ stacklevel: int = 1,
124
+ extra: Mapping[str, object] | None = None,
125
+ ) -> None: ...
126
+ def debug(
127
+ self,
128
+ msg: object,
129
+ *args: object,
130
+ exc_info: logging._ExcInfoType = None,
131
+ stack_info: bool = False,
132
+ stacklevel: int = 1,
133
+ extra: Mapping[str, object] | None = None,
134
+ ) -> None: ...
135
+ def exception(
136
+ self,
137
+ msg: object,
138
+ *args: object,
139
+ exc_info: logging._ExcInfoType = True,
140
+ stack_info: bool = False,
141
+ stacklevel: int = 1,
142
+ extra: Mapping[str, object] | None = None,
143
+ ) -> None: ...
144
+ def log(
145
+ self,
146
+ lvl: _LogLevelType,
147
+ msg: object,
148
+ *args: object,
149
+ exc_info: logging._ExcInfoType = None,
150
+ stack_info: bool = False,
151
+ stacklevel: int = 1,
152
+ extra: Mapping[str, object] | None = None,
153
+ ) -> None: ...
154
+ def atoms(self, resp: Response, req: Request, environ: _EnvironType, request_time: timedelta) -> _AtomsDict: ...
155
+ def access(self, resp: Response, req: Request, environ: _EnvironType, request_time: timedelta) -> None: ...
156
+ def now(self) -> str: ...
157
+ def reopen_files(self) -> None: ...
158
+ def close_on_exec(self) -> None: ...
@@ -0,0 +1,4 @@
1
+ from gunicorn.http.message import Message as Message, Request as Request
2
+ from gunicorn.http.parser import RequestParser as RequestParser
3
+
4
+ __all__ = ["Message", "Request", "RequestParser"]
@@ -0,0 +1,48 @@
1
+ import io
2
+ from collections.abc import Callable, Generator, Iterator
3
+ from typing_extensions import TypeAlias
4
+
5
+ from gunicorn.http.message import Request
6
+ from gunicorn.http.unreader import Unreader
7
+
8
+ class ChunkedReader:
9
+ req: Request
10
+ parser: Generator[bytes, None, None] | None
11
+ buf: io.BytesIO
12
+
13
+ def __init__(self, req: Request, unreader: Unreader) -> None: ...
14
+ def read(self, size: int) -> bytes: ...
15
+ def parse_trailers(self, unreader: Unreader, data: bytes) -> None: ...
16
+ def parse_chunked(self, unreader: Unreader) -> Generator[bytes]: ...
17
+ def parse_chunk_size(self, unreader: Unreader, data: bytes | None = None) -> tuple[int, bytes | None]: ...
18
+ def get_data(self, unreader: Unreader, buf: io.BytesIO) -> None: ...
19
+
20
+ class LengthReader:
21
+ unreader: Unreader
22
+ length: int
23
+
24
+ def __init__(self, unreader: Unreader, length: int) -> None: ...
25
+ def read(self, size: int) -> bytes: ...
26
+
27
+ class EOFReader:
28
+ unreader: Unreader
29
+ buf: io.BytesIO
30
+ finished: bool
31
+
32
+ def __init__(self, unreader: Unreader) -> None: ...
33
+ def read(self, size: int) -> bytes: ...
34
+
35
+ _ReaderType: TypeAlias = ChunkedReader | LengthReader | EOFReader
36
+
37
+ class Body:
38
+ reader: _ReaderType
39
+ buf: io.BytesIO
40
+
41
+ def __init__(self, reader: _ReaderType) -> None: ...
42
+ def __iter__(self) -> Iterator[bytes]: ...
43
+ def __next__(self) -> bytes: ...
44
+ next: Callable[[Body], bytes]
45
+ def getsize(self, size: int | None) -> int: ...
46
+ def read(self, size: int | None = None) -> bytes: ...
47
+ def readline(self, size: int | None = None) -> bytes: ...
48
+ def readlines(self, size: int | None = None) -> list[bytes]: ...
@@ -0,0 +1,89 @@
1
+ from typing_extensions import Buffer
2
+
3
+ from gunicorn.http import Message
4
+
5
+ class ParseException(Exception): ...
6
+
7
+ class NoMoreData(IOError):
8
+ buf: Buffer
9
+
10
+ def __init__(self, buf: Buffer | None = None) -> None: ...
11
+
12
+ class ConfigurationProblem(ParseException):
13
+ info: str
14
+ code: int
15
+
16
+ def __init__(self, info: str) -> None: ...
17
+
18
+ class InvalidRequestLine(ParseException):
19
+ req: str
20
+ code: int
21
+
22
+ def __init__(self, req: str) -> None: ...
23
+
24
+ class InvalidRequestMethod(ParseException):
25
+ method: str
26
+
27
+ def __init__(self, method: str) -> None: ...
28
+
29
+ class InvalidHTTPVersion(ParseException):
30
+ version: str | tuple[int, int]
31
+
32
+ def __init__(self, version: str | tuple[int, int]) -> None: ...
33
+
34
+ class InvalidHeader(ParseException):
35
+ hdr: str
36
+ req: Message | None
37
+
38
+ def __init__(self, hdr: str, req: Message | None = None) -> None: ...
39
+
40
+ class ObsoleteFolding(ParseException):
41
+ hdr: str
42
+
43
+ def __init__(self, hdr: str) -> None: ...
44
+
45
+ class InvalidHeaderName(ParseException):
46
+ hdr: str
47
+
48
+ def __init__(self, hdr: str) -> None: ...
49
+
50
+ class UnsupportedTransferCoding(ParseException):
51
+ hdr: str
52
+ code: int
53
+
54
+ def __init__(self, hdr: str) -> None: ...
55
+
56
+ class InvalidChunkSize(IOError):
57
+ data: bytes
58
+
59
+ def __init__(self, data: bytes) -> None: ...
60
+
61
+ class ChunkMissingTerminator(IOError):
62
+ term: bytes
63
+
64
+ def __init__(self, term: bytes) -> None: ...
65
+
66
+ class LimitRequestLine(ParseException):
67
+ size: int
68
+ max_size: int
69
+
70
+ def __init__(self, size: int, max_size: int) -> None: ...
71
+
72
+ class LimitRequestHeaders(ParseException):
73
+ msg: str
74
+
75
+ def __init__(self, msg: str) -> None: ...
76
+
77
+ class InvalidProxyLine(ParseException):
78
+ line: str
79
+ code: int
80
+
81
+ def __init__(self, line: str) -> None: ...
82
+
83
+ class ForbiddenProxyRequest(ParseException):
84
+ host: str
85
+ code: int
86
+
87
+ def __init__(self, host: str) -> None: ...
88
+
89
+ class InvalidSchemeHeaders(ParseException): ...
@@ -0,0 +1,62 @@
1
+ import io
2
+ import re
3
+ from typing_extensions import override
4
+
5
+ from gunicorn.config import Config
6
+ from gunicorn.http.body import Body
7
+ from gunicorn.http.unreader import Unreader
8
+
9
+ from .._types import _AddressType
10
+
11
+ MAX_REQUEST_LINE: int
12
+ MAX_HEADERS: int
13
+ DEFAULT_MAX_HEADERFIELD_SIZE: int
14
+ RFC9110_5_6_2_TOKEN_SPECIALS: str
15
+ TOKEN_RE: re.Pattern[str]
16
+ METHOD_BADCHAR_RE: re.Pattern[str]
17
+ VERSION_RE: re.Pattern[str]
18
+ RFC9110_5_5_INVALID_AND_DANGEROUS: re.Pattern[str]
19
+
20
+ class Message:
21
+ cfg: Config
22
+ unreader: Unreader
23
+ peer_addr: _AddressType
24
+ remote_addr: _AddressType
25
+ version: tuple[int, int] | None
26
+ headers: list[tuple[str, str]]
27
+ trailers: list[tuple[str, str]]
28
+ body: Body | None
29
+ scheme: str
30
+ must_close: bool
31
+ limit_request_fields: int
32
+ limit_request_field_size: int
33
+ max_buffer_headers: int
34
+
35
+ def __init__(self, cfg: Config, unreader: Unreader, peer_addr: _AddressType) -> None: ...
36
+ def force_close(self) -> None: ...
37
+ def parse(self, unreader: Unreader) -> bytes: ...
38
+ def parse_headers(self, data: bytes, from_trailer: bool = False) -> list[tuple[str, str]]: ...
39
+ def set_body_reader(self) -> None: ...
40
+ def should_close(self) -> bool: ...
41
+
42
+ class Request(Message):
43
+ method: str | None
44
+ uri: str | None
45
+ path: str | None
46
+ query: str | None
47
+ fragment: str | None
48
+ limit_request_line: int
49
+ req_number: int
50
+ proxy_protocol_info: dict[str, str | int] | None
51
+
52
+ def __init__(self, cfg: Config, unreader: Unreader, peer_addr: _AddressType, req_number: int = 1) -> None: ...
53
+ def get_data(self, unreader: Unreader, buf: io.BytesIO, stop: bool = False) -> None: ...
54
+ @override
55
+ def parse(self, unreader: Unreader) -> bytes: ...
56
+ def read_line(self, unreader: Unreader, buf: io.BytesIO, limit: int = 0) -> tuple[bytes, bytes]: ...
57
+ def proxy_protocol(self, line: str) -> bool: ...
58
+ def proxy_protocol_access_check(self) -> None: ...
59
+ def parse_proxy_protocol(self, line: str) -> None: ...
60
+ def parse_request_line(self, line_bytes: bytes) -> None: ...
61
+ @override
62
+ def set_body_reader(self) -> None: ...
@@ -0,0 +1,26 @@
1
+ import socket
2
+ from collections.abc import Callable, Iterable, Iterator
3
+ from typing import ClassVar
4
+
5
+ from gunicorn.config import Config
6
+ from gunicorn.http.message import Request
7
+ from gunicorn.http.unreader import Unreader
8
+
9
+ from .._types import _AddressType
10
+
11
+ class Parser:
12
+ mesg_class: ClassVar[type[Request] | None]
13
+ cfg: Config
14
+ unreader: Unreader
15
+ mesg: Request | None
16
+ source_addr: _AddressType
17
+ req_count: int
18
+
19
+ def __init__(self, cfg: Config, source: socket.socket | Iterable[bytes], source_addr: _AddressType) -> None: ...
20
+ def __iter__(self) -> Iterator[Request]: ...
21
+ def __next__(self) -> Request: ...
22
+
23
+ next: Callable[[Parser], Request]
24
+
25
+ class RequestParser(Parser):
26
+ mesg_class: ClassVar[type[Request]]
@@ -0,0 +1,28 @@
1
+ import io
2
+ import socket
3
+ from _typeshed import ReadableBuffer
4
+ from collections.abc import Iterable, Iterator
5
+ from typing_extensions import override
6
+
7
+ class Unreader:
8
+ buf: io.BytesIO
9
+
10
+ def __init__(self) -> None: ...
11
+ def chunk(self) -> bytes: ...
12
+ def read(self, size: int | None = None) -> bytes: ...
13
+ def unread(self, data: ReadableBuffer) -> None: ...
14
+
15
+ class SocketUnreader(Unreader):
16
+ sock: socket.socket
17
+ mxchunk: int
18
+
19
+ def __init__(self, sock: socket.socket, max_chunk: int = 8192) -> None: ...
20
+ @override
21
+ def chunk(self) -> bytes: ...
22
+
23
+ class IterUnreader(Unreader):
24
+ iter: Iterator[bytes] | None
25
+
26
+ def __init__(self, iterable: Iterable[bytes]) -> None: ...
27
+ @override
28
+ def chunk(self) -> bytes: ...
@@ -0,0 +1,70 @@
1
+ import io
2
+ import logging
3
+ import re
4
+ import socket
5
+ from _typeshed import ReadableBuffer
6
+ from collections.abc import Callable
7
+ from typing import Any
8
+ from typing_extensions import override
9
+
10
+ from gunicorn.config import Config
11
+ from gunicorn.http import Request
12
+
13
+ from .._types import _AddressType, _EnvironType, _HeadersType, _StatusType
14
+
15
+ BLKSIZE: int
16
+ HEADER_VALUE_RE: re.Pattern[str]
17
+ log: logging.Logger
18
+
19
+ class FileWrapper:
20
+ filelike: io.IOBase
21
+ blksize: int
22
+ close: Callable[[], None] | None
23
+
24
+ def __init__(self, filelike: io.IOBase, blksize: int = 8192) -> None: ...
25
+ def __getitem__(self, key: Any) -> bytes: ...
26
+
27
+ class WSGIErrorsWrapper(io.RawIOBase):
28
+ streams: list[io.TextIOBase]
29
+
30
+ def __init__(self, cfg: Config) -> None: ...
31
+ @override
32
+ def write(self, data: ReadableBuffer) -> None: ...
33
+
34
+ def base_environ(cfg: Config) -> _EnvironType: ...
35
+ def default_environ(req: Request, sock: socket.socket, cfg: Config) -> _EnvironType: ...
36
+ def proxy_environ(req: Request) -> _EnvironType: ...
37
+ def create(
38
+ req: Request, sock: socket.socket, client: _AddressType, server: _AddressType, cfg: Config
39
+ ) -> tuple[Response, _EnvironType]: ...
40
+
41
+ class Response:
42
+ req: Request
43
+ sock: socket.socket
44
+ version: str
45
+ status: str | None
46
+ chunked: bool
47
+ must_close: bool
48
+ headers: _HeadersType
49
+ headers_sent: bool
50
+ response_length: int | None
51
+ sent: int
52
+ upgrade: bool
53
+ cfg: Config
54
+ status_code: int | None
55
+
56
+ def __init__(self, req: Request, sock: socket.socket, cfg: Config) -> None: ...
57
+ def force_close(self) -> None: ...
58
+ def should_close(self) -> bool: ...
59
+ def start_response(
60
+ self, status: _StatusType, headers: _HeadersType, exc_info: tuple[type, BaseException, Any] | None = None
61
+ ) -> Callable[[bytes], None]: ...
62
+ def process_headers(self, headers: _HeadersType) -> None: ...
63
+ def is_chunked(self) -> bool: ...
64
+ def default_headers(self) -> list[str]: ...
65
+ def send_headers(self) -> None: ...
66
+ def write(self, arg: bytes) -> None: ...
67
+ def can_sendfile(self) -> bool: ...
68
+ def sendfile(self, respiter: FileWrapper) -> bool: ...
69
+ def write_file(self, respiter: FileWrapper) -> None: ...
70
+ def close(self) -> None: ...
@@ -0,0 +1,105 @@
1
+ import logging
2
+ import socket
3
+ from collections.abc import Mapping
4
+ from datetime import timedelta
5
+ from typing_extensions import override
6
+
7
+ from gunicorn.config import Config
8
+ from gunicorn.glogging import Logger
9
+ from gunicorn.http import Request
10
+ from gunicorn.http.wsgi import Response
11
+
12
+ from .._types import _EnvironType
13
+ from ..glogging import _LogLevelType
14
+
15
+ METRIC_VAR: str
16
+ VALUE_VAR: str
17
+ MTYPE_VAR: str
18
+ GAUGE_TYPE: str
19
+ COUNTER_TYPE: str
20
+ HISTOGRAM_TYPE: str
21
+
22
+ class Statsd(Logger):
23
+ prefix: str
24
+ sock: socket.socket | None
25
+ dogstatsd_tags: str | None
26
+ cfg: Config
27
+
28
+ def __init__(self, cfg: Config) -> None: ...
29
+ @override
30
+ def critical(
31
+ self,
32
+ msg: object,
33
+ *args: object,
34
+ exc_info: logging._ExcInfoType = None,
35
+ stack_info: bool = False,
36
+ stacklevel: int = 1,
37
+ extra: Mapping[str, object] | None = None,
38
+ ) -> None: ...
39
+ @override
40
+ def error(
41
+ self,
42
+ msg: object,
43
+ *args: object,
44
+ exc_info: logging._ExcInfoType = None,
45
+ stack_info: bool = False,
46
+ stacklevel: int = 1,
47
+ extra: Mapping[str, object] | None = None,
48
+ ) -> None: ...
49
+ @override
50
+ def warning(
51
+ self,
52
+ msg: object,
53
+ *args: object,
54
+ exc_info: logging._ExcInfoType = None,
55
+ stack_info: bool = False,
56
+ stacklevel: int = 1,
57
+ extra: Mapping[str, object] | None = None,
58
+ ) -> None: ...
59
+ @override
60
+ def info(
61
+ self,
62
+ msg: object,
63
+ *args: object,
64
+ exc_info: logging._ExcInfoType = None,
65
+ stack_info: bool = False,
66
+ stacklevel: int = 1,
67
+ extra: Mapping[str, object] | None = None,
68
+ ) -> None: ...
69
+ @override
70
+ def debug(
71
+ self,
72
+ msg: object,
73
+ *args: object,
74
+ exc_info: logging._ExcInfoType = None,
75
+ stack_info: bool = False,
76
+ stacklevel: int = 1,
77
+ extra: Mapping[str, object] | None = None,
78
+ ) -> None: ...
79
+ @override
80
+ def exception(
81
+ self,
82
+ msg: object,
83
+ *args: object,
84
+ exc_info: logging._ExcInfoType = True,
85
+ stack_info: bool = False,
86
+ stacklevel: int = 1,
87
+ extra: Mapping[str, object] | None = None,
88
+ ) -> None: ...
89
+ @override
90
+ def log(
91
+ self,
92
+ lvl: _LogLevelType,
93
+ msg: object,
94
+ *args: object,
95
+ exc_info: logging._ExcInfoType = None,
96
+ stack_info: bool = False,
97
+ stacklevel: int = 1,
98
+ extra: Mapping[str, object] | None = None,
99
+ ) -> None: ...
100
+ @override
101
+ def access(self, resp: Response, req: Request, environ: _EnvironType, request_time: timedelta) -> None: ...
102
+ def gauge(self, name: str, value: float) -> None: ...
103
+ def increment(self, name: str, value: int, sampling_rate: float = 1.0) -> None: ...
104
+ def decrement(self, name: str, value: int, sampling_rate: float = 1.0) -> None: ...
105
+ def histogram(self, name: str, value: float) -> None: ...
@@ -0,0 +1,8 @@
1
+ from _typeshed import StrOrBytesPath
2
+
3
+ class Pidfile:
4
+ def __init__(self, fname: StrOrBytesPath) -> None: ...
5
+ def create(self, pid: int) -> None: ...
6
+ def rename(self, path: StrOrBytesPath) -> None: ...
7
+ def unlink(self) -> None: ...
8
+ def validate(self) -> None: ...
@@ -0,0 +1,50 @@
1
+ import sys
2
+ import threading
3
+ from collections.abc import Callable, Iterable
4
+ from re import Pattern
5
+ from typing import NoReturn, TypedDict, type_check_only
6
+ from typing_extensions import TypeAlias, override
7
+
8
+ COMPILED_EXT_RE: Pattern[str]
9
+
10
+ class Reloader(threading.Thread):
11
+ daemon: bool
12
+
13
+ def __init__(
14
+ self, extra_files: Iterable[str] | None = None, interval: int = 1, callback: Callable[[str], None] | None = None
15
+ ) -> None: ...
16
+ def add_extra_file(self, filename: str) -> None: ...
17
+ def get_files(self) -> list[str]: ...
18
+ @override
19
+ def run(self) -> None: ...
20
+
21
+ has_inotify: bool
22
+
23
+ if sys.platform == "linux":
24
+ class InotifyReloader(threading.Thread):
25
+ event_mask: int
26
+ daemon: bool
27
+
28
+ def __init__(self, extra_files: Iterable[str] | None = None, callback: Callable[[str], None] | None = None) -> None: ...
29
+ def add_extra_file(self, filename: str) -> None: ...
30
+ def get_dirs(self) -> set[str]: ...
31
+ @override
32
+ def run(self) -> None: ...
33
+
34
+ else:
35
+ class InotifyReloader:
36
+ def __init__(
37
+ self, extra_files: Iterable[str] | None = None, callback: Callable[[str], None] | None = None
38
+ ) -> NoReturn: ...
39
+
40
+ _PreferredReloaderType: TypeAlias = type[InotifyReloader | Reloader]
41
+ _ReloaderType: TypeAlias = InotifyReloader | Reloader # noqa: Y047
42
+
43
+ @type_check_only
44
+ class _ReloadedEngines(TypedDict):
45
+ auto: _PreferredReloaderType
46
+ pool: type[Reloader]
47
+ inotify: type[InotifyReloader]
48
+
49
+ preferred_reloader: _PreferredReloaderType
50
+ reloader_engines: _ReloadedEngines