basedpyright 1.29.2 → 1.29.3

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 (407) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +5 -0
  8. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +2 -0
  9. package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -0
  10. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +88 -44
  11. package/dist/typeshed-fallback/stdlib/_heapq.pyi +9 -1
  12. package/dist/typeshed-fallback/stdlib/_imp.pyi +2 -0
  13. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +77 -50
  14. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  15. package/dist/typeshed-fallback/stdlib/_thread.pyi +5 -0
  16. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +1 -1
  17. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +0 -3
  18. package/dist/typeshed-fallback/stdlib/_zstd.pyi +96 -0
  19. package/dist/typeshed-fallback/stdlib/argparse.pyi +1 -7
  20. package/dist/typeshed-fallback/stdlib/ast.pyi +24 -12
  21. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +10 -6
  22. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +30 -8
  23. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +2 -4
  24. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +19 -7
  25. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +18 -13
  26. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +29 -9
  27. package/dist/typeshed-fallback/stdlib/builtins.pyi +65 -28
  28. package/dist/typeshed-fallback/stdlib/bz2.pyi +6 -5
  29. package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +2 -1
  30. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +87 -0
  31. package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -0
  32. package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +1 -3
  33. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +14 -6
  34. package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +3 -0
  35. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +9 -0
  36. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +50 -5
  37. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +2 -5
  38. package/dist/typeshed-fallback/stdlib/enum.pyi +5 -1
  39. package/dist/typeshed-fallback/stdlib/errno.pyi +3 -0
  40. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +4 -0
  41. package/dist/typeshed-fallback/stdlib/fractions.pyi +28 -10
  42. package/dist/typeshed-fallback/stdlib/genericpath.pyi +6 -1
  43. package/dist/typeshed-fallback/stdlib/gzip.pyi +11 -2
  44. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +59 -53
  45. package/dist/typeshed-fallback/stdlib/importlib/machinery.pyi +23 -0
  46. package/dist/typeshed-fallback/stdlib/importlib/resources/__init__.pyi +8 -2
  47. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +66 -9
  49. package/dist/typeshed-fallback/stdlib/importlib/util.pyi +20 -4
  50. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +3 -0
  51. package/dist/typeshed-fallback/stdlib/lzma.pyi +5 -4
  52. package/dist/typeshed-fallback/stdlib/multiprocessing/forkserver.pyi +21 -7
  53. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +62 -1
  54. package/dist/typeshed-fallback/stdlib/multiprocessing/popen_fork.pyi +3 -0
  55. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +2 -1
  56. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +15 -5
  57. package/dist/typeshed-fallback/stdlib/ntpath.pyi +7 -10
  58. package/dist/typeshed-fallback/stdlib/posixpath.pyi +7 -13
  59. package/dist/typeshed-fallback/stdlib/pyexpat/errors.pyi +2 -0
  60. package/dist/typeshed-fallback/stdlib/select.pyi +2 -0
  61. package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -2
  62. package/dist/typeshed-fallback/stdlib/socket.pyi +4 -0
  63. package/dist/typeshed-fallback/stdlib/socketserver.pyi +3 -2
  64. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +2 -0
  65. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +5 -2
  66. package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +3 -0
  67. package/dist/typeshed-fallback/stdlib/tarfile.pyi +16 -1
  68. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +4 -2
  69. package/dist/typeshed-fallback/stdlib/turtle.pyi +38 -1
  70. package/dist/typeshed-fallback/stdlib/types.pyi +12 -1
  71. package/dist/typeshed-fallback/stdlib/typing.pyi +7 -3
  72. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +28 -1
  73. package/dist/typeshed-fallback/stdlib/winsound.pyi +10 -0
  74. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +18 -1
  75. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +21 -4
  76. package/dist/typeshed-fallback/stdlib/zipimport.pyi +12 -2
  77. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +8 -2
  78. package/dist/typeshed-fallback/stubs/Flask-Cors/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/core.pyi +3 -3
  80. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +2 -2
  81. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/threadpool/__init__.pyi +6 -5
  82. package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
  83. package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
  84. package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +4 -0
  85. package/dist/typeshed-fallback/stubs/braintree/braintree/customer_session_gateway.pyi +1 -1
  86. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/__init__.pyi +4 -0
  87. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/__init__.pyi +3 -0
  88. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/create_customer_session_input.pyi +11 -7
  89. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_recommendations_input.pyi +13 -8
  90. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/customer_session_input.pyi +14 -9
  91. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/monetary_amount_input.pyi +6 -0
  92. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_payee_input.pyi +14 -0
  93. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/paypal_purchase_unit_input.pyi +16 -0
  94. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/phone_input.pyi +9 -6
  95. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/inputs/update_customer_session_input.pyi +13 -6
  96. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/__init__.pyi +1 -0
  97. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/customer_recommendations_payload.pyi +9 -4
  98. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_options.pyi +2 -4
  99. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/types/payment_recommendation.pyi +6 -0
  100. package/dist/typeshed-fallback/stubs/braintree/braintree/graphql/unions/customer_recommendations.pyi +4 -4
  101. package/dist/typeshed-fallback/stubs/braintree/braintree/{montary_amount.pyi → monetary_amount.pyi} +1 -1
  102. package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +4 -0
  103. package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +4 -0
  104. package/dist/typeshed-fallback/stubs/braintree/braintree/util/__init__.pyi +1 -0
  105. package/dist/typeshed-fallback/stubs/braintree/braintree/util/experimental.pyi +5 -0
  106. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  107. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +13 -4
  108. package/dist/typeshed-fallback/stubs/cachetools/cachetools/func.pyi +1 -4
  109. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +2 -2
  110. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  111. package/dist/typeshed-fallback/stubs/dateparser/dateparser/calendars/__init__.pyi +3 -1
  112. package/dist/typeshed-fallback/stubs/dateparser/dateparser/parser.pyi +1 -1
  113. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +12 -12
  114. package/dist/typeshed-fallback/stubs/docutils/docutils/__init__.pyi +1 -1
  115. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +9 -1
  116. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +11 -3
  117. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/af.pyi +6 -0
  118. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ar.pyi +6 -0
  119. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ca.pyi +6 -0
  120. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/cs.pyi +6 -0
  121. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/da.pyi +6 -0
  122. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/de.pyi +6 -0
  123. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/en.pyi +6 -0
  124. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/eo.pyi +6 -0
  125. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/es.pyi +6 -0
  126. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fa.pyi +6 -0
  127. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fi.pyi +6 -0
  128. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/fr.pyi +6 -0
  129. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/gl.pyi +6 -0
  130. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/he.pyi +6 -0
  131. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/it.pyi +6 -0
  132. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ja.pyi +6 -0
  133. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ka.pyi +6 -0
  134. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ko.pyi +6 -0
  135. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lt.pyi +6 -0
  136. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/lv.pyi +6 -0
  137. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/nl.pyi +6 -0
  138. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pl.pyi +6 -0
  139. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/pt_br.pyi +6 -0
  140. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/ru.pyi +6 -0
  141. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sk.pyi +6 -0
  142. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/sv.pyi +6 -0
  143. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/uk.pyi +6 -0
  144. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_cn.pyi +6 -0
  145. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/zh_tw.pyi +6 -0
  146. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +206 -3
  147. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +8 -6
  148. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +1 -0
  149. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +50 -1
  150. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/__init__.pyi +9 -5
  151. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +5 -3
  152. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/admonitions.pyi +33 -10
  153. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +64 -1
  154. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/html.pyi +5 -1
  155. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/images.pyi +18 -1
  156. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +8 -7
  157. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/parts.pyi +4 -0
  158. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/references.pyi +4 -0
  159. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +62 -1
  160. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/__init__.pyi +20 -0
  161. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/af.pyi +5 -0
  162. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ar.pyi +5 -0
  163. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ca.pyi +5 -0
  164. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/cs.pyi +5 -0
  165. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/da.pyi +5 -0
  166. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/de.pyi +5 -0
  167. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/en.pyi +5 -0
  168. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/eo.pyi +5 -0
  169. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/es.pyi +5 -0
  170. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fa.pyi +5 -0
  171. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fi.pyi +5 -0
  172. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/fr.pyi +5 -0
  173. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/gl.pyi +5 -0
  174. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/he.pyi +5 -0
  175. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/it.pyi +5 -0
  176. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ja.pyi +5 -0
  177. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ka.pyi +5 -0
  178. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ko.pyi +5 -0
  179. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lt.pyi +5 -0
  180. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/lv.pyi +5 -0
  181. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/nl.pyi +5 -0
  182. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pl.pyi +5 -0
  183. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/pt_br.pyi +5 -0
  184. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/ru.pyi +5 -0
  185. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sk.pyi +5 -0
  186. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/sv.pyi +5 -0
  187. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/uk.pyi +5 -0
  188. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_cn.pyi +5 -0
  189. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/languages/zh_tw.pyi +5 -0
  190. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +3 -2
  191. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +257 -8
  192. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +3 -2
  193. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +9 -8
  194. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +28 -0
  195. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +41 -0
  196. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +11 -0
  197. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/latex2mathml.pyi +44 -0
  198. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +635 -0
  199. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathalphabet2unichar.pyi +13 -0
  200. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +82 -0
  201. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +8 -0
  202. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2unichar.pyi +14 -0
  203. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/unichar2tex.pyi +1 -0
  204. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/punctuation_chars.pyi +9 -0
  205. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +10 -1
  206. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/smartquotes.pyi +44 -0
  207. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/urischemes.pyi +1 -0
  208. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +18 -0
  209. package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +1 -1
  211. package/dist/typeshed-fallback/stubs/grpcio/grpc/__init__.pyi +32 -53
  212. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +18 -21
  213. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
  214. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -0
  215. package/dist/typeshed-fallback/stubs/jmespath/jmespath/__init__.pyi +3 -1
  216. package/dist/typeshed-fallback/stubs/jmespath/jmespath/ast.pyi +55 -22
  217. package/dist/typeshed-fallback/stubs/jmespath/jmespath/compat.pyi +7 -4
  218. package/dist/typeshed-fallback/stubs/jmespath/jmespath/functions.pyi +1 -1
  219. package/dist/typeshed-fallback/stubs/jmespath/jmespath/visitor.pyi +14 -11
  220. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_utils.pyi +2 -1
  222. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +26 -12
  223. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  224. package/dist/typeshed-fallback/stubs/networkx/networkx/__init__.pyi +4 -0
  225. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
  226. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/__init__.pyi +1 -0
  227. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/density.pyi +15 -0
  228. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +11 -2
  229. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -0
  230. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +4 -0
  231. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
  232. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +7 -1
  233. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/link_analysis.pyi +20 -0
  234. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +12 -0
  235. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +8 -0
  236. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +5 -1
  237. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +2 -0
  238. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +3 -3
  239. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/leiden.pyi +18 -0
  240. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/local.pyi +15 -0
  241. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +9 -0
  242. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +9 -0
  243. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +28 -1
  244. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +3 -0
  245. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +1 -5
  247. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +14 -9
  248. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +6 -2
  249. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +17 -13
  250. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/matchhelpers.pyi +3 -0
  251. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -0
  252. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +11 -2
  253. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planar_drawing.pyi +10 -0
  254. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +5 -0
  255. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +3 -1
  256. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +4 -0
  257. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +28 -0
  258. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +11 -1
  259. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +4 -0
  260. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +4 -0
  261. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +6 -0
  262. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +11 -2
  263. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +6 -6
  264. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +1 -0
  265. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +30 -4
  266. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +46 -16
  267. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +53 -15
  268. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/atlas.pyi +11 -0
  269. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/directed.pyi +2 -0
  270. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/internet_as_graphs.pyi +4 -0
  271. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/nonisomorphic_trees.pyi +1 -1
  272. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/triads.pyi +4 -0
  273. package/dist/typeshed-fallback/stubs/networkx/networkx/linalg/laplacianmatrix.pyi +0 -3
  274. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gml.pyi +8 -1
  275. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graph6.pyi +7 -0
  276. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/pajek.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/__init__.pyi +4 -19
  278. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/backends.pyi +3 -2
  279. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/rcm.pyi +4 -0
  280. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/colors.pyi +2 -4
  281. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/argon2.pyi +8 -7
  282. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/bcrypt.pyi +4 -3
  283. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/cisco.pyi +2 -1
  284. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/des_crypt.pyi +6 -5
  285. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/digests.pyi +11 -7
  286. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/django.pyi +5 -4
  287. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/fshp.pyi +3 -2
  288. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/ldap_digests.pyi +3 -2
  289. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/md5_crypt.pyi +2 -1
  290. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/misc.pyi +4 -1
  291. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/mssql.pyi +3 -2
  292. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/oracle.pyi +2 -1
  293. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/pbkdf2.pyi +4 -4
  294. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scram.pyi +2 -1
  295. package/dist/typeshed-fallback/stubs/passlib/passlib/handlers/scrypt.pyi +2 -1
  296. package/dist/typeshed-fallback/stubs/passlib/passlib/utils/handlers.pyi +1 -1
  297. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +8 -29
  298. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +1 -0
  299. package/dist/typeshed-fallback/stubs/python-jose/METADATA.toml +1 -1
  300. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/__init__.pyi +1 -4
  301. package/dist/typeshed-fallback/stubs/python-jose/jose/backends/cryptography_backend.pyi +1 -2
  302. package/dist/typeshed-fallback/stubs/python-jose/jose/jws.pyi +2 -2
  303. package/dist/typeshed-fallback/stubs/python-jose/jose/jwt.pyi +4 -1
  304. package/dist/typeshed-fallback/stubs/python-xlib/Xlib/protocol/display.pyi +2 -2
  305. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +4 -4
  306. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +1 -1
  307. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +13 -9
  308. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  309. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +1 -1
  310. package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +6 -6
  311. package/package.json +1 -1
  312. package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +0 -10
  313. package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +0 -9
  314. package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +0 -14
  315. package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +0 -36
  316. package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +0 -7
  317. package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +0 -18
  318. package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +0 -27
  319. package/dist/typeshed-fallback/stubs/caldav/METADATA.toml +0 -9
  320. package/dist/typeshed-fallback/stubs/caldav/caldav/__init__.pyi +0 -4
  321. package/dist/typeshed-fallback/stubs/caldav/caldav/davclient.pyi +0 -84
  322. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/__init__.pyi +0 -0
  323. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/base.pyi +0 -24
  324. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/cdav.pyi +0 -100
  325. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/dav.pyi +0 -63
  326. package/dist/typeshed-fallback/stubs/caldav/caldav/elements/ical.pyi +0 -9
  327. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/__init__.pyi +0 -0
  328. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/error.pyi +0 -23
  329. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/namespace.pyi +0 -4
  330. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/url.pyi +0 -27
  331. package/dist/typeshed-fallback/stubs/caldav/caldav/lib/vcal.pyi +0 -1
  332. package/dist/typeshed-fallback/stubs/caldav/caldav/objects.pyi +0 -263
  333. package/dist/typeshed-fallback/stubs/caldav/caldav/requests.pyi +0 -8
  334. package/dist/typeshed-fallback/stubs/corus/METADATA.toml +0 -6
  335. package/dist/typeshed-fallback/stubs/corus/corus/__init__.pyi +0 -1
  336. package/dist/typeshed-fallback/stubs/corus/corus/io.pyi +0 -21
  337. package/dist/typeshed-fallback/stubs/corus/corus/path.pyi +0 -0
  338. package/dist/typeshed-fallback/stubs/corus/corus/readme.pyi +0 -17
  339. package/dist/typeshed-fallback/stubs/corus/corus/record.pyi +0 -8
  340. package/dist/typeshed-fallback/stubs/corus/corus/sources/__init__.pyi +0 -23
  341. package/dist/typeshed-fallback/stubs/corus/corus/sources/bsnlp.pyi +0 -75
  342. package/dist/typeshed-fallback/stubs/corus/corus/sources/buriy.pyi +0 -18
  343. package/dist/typeshed-fallback/stubs/corus/corus/sources/corpora.pyi +0 -50
  344. package/dist/typeshed-fallback/stubs/corus/corus/sources/factru.pyi +0 -74
  345. package/dist/typeshed-fallback/stubs/corus/corus/sources/gareev.pyi +0 -21
  346. package/dist/typeshed-fallback/stubs/corus/corus/sources/gramru.pyi +0 -1
  347. package/dist/typeshed-fallback/stubs/corus/corus/sources/lenta.pyi +0 -19
  348. package/dist/typeshed-fallback/stubs/corus/corus/sources/librusec.pyi +0 -14
  349. package/dist/typeshed-fallback/stubs/corus/corus/sources/meta.pyi +0 -43
  350. package/dist/typeshed-fallback/stubs/corus/corus/sources/mokoron.pyi +0 -28
  351. package/dist/typeshed-fallback/stubs/corus/corus/sources/morphoru.pyi +0 -24
  352. package/dist/typeshed-fallback/stubs/corus/corus/sources/ne5.pyi +0 -28
  353. package/dist/typeshed-fallback/stubs/corus/corus/sources/ods.pyi +0 -46
  354. package/dist/typeshed-fallback/stubs/corus/corus/sources/omnia.pyi +0 -49
  355. package/dist/typeshed-fallback/stubs/corus/corus/sources/persons.pyi +0 -27
  356. package/dist/typeshed-fallback/stubs/corus/corus/sources/ria.pyi +0 -21
  357. package/dist/typeshed-fallback/stubs/corus/corus/sources/rudrec.pyi +0 -27
  358. package/dist/typeshed-fallback/stubs/corus/corus/sources/russe.pyi +0 -16
  359. package/dist/typeshed-fallback/stubs/corus/corus/sources/simlex.pyi +0 -14
  360. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/__init__.pyi +0 -10
  361. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/arzamas.pyi +0 -4
  362. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/common.pyi +0 -69
  363. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/fontanka.pyi +0 -4
  364. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/interfax.pyi +0 -4
  365. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/kp.pyi +0 -4
  366. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/lenta.pyi +0 -4
  367. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/magazines.pyi +0 -4
  368. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/nplus1.pyi +0 -4
  369. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/proza.pyi +0 -6
  370. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/social.pyi +0 -15
  371. package/dist/typeshed-fallback/stubs/corus/corus/sources/taiga/subtitles.pyi +0 -6
  372. package/dist/typeshed-fallback/stubs/corus/corus/sources/toloka.pyi +0 -28
  373. package/dist/typeshed-fallback/stubs/corus/corus/sources/ud.pyi +0 -29
  374. package/dist/typeshed-fallback/stubs/corus/corus/sources/wiki.pyi +0 -20
  375. package/dist/typeshed-fallback/stubs/corus/corus/sources/wikiner.pyi +0 -19
  376. package/dist/typeshed-fallback/stubs/corus/corus/third/WikiExtractor.pyi +0 -225
  377. package/dist/typeshed-fallback/stubs/corus/corus/third/__init__.pyi +0 -0
  378. package/dist/typeshed-fallback/stubs/corus/corus/zip.pyi +0 -28
  379. package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +0 -9
  380. package/dist/typeshed-fallback/stubs/pygit2/pygit2/__init__.pyi +0 -60
  381. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_build.pyi +0 -5
  382. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_libgit2.pyi +0 -4
  383. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_pygit2.pyi +0 -763
  384. package/dist/typeshed-fallback/stubs/pygit2/pygit2/_run.pyi +0 -15
  385. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blame.pyi +0 -34
  386. package/dist/typeshed-fallback/stubs/pygit2/pygit2/blob.pyi +0 -25
  387. package/dist/typeshed-fallback/stubs/pygit2/pygit2/branches.pyi +0 -17
  388. package/dist/typeshed-fallback/stubs/pygit2/pygit2/callbacks.pyi +0 -78
  389. package/dist/typeshed-fallback/stubs/pygit2/pygit2/config.pyi +0 -59
  390. package/dist/typeshed-fallback/stubs/pygit2/pygit2/credentials.pyi +0 -34
  391. package/dist/typeshed-fallback/stubs/pygit2/pygit2/enums.pyi +0 -394
  392. package/dist/typeshed-fallback/stubs/pygit2/pygit2/errors.pyi +0 -6
  393. package/dist/typeshed-fallback/stubs/pygit2/pygit2/ffi.pyi +0 -1
  394. package/dist/typeshed-fallback/stubs/pygit2/pygit2/filter.pyi +0 -11
  395. package/dist/typeshed-fallback/stubs/pygit2/pygit2/index.pyi +0 -59
  396. package/dist/typeshed-fallback/stubs/pygit2/pygit2/legacyenums.pyi +0 -62
  397. package/dist/typeshed-fallback/stubs/pygit2/pygit2/packbuilder.pyi +0 -15
  398. package/dist/typeshed-fallback/stubs/pygit2/pygit2/references.pyi +0 -18
  399. package/dist/typeshed-fallback/stubs/pygit2/pygit2/refspec.pyi +0 -18
  400. package/dist/typeshed-fallback/stubs/pygit2/pygit2/remotes.pyi +0 -84
  401. package/dist/typeshed-fallback/stubs/pygit2/pygit2/repository.pyi +0 -211
  402. package/dist/typeshed-fallback/stubs/pygit2/pygit2/settings.pyi +0 -37
  403. package/dist/typeshed-fallback/stubs/pygit2/pygit2/submodules.pyi +0 -44
  404. package/dist/typeshed-fallback/stubs/pygit2/pygit2/utils.pyi +0 -49
  405. package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +0 -9
  406. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/__init__.pyi +0 -7
  407. package/dist/typeshed-fallback/stubs/tree-sitter-languages/tree_sitter_languages/core.pyi +0 -4
@@ -0,0 +1,635 @@
1
+ from _typeshed import Incomplete
2
+ from collections.abc import Generator
3
+ from typing import ClassVar, Final, TextIO, TypeVar
4
+
5
+ _T = TypeVar("_T")
6
+
7
+ __version__: Final[str]
8
+
9
+ class Trace:
10
+ debugmode: ClassVar[bool]
11
+ quietmode: ClassVar[bool]
12
+ showlinesmode: ClassVar[bool]
13
+ prefix: ClassVar[str | None]
14
+ @classmethod
15
+ def debug(cls, message: str) -> None: ...
16
+ @classmethod
17
+ def message(cls, message: str) -> None: ...
18
+ @classmethod
19
+ def error(cls, message: str) -> None: ...
20
+ @classmethod
21
+ def show(cls, message: str, channel: TextIO) -> None: ...
22
+
23
+ class ContainerConfig:
24
+ extracttext: ClassVar[dict[str, list[str]]]
25
+
26
+ class EscapeConfig:
27
+ chars: ClassVar[dict[str, str]]
28
+ entities: ClassVar[dict[str, str]]
29
+
30
+ class FormulaConfig:
31
+ alphacommands: ClassVar[dict[str, str]]
32
+ array: ClassVar[dict[str, str]]
33
+ bigbrackets: ClassVar[dict[str, list[str]]]
34
+ bracketcommands: ClassVar[dict[str, str]]
35
+ combiningfunctions: ClassVar[dict[str, str]]
36
+ commands: ClassVar[dict[str, str]]
37
+ cmddict: ClassVar[dict[str, str]]
38
+ oversetfunctions: ClassVar[dict[str, str]]
39
+ undersetfunctions: ClassVar[dict[str, str]]
40
+ endings: ClassVar[dict[str, str]]
41
+ environments: ClassVar[dict[str, list[str]]]
42
+ fontfunctions: ClassVar[dict[str, str]]
43
+ hybridfunctions: ClassVar[dict[str, list[str]]]
44
+ hybridsizes: ClassVar[dict[str, str]]
45
+ labelfunctions: ClassVar[dict[str, str]]
46
+ limitcommands: ClassVar[dict[str, str]]
47
+ modified: ClassVar[dict[str, str]]
48
+ onefunctions: ClassVar[dict[str, str]]
49
+ spacedcommands: ClassVar[dict[str, str]]
50
+ starts: ClassVar[dict[str, str]]
51
+ symbolfunctions: ClassVar[dict[str, str]]
52
+ textfunctions: ClassVar[dict[str, str]]
53
+ unmodified: ClassVar[dict[str, list[str]]]
54
+
55
+ class CommandLineParser:
56
+ options: Incomplete
57
+ def __init__(self, options) -> None: ...
58
+ def parseoptions(self, args): ...
59
+ def readoption(self, args): ...
60
+ def readquoted(self, args, initial): ...
61
+ def readequalskey(self, arg, args): ...
62
+
63
+ class Options:
64
+ location: Incomplete
65
+ debug: bool
66
+ quiet: bool
67
+ version: bool
68
+ help: bool
69
+ simplemath: bool
70
+ showlines: bool
71
+ branches: Incomplete
72
+ def parseoptions(self, args) -> None: ...
73
+ def processoptions(self) -> None: ...
74
+ def usage(self) -> None: ...
75
+ def showoptions(self) -> None: ...
76
+ def showversion(self) -> None: ...
77
+
78
+ class Cloner:
79
+ @classmethod
80
+ def clone(cls, original: _T) -> _T: ...
81
+ @classmethod
82
+ def create(cls, type: type[_T]) -> _T: ...
83
+
84
+ class ContainerExtractor:
85
+ allowed: Incomplete
86
+ extracted: Incomplete
87
+ def __init__(self, config) -> None: ...
88
+ def extract(self, container): ...
89
+ def process(self, container, list) -> None: ...
90
+ def safeclone(self, container): ...
91
+
92
+ class Parser:
93
+ begin: int
94
+ parameters: Incomplete
95
+ def __init__(self) -> None: ...
96
+ def parseheader(self, reader): ...
97
+ def parseparameter(self, reader) -> None: ...
98
+ def parseending(self, reader, process) -> None: ...
99
+ def parsecontainer(self, reader, contents) -> None: ...
100
+
101
+ class LoneCommand(Parser):
102
+ def parse(self, reader): ...
103
+
104
+ class TextParser(Parser):
105
+ stack: Incomplete
106
+ ending: Incomplete
107
+ endings: Incomplete
108
+ def __init__(self, container) -> None: ...
109
+ def parse(self, reader): ...
110
+ def isending(self, reader): ...
111
+
112
+ class ExcludingParser(Parser):
113
+ def parse(self, reader): ...
114
+
115
+ class BoundedParser(ExcludingParser):
116
+ def parse(self, reader): ...
117
+
118
+ class BoundedDummy(Parser):
119
+ def parse(self, reader): ...
120
+
121
+ class StringParser(Parser):
122
+ begin: Incomplete
123
+ def parseheader(self, reader): ...
124
+ def parse(self, reader): ...
125
+
126
+ class ContainerOutput:
127
+ def gethtml(self, container) -> None: ...
128
+ def isempty(self): ...
129
+
130
+ class EmptyOutput(ContainerOutput):
131
+ def gethtml(self, container): ...
132
+ def isempty(self): ...
133
+
134
+ class FixedOutput(ContainerOutput):
135
+ def gethtml(self, container): ...
136
+
137
+ class ContentsOutput(ContainerOutput):
138
+ def gethtml(self, container): ...
139
+
140
+ class TaggedOutput(ContentsOutput):
141
+ tag: Incomplete
142
+ breaklines: bool
143
+ empty: bool
144
+ def settag(self, tag, breaklines: bool = False, empty: bool = False): ...
145
+ def setbreaklines(self, breaklines): ...
146
+ def gethtml(self, container): ...
147
+ def open(self, container): ...
148
+ def close(self, container): ...
149
+ def selfclosing(self, container): ...
150
+ def checktag(self, container): ...
151
+
152
+ class FilteredOutput(ContentsOutput):
153
+ filters: Incomplete
154
+ def __init__(self) -> None: ...
155
+ def addfilter(self, original, replacement) -> None: ...
156
+ def gethtml(self, container): ...
157
+ def filter(self, line): ...
158
+
159
+ class StringOutput(ContainerOutput):
160
+ def gethtml(self, container): ...
161
+
162
+ class Globable:
163
+ leavepending: bool
164
+ endinglist: Incomplete
165
+ def __init__(self) -> None: ...
166
+ def checkbytemark(self) -> None: ...
167
+ def isout(self): ...
168
+ def current(self): ...
169
+ def checkfor(self, string): ...
170
+ def finished(self): ...
171
+ def skipcurrent(self): ...
172
+ def glob(self, currentcheck): ...
173
+ def globalpha(self): ...
174
+ def globnumber(self): ...
175
+ def isidentifier(self): ...
176
+ def globidentifier(self): ...
177
+ def isvalue(self): ...
178
+ def globvalue(self): ...
179
+ def skipspace(self): ...
180
+ def globincluding(self, magicchar): ...
181
+ def globexcluding(self, excluded): ...
182
+ def pushending(self, ending, optional: bool = False) -> None: ...
183
+ def popending(self, expected=None): ...
184
+ def nextending(self): ...
185
+
186
+ class EndingList:
187
+ endings: Incomplete
188
+ def __init__(self) -> None: ...
189
+ def add(self, ending, optional: bool = False) -> None: ...
190
+ def pickpending(self, pos) -> None: ...
191
+ def checkin(self, pos): ...
192
+ def pop(self, pos): ...
193
+ def findending(self, pos): ...
194
+ def checkpending(self) -> None: ...
195
+
196
+ class PositionEnding:
197
+ ending: Incomplete
198
+ optional: Incomplete
199
+ def __init__(self, ending, optional) -> None: ...
200
+ def checkin(self, pos): ...
201
+
202
+ class Position(Globable):
203
+ def __init__(self) -> None: ...
204
+ def skip(self, string) -> None: ...
205
+ def identifier(self): ...
206
+ def extract(self, length) -> None: ...
207
+ def checkfor(self, string): ...
208
+ def checkforlower(self, string): ...
209
+ def skipcurrent(self): ...
210
+ def __next__(self): ...
211
+ def checkskip(self, string): ...
212
+ def error(self, message) -> None: ...
213
+
214
+ class TextPosition(Position):
215
+ pos: int
216
+ text: Incomplete
217
+ def __init__(self, text) -> None: ...
218
+ def skip(self, string) -> None: ...
219
+ def identifier(self): ...
220
+ def isout(self): ...
221
+ def current(self): ...
222
+ def extract(self, length): ...
223
+
224
+ class Container:
225
+ partkey: Incomplete
226
+ parent: Incomplete
227
+ begin: Incomplete
228
+ contents: Incomplete
229
+ def __init__(self) -> None: ...
230
+ def process(self) -> None: ...
231
+ def gethtml(self): ...
232
+ def escape(self, line, replacements={"&": "&amp;", "<": "&lt;", ">": "&gt;"}): ...
233
+ def escapeentities(self, line): ...
234
+ def searchall(self, type): ...
235
+ def searchremove(self, type): ...
236
+ def searchprocess(self, type, process): ...
237
+ def locateprocess(self, locate, process) -> None: ...
238
+ def recursivesearch(self, locate, recursive, process) -> None: ...
239
+ def extracttext(self): ...
240
+ def group(self, index, group, isingroup) -> None: ...
241
+ def remove(self, index) -> None: ...
242
+ def tree(self, level: int = 0) -> None: ...
243
+ def getparameter(self, name): ...
244
+ def getparameterlist(self, name): ...
245
+ def hasemptyoutput(self): ...
246
+
247
+ class BlackBox(Container):
248
+ parser: Incomplete
249
+ output: Incomplete
250
+ contents: Incomplete
251
+ def __init__(self) -> None: ...
252
+
253
+ class StringContainer(Container):
254
+ parsed: Incomplete
255
+ parser: Incomplete
256
+ output: Incomplete
257
+ string: str
258
+ def __init__(self) -> None: ...
259
+ def process(self) -> None: ...
260
+ def replacespecial(self, line): ...
261
+ def changeline(self, line): ...
262
+ def extracttext(self): ...
263
+
264
+ class Constant(StringContainer):
265
+ contents: Incomplete
266
+ string: Incomplete
267
+ output: Incomplete
268
+ def __init__(self, text) -> None: ...
269
+
270
+ class DocumentParameters:
271
+ displaymode: bool
272
+
273
+ class FormulaParser(Parser):
274
+ begin: Incomplete
275
+ def parseheader(self, reader): ...
276
+ def parsetype(self, reader): ...
277
+ def parse(self, reader): ...
278
+ def parseformula(self, reader): ...
279
+ def parsesingleliner(self, reader, start, ending): ...
280
+ def parsemultiliner(self, reader, start, ending): ...
281
+
282
+ class FormulaBit(Container):
283
+ type: str | None
284
+ size: int
285
+ original: str
286
+ contents: Incomplete
287
+ output: Incomplete
288
+ def __init__(self) -> None: ...
289
+ factory: Incomplete
290
+ def setfactory(self, factory): ...
291
+ def add(self, bit) -> None: ...
292
+ def skiporiginal(self, string, pos) -> None: ...
293
+ def computesize(self): ...
294
+ def clone(self): ...
295
+
296
+ class TaggedBit(FormulaBit):
297
+ output: Incomplete
298
+ def constant(self, constant, tag): ...
299
+ contents: Incomplete
300
+ def complete(self, contents, tag, breaklines: bool = False): ...
301
+ def selfcomplete(self, tag): ...
302
+
303
+ class FormulaConstant(Constant):
304
+ original: Incomplete
305
+ size: int
306
+ type: str | None
307
+ def __init__(self, string) -> None: ...
308
+ def computesize(self): ...
309
+ def clone(self): ...
310
+
311
+ class RawText(FormulaBit):
312
+ def detect(self, pos): ...
313
+ def parsebit(self, pos) -> None: ...
314
+
315
+ class FormulaSymbol(FormulaBit):
316
+ modified: Incomplete
317
+ unmodified: Incomplete
318
+ def detect(self, pos): ...
319
+ def parsebit(self, pos) -> None: ...
320
+ def addsymbol(self, symbol, pos) -> None: ...
321
+
322
+ class FormulaNumber(FormulaBit):
323
+ def detect(self, pos): ...
324
+ def parsebit(self, pos): ...
325
+
326
+ class Comment(FormulaBit):
327
+ start: Incomplete
328
+ def detect(self, pos): ...
329
+ def parsebit(self, pos) -> None: ...
330
+
331
+ class WhiteSpace(FormulaBit):
332
+ def detect(self, pos): ...
333
+ def parsebit(self, pos) -> None: ...
334
+
335
+ class Bracket(FormulaBit):
336
+ start: Incomplete
337
+ ending: Incomplete
338
+ inner: Incomplete
339
+ def __init__(self) -> None: ...
340
+ def detect(self, pos): ...
341
+ def parsebit(self, pos): ...
342
+ def parsetext(self, pos): ...
343
+ def parseliteral(self, pos): ...
344
+ def parsecomplete(self, pos, innerparser) -> None: ...
345
+ def innerformula(self, pos) -> None: ...
346
+ def innertext(self, pos) -> None: ...
347
+ literal: str
348
+ def innerliteral(self, pos) -> None: ...
349
+
350
+ class SquareBracket(Bracket):
351
+ start: Incomplete
352
+ ending: Incomplete
353
+ def clone(self): ...
354
+
355
+ class MathsProcessor:
356
+ def process(self, contents, index) -> None: ...
357
+
358
+ class FormulaProcessor:
359
+ processors: Incomplete
360
+ def process(self, bit) -> None: ...
361
+ def processcontents(self, bit) -> None: ...
362
+ def processinsides(self, bit) -> None: ...
363
+ def traversewhole(self, formula) -> None: ...
364
+ def traverse(self, bit) -> Generator[Incomplete, Incomplete]: ...
365
+ def italicize(self, bit, contents) -> None: ...
366
+
367
+ class Formula(Container):
368
+ parser: Incomplete
369
+ output: Incomplete
370
+ def __init__(self) -> None: ...
371
+ def process(self) -> None: ...
372
+ contents: Incomplete
373
+ def classic(self) -> None: ...
374
+ def parse(self, pos): ...
375
+ header: Incomplete
376
+ def parsedollarinline(self, pos) -> None: ...
377
+ def parsedollarblock(self, pos) -> None: ...
378
+ parsed: Incomplete
379
+ def parsedollar(self, pos) -> None: ...
380
+ def parseinlineto(self, pos, limit) -> None: ...
381
+ def parseblockto(self, pos, limit) -> None: ...
382
+ def parseupto(self, pos, limit): ...
383
+
384
+ class WholeFormula(FormulaBit):
385
+ def detect(self, pos): ...
386
+ def parsebit(self, pos) -> None: ...
387
+
388
+ class FormulaFactory:
389
+ types: Incomplete
390
+ skippedtypes: Incomplete
391
+ defining: bool
392
+ instances: Incomplete
393
+ def __init__(self) -> None: ...
394
+ def detecttype(self, type, pos): ...
395
+ def instance(self, type): ...
396
+ def create(self, type): ...
397
+ def clearskipped(self, pos) -> None: ...
398
+ def skipany(self, pos): ...
399
+ def parseany(self, pos): ...
400
+ def parsetype(self, type, pos): ...
401
+ def parseformula(self, formula): ...
402
+
403
+ class FormulaCommand(FormulaBit):
404
+ types: Incomplete
405
+ start: Incomplete
406
+ commandmap: ClassVar[dict[str, str] | dict[str, list[str]] | None]
407
+ def detect(self, pos): ...
408
+ output: Incomplete
409
+ def parsebit(self, pos): ...
410
+ def parsewithcommand(self, command, pos): ...
411
+ def parsecommandtype(self, command, type, pos): ...
412
+ def extractcommand(self, pos): ...
413
+ def emptycommand(self, pos): ...
414
+ def parseupgreek(self, command, pos): ...
415
+
416
+ class CommandBit(FormulaCommand):
417
+ command: Incomplete
418
+ translated: Incomplete
419
+ def setcommand(self, command) -> None: ...
420
+ def parseparameter(self, pos): ...
421
+ def parsesquare(self, pos): ...
422
+ def parseliteral(self, pos): ...
423
+ def parsesquareliteral(self, pos): ...
424
+ def parsetext(self, pos): ...
425
+
426
+ class EmptyCommand(CommandBit):
427
+ commandmap: ClassVar[dict[str, str]]
428
+ contents: Incomplete
429
+ def parsebit(self, pos) -> None: ...
430
+
431
+ class SpacedCommand(CommandBit):
432
+ commandmap: ClassVar[dict[str, str]]
433
+ contents: Incomplete
434
+ def parsebit(self, pos) -> None: ...
435
+
436
+ class AlphaCommand(EmptyCommand):
437
+ commandmap: ClassVar[dict[str, str]]
438
+ greek_capitals: Incomplete
439
+ def parsebit(self, pos) -> None: ...
440
+
441
+ class OneParamFunction(CommandBit):
442
+ commandmap: ClassVar[dict[str, str]]
443
+ simplified: bool
444
+ output: Incomplete
445
+ def parsebit(self, pos) -> None: ...
446
+ html: Incomplete
447
+ def simplifyifpossible(self) -> None: ...
448
+
449
+ class SymbolFunction(CommandBit):
450
+ commandmap: ClassVar[dict[str, str]]
451
+ def detect(self, pos): ...
452
+ output: Incomplete
453
+ def parsebit(self, pos) -> None: ...
454
+
455
+ class TextFunction(CommandBit):
456
+ commandmap: ClassVar[dict[str, str]]
457
+ output: Incomplete
458
+ def parsebit(self, pos) -> None: ...
459
+ def process(self) -> None: ...
460
+
461
+ class FontFunction(OneParamFunction):
462
+ commandmap: ClassVar[dict[str, str]]
463
+ def process(self) -> None: ...
464
+
465
+ class BigBracket:
466
+ size: Incomplete
467
+ original: Incomplete
468
+ alignment: Incomplete
469
+ pieces: Incomplete
470
+ def __init__(self, size, bracket, alignment: str = "l") -> None: ...
471
+ def getpiece(self, index): ...
472
+ def getpiece1(self, index): ...
473
+ def getpiece3(self, index): ...
474
+ def getpiece4(self, index): ...
475
+ def getcell(self, index): ...
476
+ def getcontents(self): ...
477
+ def getsinglebracket(self): ...
478
+
479
+ class FormulaEquation(CommandBit):
480
+ piece: str
481
+ output: Incomplete
482
+ def parsebit(self, pos) -> None: ...
483
+
484
+ class FormulaCell(FormulaCommand):
485
+ alignment: Incomplete
486
+ output: Incomplete
487
+ def setalignment(self, alignment): ...
488
+ def parsebit(self, pos) -> None: ...
489
+
490
+ class FormulaRow(FormulaCommand):
491
+ cellseparator: Incomplete
492
+ alignments: Incomplete
493
+ output: Incomplete
494
+ def setalignments(self, alignments): ...
495
+ def parsebit(self, pos) -> None: ...
496
+ def createcell(self, index): ...
497
+
498
+ class MultiRowFormula(CommandBit):
499
+ rows: Incomplete
500
+ size: Incomplete
501
+ def parserows(self, pos) -> None: ...
502
+ def iteraterows(self, pos) -> Generator[Incomplete]: ...
503
+ def addempty(self) -> None: ...
504
+ def addrow(self, row) -> None: ...
505
+
506
+ class FormulaArray(MultiRowFormula):
507
+ piece: str
508
+ output: Incomplete
509
+ def parsebit(self, pos) -> None: ...
510
+ valign: str
511
+ alignments: Incomplete
512
+ def parsealignments(self, pos) -> None: ...
513
+
514
+ class FormulaMatrix(MultiRowFormula):
515
+ piece: str
516
+ output: Incomplete
517
+ valign: str
518
+ alignments: Incomplete
519
+ def parsebit(self, pos) -> None: ...
520
+
521
+ class FormulaCases(MultiRowFormula):
522
+ piece: str
523
+ output: Incomplete
524
+ alignments: Incomplete
525
+ contents: Incomplete
526
+ def parsebit(self, pos) -> None: ...
527
+
528
+ class EquationEnvironment(MultiRowFormula):
529
+ output: Incomplete
530
+ alignments: Incomplete
531
+ def parsebit(self, pos) -> None: ...
532
+
533
+ class BeginCommand(CommandBit):
534
+ commandmap: ClassVar[dict[str, str]]
535
+ types: Incomplete
536
+ size: Incomplete
537
+ def parsebit(self, pos) -> None: ...
538
+ def findbit(self, piece): ...
539
+
540
+ class CombiningFunction(OneParamFunction):
541
+ commandmap: ClassVar[dict[str, str]]
542
+ def parsebit(self, pos) -> None: ...
543
+ def parsesingleparameter(self, pos): ...
544
+
545
+ class OversetFunction(OneParamFunction):
546
+ commandmap: ClassVar[dict[str, str]]
547
+ symbol: Incomplete
548
+ parameter: Incomplete
549
+ output: Incomplete
550
+ def parsebit(self, pos) -> None: ...
551
+
552
+ class UndersetFunction(OneParamFunction):
553
+ commandmap: ClassVar[dict[str, str]]
554
+ symbol: Incomplete
555
+ parameter: Incomplete
556
+ output: Incomplete
557
+ def parsebit(self, pos) -> None: ...
558
+
559
+ class LimitCommand(EmptyCommand):
560
+ commandmap: ClassVar[dict[str, str]]
561
+ output: Incomplete
562
+ def parsebit(self, pos) -> None: ...
563
+
564
+ class LimitPreviousCommand(LimitCommand):
565
+ commandmap: ClassVar[None] # type: ignore[assignment]
566
+ output: Incomplete
567
+ def parsebit(self, pos) -> None: ...
568
+
569
+ class LimitsProcessor(MathsProcessor):
570
+ def process(self, contents, index) -> None: ...
571
+ def checklimits(self, contents, index): ...
572
+ def limitsahead(self, contents, index) -> None: ...
573
+ def modifylimits(self, contents, index) -> None: ...
574
+ def getlimit(self, contents, index): ...
575
+ def modifyscripts(self, contents, index) -> None: ...
576
+ def checkscript(self, contents, index): ...
577
+ def checkcommand(self, contents, index, type): ...
578
+ def getscript(self, contents, index): ...
579
+
580
+ class BracketCommand(OneParamFunction):
581
+ commandmap: ClassVar[dict[str, str]]
582
+ def parsebit(self, pos) -> None: ...
583
+ original: Incomplete
584
+ command: Incomplete
585
+ contents: Incomplete
586
+ def create(self, direction, character): ...
587
+
588
+ class BracketProcessor(MathsProcessor):
589
+ def process(self, contents, index): ...
590
+ def processleft(self, contents, index) -> None: ...
591
+ def checkleft(self, contents, index): ...
592
+ def checkright(self, contents, index): ...
593
+ def checkdirection(self, bit, command): ...
594
+ def findright(self, contents, index): ...
595
+ def findmax(self, contents, leftindex, rightindex): ...
596
+ def resize(self, command, size) -> None: ...
597
+
598
+ class ParameterDefinition:
599
+ parambrackets: ClassVar[list[tuple[str, str]]]
600
+ name: str
601
+ literal: bool
602
+ optional: bool
603
+ value: Incomplete
604
+ literalvalue: Incomplete
605
+ def __init__(self) -> None: ...
606
+ def parse(self, pos): ...
607
+ def read(self, pos, function) -> None: ...
608
+
609
+ class ParameterFunction(CommandBit):
610
+ params: Incomplete
611
+ def readparams(self, readtemplate, pos) -> None: ...
612
+ def paramdefs(self, readtemplate) -> Generator[Incomplete]: ...
613
+ def getparam(self, name): ...
614
+ def getvalue(self, name): ...
615
+ def getliteralvalue(self, name): ...
616
+
617
+ class HybridFunction(ParameterFunction):
618
+ commandmap: ClassVar[dict[str, list[str]]]
619
+ contents: Incomplete
620
+ def parsebit(self, pos) -> None: ...
621
+ def writeparams(self, writetemplate): ...
622
+ def writepos(self, pos): ...
623
+ def writeparam(self, pos): ...
624
+ def writefunction(self, pos): ...
625
+ def readtag(self, pos): ...
626
+ def writebracket(self, direction, character): ...
627
+ size: Incomplete
628
+ def computehybridsize(self) -> None: ...
629
+
630
+ class HybridSize:
631
+ configsizes: ClassVar[dict[str, str]]
632
+ def getsize(self, function): ...
633
+
634
+ def math2html(formula): ...
635
+ def main() -> None: ...
@@ -0,0 +1,13 @@
1
+ from typing import Final
2
+
3
+ mathbb: Final[dict[str, str]]
4
+ mathbf: Final[dict[str, str]]
5
+ mathbfit: Final[dict[str, str]]
6
+ mathcal: Final[dict[str, str]]
7
+ mathfrak: Final[dict[str, str]]
8
+ mathit: Final[dict[str, str]]
9
+ mathsf: Final[dict[str, str]]
10
+ mathsfbf: Final[dict[str, str]]
11
+ mathsfbfit: Final[dict[str, str]]
12
+ mathsfit: Final[dict[str, str]]
13
+ mathtt: Final[dict[str, str]]