basedpyright 1.36.2 → 1.37.0-961d59bacff1958014fe4e9ed2ef3116fe2266e2

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 (732) 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/README.md +6 -6
  6. package/dist/typeshed-fallback/commit.txt +1 -1
  7. package/dist/typeshed-fallback/stdlib/_compression.pyi +13 -2
  8. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +49 -16
  9. package/dist/typeshed-fallback/stdlib/_winapi.pyi +9 -0
  10. package/dist/typeshed-fallback/stdlib/_zstd.pyi +7 -2
  11. package/dist/typeshed-fallback/stdlib/argparse.pyi +39 -10
  12. package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +27 -8
  13. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +2 -2
  14. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +5 -2
  15. package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +1 -1
  16. package/dist/typeshed-fallback/stdlib/builtins.pyi +54 -31
  17. package/dist/typeshed-fallback/stdlib/calendar.pyi +3 -1
  18. package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -1
  19. package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +13 -2
  20. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +7 -2
  21. package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +6 -6
  22. package/dist/typeshed-fallback/stdlib/contextlib.pyi +15 -6
  23. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +3 -0
  24. package/dist/typeshed-fallback/stdlib/enum.pyi +2 -0
  25. package/dist/typeshed-fallback/stdlib/heapq.pyi +5 -0
  26. package/dist/typeshed-fallback/stdlib/html/parser.pyi +2 -1
  27. package/dist/typeshed-fallback/stdlib/http/client.pyi +1 -0
  28. package/dist/typeshed-fallback/stdlib/imaplib.pyi +2 -1
  29. package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +2 -2
  30. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +3 -2
  31. package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +2 -1
  32. package/dist/typeshed-fallback/stdlib/importlib/util.pyi +15 -1
  33. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +1 -1
  34. package/dist/typeshed-fallback/stdlib/locale.pyi +4 -0
  35. package/dist/typeshed-fallback/stdlib/mimetypes.pyi +6 -6
  36. package/dist/typeshed-fallback/stdlib/mmap.pyi +12 -12
  37. package/dist/typeshed-fallback/stdlib/multiprocessing/dummy/__init__.pyi +20 -8
  38. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -1
  39. package/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi +4 -0
  40. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +3 -0
  41. package/dist/typeshed-fallback/stdlib/optparse.pyi +1 -1
  42. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +217 -127
  43. package/dist/typeshed-fallback/stdlib/parser.pyi +4 -4
  44. package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +11 -0
  45. package/dist/typeshed-fallback/stdlib/pdb.pyi +14 -4
  46. package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +6 -0
  47. package/dist/typeshed-fallback/stdlib/select.pyi +8 -4
  48. package/dist/typeshed-fallback/stdlib/socket.pyi +15 -0
  49. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +3 -2
  50. package/dist/typeshed-fallback/stdlib/ssl.pyi +3 -0
  51. package/dist/typeshed-fallback/stdlib/stat.pyi +108 -1
  52. package/dist/typeshed-fallback/stdlib/subprocess.pyi +60 -61
  53. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +41 -4
  54. package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +8 -4
  55. package/dist/typeshed-fallback/stdlib/sysconfig.pyi +13 -4
  56. package/dist/typeshed-fallback/stdlib/tarfile.pyi +6 -6
  57. package/dist/typeshed-fallback/stdlib/threading.pyi +9 -4
  58. package/dist/typeshed-fallback/stdlib/tkinter/constants.pyi +6 -6
  59. package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +14 -6
  60. package/dist/typeshed-fallback/stdlib/types.pyi +8 -11
  61. package/dist/typeshed-fallback/stdlib/typing.pyi +18 -12
  62. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -0
  63. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +1 -0
  64. package/dist/typeshed-fallback/stdlib/unittest/util.pyi +19 -2
  65. package/dist/typeshed-fallback/stdlib/urllib/request.pyi +7 -0
  66. package/dist/typeshed-fallback/stdlib/uuid.pyi +6 -5
  67. package/dist/typeshed-fallback/stdlib/winreg.pyi +3 -3
  68. package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +1 -0
  69. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +2 -0
  70. package/dist/typeshed-fallback/stdlib/zlib.pyi +2 -2
  71. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -2
  72. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +1 -1
  73. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +4 -3
  74. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +4 -2
  75. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +2 -2
  76. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +1 -1
  77. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +3 -3
  78. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +4 -2
  79. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/__init__.pyi +10 -0
  80. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/apps.pyi +14 -0
  81. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/integration.pyi +11 -0
  82. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/__init__.pyi +4 -0
  83. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/authorization_server.pyi +26 -0
  84. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/nonce.pyi +1 -0
  85. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/resource_protector.pyi +14 -0
  86. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/__init__.pyi +8 -0
  87. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/authorization_server.pyi +24 -0
  88. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/endpoints.pyi +5 -0
  89. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/requests.pyi +20 -0
  90. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/resource_protector.pyi +15 -0
  91. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/signals.pyi +6 -0
  92. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/__init__.pyi +20 -0
  93. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/apps.pyi +18 -0
  94. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/integration.pyi +10 -0
  95. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/__init__.pyi +7 -0
  96. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/authorization_server.pyi +29 -0
  97. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/cache.pyi +8 -0
  98. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/resource_protector.pyi +18 -0
  99. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/__init__.pyi +7 -0
  100. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/authorization_server.pyi +23 -0
  101. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/errors.pyi +14 -0
  102. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/requests.pyi +27 -0
  103. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/resource_protector.pyi +15 -0
  104. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/signals.pyi +5 -0
  105. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/__init__.pyi +37 -0
  106. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/assertion_client.pyi +50 -0
  107. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth1_client.pyi +56 -0
  108. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth2_client.pyi +72 -0
  109. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/utils.pyi +7 -0
  110. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/__init__.pyi +28 -0
  111. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/assertion_session.pyi +31 -0
  112. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth1_session.pyi +29 -0
  113. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth2_session.pyi +43 -0
  114. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/utils.pyi +6 -0
  115. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/__init__.pyi +20 -0
  116. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/client_mixin.pyi +55 -0
  117. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/functions.pyi +21 -0
  118. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/tokens_mixins.pyi +39 -0
  119. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/__init__.pyi +14 -0
  120. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/apps.pyi +16 -0
  121. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/integration.pyi +13 -0
  122. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +12 -10
  123. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +2 -2
  124. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +6 -1
  125. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +6 -4
  126. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +3 -2
  127. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +9 -8
  128. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +12 -11
  129. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +35 -1
  130. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +6 -5
  131. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +8 -8
  132. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +1 -1
  133. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +3 -2
  134. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +28 -23
  135. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +6 -5
  136. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +1 -1
  137. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +5 -4
  138. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +2 -1
  139. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +4 -2
  140. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +2 -2
  141. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +4 -2
  142. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +2 -2
  143. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -2
  144. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +7 -7
  145. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +2 -2
  146. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +6 -6
  147. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +1 -1
  148. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +8 -8
  149. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +1 -1
  150. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +4 -2
  151. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +1 -1
  152. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +20 -18
  153. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -2
  154. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +1 -1
  155. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +1 -1
  156. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +1 -1
  157. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +2 -2
  158. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +1 -1
  159. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +1 -1
  160. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +5 -3
  161. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +1 -1
  162. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +2 -2
  163. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +1 -1
  164. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +1 -1
  165. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +1 -1
  166. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +1 -1
  167. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +2 -2
  168. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +3 -3
  169. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +2 -2
  170. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +5 -3
  171. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +6 -5
  172. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +4 -4
  173. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +8 -8
  174. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +3 -3
  175. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +1 -1
  176. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -1
  177. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +3 -3
  178. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +2 -2
  179. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +4 -4
  180. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +1 -1
  181. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +3 -2
  182. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +1 -1
  183. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +1 -1
  184. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +6 -8
  185. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +2 -1
  186. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +4 -4
  187. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +6 -4
  188. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/userinfo.pyi +1 -1
  189. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +7 -1
  190. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +1 -3
  191. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -1
  192. package/dist/typeshed-fallback/stubs/Deprecated/METADATA.toml +1 -1
  193. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/__init__.pyi +7 -2
  194. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/params.pyi +20 -0
  195. package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
  196. package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
  197. package/dist/typeshed-fallback/stubs/Markdown/markdown/htmlparser.pyi +2 -0
  198. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +1 -0
  199. package/dist/typeshed-fallback/stubs/Pygments/pygments/console.pyi +4 -4
  200. package/dist/typeshed-fallback/stubs/Pygments/pygments/filter.pyi +3 -3
  201. package/dist/typeshed-fallback/stubs/Pygments/pygments/filters/__init__.pyi +14 -14
  202. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatter.pyi +10 -9
  203. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/__init__.pyi +2 -2
  204. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/_mapping.pyi +2 -2
  205. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/bbcode.pyi +5 -4
  206. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/html.pyi +27 -26
  207. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/img.pyi +33 -32
  208. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/irc.pyi +7 -6
  209. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/latex.pyi +21 -20
  210. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/other.pyi +9 -8
  211. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/pangomarkup.pyi +5 -4
  212. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/rtf.pyi +6 -5
  213. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/svg.pyi +15 -14
  214. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal.pyi +7 -6
  215. package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal256.pyi +18 -17
  216. package/dist/typeshed-fallback/stubs/Pygments/pygments/lexers/__init__.pyi +6 -7
  217. package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +5 -5
  218. package/dist/typeshed-fallback/stubs/Pygments/pygments/regexopt.pyi +3 -3
  219. package/dist/typeshed-fallback/stubs/Pygments/pygments/scanner.pyi +6 -6
  220. package/dist/typeshed-fallback/stubs/Pygments/pygments/unistring.pyi +2 -2
  221. package/dist/typeshed-fallback/stubs/Pygments/pygments/util.pyi +5 -5
  222. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +14 -15
  223. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +15 -7
  224. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -3
  225. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +2 -4
  226. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +13 -11
  227. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +43 -29
  228. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +47 -34
  229. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +13 -13
  230. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +30 -23
  231. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +26 -17
  232. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +22 -20
  233. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +26 -25
  234. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +30 -26
  235. package/dist/typeshed-fallback/stubs/assertpy/assertpy/assertpy.pyi +13 -10
  236. package/dist/typeshed-fallback/stubs/assertpy/assertpy/base.pyi +4 -5
  237. package/dist/typeshed-fallback/stubs/assertpy/assertpy/collection.pyi +12 -4
  238. package/dist/typeshed-fallback/stubs/assertpy/assertpy/contains.pyi +10 -8
  239. package/dist/typeshed-fallback/stubs/assertpy/assertpy/dict.pyi +8 -6
  240. package/dist/typeshed-fallback/stubs/assertpy/assertpy/dynamic.pyi +1 -1
  241. package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +4 -2
  242. package/dist/typeshed-fallback/stubs/assertpy/assertpy/file.pyi +2 -3
  243. package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +6 -0
  244. package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +9 -0
  245. package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +14 -0
  246. package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +36 -0
  247. package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +7 -0
  248. package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +18 -0
  249. package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +27 -0
  250. package/dist/typeshed-fallback/stubs/aws-xray-sdk/METADATA.toml +1 -1
  251. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/__init__.pyi +2 -1
  252. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_context.pyi +15 -5
  253. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_recorder.pyi +28 -9
  254. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi +7 -7
  255. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/daemon_config.pyi +9 -7
  256. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/emitters/udp_emitter.pyi +2 -2
  257. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/lambda_launcher.pyi +8 -12
  258. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/entity.pyi +1 -1
  259. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/facade_segment.pyi +1 -1
  260. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/http.pyi +9 -9
  261. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/segment.pyi +1 -1
  262. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/subsegment.pyi +3 -2
  263. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/throwable.pyi +11 -3
  264. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/patcher.pyi +3 -2
  265. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ec2_plugin.pyi +3 -3
  266. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ecs_plugin.pyi +2 -2
  267. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.pyi +3 -3
  268. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/recorder.pyi +19 -15
  269. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/rule_cache.pyi +1 -1
  270. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampler.pyi +3 -1
  271. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampling_rule.pyi +23 -13
  272. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/target_poller.pyi +5 -1
  273. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/__init__.pyi +3 -0
  274. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/patch.pyi +1 -0
  275. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/util.pyi +1 -1
  276. package/dist/typeshed-fallback/stubs/bleach/METADATA.toml +1 -1
  277. package/dist/typeshed-fallback/stubs/bleach/bleach/html5lib_shim.pyi +1 -1
  278. package/dist/typeshed-fallback/stubs/bleach/bleach/linkifier.pyi +1 -1
  279. package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +2 -2
  280. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
  281. package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +8 -4
  282. package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +3 -2
  283. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +5 -1
  284. package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +5 -3
  285. package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +11 -2
  286. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +30 -1
  287. package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +30 -2
  288. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +10 -5
  289. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +5 -1
  290. package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +12 -5
  291. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +6 -2
  292. package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +5 -2
  293. package/dist/typeshed-fallback/stubs/colorful/METADATA.toml +2 -0
  294. package/dist/typeshed-fallback/stubs/colorful/colorful/ansi.pyi +14 -0
  295. package/dist/typeshed-fallback/stubs/colorful/colorful/colors.pyi +6 -0
  296. package/dist/typeshed-fallback/stubs/colorful/colorful/core.pyi +102 -0
  297. package/dist/typeshed-fallback/stubs/colorful/colorful/styles.pyi +4 -0
  298. package/dist/typeshed-fallback/stubs/colorful/colorful/terminal.pyi +16 -0
  299. package/dist/typeshed-fallback/stubs/colorful/colorful/utils.pyi +2 -0
  300. package/dist/typeshed-fallback/stubs/decorator/decorator.pyi +2 -2
  301. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +3 -1
  302. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +6 -1
  303. package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +12 -4
  304. package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +123 -7
  305. package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +12 -8
  306. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +27 -17
  307. package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +1 -1
  308. package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +5 -5
  309. package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
  310. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +10 -0
  311. package/dist/typeshed-fallback/stubs/et_xmlfile/METADATA.toml +2 -0
  312. package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/__init__.pyi +9 -0
  313. package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/incremental_tree.pyi +170 -0
  314. package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/xmlfile.pyi +37 -0
  315. package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
  316. package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
  317. package/dist/typeshed-fallback/stubs/flake8-bugbear/bugbear.pyi +37 -65
  318. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  319. package/dist/typeshed-fallback/stubs/flake8-simplify/METADATA.toml +1 -1
  320. package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/__init__.pyi +1 -0
  321. package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/constants.pyi +6 -3
  322. package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/utils.pyi +0 -1
  323. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/drawing.pyi +145 -81
  324. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/text_region.pyi +1 -1
  325. package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
  326. package/dist/typeshed-fallback/stubs/geopandas/geopandas/array.pyi +7 -14
  327. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -0
  328. package/dist/typeshed-fallback/stubs/gevent/METADATA.toml +2 -2
  329. package/dist/typeshed-fallback/stubs/gevent/gevent/events.pyi +1 -12
  330. package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/watcher.pyi +1 -0
  331. package/dist/typeshed-fallback/stubs/gevent/gevent/os.pyi +1 -0
  332. package/dist/typeshed-fallback/stubs/gevent/gevent/signal.pyi +2 -1
  333. package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +1 -1
  334. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_cache.pyi +9 -10
  335. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_datastore_query.pyi +1 -2
  336. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_eventloop.pyi +11 -10
  337. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/blobstore.pyi +6 -6
  338. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/context.pyi +21 -21
  339. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/exceptions.pyi +2 -2
  340. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/global_cache.pyi +13 -14
  341. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/key.pyi +2 -3
  342. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/metadata.pyi +1 -2
  343. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/polymodel.pyi +2 -2
  344. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/query.pyi +26 -27
  345. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/stats.pyi +37 -37
  346. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/tasklets.pyi +7 -7
  347. package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/utils.pyi +4 -4
  348. package/dist/typeshed-fallback/stubs/greenlet/METADATA.toml +1 -1
  349. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +2 -2
  350. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +2 -0
  351. package/dist/typeshed-fallback/stubs/html5lib/METADATA.toml +1 -0
  352. package/dist/typeshed-fallback/stubs/html5lib/html5lib/_ihatexml.pyi +21 -23
  353. package/dist/typeshed-fallback/stubs/html5lib/html5lib/_inputstream.pyi +79 -71
  354. package/dist/typeshed-fallback/stubs/html5lib/html5lib/_tokenizer.pyi +87 -51
  355. package/dist/typeshed-fallback/stubs/html5lib/html5lib/_utils.pyi +18 -11
  356. package/dist/typeshed-fallback/stubs/html5lib/html5lib/constants.pyi +1 -3
  357. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/alphabeticalattributes.pyi +3 -2
  358. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/base.pyi +9 -6
  359. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/inject_meta_charset.pyi +5 -3
  360. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/lint.pyi +5 -3
  361. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/optionaltags.pyi +1 -2
  362. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/sanitizer.pyi +6 -6
  363. package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/whitespace.pyi +2 -2
  364. package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +2 -2
  365. package/dist/typeshed-fallback/stubs/html5lib/html5lib/serializer.pyi +75 -19
  366. package/dist/typeshed-fallback/stubs/html5lib/html5lib/treeadapters/sax.pyi +0 -3
  367. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
  368. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/__init__.pyi +3 -4
  369. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +2 -2
  370. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/azure.pyi +3 -2
  371. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/gcp.pyi +3 -2
  372. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/kubernetes.pyi +1 -0
  373. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/legacy_mfa.pyi +2 -4
  374. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +3 -4
  375. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +2 -2
  376. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/kv.pyi +3 -3
  377. package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/__init__.pyi +3 -4
  378. package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/system_backend_mixin.pyi +2 -2
  379. package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/wrapping.pyi +2 -3
  380. package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +2 -3
  381. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
  382. package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +0 -1
  383. package/dist/typeshed-fallback/stubs/icalendar/icalendar/alarms.pyi +2 -2
  384. package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +16 -9
  385. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +2 -1
  386. package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +3 -3
  387. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/zoneinfo.pyi +1 -5
  388. package/dist/typeshed-fallback/stubs/ldap3/ldap3/__init__.pyi +5 -5
  389. package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/__init__.pyi +3 -3
  390. package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attrDef.pyi +13 -13
  391. package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attribute.pyi +9 -9
  392. package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/cursor.pyi +28 -27
  393. package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/entry.pyi +11 -11
  394. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/exceptions.pyi +8 -8
  395. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/pooling.pyi +15 -15
  396. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/rdns.pyi +7 -7
  397. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/results.pyi +3 -3
  398. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/server.pyi +15 -14
  399. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/timezone.pyi +3 -3
  400. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/tls.pyi +13 -13
  401. package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/usage.pyi +6 -6
  402. package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/__init__.pyi +4 -4
  403. package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/dirSync.pyi +12 -12
  404. package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/persistentSearch.pyi +7 -7
  405. package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/standard/PersistentSearch.pyi +13 -13
  406. package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/modify.pyi +2 -2
  407. package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/search.pyi +5 -5
  408. package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/formatters.pyi +2 -2
  409. package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/standard.pyi +2 -2
  410. package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/oid.pyi +2 -2
  411. package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc2849.pyi +2 -2
  412. package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc4512.pyi +59 -59
  413. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asyncStream.pyi +7 -7
  414. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asynchronous.pyi +6 -6
  415. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/base.pyi +7 -7
  416. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/ldifProducer.pyi +4 -4
  417. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockAsync.pyi +2 -2
  418. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockBase.pyi +9 -9
  419. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockSync.pyi +2 -2
  420. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/restartable.pyi +4 -4
  421. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/reusable.pyi +20 -20
  422. package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/sync.pyi +3 -3
  423. package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/config.pyi +2 -2
  424. package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/hashed.pyi +3 -3
  425. package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/log.pyi +3 -3
  426. package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/ntlm.pyi +41 -41
  427. package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/repr.pyi +2 -2
  428. package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
  429. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -1
  430. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +8 -8
  431. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  432. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
  433. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -0
  434. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +11 -7
  435. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +4 -4
  436. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +3 -3
  437. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +8 -1
  438. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +2 -2
  439. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +2 -0
  440. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +3 -2
  441. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +5 -4
  442. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +3 -2
  443. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +3 -2
  444. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +2 -2
  445. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +13 -3
  446. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +1 -1
  447. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/bipartitions.pyi +22 -0
  448. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +6 -5
  449. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +0 -3
  450. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +2 -2
  451. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +17 -4
  452. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +1 -1
  453. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/perfect_graph.pyi +7 -0
  454. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +13 -4
  455. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +19 -3
  456. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +0 -1
  457. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/__init__.pyi +1 -0
  458. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/distance_measures.pyi +10 -0
  459. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +3 -1
  460. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +13 -7
  461. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +3 -1
  462. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +12 -6
  463. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +10 -9
  464. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +23 -13
  465. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +0 -1
  466. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +20 -0
  467. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/expanders.pyi +9 -1
  468. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/random_graphs.pyi +21 -16
  469. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/small.pyi +3 -0
  470. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +2 -24
  471. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +1 -1
  472. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/random_sequence.pyi +5 -0
  473. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/union_find.pyi +12 -10
  474. package/dist/typeshed-fallback/stubs/parsimonious/METADATA.toml +1 -1
  475. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/exceptions.pyi +5 -3
  476. package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
  477. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +8 -3
  478. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +2 -2
  479. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +1 -1
  480. package/dist/typeshed-fallback/stubs/psutil/METADATA.toml +1 -1
  481. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +57 -77
  482. package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +135 -262
  483. package/dist/typeshed-fallback/stubs/psutil/psutil/_ntuples.pyi +384 -0
  484. package/dist/typeshed-fallback/stubs/psutil/psutil/_psaix.pyi +100 -86
  485. package/dist/typeshed-fallback/stubs/psutil/psutil/_psbsd.pyi +213 -168
  486. package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +181 -237
  487. package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +81 -100
  488. package/dist/typeshed-fallback/stubs/psutil/psutil/_psposix.pyi +78 -4
  489. package/dist/typeshed-fallback/stubs/psutil/psutil/_pssunos.pyi +141 -119
  490. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_aix.pyi +58 -0
  491. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_bsd.pyi +141 -0
  492. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_linux.pyi +47 -15
  493. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_osx.pyi +77 -49
  494. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_sunos.pyi +63 -0
  495. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +102 -91
  496. package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +175 -200
  497. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +5 -3
  498. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  499. package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
  500. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +6 -7
  501. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +28 -25
  502. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/_common.pyi +8 -3
  503. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +21 -19
  504. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/win.pyi +5 -4
  505. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/__init__.pyi +2 -1
  506. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/rebuild.pyi +5 -1
  507. package/dist/typeshed-fallback/stubs/python-jenkins/jenkins/__init__.pyi +13 -6
  508. package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +2 -2
  509. package/dist/typeshed-fallback/stubs/pyxdg/xdg/RecentFiles.pyi +5 -7
  510. package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +1 -1
  511. package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +10 -0
  512. package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
  513. package/dist/typeshed-fallback/stubs/regex/regex/__init__.pyi +64 -1
  514. package/dist/typeshed-fallback/stubs/regex/regex/{regex.pyi → _main.pyi} +66 -0
  515. package/dist/typeshed-fallback/stubs/regex/regex/_regex.pyi +1 -1
  516. package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +59 -19
  517. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  518. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +27 -25
  519. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +1 -1
  520. package/dist/typeshed-fallback/stubs/requests/requests/exceptions.pyi +2 -1
  521. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/data.pyi +2 -3
  522. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +0 -2
  523. package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +1 -1
  524. package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +102 -45
  525. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +6 -3
  526. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +8 -2
  527. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +3 -0
  528. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +14 -4
  529. package/dist/typeshed-fallback/stubs/simple-websocket/METADATA.toml +3 -0
  530. package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/__init__.pyi +3 -0
  531. package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/aiows.pyi +130 -0
  532. package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/asgi.pyi +44 -0
  533. package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/errors.pyi +12 -0
  534. package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/ws.pyi +136 -0
  535. package/dist/typeshed-fallback/stubs/tensorflow/METADATA.toml +16 -0
  536. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/__init__.pyi +437 -0
  537. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/_aliases.pyi +70 -0
  538. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/audio.pyi +7 -0
  539. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autodiff.pyi +63 -0
  540. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/__init__.pyi +17 -0
  541. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/experimental.pyi +30 -0
  542. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/bitwise.pyi +37 -0
  543. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi +2113 -0
  544. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_profile_printer_data_pb2.pyi +187 -0
  545. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/metrics_pb2.pyi +283 -0
  546. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/test_compilation_environment_pb2.pyi +59 -0
  547. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/xla_compile_result_pb2.pyi +167 -0
  548. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/bfc_memory_map_pb2.pyi +218 -0
  549. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/test_log_pb2.pyi +707 -0
  550. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi +2681 -0
  551. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_pb2.pyi +2558 -0
  552. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/__init__.pyi +12 -0
  553. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/experimental.pyi +16 -0
  554. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_parser_configuration_pb2.pyi +153 -0
  555. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_pb2.pyi +330 -0
  556. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/feature_pb2.pyi +222 -0
  557. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/allocation_description_pb2.pyi +64 -0
  558. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/api_def_pb2.pyi +312 -0
  559. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/attr_value_pb2.pyi +274 -0
  560. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cost_graph_pb2.pyi +229 -0
  561. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cpp_shape_inference_pb2.pyi +110 -0
  562. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_metadata_pb2.pyi +25 -0
  563. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi +720 -0
  564. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_pb2.pyi +116 -0
  565. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/device_attributes_pb2.pyi +140 -0
  566. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/full_type_pb2.pyi +617 -0
  567. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/function_pb2.pyi +309 -0
  568. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_debug_info_pb2.pyi +210 -0
  569. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_pb2.pyi +100 -0
  570. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_transfer_info_pb2.pyi +290 -0
  571. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/kernel_def_pb2.pyi +116 -0
  572. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/log_memory_pb2.pyi +218 -0
  573. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/model_pb2.pyi +368 -0
  574. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/node_def_pb2.pyi +192 -0
  575. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/op_def_pb2.pyi +391 -0
  576. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/optimized_function_graph_pb2.pyi +166 -0
  577. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/reader_base_pb2.pyi +52 -0
  578. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/resource_handle_pb2.pyi +104 -0
  579. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/step_stats_pb2.pyi +332 -0
  580. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/summary_pb2.pyi +368 -0
  581. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_description_pb2.pyi +49 -0
  582. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_pb2.pyi +235 -0
  583. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_shape_pb2.pyi +74 -0
  584. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_slice_pb2.pyi +56 -0
  585. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/types_pb2.pyi +220 -0
  586. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/variable_pb2.pyi +229 -0
  587. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/versions_pb2.pyi +57 -0
  588. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/__init__.pyi +0 -0
  589. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/bfc_memory_map_pb2.pyi +15 -0
  590. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/cluster_pb2.pyi +126 -0
  591. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/composite_tensor_variant_pb2.pyi +33 -0
  592. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi +1867 -0
  593. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/control_flow_pb2.pyi +243 -0
  594. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/core_platform_payloads_pb2.pyi +66 -0
  595. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi +243 -0
  596. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_event_pb2.pyi +746 -0
  597. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_pb2.pyi +199 -0
  598. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_filters_pb2.pyi +124 -0
  599. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_properties_pb2.pyi +154 -0
  600. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/error_codes_pb2.pyi +33 -0
  601. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/fingerprint_pb2.pyi +76 -0
  602. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/meta_graph_pb2.pyi +735 -0
  603. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/named_tensor_pb2.pyi +41 -0
  604. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/queue_runner_pb2.pyi +73 -0
  605. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/remote_tensor_handle_pb2.pyi +96 -0
  606. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi +588 -0
  607. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rpc_options_pb2.pyi +9 -0
  608. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_model_pb2.pyi +51 -0
  609. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_object_graph_pb2.pyi +715 -0
  610. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saver_pb2.pyi +113 -0
  611. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/service_config_pb2.pyi +275 -0
  612. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/snapshot_pb2.pyi +164 -0
  613. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/status_pb2.pyi +13 -0
  614. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/struct_pb2.pyi +536 -0
  615. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensor_bundle_pb2.pyi +160 -0
  616. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensorflow_server_pb2.pyi +125 -0
  617. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/compilation_result_pb2.pyi +85 -0
  618. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/dynamic_padding_pb2.pyi +47 -0
  619. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi +1326 -0
  620. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/topology_pb2.pyi +149 -0
  621. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/tpu_embedding_configuration_pb2.pyi +326 -0
  622. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/trackable_object_graph_pb2.pyi +213 -0
  623. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/transport_options_pb2.pyi +28 -0
  624. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/verifier_config_pb2.pyi +65 -0
  625. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/event_pb2.pyi +419 -0
  626. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/memmapped_file_system_pb2.pyi +65 -0
  627. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/saved_tensor_slice_pb2.pyi +171 -0
  628. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/test_log_pb2.pyi +24 -0
  629. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/__init__.pyi +272 -0
  630. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/experimental.pyi +32 -0
  631. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/__init__.pyi +3 -0
  632. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/coordinator.pyi +3 -0
  633. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/experimental/coordinator.pyi +11 -0
  634. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/dtypes.pyi +57 -0
  635. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/__init__.pyi +10 -0
  636. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/dtensor.pyi +19 -0
  637. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/feature_column/__init__.pyi +95 -0
  638. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/initializers.pyi +1 -0
  639. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/__init__.pyi +104 -0
  640. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/gfile.pyi +11 -0
  641. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/__init__.pyi +15 -0
  642. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/activations.pyi +35 -0
  643. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/callbacks.pyi +170 -0
  644. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/constraints.pyi +16 -0
  645. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/initializers.pyi +50 -0
  646. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/layers/__init__.pyi +446 -0
  647. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/losses.pyi +177 -0
  648. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/metrics.pyi +117 -0
  649. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/models.pyi +167 -0
  650. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/__init__.pyi +7 -0
  651. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/legacy/__init__.pyi +61 -0
  652. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/schedules.pyi +103 -0
  653. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/regularizers.pyi +21 -0
  654. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/linalg.pyi +55 -0
  655. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/math.pyi +298 -0
  656. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/nn.pyi +194 -0
  657. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/__init__.pyi +1 -0
  658. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/distribute/distribute_lib.pyi +5 -0
  659. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/__init__.pyi +0 -0
  660. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/feature_column_v2.pyi +273 -0
  661. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/sequence_feature_column.pyi +30 -0
  662. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/framework/dtypes.pyi +7 -0
  663. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/__init__.pyi +1 -0
  664. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/projector_config_pb2.pyi +129 -0
  665. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/saved_metadata_pb2.pyi +89 -0
  666. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/versions_pb2.pyi +63 -0
  667. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/__init__.pyi +0 -0
  668. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/autotrackable.pyi +3 -0
  669. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/base.pyi +5 -0
  670. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/resource.pyi +9 -0
  671. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/ressource.pyi +7 -0
  672. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/training/tracking/autotrackable.pyi +3 -0
  673. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/random.pyi +231 -0
  674. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/raw_ops.pyi +44 -0
  675. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/__init__.pyi +125 -0
  676. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/experimental.pyi +39 -0
  677. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/signal.pyi +6 -0
  678. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/sparse.pyi +31 -0
  679. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/strings.pyi +241 -0
  680. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/summary.pyi +58 -0
  681. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/__init__.pyi +74 -0
  682. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/experimental.pyi +12 -0
  683. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_config_pb2.pyi +156 -0
  684. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_service_pb2.pyi +666 -0
  685. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/distributed_runtime_payloads_pb2.pyi +69 -0
  686. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/dnn_pb2.pyi +619 -0
  687. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/error_codes_pb2.pyi +291 -0
  688. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/histogram_pb2.pyi +78 -0
  689. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/rpc_options_pb2.pyi +85 -0
  690. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/status_pb2.pyi +34 -0
  691. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/__init__.pyi +1 -0
  692. package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/experimental.pyi +30 -0
  693. package/dist/typeshed-fallback/stubs/ttkthemes/METADATA.toml +1 -1
  694. package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_style.pyi +1 -1
  695. package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +11 -12
  696. package/dist/typeshed-fallback/stubs/tzdata/METADATA.toml +2 -0
  697. package/dist/typeshed-fallback/stubs/tzdata/tzdata/__init__.pyi +4 -0
  698. package/dist/typeshed-fallback/stubs/webencodings/METADATA.toml +2 -0
  699. package/dist/typeshed-fallback/stubs/webencodings/webencodings/__init__.pyi +33 -0
  700. package/dist/typeshed-fallback/stubs/webencodings/webencodings/labels.pyi +3 -0
  701. package/dist/typeshed-fallback/stubs/webencodings/webencodings/mklabels.pyi +5 -0
  702. package/dist/typeshed-fallback/stubs/webencodings/webencodings/x_user_defined.pyi +21 -0
  703. package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
  704. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +2 -0
  705. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +1 -0
  706. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/globals.pyi +12 -1
  707. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_jsruntime.pyi +38 -0
  708. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_legacy.pyi +2 -68
  709. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +1 -1
  710. package/package.json +7 -7
  711. package/dist/typeshed-fallback/stdlib/_typeshed/README.md +0 -34
  712. package/dist/typeshed-fallback/stubs/ExifRead/METADATA.toml +0 -3
  713. package/dist/typeshed-fallback/stubs/ExifRead/exifread/__init__.pyi +0 -17
  714. package/dist/typeshed-fallback/stubs/ExifRead/exifread/_types.pyi +0 -15
  715. package/dist/typeshed-fallback/stubs/ExifRead/exifread/classes.pyi +0 -47
  716. package/dist/typeshed-fallback/stubs/ExifRead/exifread/exceptions.pyi +0 -2
  717. package/dist/typeshed-fallback/stubs/ExifRead/exifread/exif_log.pyi +0 -24
  718. package/dist/typeshed-fallback/stubs/ExifRead/exifread/heic.pyi +0 -56
  719. package/dist/typeshed-fallback/stubs/ExifRead/exifread/jpeg.pyi +0 -7
  720. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/__init__.pyi +0 -15
  721. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/exif.pyi +0 -7
  722. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/apple.pyi +0 -3
  723. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/canon.pyi +0 -26
  724. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/casio.pyi +0 -3
  725. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/fujifilm.pyi +0 -3
  726. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/nikon.pyi +0 -6
  727. package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/olympus.pyi +0 -6
  728. package/dist/typeshed-fallback/stubs/ExifRead/exifread/utils.pyi +0 -22
  729. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +0 -16
  730. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_posix.pyi +0 -34
  731. package/dist/typeshed-fallback/stubs/vobject/@tests/stubtest_allowlist.txt +0 -22
  732. /package/dist/typeshed-fallback/stubs/{ExifRead/exifread/tags/makernote → colorful/colorful}/__init__.pyi +0 -0
@@ -6,9 +6,9 @@ from networkx.utils.backends import _dispatchable
6
6
  __all__ = ["subgraph_centrality_exp", "subgraph_centrality", "communicability_betweenness_centrality", "estrada_index"]
7
7
 
8
8
  @_dispatchable
9
- def subgraph_centrality_exp(G: Graph[_Node]) -> dict[Incomplete, float]: ...
9
+ def subgraph_centrality_exp(G: Graph[_Node], *, normalized: bool = False) -> dict[Incomplete, float]: ...
10
10
  @_dispatchable
11
- def subgraph_centrality(G: Graph[_Node]) -> dict[Incomplete, float]: ...
11
+ def subgraph_centrality(G: Graph[_Node], *, normalized: bool = False) -> dict[Incomplete, float]: ...
12
12
  @_dispatchable
13
13
  def communicability_betweenness_centrality(G: Graph[_Node]) -> dict[Incomplete, Incomplete]: ...
14
14
  @_dispatchable
@@ -1,14 +1,24 @@
1
1
  from _typeshed import Incomplete
2
- from collections.abc import Iterable
2
+ from collections.abc import Generator, Iterable
3
3
 
4
- from networkx.classes.graph import Graph, _Node
4
+ from networkx.classes.graph import Graph, _NBunch, _Node
5
5
  from networkx.utils.backends import _dispatchable
6
6
 
7
- __all__ = ["triangles", "average_clustering", "clustering", "transitivity", "square_clustering", "generalized_degree"]
7
+ __all__ = [
8
+ "triangles",
9
+ "all_triangles",
10
+ "average_clustering",
11
+ "clustering",
12
+ "transitivity",
13
+ "square_clustering",
14
+ "generalized_degree",
15
+ ]
8
16
 
9
17
  @_dispatchable
10
18
  def triangles(G: Graph[_Node], nodes=None) -> int | dict[Incomplete, int]: ...
11
19
  @_dispatchable
20
+ def all_triangles(G: Graph[_Node], nbunch: _NBunch[_Node] = None) -> Generator[tuple[Incomplete, Incomplete, Incomplete]]: ...
21
+ @_dispatchable
12
22
  def average_clustering(
13
23
  G: Graph[_Node], nodes: Iterable[_Node] | None = None, weight: str | None = None, count_zeros: bool = True
14
24
  ) -> float: ...
@@ -1,9 +1,9 @@
1
1
  from networkx.algorithms.community.asyn_fluid import *
2
+ from networkx.algorithms.community.bipartitions import *
2
3
  from networkx.algorithms.community.centrality import *
3
4
  from networkx.algorithms.community.community_utils import *
4
5
  from networkx.algorithms.community.divisive import *
5
6
  from networkx.algorithms.community.kclique import *
6
- from networkx.algorithms.community.kernighan_lin import *
7
7
  from networkx.algorithms.community.label_propagation import *
8
8
  from networkx.algorithms.community.leiden import *
9
9
  from networkx.algorithms.community.local import *
@@ -0,0 +1,22 @@
1
+ from _typeshed import Incomplete
2
+ from collections.abc import Iterable
3
+
4
+ from networkx.algorithms.shortest_paths.weighted import _WeightFunc
5
+ from networkx.classes.graph import Graph, _Node
6
+ from networkx.utils.backends import _dispatchable
7
+ from numpy.random import RandomState
8
+
9
+ __all__ = ["kernighan_lin_bisection", "spectral_modularity_bipartition", "greedy_node_swap_bipartition"]
10
+
11
+ @_dispatchable
12
+ def kernighan_lin_bisection(
13
+ G: Graph[_Node],
14
+ partition: tuple[Iterable[Incomplete], Iterable[Incomplete]] | None = None,
15
+ max_iter: int = 10,
16
+ weight: str | _WeightFunc[_Node] = "weight",
17
+ seed: int | RandomState | None = None,
18
+ ) -> tuple[set[Incomplete], set[Incomplete]]: ...
19
+ def spectral_modularity_bipartition(G: Graph[_Node]) -> tuple[set[Incomplete], set[Incomplete]]: ...
20
+ def greedy_node_swap_bipartition(
21
+ G: Graph[_Node], *, init_split: tuple[set[Incomplete], set[Incomplete]] | None = None, max_iter: int = 10
22
+ ) -> tuple[set[Incomplete], set[Incomplete]]: ...
@@ -1,4 +1,5 @@
1
- from _typeshed import Incomplete, SupportsGetItem
1
+ from _typeshed import Incomplete
2
+ from collections.abc import Mapping
2
3
 
3
4
  from networkx.classes.graph import Graph, _Node
4
5
  from networkx.utils.backends import _dispatchable
@@ -8,13 +9,13 @@ __all__ = ["core_number", "k_core", "k_shell", "k_crust", "k_corona", "k_truss",
8
9
  @_dispatchable
9
10
  def core_number(G: Graph[_Node]) -> dict[Incomplete, Incomplete]: ...
10
11
  @_dispatchable
11
- def k_core(G: Graph[_Node], k: int | None = None, core_number: SupportsGetItem[Incomplete, Incomplete] | None = None): ...
12
+ def k_core(G: Graph[_Node], k: int | None = None, core_number: Mapping[Incomplete, Incomplete] | None = None): ...
12
13
  @_dispatchable
13
- def k_shell(G: Graph[_Node], k: int | None = None, core_number: SupportsGetItem[Incomplete, Incomplete] | None = None): ...
14
+ def k_shell(G: Graph[_Node], k: int | None = None, core_number: Mapping[Incomplete, Incomplete] | None = None): ...
14
15
  @_dispatchable
15
- def k_crust(G: Graph[_Node], k: int | None = None, core_number: SupportsGetItem[Incomplete, Incomplete] | None = None): ...
16
+ def k_crust(G: Graph[_Node], k: int | None = None, core_number: Mapping[Incomplete, Incomplete] | None = None): ...
16
17
  @_dispatchable
17
- def k_corona(G: Graph[_Node], k: int, core_number: SupportsGetItem[Incomplete, Incomplete] | None = None): ...
18
+ def k_corona(G: Graph[_Node], k: int | None, core_number: Mapping[Incomplete, Incomplete] | None = None): ...
18
19
  @_dispatchable
19
20
  def k_truss(G: Graph[_Node], k: int): ...
20
21
  @_dispatchable
@@ -21,7 +21,6 @@ __all__ = [
21
21
  "dag_longest_path",
22
22
  "dag_longest_path_length",
23
23
  "dag_to_branching",
24
- "compute_v_structures",
25
24
  ]
26
25
 
27
26
  @_dispatchable
@@ -61,5 +60,3 @@ def dag_longest_path(
61
60
  def dag_longest_path_length(G: DiGraph[_Node], weight: str | None = "weight", default_weight: int | None = 1) -> int: ...
62
61
  @_dispatchable
63
62
  def dag_to_branching(G: DiGraph[_Node]) -> DiGraph[_Node]: ...
64
- @_dispatchable
65
- def compute_v_structures(G: DiGraph[_Node]) -> Generator[tuple[Incomplete, Incomplete, Incomplete]]: ...
@@ -9,8 +9,8 @@ __all__ = ["is_distance_regular", "is_strongly_regular", "intersection_array", "
9
9
  @_dispatchable
10
10
  def is_distance_regular(G: Graph[_Node]) -> bool: ...
11
11
  @_dispatchable
12
- def global_parameters(b, c) -> Generator[tuple[Incomplete, Incomplete, Incomplete]]: ...
12
+ def global_parameters(b: list[Incomplete], c: list[Incomplete]) -> Generator[tuple[Incomplete, Incomplete, Incomplete]]: ...
13
13
  @_dispatchable
14
- def intersection_array(G: Graph[_Node]): ...
14
+ def intersection_array(G: Graph[_Node]) -> tuple[list[Incomplete], list[Incomplete]]: ...
15
15
  @_dispatchable
16
16
  def is_strongly_regular(G: Graph[_Node]) -> bool: ...
@@ -1,18 +1,31 @@
1
1
  from _typeshed import Incomplete
2
- from collections.abc import Generator
2
+ from collections.abc import Callable, Generator, Hashable, Iterable
3
+ from typing import Any
3
4
 
4
5
  __all__ = ["ISMAGS"]
5
6
 
7
+ def are_all_equal(iterable: Iterable[Any]) -> bool: ...
8
+ def make_partition(
9
+ items: Iterable[Hashable], test: Callable[[Hashable, Hashable], bool], check: bool = True
10
+ ) -> list[set[Incomplete]]: ...
11
+ def node_to_part_ID_dict(partition: Iterable[Iterable[Incomplete]]) -> dict[Incomplete, int]: ...
12
+ def color_degree_by_node(G, n_colors, e_colors): ...
13
+
14
+ class EdgeLookup:
15
+ edge_dict: Incomplete
16
+ def __init__(self, edge_dict) -> None: ...
17
+ def __getitem__(self, edge): ...
18
+ def items(self): ...
19
+
6
20
  class ISMAGS:
7
21
  graph: Incomplete
8
22
  subgraph: Incomplete
9
- node_equality: Incomplete
10
- edge_equality: Incomplete
11
23
 
12
24
  def __init__(self, graph, subgraph, node_match=None, edge_match=None, cache=None) -> None: ...
25
+ def create_aligned_partitions(self, thing_matcher, sg_things, g_things): ...
13
26
  def find_isomorphisms(self, symmetry: bool = True) -> Generator[Incomplete, Incomplete, Incomplete]: ...
14
27
  def largest_common_subgraph(self, symmetry: bool = True) -> Generator[Incomplete, Incomplete, None]: ...
15
- def analyze_symmetry(self, graph, node_partitions, edge_colors): ...
28
+ def analyze_subgraph_symmetry(self) -> dict[Hashable, set[Hashable]]: ...
16
29
  def is_isomorphic(self, symmetry: bool = False) -> bool: ...
17
30
  def subgraph_is_isomorphic(self, symmetry: bool = False) -> bool: ...
18
31
  def isomorphisms_iter(self, symmetry: bool = True) -> Generator[Incomplete, Incomplete, None]: ...
@@ -4,4 +4,4 @@ from networkx.utils.backends import _dispatchable
4
4
  __all__ = ["non_randomness"]
5
5
 
6
6
  @_dispatchable
7
- def non_randomness(G: Graph[_Node], k: int | None = None, weight: str | None = "weight"): ...
7
+ def non_randomness(G: Graph[_Node], k: int | None = None, weight: str | None = "weight") -> tuple[float, float]: ...
@@ -0,0 +1,7 @@
1
+ from networkx.classes.graph import Graph, _Node
2
+ from networkx.utils.backends import _dispatchable
3
+
4
+ __all__ = ["is_perfect_graph"]
5
+
6
+ @_dispatchable
7
+ def is_perfect_graph(G: Graph[_Node]) -> bool: ...
@@ -1,8 +1,9 @@
1
- from _typeshed import Incomplete
2
- from collections.abc import Generator, Mapping, MutableSet, Reversible
1
+ from _typeshed import Incomplete, Unused
2
+ from collections.abc import Generator, Iterable, Mapping, MutableSet, Reversible
3
+ from typing import NoReturn
3
4
 
4
5
  from networkx.classes.digraph import DiGraph
5
- from networkx.classes.graph import Graph, _Node
6
+ from networkx.classes.graph import Graph, _EdgePlus, _Node
6
7
  from networkx.utils.backends import _dispatchable
7
8
 
8
9
  __all__ = ["check_planarity", "is_planar", "PlanarEmbedding"]
@@ -87,6 +88,9 @@ class LRPlanarity:
87
88
  def sign(self, e): ...
88
89
  def sign_recursive(self, e): ...
89
90
 
91
+ # NOTE: Graph subclasses relationships are so complex
92
+ # we're only overriding methods that differ in signature from the base classes
93
+ # to use inheritance to our advantage and reduce complexity
90
94
  class PlanarEmbedding(DiGraph[_Node]):
91
95
  def get_data(self) -> dict[_Node, list[_Node]]: ...
92
96
  def set_data(self, data: Mapping[_Node, Reversible[_Node]]) -> None: ...
@@ -101,4 +105,9 @@ class PlanarEmbedding(DiGraph[_Node]):
101
105
  def traverse_face(
102
106
  self, v: _Node, w: _Node, mark_half_edges: MutableSet[tuple[_Node, _Node]] | None = None
103
107
  ) -> list[_Node]: ...
104
- def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> Graph[_Node]: ... # type: ignore[override]
108
+ # Overriden in __init__ to always raise
109
+ def add_edge(self, u_of_edge: _Node, v_of_edge: _Node, **attr: Unused) -> NoReturn: ...
110
+ def add_edges_from(self, ebunch_to_add: Iterable[_EdgePlus[_Node]], **attr: Unused) -> NoReturn: ...
111
+ def add_weighted_edges_from(
112
+ self, ebunch_to_add: Iterable[tuple[_Node, _Node, float]], weight: str = "weight", **attr: Unused
113
+ ) -> NoReturn: ...
@@ -1,4 +1,4 @@
1
- from _typeshed import Incomplete, SupportsGetItem
1
+ from _typeshed import Incomplete, SupportsItemAccess
2
2
  from collections.abc import Callable, Generator
3
3
 
4
4
  from networkx.classes.graph import Graph, _Node
@@ -12,6 +12,7 @@ __all__ = [
12
12
  "optimize_edit_paths",
13
13
  "simrank_similarity",
14
14
  "panther_similarity",
15
+ "panther_vector_similarity",
15
16
  "generate_random_paths",
16
17
  ]
17
18
 
@@ -93,15 +94,30 @@ def panther_similarity(
93
94
  path_length: int = 5,
94
95
  c: float = 0.5,
95
96
  delta: float = 0.1,
96
- eps=None,
97
+ eps: float | None = None,
97
98
  weight: str | None = "weight",
99
+ seed: int | RandomState | None = None,
98
100
  ) -> dict[bytes, bytes]: ...
99
101
  @_dispatchable
102
+ def panther_vector_similarity(
103
+ G: Graph[_Node],
104
+ source: _Node,
105
+ *,
106
+ D: int = 10,
107
+ k: int = 5,
108
+ path_length: int = 5,
109
+ c: float = 0.5,
110
+ delta: float = 0.1,
111
+ eps: float | None = None,
112
+ weight: str | None = "weight",
113
+ seed: int | RandomState | None = None,
114
+ ) -> dict[Incomplete, float]: ...
115
+ @_dispatchable
100
116
  def generate_random_paths(
101
117
  G: Graph[_Node],
102
118
  sample_size: int,
103
119
  path_length: int = 5,
104
- index_map: SupportsGetItem[Incomplete, Incomplete] | None = None,
120
+ index_map: SupportsItemAccess[Incomplete, Incomplete] | None = None,
105
121
  weight: str | None = "weight",
106
122
  seed: int | RandomState | None = None,
107
123
  *,
@@ -37,4 +37,3 @@ def eigenvalues(creation_sequence): ...
37
37
  def random_threshold_sequence(n, p, seed: int | RandomState | None = None): ...
38
38
  def right_d_threshold_sequence(n: int, m: int) -> list[str]: ...
39
39
  def left_d_threshold_sequence(n: int, m: int) -> list[str]: ...
40
- def swap_d(cs, p_split=1.0, p_combine=1.0, seed: int | RandomState | None = None): ...
@@ -1,6 +1,7 @@
1
1
  from .branchings import *
2
2
  from .coding import *
3
3
  from .decomposition import *
4
+ from .distance_measures import *
4
5
  from .mst import *
5
6
  from .operations import *
6
7
  from .recognition import *
@@ -0,0 +1,10 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from networkx.classes.graph import Graph, _Node
4
+ from networkx.utils.backends import _dispatchable
5
+
6
+ __all__ = ["center", "centroid"]
7
+
8
+ def center(G: Graph[_Node]) -> list[Incomplete]: ...
9
+ @_dispatchable
10
+ def centroid(G: Graph[_Node]) -> list[Incomplete]: ...
@@ -1,7 +1,7 @@
1
1
  from networkx.classes.graph import Graph, _Node
2
2
  from networkx.utils.backends import _dispatchable
3
3
 
4
- __all__ = ["wiener_index", "schultz_index", "gutman_index"]
4
+ __all__ = ["wiener_index", "schultz_index", "gutman_index", "hyper_wiener_index"]
5
5
 
6
6
  @_dispatchable
7
7
  def wiener_index(G: Graph[_Node], weight: str | None = None) -> float: ...
@@ -9,3 +9,5 @@ def wiener_index(G: Graph[_Node], weight: str | None = None) -> float: ...
9
9
  def schultz_index(G: Graph[_Node], weight=None) -> float: ...
10
10
  @_dispatchable
11
11
  def gutman_index(G: Graph[_Node], weight=None) -> float: ...
12
+ @_dispatchable
13
+ def hyper_wiener_index(G: Graph[_Node], weight=None) -> float: ...
@@ -10,6 +10,7 @@ from networkx.classes.reportviews import (
10
10
  InDegreeView,
11
11
  InEdgeView,
12
12
  InMultiDegreeView,
13
+ InMultiEdgeView,
13
14
  OutDegreeView,
14
15
  OutEdgeView,
15
16
  OutMultiDegreeView,
@@ -17,6 +18,9 @@ from networkx.classes.reportviews import (
17
18
 
18
19
  __all__ = ["DiGraph"]
19
20
 
21
+ # NOTE: Graph subclasses relationships are so complex
22
+ # we're only overriding methods that differ in signature from the base classes
23
+ # to use inheritance to our advantage and reduce complexity
20
24
  class DiGraph(Graph[_Node]):
21
25
  @cached_property
22
26
  def succ(self) -> AdjacencyView[_Node, _Node, dict[str, Any]]: ...
@@ -30,17 +34,19 @@ class DiGraph(Graph[_Node]):
30
34
 
31
35
  def predecessors(self, n: _Node) -> Iterator[_Node]: ...
32
36
  @cached_property
37
+ def edges(self) -> OutEdgeView[_Node]: ...
38
+ @cached_property
33
39
  def out_edges(self) -> OutEdgeView[_Node]: ...
34
40
  @cached_property
35
- def in_edges(self) -> InEdgeView[_Node]: ...
41
+ # Including subtypes' possible return types for LSP
42
+ def in_edges(self) -> InEdgeView[_Node] | InMultiEdgeView[_Node]: ...
43
+ @cached_property
44
+ def degree(self) -> DiDegreeView[_Node]: ...
36
45
  @cached_property
46
+ # Including subtypes' possible return types for LSP
37
47
  def in_degree(self) -> InDegreeView[_Node] | InMultiDegreeView[_Node]: ...
38
48
  @cached_property
49
+ # Including subtypes' possible return types for LSP
39
50
  def out_degree(self) -> OutDegreeView[_Node] | OutMultiDegreeView[_Node]: ...
40
- def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> Graph[_Node]: ... # type: ignore[override]
41
- # reciprocal : If True, only edges that appear in both directions ... will be kept in the undirected graph.
51
+ def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> Graph[_Node]: ... # type: ignore[override] # Has an additional `reciprocal` keyword argument
42
52
  def reverse(self, copy: bool = True) -> Self: ...
43
- @cached_property
44
- def edges(self) -> OutEdgeView[_Node]: ... # type: ignore[override] # An OutEdgeView of the DiGraph as G.edges or G.edges().
45
- @cached_property
46
- def degree(self) -> int | DiDegreeView[_Node]: ... # type: ignore[override] # Returns DiDegreeView or int
@@ -1,5 +1,5 @@
1
1
  from _typeshed import Incomplete, SupportsItems, SupportsKeysAndGetItem, Unused
2
- from collections.abc import Generator, Hashable, Iterable, Iterator
2
+ from collections.abc import Callable, Generator, Hashable, Iterable, Iterator
3
3
  from typing import Literal, TypeVar, overload
4
4
 
5
5
  from networkx import _dispatchable
@@ -48,6 +48,7 @@ __all__ = [
48
48
  "number_of_selfloops",
49
49
  "path_weight",
50
50
  "is_path",
51
+ "describe",
51
52
  ]
52
53
 
53
54
  _U = TypeVar("_U")
@@ -171,3 +172,4 @@ def selfloop_edges(
171
172
  def number_of_selfloops(G: Graph[Hashable]) -> int: ...
172
173
  def is_path(G: Graph[_Node], path: Iterable[Incomplete]) -> bool: ...
173
174
  def path_weight(G: Graph[_Node], path, weight) -> int: ...
175
+ def describe(G: Graph[_Node], describe_hook: Callable[[Graph[_Node]], dict[str, Incomplete]] | None = None) -> None: ...
@@ -6,7 +6,7 @@ from typing_extensions import Self, TypeAlias
6
6
  import numpy
7
7
  from networkx.classes.coreviews import AdjacencyView, AtlasView
8
8
  from networkx.classes.digraph import DiGraph
9
- from networkx.classes.reportviews import DegreeView, EdgeView, NodeView
9
+ from networkx.classes.reportviews import DegreeView, DiDegreeView, EdgeView, NodeView, OutEdgeView
10
10
 
11
11
  _Node = TypeVar("_Node", bound=Hashable)
12
12
  _NodeWithData: TypeAlias = tuple[_Node, dict[str, Any]]
@@ -41,6 +41,9 @@ class Graph(Collection[_Node]):
41
41
 
42
42
  def to_directed_class(self) -> type[DiGraph[_Node]]: ...
43
43
  def to_undirected_class(self) -> type[Graph[_Node]]: ...
44
+ # @_dispatchable adds `backend` argument, but this decorated is unsupported constructor type here
45
+ # and __init__() ignores this argument
46
+ def __new__(cls, *args, backend=None, **kwargs) -> Self: ...
44
47
  def __init__(self, incoming_graph_data: _Data[_Node] | None = None, **attr: Any) -> None: ... # attr: key=value pairs
45
48
  @cached_property
46
49
  def adj(self) -> AdjacencyView[_Node, _Node, dict[str, Any]]: ...
@@ -49,10 +52,10 @@ class Graph(Collection[_Node]):
49
52
  def name(self) -> str: ...
50
53
  @name.setter
51
54
  def name(self, s: str) -> None: ...
52
- def __getitem__(self, n: _Node) -> AtlasView[_Node, str, Any]: ...
53
55
  def __iter__(self) -> Iterator[_Node]: ...
54
56
  def __contains__(self, n: object) -> bool: ...
55
57
  def __len__(self) -> int: ...
58
+ def __getitem__(self, n: _Node) -> AtlasView[_Node, str, Any]: ...
56
59
  def add_node(self, node_for_adding: _Node, **attr: Any) -> None: ... # attr: Set or change node attributes using key=value
57
60
  def add_nodes_from(self, nodes_for_adding: Iterable[_NodePlus[_Node]], **attr: Any) -> None: ... # attr: key=value pairs
58
61
  def remove_node(self, n: _Node) -> None: ...
@@ -62,7 +65,8 @@ class Graph(Collection[_Node]):
62
65
  def number_of_nodes(self) -> int: ...
63
66
  def order(self) -> int: ...
64
67
  def has_node(self, n: _Node) -> bool: ...
65
- def add_edge(self, u_of_edge: _Node, v_of_edge: _Node, **attr: Any) -> None: ...
68
+ # Including subtypes' possible return types for LSP
69
+ def add_edge(self, u_of_edge: _Node, v_of_edge: _Node, **attr: Any) -> Hashable | None: ...
66
70
  # attr: Edge data (or labels or objects) can be assigned using keyword arguments
67
71
  def add_edges_from(self, ebunch_to_add: Iterable[_EdgePlus[_Node]], **attr: Any) -> None: ...
68
72
  # attr: Edge data (or labels or objects) can be assigned using keyword arguments
@@ -81,12 +85,14 @@ class Graph(Collection[_Node]):
81
85
  def has_edge(self, u: _Node, v: _Node) -> bool: ...
82
86
  def neighbors(self, n: _Node) -> Iterator[_Node]: ...
83
87
  @cached_property
84
- def edges(self) -> EdgeView[_Node]: ...
88
+ # Including subtypes' possible return types for LSP
89
+ def edges(self) -> EdgeView[_Node] | OutEdgeView[_Node]: ...
85
90
  def get_edge_data(self, u: _Node, v: _Node, default: Any = None) -> dict[str, Any]: ...
86
91
  # default: any Python object
87
92
  def adjacency(self) -> Iterator[tuple[_Node, dict[_Node, dict[str, Any]]]]: ...
88
93
  @cached_property
89
- def degree(self) -> int | DegreeView[_Node]: ...
94
+ # Including subtypes' possible return types for LSP
95
+ def degree(self) -> DegreeView[_Node] | DiDegreeView[_Node]: ...
90
96
  def clear(self) -> None: ...
91
97
  def clear_edges(self) -> None: ...
92
98
  def is_multigraph(self) -> bool: ...
@@ -94,7 +100,7 @@ class Graph(Collection[_Node]):
94
100
  def copy(self, as_view: bool = False) -> Self: ...
95
101
  def to_directed(self, as_view: bool = False) -> DiGraph[_Node]: ...
96
102
  def to_undirected(self, as_view: bool = False) -> Graph[_Node]: ...
97
- def subgraph(self, nodes: Iterable[_Node]) -> Graph[_Node]: ...
103
+ def subgraph(self, nodes: _NBunch[_Node]) -> Graph[_Node]: ...
98
104
  def edge_subgraph(self, edges: Iterable[_Edge[_Node]]) -> Graph[_Node]: ...
99
105
  @overload
100
106
  def size(self, weight: None = None) -> int: ...
@@ -3,11 +3,11 @@ from typing import Any
3
3
 
4
4
  from networkx.classes.coreviews import MultiAdjacencyView
5
5
  from networkx.classes.digraph import DiGraph
6
- from networkx.classes.graph import _EdgeWithData, _Node
6
+ from networkx.classes.graph import _Node
7
7
  from networkx.classes.multigraph import MultiGraph
8
8
  from networkx.classes.reportviews import (
9
+ DiMultiDegreeView,
9
10
  InMultiDegreeView,
10
- InMultiEdgeDataView,
11
11
  InMultiEdgeView,
12
12
  OutMultiDegreeView,
13
13
  OutMultiEdgeView,
@@ -15,23 +15,24 @@ from networkx.classes.reportviews import (
15
15
 
16
16
  __all__ = ["MultiDiGraph"]
17
17
 
18
+ # NOTE: Graph subclasses relationships are so complex
19
+ # we're only overriding methods that differ in signature from the base classes
20
+ # to use inheritance to our advantage and reduce complexity
18
21
  class MultiDiGraph(MultiGraph[_Node], DiGraph[_Node]):
19
22
  @cached_property
20
23
  def succ(self) -> MultiAdjacencyView[_Node, _Node, dict[str, Any]]: ...
21
24
  @cached_property
22
25
  def pred(self) -> MultiAdjacencyView[_Node, _Node, dict[str, Any]]: ...
23
26
  @cached_property
24
- def edges(self) -> OutMultiEdgeView[_Node]: ... # type: ignore[override]
25
- # Returns: OutMultiEdgeView
27
+ def edges(self) -> OutMultiEdgeView[_Node]: ...
26
28
  @cached_property
27
29
  def out_edges(self) -> OutMultiEdgeView[_Node]: ...
28
30
  @cached_property
29
- def in_edges(self) -> InMultiEdgeView[_Node] | InMultiEdgeDataView[_Node, _EdgeWithData[_Node]]: ... # type: ignore[override]
30
- # Returns : InMultiEdgeView or InMultiEdgeDataView
31
+ def in_edges(self) -> InMultiEdgeView[_Node]: ...
32
+ @cached_property
33
+ def degree(self) -> DiMultiDegreeView[_Node]: ...
31
34
  @cached_property
32
35
  def in_degree(self) -> InMultiDegreeView[_Node]: ...
33
36
  @cached_property
34
37
  def out_degree(self) -> OutMultiDegreeView[_Node]: ...
35
- def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> MultiGraph[_Node]: ... # type: ignore[override]
36
- def reverse(self, copy: bool = True) -> MultiDiGraph[_Node]: ...
37
- def copy(self, as_view: bool = False) -> MultiDiGraph[_Node]: ...
38
+ def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> MultiGraph[_Node]: ... # type: ignore[override] # Has an additional `reciprocal` keyword argument
@@ -1,12 +1,12 @@
1
1
  from collections.abc import Hashable
2
2
  from functools import cached_property
3
3
  from typing import Any, ClassVar, overload
4
- from typing_extensions import TypeAlias, TypeVar
4
+ from typing_extensions import Self, TypeAlias, TypeVar
5
5
 
6
6
  from networkx.classes.coreviews import MultiAdjacencyView
7
7
  from networkx.classes.graph import Graph, _MapFactory, _Node
8
8
  from networkx.classes.multidigraph import MultiDiGraph
9
- from networkx.classes.reportviews import MultiEdgeView
9
+ from networkx.classes.reportviews import DiMultiDegreeView, MultiDegreeView, MultiEdgeView, OutMultiEdgeView
10
10
 
11
11
  _MultiEdge: TypeAlias = tuple[_Node, _Node, int] # noqa: Y047
12
12
 
@@ -15,36 +15,46 @@ _KeyT = TypeVar("_KeyT", bound=Hashable)
15
15
 
16
16
  __all__ = ["MultiGraph"]
17
17
 
18
+ # NOTE: Graph subclasses relationships are so complex
19
+ # we're only overriding methods that differ in signature from the base classes
20
+ # to use inheritance to our advantage and reduce complexity
18
21
  class MultiGraph(Graph[_Node]):
19
22
  edge_key_dict_factory: ClassVar[_MapFactory]
23
+ def to_directed_class(self) -> type[MultiDiGraph[_Node]]: ...
24
+ def to_undirected_class(self) -> type[MultiGraph[_Node]]: ...
25
+ # @_dispatchable adds `backend` argument, but this decorated is unsupported constructor type here
26
+ # and __init__() ignores this argument
27
+ def __new__(cls, *args, backend=None, **kwargs) -> Self: ...
20
28
  def __init__(self, incoming_graph_data=None, multigraph_input: bool | None = None, **attr: Any) -> None: ...
21
29
  @cached_property
22
30
  def adj(self) -> MultiAdjacencyView[_Node, _Node, dict[str, Any]]: ... # data can be any type
23
31
  def new_edge_key(self, u: _Node, v: _Node) -> int: ...
24
- @overload # type: ignore[override] # Has an additional `key` keyword argument
32
+ # key : hashable identifier, optional (default=lowest unused integer)
33
+ @overload # type: ignore[override] # More complex overload
25
34
  def add_edge(self, u_for_edge: _Node, v_for_edge: _Node, key: int | None = None, **attr: Any) -> int: ...
26
35
  @overload
27
36
  def add_edge(self, u_for_edge: _Node, v_for_edge: _Node, key: _KeyT, **attr: Any) -> _KeyT: ...
28
- # key : hashable identifier, optional (default=lowest unused integer)
29
37
  def remove_edge(self, u: _Node, v: _Node, key: Hashable | None = None) -> None: ...
30
38
  def has_edge(self, u: _Node, v: _Node, key: Hashable | None = None) -> bool: ...
39
+ @cached_property
40
+ # Including subtypes' possible return types for LSP
41
+ def edges(self) -> MultiEdgeView[_Node] | OutMultiEdgeView[_Node]: ...
42
+ # key : hashable identifier, optional (default=None).
43
+ # default : any Python object (default=None). Value to return if the specific edge (u, v, key) is not found.
44
+ # Returns: The edge attribute dictionary.
31
45
  @overload # type: ignore[override]
32
46
  def get_edge_data(
33
47
  self, u: _Node, v: _Node, key: Hashable, default: _DefaultT | None = None
34
48
  ) -> dict[str, Any] | _DefaultT: ...
35
- # key : hashable identifier, optional (default=None).
36
- # default : any Python object (default=None). Value to return if the specific edge (u, v, key) is not found.
37
- # Returns: The edge attribute dictionary.
49
+ # default : any Python object (default=None). Value to return if there are no edges between u and v and no key is specified.
50
+ # Returns: A dictionary mapping edge keys to attribute dictionaries for each of those edges if no specific key is provided.
38
51
  @overload
39
52
  def get_edge_data(
40
53
  self, u: _Node, v: _Node, key: None = None, default: _DefaultT | None = None
41
54
  ) -> dict[Hashable, dict[str, Any] | _DefaultT]: ...
42
- # default : any Python object (default=None). Value to return if there are no edges between u and v and no key is specified.
43
- # Returns: A dictionary mapping edge keys to attribute dictionaries for each of those edges if no specific key is provided.
44
55
  def copy(self, as_view: bool = False) -> MultiGraph[_Node]: ...
56
+ @cached_property
57
+ # Including subtypes' possible return types for LSP
58
+ def degree(self) -> MultiDegreeView[_Node] | DiMultiDegreeView[_Node]: ...
45
59
  def to_directed(self, as_view: bool = False) -> MultiDiGraph[_Node]: ...
46
60
  def to_undirected(self, as_view: bool = False) -> MultiGraph[_Node]: ...
47
- def number_of_edges(self, u: _Node | None = None, v: _Node | None = None) -> int: ...
48
- @cached_property
49
- def edges(self) -> MultiEdgeView[_Node]: ... # type: ignore[override]
50
- # Returns: MultiEdgeView
@@ -141,7 +141,6 @@ def forceatlas2_layout(
141
141
  node_mass: Mapping[_Node, float] | None = None,
142
142
  node_size: Mapping[_Node, float] | None = None,
143
143
  weight: str | None = None,
144
- dissuade_hubs: bool = False,
145
144
  linlog: bool = False,
146
145
  seed: Seed | None = None,
147
146
  dim: int = 2,
@@ -110,6 +110,26 @@ def apply_matplotlib_colors(
110
110
  vmax: float | None = None,
111
111
  nodes: bool = True,
112
112
  ) -> None: ...
113
+
114
+ class CurvedArrowTextBase:
115
+ arrow: FancyArrowPatch
116
+ label_pos: float
117
+ labels_horizontal: bool
118
+ ax: Axes
119
+ x: Incomplete
120
+ y: Incomplete
121
+ angle: Incomplete
122
+ def __init__(
123
+ self,
124
+ arrow: FancyArrowPatch,
125
+ *args,
126
+ label_pos: float = 0.5,
127
+ labels_horizontal: bool = False,
128
+ ax: Axes | None = None,
129
+ **kwargs,
130
+ ) -> None: ...
131
+ def draw(self, renderer) -> None: ...
132
+
113
133
  def display(
114
134
  G: _G,
115
135
  canvas: Axes | None = None,
@@ -1,3 +1,5 @@
1
+ from typing_extensions import deprecated
2
+
1
3
  from networkx.classes.graph import Graph, _Node
2
4
  from networkx.utils.backends import _dispatchable
3
5
 
@@ -6,6 +8,7 @@ __all__ = [
6
8
  "chordal_cycle_graph",
7
9
  "paley_graph",
8
10
  "maybe_regular_expander",
11
+ "maybe_regular_expander_graph",
9
12
  "is_regular_expander",
10
13
  "random_regular_expander_graph",
11
14
  ]
@@ -17,7 +20,12 @@ def chordal_cycle_graph(p, create_using=None): ...
17
20
  @_dispatchable
18
21
  def paley_graph(p, create_using=None): ...
19
22
  @_dispatchable
20
- def maybe_regular_expander(n, d, *, create_using=None, max_tries=100, seed=None): ...
23
+ def maybe_regular_expander_graph(n, d, *, create_using=None, max_tries: int = 100, seed=None): ...
24
+ @deprecated(
25
+ "`maybe_regular_expander` is a deprecated alias for `maybe_regular_expander_graph`. "
26
+ "Use `maybe_regular_expander_graph` instead."
27
+ )
28
+ def maybe_regular_expander(n, d, *, create_using=None, max_tries: int = 100, seed=None): ...
21
29
  @_dispatchable
22
30
  def is_regular_expander(G: Graph[_Node], *, epsilon: float = 0) -> bool: ...
23
31
  @_dispatchable