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
@@ -1,6 +1,17 @@
1
- from _typeshed import Incomplete
2
- from collections.abc import Collection, Iterable, Sequence
1
+ from _typeshed import Incomplete, SupportsItems
2
+ from collections.abc import Callable, Collection, Hashable, Iterable, Mapping, Sequence
3
+ from typing import Any, Generic, Literal, TypedDict, TypeVar, overload, type_check_only
4
+ from typing_extensions import TypeAlias, Unpack
3
5
 
6
+ import numpy as np
7
+ from matplotlib.axes import Axes # type: ignore[import-not-found]
8
+ from matplotlib.collections import LineCollection, PathCollection # type: ignore[import-not-found]
9
+ from matplotlib.colors import Colormap # type: ignore[import-not-found]
10
+ from matplotlib.patches import FancyArrowPatch # type: ignore[import-not-found]
11
+ from matplotlib.text import Text # type: ignore[import-not-found]
12
+ from matplotlib.typing import ColorType # type: ignore[import-not-found]
13
+ from networkx._typing import Array2D
14
+ from networkx.classes.digraph import DiGraph
4
15
  from networkx.classes.graph import Graph, _Node
5
16
 
6
17
  __all__ = [
@@ -23,14 +34,87 @@ __all__ = [
23
34
  "draw_forceatlas2",
24
35
  ]
25
36
 
37
+ _G = TypeVar("_G", bound=Graph[Any])
38
+
39
+ # types from matplotlib
40
+ _FontSize: TypeAlias = Literal["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large"] | float
41
+ _FontWeight: TypeAlias = (
42
+ Literal[
43
+ "ultralight",
44
+ "light",
45
+ "normal",
46
+ "regular",
47
+ "book",
48
+ "medium",
49
+ "roman",
50
+ "semibold",
51
+ "demibold",
52
+ "demi",
53
+ "bold",
54
+ "heavy",
55
+ "extra bold",
56
+ "black",
57
+ ]
58
+ | int
59
+ )
60
+ _HAlign: TypeAlias = Literal["left", "center", "right"]
61
+ _VAlign: TypeAlias = Literal["baseline", "bottom", "center", "center_baseline", "top"]
62
+
63
+ @type_check_only
64
+ class _DrawNetworkxKwds(TypedDict, Generic[_Node], total=False):
65
+ # draw nodes keywords; keep in sync with draw_networkx_nodes
66
+ node_color: ColorType | Collection[ColorType] | Collection[float]
67
+ cmap: str | Colormap | None
68
+ vmin: float | None
69
+ vmax: float | None
70
+ linewidths: float | Collection[float] | None
71
+ edgecolors: Literal["face", "none"] | ColorType | Collection[ColorType] | Collection[float] | None
72
+ margins: float | tuple[float, float] | None
73
+ # draw edges keywords; keep in sync with draw_networkx_edges
74
+ edgelist: Collection[_Node | Hashable] | None # (u, v, k) for multigraphs and (u, v) for simple graphs
75
+ width: float | Collection[float]
76
+ edge_color: ColorType | Collection[ColorType]
77
+ style: str | Collection[str]
78
+ arrowstyle: str | Collection[str] | None
79
+ arrowsize: float | list[int] | list[float]
80
+ edge_cmap: Colormap | None
81
+ edge_vmin: float | None
82
+ edge_vmax: float | None
83
+ connectionstyle: str | Iterable[str]
84
+ min_source_margin: int | Collection[int]
85
+ min_target_margin: int | Collection[int]
86
+ # draw labels keywords; keep in sync with draw_networkx_labels
87
+ labels: Mapping[_Node, object] | None
88
+ font_size: _FontSize | Mapping[_Node, _FontSize]
89
+ font_color: ColorType | Mapping[_Node, Colormap]
90
+ font_family: str | Mapping[_Node, str]
91
+ font_weight: _FontWeight | Mapping[_Node, _FontWeight]
92
+ bbox: dict[str, Any] | None
93
+ horizontalalignment: _HAlign
94
+ verticalalignment: _VAlign
95
+ clip_on: bool
96
+ # common keywords
97
+ nodelist: Sequence[_Node] | None
98
+ node_size: float | Collection[float]
99
+ node_shape: str
100
+ alpha: float | Collection[float] | None
101
+ label: str | None
102
+ hide_ticks: bool
103
+
26
104
  def apply_matplotlib_colors(
27
- G: Graph[_Node], src_attr: str, dest_attr: str, map, vmin: float | None = None, vmax: float | None = None, nodes: bool = True
105
+ G: Graph[_Node],
106
+ src_attr: str,
107
+ dest_attr: str,
108
+ map: str | Colormap,
109
+ vmin: float | None = None,
110
+ vmax: float | None = None,
111
+ nodes: bool = True,
28
112
  ) -> None: ...
29
113
  def display(
30
- G: Graph[_Node],
31
- canvas=None,
114
+ G: _G,
115
+ canvas: Axes | None = None,
32
116
  *,
33
- pos=...,
117
+ pos: str | Callable[[_G], Mapping[_Node, Collection[float]]] = ...,
34
118
  node_visible: str | bool = ...,
35
119
  node_color: str = ...,
36
120
  node_size: str | float = ...,
@@ -41,7 +125,7 @@ def display(
41
125
  node_border_color: str = ...,
42
126
  edge_visible: str | bool = ...,
43
127
  edge_width: str | int = ...,
44
- edge_color=...,
128
+ edge_color: str | ColorType = ...,
45
129
  edge_label: str = ...,
46
130
  edge_style: str = ...,
47
131
  edge_alpha: str | float = ...,
@@ -51,97 +135,220 @@ def display(
51
135
  edge_source_margin: str | int = ...,
52
136
  edge_target_margin: str | int = ...,
53
137
  hide_ticks: bool = True,
54
- ): ...
55
- def draw(G: Graph[_Node], pos=None, ax=None, **kwds) -> None: ...
56
- def draw_networkx(G: Graph[_Node], pos=None, arrows=None, with_labels: bool = True, **kwds) -> None: ...
57
- def draw_networkx_nodes(
138
+ ) -> _G: ...
139
+ def draw(
140
+ G: Graph[_Node],
141
+ pos: Mapping[_Node, Collection[float]] | None = None,
142
+ ax: Axes | None = None,
143
+ *,
144
+ with_labels: bool = ..., # default depends on whether a label argument is passed
145
+ **kwds: Unpack[_DrawNetworkxKwds[_Node]],
146
+ ) -> None: ...
147
+ def draw_networkx(
148
+ G: Graph[_Node],
149
+ pos: Mapping[_Node, Collection[float]] | None = None,
150
+ arrows: bool | None = None,
151
+ with_labels: bool = True,
152
+ *,
153
+ ax: Axes | None = None,
154
+ **kwds: Unpack[_DrawNetworkxKwds[_Node]],
155
+ ) -> None: ...
156
+ def draw_networkx_nodes( # keep in sync with _DrawNetworkxKwds above
157
+ G: Graph[_Node],
158
+ pos: Mapping[_Node, Collection[float]],
159
+ nodelist: Collection[_Node] | None = None,
160
+ node_size: float | Collection[float] = 300,
161
+ node_color: ColorType | Collection[ColorType] | Collection[float] = "#1f78b4",
162
+ node_shape: str = "o",
163
+ alpha: float | Collection[float] | None = None,
164
+ cmap: str | Colormap | None = None,
165
+ vmin: float | None = None,
166
+ vmax: float | None = None,
167
+ ax: Axes | None = None,
168
+ linewidths: float | Collection[float] | None = None,
169
+ edgecolors: Literal["face", "none"] | ColorType | Collection[ColorType] | Collection[float] | None = None,
170
+ label: str | None = None,
171
+ margins: float | tuple[float, float] | None = None,
172
+ hide_ticks: bool = True,
173
+ ) -> PathCollection: ...
174
+ @overload # arrows=None -> LineCollection if G is undirected, list[FancyArrowPatch] if G is directed
175
+ def draw_networkx_edges( # keep in sync with _DrawNetworkxKwds above
58
176
  G: Graph[_Node],
59
- pos,
60
- nodelist: Collection[Incomplete] | None = None,
61
- node_size: Incomplete | int = 300,
62
- node_color: str | Sequence[str] = "#1f78b4",
177
+ pos: Mapping[_Node, Collection[float]],
178
+ edgelist: Collection[_Node | Hashable] | None = None, # (u, v, k) for multigraphs and (u, v) for simple graphs
179
+ width: float | Collection[float] = 1.0,
180
+ edge_color: ColorType | Collection[ColorType] = "k",
181
+ style: str | Collection[str] = "solid",
182
+ alpha: float | Collection[float] | None = None,
183
+ arrowstyle: str | Collection[str] | None = None,
184
+ arrowsize: float | list[int] | list[float] = 10, # documented as int, mpl accepts float
185
+ edge_cmap: Colormap | None = None,
186
+ edge_vmin: float | None = None,
187
+ edge_vmax: float | None = None,
188
+ ax: Axes | None = None,
189
+ arrows: None = None,
190
+ label: str | None = None, # documented as str, mpl accepts any object as it calls str on it
191
+ node_size: float | Collection[float] = 300,
192
+ nodelist: Sequence[_Node] | None = None,
63
193
  node_shape: str = "o",
64
- alpha=None,
65
- cmap=None,
66
- vmin=None,
67
- vmax=None,
68
- ax=None,
69
- linewidths=None,
70
- edgecolors=None,
71
- label=None,
72
- margins=None,
194
+ connectionstyle: str | Iterable[str] = "arc3",
195
+ min_source_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
196
+ min_target_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
73
197
  hide_ticks: bool = True,
74
- ): ...
198
+ ) -> LineCollection | list[FancyArrowPatch]: ...
199
+ @overload # directed graph and arrows=None -> list[FancyArrowPatch]
200
+ def draw_networkx_edges(
201
+ G: DiGraph[_Node],
202
+ pos: Mapping[_Node, Collection[float]],
203
+ edgelist: Collection[_Node | Hashable] | None = None, # (u, v, k) for multigraphs and (u, v) for simple graphs
204
+ width: float | Collection[float] = 1.0,
205
+ edge_color: ColorType | Collection[ColorType] = "k",
206
+ style: str | Collection[str] = "solid",
207
+ alpha: float | Collection[float] | None = None,
208
+ arrowstyle: str | Collection[str] | None = None,
209
+ arrowsize: float | list[int] | list[float] = 10, # documented as int, mpl accepts float
210
+ edge_cmap: Colormap | None = None,
211
+ edge_vmin: float | None = None,
212
+ edge_vmax: float | None = None,
213
+ ax: Axes | None = None,
214
+ arrows: None = None,
215
+ label: str | None = None, # documented as str, mpl accepts any object as it calls str on it
216
+ node_size: float | Collection[float] = 300,
217
+ nodelist: Sequence[_Node] | None = None,
218
+ node_shape: str = "o",
219
+ connectionstyle: str | Iterable[str] = "arc3",
220
+ min_source_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
221
+ min_target_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
222
+ hide_ticks: bool = True,
223
+ ) -> list[FancyArrowPatch]: ...
224
+ @overload # arrows=True -> list[FancyArrowPatch]
75
225
  def draw_networkx_edges(
76
226
  G: Graph[_Node],
77
- pos,
78
- edgelist=None,
79
- width: float = 1.0,
80
- edge_color: str = "k",
81
- style: str = "solid",
82
- alpha=None,
83
- arrowstyle=None,
84
- arrowsize: int = 10,
85
- edge_cmap=None,
86
- edge_vmin=None,
87
- edge_vmax=None,
88
- ax=None,
89
- arrows=None,
90
- label=None,
91
- node_size: Incomplete | int = 300,
92
- nodelist: list[Incomplete] | None = None,
227
+ pos: Mapping[_Node, Collection[float]],
228
+ edgelist: Collection[_Node | Hashable] | None = None, # (u, v, k) for multigraphs and (u, v) for simple graphs
229
+ width: float | Collection[float] = 1.0,
230
+ edge_color: ColorType | Collection[ColorType] = "k",
231
+ style: str | Collection[str] = "solid",
232
+ alpha: float | Collection[float] | None = None,
233
+ arrowstyle: str | Collection[str] | None = None,
234
+ arrowsize: float | list[int] | list[float] = 10, # documented as int, mpl accepts float
235
+ edge_cmap: Colormap | None = None,
236
+ edge_vmin: float | None = None,
237
+ edge_vmax: float | None = None,
238
+ ax: Axes | None = None,
239
+ *,
240
+ arrows: Literal[True],
241
+ label: str | None = None, # documented as str, mpl accepts any object as it calls str on it
242
+ node_size: float | Collection[float] = 300,
243
+ nodelist: Sequence[_Node] | None = None,
93
244
  node_shape: str = "o",
94
- connectionstyle: str = "arc3",
95
- min_source_margin: int = 0,
96
- min_target_margin: int = 0,
245
+ connectionstyle: str | Iterable[str] = "arc3",
246
+ min_source_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
247
+ min_target_margin: int | Collection[int] = 0, # documented as int, mpl accepts float
97
248
  hide_ticks: bool = True,
98
- ): ...
99
- def draw_networkx_labels(
249
+ ) -> list[FancyArrowPatch]: ...
250
+ @overload # arrows=False -> LineCollection
251
+ def draw_networkx_edges(
100
252
  G: Graph[_Node],
101
- pos,
102
- labels=None,
103
- font_size: int = 12,
104
- font_color: str = "k",
105
- font_family: str = "sans-serif",
106
- font_weight: str = "normal",
107
- alpha=None,
108
- bbox=None,
109
- horizontalalignment: str = "center",
110
- verticalalignment: str = "center",
111
- ax=None,
253
+ pos: Mapping[_Node, Collection[float]],
254
+ edgelist: Collection[_Node | Hashable] | None = None, # (u, v, k) for multigraphs and (u, v) for simple graphs
255
+ width: float | Collection[float] = 1.0,
256
+ edge_color: ColorType | Collection[ColorType] = "k",
257
+ style: str | Collection[str] = "solid",
258
+ alpha: float | Collection[float] | None = None,
259
+ *,
260
+ edge_cmap: Colormap | None = None,
261
+ edge_vmin: float | None = None,
262
+ edge_vmax: float | None = None,
263
+ ax: Axes | None = None,
264
+ arrows: Literal[False],
265
+ label: str | None = None, # documented as str, mpl accepts any object as it calls str on it
266
+ node_size: float | Collection[float] = 300,
267
+ nodelist: Sequence[_Node] | None = None,
268
+ node_shape: str = "o",
269
+ hide_ticks: bool = True,
270
+ ) -> LineCollection: ...
271
+ def draw_networkx_labels( # keep in sync with _DrawNetworkxKwds above
272
+ G: Graph[_Node],
273
+ pos: Mapping[_Node, Collection[float]],
274
+ labels: Mapping[_Node, object] | None = None, # labels are explicitly converted to str
275
+ font_size: _FontSize | Mapping[_Node, _FontSize] = 12,
276
+ font_color: ColorType | Mapping[_Node, Colormap] = "k",
277
+ font_family: str | Mapping[_Node, str] = "sans-serif",
278
+ font_weight: _FontWeight | Mapping[_Node, _FontWeight] = "normal",
279
+ alpha: float | Mapping[_Node, float] | None = None,
280
+ bbox: dict[str, Any] | None = None, # Any comes from mpl
281
+ horizontalalignment: _HAlign = "center", # doc is wrong, doesn't really accept array
282
+ verticalalignment: _VAlign = "center", # doc is wrong, doesn't really accept array
283
+ ax: Axes | None = None,
112
284
  clip_on: bool = True,
113
285
  hide_ticks: bool = True,
114
- ): ...
286
+ ) -> dict[_Node, Text]: ...
115
287
  def draw_networkx_edge_labels(
288
+ # TODO: find a way to have a covariant list for params annotated with `something | list[Incomplete]`
116
289
  G: Graph[_Node],
117
- pos,
118
- edge_labels=None,
119
- label_pos: float = 0.5,
120
- font_size: int = 10,
121
- font_color: str = "k",
290
+ pos: Mapping[_Node, Collection[float]],
291
+ edge_labels: (
292
+ SupportsItems[
293
+ Collection[_Node | Hashable], # (u, v, k) for multigraphs and (u, v) for simple graphs
294
+ object, # labels are explicitly converted to str and nx internally passes non-str
295
+ ]
296
+ | None
297
+ ) = None,
298
+ label_pos: float | list[Incomplete] = 0.5,
299
+ font_size: _FontSize | list[Incomplete] = 10,
300
+ font_color: ColorType | list[Incomplete] = "k",
122
301
  font_family: str = "sans-serif",
123
- font_weight: str = "normal",
124
- alpha=None,
125
- bbox=None,
126
- horizontalalignment: str = "center",
127
- verticalalignment: str = "center",
128
- ax=None,
129
- rotate: bool = True,
302
+ font_weight: _FontWeight | list[Incomplete] = "normal",
303
+ alpha: float | list[Incomplete] | None = None,
304
+ bbox: dict[str, Any] | None = None, # Any comes from mpl
305
+ horizontalalignment: _HAlign | list[Incomplete] = "center",
306
+ verticalalignment: _VAlign | list[Incomplete] = "center",
307
+ ax: Axes | None = None,
308
+ rotate: bool | list[bool] = True,
130
309
  clip_on: bool = True,
131
- node_size: int = 300,
132
- nodelist: list[Incomplete] | None = None,
133
- connectionstyle: str = "arc3",
310
+ node_size: float | Collection[float] = 300,
311
+ nodelist: Sequence[_Node] | None = None,
312
+ connectionstyle: str | Iterable[str] = "arc3",
134
313
  hide_ticks: bool = True,
135
- ): ...
136
- def draw_bipartite(G: Graph[_Node], **kwargs): ...
137
- def draw_circular(G: Graph[_Node], **kwargs) -> None: ...
138
- def draw_kamada_kawai(G: Graph[_Node], **kwargs) -> None: ...
139
- def draw_random(G: Graph[_Node], **kwargs) -> None: ...
140
- def draw_spectral(G: Graph[_Node], **kwargs) -> None: ...
141
- def draw_spring(G: Graph[_Node], **kwargs) -> None: ...
142
- def draw_shell(G: Graph[_Node], nlist=None, **kwargs) -> None: ...
143
- def draw_planar(G: Graph[_Node], **kwargs) -> None: ...
144
- def draw_forceatlas2(G: Graph[_Node], **kwargs) -> None: ...
314
+ ) -> dict[tuple[_Node, _Node] | tuple[_Node, _Node, Any], Text]: ... # Any is for multigraph key
315
+ def draw_bipartite(
316
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
317
+ ) -> None: ...
318
+ def draw_circular(
319
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
320
+ ) -> None: ...
321
+ def draw_kamada_kawai(
322
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
323
+ ) -> None: ...
324
+ def draw_random(
325
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
326
+ ) -> None: ...
327
+ def draw_spectral(
328
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
329
+ ) -> None: ...
330
+ def draw_spring(
331
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
332
+ ) -> None: ...
333
+ def draw_shell(
334
+ G: Graph[_Node],
335
+ nlist: Collection[Collection[_Node]] | None = None,
336
+ *,
337
+ ax: Axes | None = None,
338
+ with_labels: bool = ...,
339
+ **kwargs: Unpack[_DrawNetworkxKwds[_Node]],
340
+ ) -> None: ...
341
+ def draw_planar(
342
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
343
+ ) -> None: ...
344
+ def draw_forceatlas2(
345
+ G: Graph[_Node], *, ax: Axes | None = None, with_labels: bool = ..., **kwargs: Unpack[_DrawNetworkxKwds[_Node]]
346
+ ) -> None: ...
145
347
  def apply_alpha(
146
- colors, alpha: float | Iterable[float], elem_list, cmap=None, vmin: float | None = None, vmax: float | None = None
147
- ): ...
348
+ colors: ColorType | Collection[ColorType] | Collection[float],
349
+ alpha: float | Collection[float],
350
+ elem_list: Collection[object], # nx objects (nodes, edges, labels) but its content is not used!
351
+ cmap: str | Colormap | None = None,
352
+ vmin: float | None = None,
353
+ vmax: float | None = None,
354
+ ) -> Array2D[np.float64]: ...
@@ -1,5 +1,6 @@
1
1
  from _typeshed import Incomplete
2
2
  from collections.abc import Generator
3
+ from typing import Final, Literal
3
4
 
4
5
  from networkx.utils.backends import _dispatchable
5
6
 
@@ -17,7 +18,7 @@ class GEXF:
17
18
  xml_type: Incomplete
18
19
  python_type: Incomplete
19
20
  def construct_types(self) -> None: ...
20
- convert_bool: Incomplete
21
+ convert_bool: Final[dict[Literal["true", "false", "True", "False", "0", 0, "1", 1], bool]]
21
22
  NS_GEXF: Incomplete
22
23
  NS_VIZ: Incomplete
23
24
  NS_XSI: Incomplete
@@ -1,6 +1,6 @@
1
1
  from _typeshed import Incomplete
2
2
  from collections.abc import Generator
3
- from typing import Final
3
+ from typing import Final, Literal
4
4
 
5
5
  from networkx.utils.backends import _dispatchable
6
6
 
@@ -49,7 +49,7 @@ class GraphML:
49
49
  xml_type: Incomplete
50
50
  python_type: Incomplete
51
51
  def construct_types(self) -> None: ...
52
- convert_bool: Incomplete
52
+ convert_bool: Final[dict[Literal["true", "false", "0", 0, "1", 1], bool]]
53
53
  def get_xml_type(self, key): ...
54
54
 
55
55
  class GraphMLWriter(GraphML):
@@ -4,6 +4,7 @@ __all__ = ["MinHeap", "PairingHeap", "BinaryHeap"]
4
4
 
5
5
  class MinHeap:
6
6
  class _Item:
7
+ __slots__ = ("key", "value")
7
8
  key: Incomplete
8
9
  value: Incomplete
9
10
  def __init__(self, key, value) -> None: ...
@@ -20,6 +21,7 @@ class MinHeap:
20
21
 
21
22
  class PairingHeap(MinHeap):
22
23
  class _Node(MinHeap._Item):
24
+ __slots__ = ("left", "next", "prev", "parent")
23
25
  left: Incomplete
24
26
  next: Incomplete
25
27
  prev: Incomplete
@@ -4,6 +4,7 @@ from collections.abc import Iterator
4
4
  __all__ = ["MappedQueue"]
5
5
 
6
6
  class _HeapElement:
7
+ __slots__ = ["priority", "element", "_hash"]
7
8
  priority: Incomplete
8
9
  element: Incomplete
9
10
  def __init__(self, priority, element) -> None: ...
@@ -1,6 +1,7 @@
1
1
  import random
2
+ import sys
2
3
  from types import ModuleType
3
- from typing_extensions import TypeAlias
4
+ from typing_extensions import Self, TypeAlias
4
5
 
5
6
  import numpy
6
7
 
@@ -36,6 +37,10 @@ def create_random_state(random_state=None): ...
36
37
 
37
38
  class PythonRandomViaNumpyBits(random.Random):
38
39
  def __init__(self, rng: numpy.random.Generator | None = None) -> None: ...
40
+ if sys.version_info < (3, 10):
41
+ # this is a workaround for pyright correctly flagging an inconsistent inherited constructor, see #14624
42
+ def __new__(cls, rng: numpy.random.Generator | None = None) -> Self: ...
43
+
39
44
  def getrandbits(self, k: int) -> int: ...
40
45
 
41
46
  class PythonRandomInterface:
@@ -23,7 +23,7 @@ class TokenEndpoint(BaseEndpoint):
23
23
  self,
24
24
  uri: str,
25
25
  http_method: _HTTPMethod = "POST",
26
- body: str | None = None,
26
+ body: str | dict[str, str] | list[tuple[str, str]] | None = None,
27
27
  headers: dict[str, str] | None = None,
28
28
  credentials=None,
29
29
  grant_type_for_scope=None,
@@ -46,11 +46,13 @@ def signed_token_generator(private_pem: str, **kwargs) -> Callable[[Request], st
46
46
  def get_token_from_header(request: Request) -> str | None: ...
47
47
 
48
48
  class TokenBase:
49
+ __slots__ = ()
49
50
  def __call__(self, request: Request, refresh_token: bool = False) -> None: ...
50
51
  def validate_request(self, request: Request) -> bool: ...
51
52
  def estimate_type(self, request: Request) -> int: ...
52
53
 
53
54
  class BearerToken(TokenBase):
55
+ __slots__ = ("request_validator", "token_generator", "refresh_token_generator", "expires_in")
54
56
  request_validator: RequestValidator | None
55
57
  token_generator: Callable[[Request], str]
56
58
  refresh_token_generator: Callable[[Request], str]
@@ -6,6 +6,7 @@ from oauthlib.oauth2.rfc6749.tokens import TokenBase as TokenBase
6
6
  from .request_validator import RequestValidator
7
7
 
8
8
  class JWTToken(TokenBase):
9
+ __slots__ = ("request_validator", "token_generator", "refresh_token_generator", "expires_in")
9
10
  request_validator: RequestValidator
10
11
  token_generator: Callable[[Request], str] | Callable[[Request, bool], str]
11
12
  refresh_token_generator: Callable[[Request], str] | Callable[[Request, bool], str]
@@ -36,6 +36,7 @@ def get_type(t: type, value: object) -> Literal["n", "s", "d", "f"] | None: ...
36
36
  def get_time_format(t: _TimeTypes) -> str: ...
37
37
 
38
38
  class Cell(StyleableObject):
39
+ __slots__ = ("row", "column", "_value", "data_type", "parent", "_hyperlink", "_comment")
39
40
  row: int
40
41
  column: int
41
42
  data_type: str
@@ -82,6 +83,7 @@ class Cell(StyleableObject):
82
83
  def comment(self, value: Comment | None) -> None: ...
83
84
 
84
85
  class MergedCell(StyleableObject):
86
+ __slots__ = ("row", "column")
85
87
  data_type: str
86
88
  comment: Comment | None
87
89
  hyperlink: Hyperlink | None
@@ -12,6 +12,7 @@ from openpyxl.workbook.child import _WorkbookChild
12
12
  from openpyxl.worksheet._read_only import ReadOnlyWorksheet
13
13
 
14
14
  class ReadOnlyCell:
15
+ __slots__ = ("parent", "row", "column", "_value", "data_type", "_style_id")
15
16
  parent: _WorkbookChild | ReadOnlyWorksheet
16
17
  row: Incomplete
17
18
  column: Incomplete
@@ -58,6 +59,7 @@ class ReadOnlyCell:
58
59
  def value(self, value: None) -> None: ...
59
60
 
60
61
  class EmptyCell:
62
+ __slots__ = ()
61
63
  value: Incomplete
62
64
  is_date: bool
63
65
  font: Incomplete
@@ -38,7 +38,7 @@ class Sequence(Descriptor[_ContainerT]):
38
38
 
39
39
  # `_T` is the type of the elements in the sequence.
40
40
  class UniqueSequence(Sequence[set[_T]]):
41
- seq_types: tuple[type[list[_T]], type[tuple[_T, ...]], type[set[_T]]]
41
+ seq_types: tuple[type, ...] # defaults to `list`, `tuple`, `set`
42
42
  container: type[set[_T]]
43
43
 
44
44
  # See `Sequence` for the meaning of `_ContainerT`.
@@ -30,6 +30,7 @@ class Tokenizer:
30
30
  def render(self): ...
31
31
 
32
32
  class Token:
33
+ __slots__ = ["value", "type", "subtype"]
33
34
  LITERAL: Final = "LITERAL"
34
35
  OPERAND: Final = "OPERAND"
35
36
  FUNC: Final = "FUNC"
@@ -417,7 +417,7 @@ class ConditionalFormatList(Serialisable):
417
417
  tagname: ClassVar[str]
418
418
  conditionalFormat: Incomplete
419
419
  __attrs__: ClassVar[tuple[str, ...]]
420
- def __init__(self, conditionalFormat=..., count: Incomplete | None = ...) -> None: ...
420
+ def __init__(self, conditionalFormat=(), count=None) -> None: ...
421
421
  def by_priority(self): ...
422
422
  @property
423
423
  def count(self) -> int: ...
@@ -19,6 +19,7 @@ class ArrayDescriptor(Generic[_T]):
19
19
  def __set__(self, instance: MutableSequence[_T], value: _T) -> None: ...
20
20
 
21
21
  class StyleArray(array[int]):
22
+ __slots__ = ()
22
23
  tagname: ClassVar[str]
23
24
  fontId: ArrayDescriptor[int]
24
25
  fillId: ArrayDescriptor[int]
@@ -30,7 +31,6 @@ class StyleArray(array[int]):
30
31
  quotePrefix: ArrayDescriptor[int]
31
32
  xfId: ArrayDescriptor[int]
32
33
  def __new__(cls, args: bytes | bytearray | Iterable[int] = [0, 0, 0, 0, 0, 0, 0, 0, 0]) -> Self: ...
33
- def __init__(self, args: bytes | bytearray | Iterable[int] = [0, 0, 0, 0, 0, 0, 0, 0, 0]) -> None: ...
34
34
  def __hash__(self) -> int: ... # type: ignore[override]
35
35
  def __copy__(self) -> StyleArray: ...
36
36
  def __deepcopy__(self, memo: Unused) -> StyleArray: ...
@@ -1,6 +1,7 @@
1
1
  from typing_extensions import deprecated
2
2
 
3
3
  class StyleProxy:
4
+ __slots__ = "__target"
4
5
  def __init__(self, target) -> None: ...
5
6
  def __getattr__(self, attr: str): ...
6
7
  def __setattr__(self, attr: str, value) -> None: ...
@@ -34,6 +34,7 @@ class StyleArrayDescriptor:
34
34
  def __get__(self, instance: StyleableObject, cls: Unused) -> bool: ...
35
35
 
36
36
  class StyleableObject:
37
+ __slots__ = ("parent", "_style")
37
38
  font: StyleDescriptor
38
39
  fill: StyleDescriptor
39
40
  border: StyleDescriptor
@@ -57,7 +57,7 @@ class Packetizer:
57
57
  def get_mac_size_in(self) -> int: ...
58
58
  def get_mac_size_out(self) -> int: ...
59
59
  def need_rekey(self) -> bool: ...
60
- def set_keepalive(self, interval: int, callback: Callable[[], object]) -> None: ...
60
+ def set_keepalive(self, interval: float, callback: Callable[[], object]) -> None: ...
61
61
  def read_timer(self) -> None: ...
62
62
  def start_handshake(self, timeout: float) -> None: ...
63
63
  def handshake_timed_out(self) -> bool: ...
@@ -136,7 +136,7 @@ class Transport(Thread, ClosingContextManager):
136
136
  def open_sftp_client(self) -> SFTPClient | None: ...
137
137
  def send_ignore(self, byte_count: int | None = None) -> None: ...
138
138
  def renegotiate_keys(self) -> None: ...
139
- def set_keepalive(self, interval: int) -> None: ...
139
+ def set_keepalive(self, interval: float) -> None: ...
140
140
  def global_request(self, kind: str, data: Iterable[Any] | None = None, wait: bool = True) -> Message | None: ...
141
141
  def accept(self, timeout: float | None = None) -> Channel | None: ...
142
142
  def connect(
@@ -175,6 +175,7 @@ class Transport(Thread, ClosingContextManager):
175
175
  def run(self) -> None: ...
176
176
 
177
177
  class SecurityOptions:
178
+ __slots__ = "_transport"
178
179
  def __init__(self, transport: Transport) -> None: ...
179
180
  @property
180
181
  def ciphers(self) -> Sequence[str]: ...