basedpyright 1.12.4 → 1.12.5

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 (398) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_ast.pyi +3 -0
  7. package/dist/typeshed-fallback/stdlib/_json.pyi +1 -1
  8. package/dist/typeshed-fallback/stdlib/argparse.pyi +211 -53
  9. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +5 -5
  10. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +2 -2
  11. package/dist/typeshed-fallback/stdlib/base64.pyi +6 -0
  12. package/dist/typeshed-fallback/stdlib/builtins.pyi +22 -5
  13. package/dist/typeshed-fallback/stdlib/configparser.pyi +143 -52
  14. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +3 -5
  15. package/dist/typeshed-fallback/stdlib/datetime.pyi +32 -0
  16. package/dist/typeshed-fallback/stdlib/enum.pyi +10 -2
  17. package/dist/typeshed-fallback/stdlib/glob.pyi +9 -1
  18. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +4 -1
  19. package/dist/typeshed-fallback/stdlib/io.pyi +1 -1
  20. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -1
  21. package/dist/typeshed-fallback/stdlib/itertools.pyi +58 -0
  22. package/dist/typeshed-fallback/stdlib/json/encoder.pyi +2 -2
  23. package/dist/typeshed-fallback/stdlib/locale.pyi +6 -2
  24. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +1 -1
  25. package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +1 -1
  26. package/dist/typeshed-fallback/stdlib/math.pyi +1 -1
  27. package/dist/typeshed-fallback/stdlib/mimetypes.pyi +9 -0
  28. package/dist/typeshed-fallback/stdlib/mmap.pyi +2 -0
  29. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -0
  30. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +5 -1
  31. package/dist/typeshed-fallback/stdlib/pathlib.pyi +44 -11
  32. package/dist/typeshed-fallback/stdlib/pdb.pyi +3 -1
  33. package/dist/typeshed-fallback/stdlib/platform.pyi +25 -0
  34. package/dist/typeshed-fallback/stdlib/pydoc.pyi +79 -30
  35. package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -6
  36. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +5 -1
  37. package/dist/typeshed-fallback/stdlib/tarfile.pyi +37 -16
  38. package/dist/typeshed-fallback/stdlib/time.pyi +4 -1
  39. package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
  40. package/dist/typeshed-fallback/stdlib/traceback.pyi +54 -18
  41. package/dist/typeshed-fallback/stdlib/types.pyi +4 -0
  42. package/dist/typeshed-fallback/stdlib/typing.pyi +14 -2
  43. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +5 -3
  44. package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -1
  45. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/__init__.pyi +5 -0
  46. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +2 -0
  47. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/converters.pyi +4 -3
  48. package/dist/typeshed-fallback/stubs/docker/METADATA.toml +1 -1
  49. package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +1 -1
  50. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +17 -2
  51. package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +16 -2
  52. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +30 -4
  53. package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +1 -1
  54. package/dist/typeshed-fallback/stubs/greenlet/greenlet/__init__.pyi +4 -0
  55. package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
  56. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +7 -1
  57. package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/jwt.pyi +2 -1
  58. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +2 -0
  59. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +0 -1
  60. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/ldap.pyi +41 -0
  61. package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/transit.pyi +4 -2
  62. package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_base.pyi +4 -1
  63. package/dist/typeshed-fallback/stubs/hvac/hvac/constants/identity.pyi +2 -0
  64. package/dist/typeshed-fallback/stubs/hvac/hvac/exceptions.pyi +2 -0
  65. package/dist/typeshed-fallback/stubs/nanoid/METADATA.toml +2 -0
  66. package/dist/typeshed-fallback/stubs/nanoid/nanoid/__init__.pyi +4 -0
  67. package/dist/typeshed-fallback/stubs/nanoid/nanoid/algorithm.pyi +1 -0
  68. package/dist/typeshed-fallback/stubs/nanoid/nanoid/generate.pyi +3 -0
  69. package/dist/typeshed-fallback/stubs/nanoid/nanoid/method.pyi +6 -0
  70. package/dist/typeshed-fallback/stubs/nanoid/nanoid/non_secure_generate.pyi +3 -0
  71. package/dist/typeshed-fallback/stubs/nanoid/nanoid/resources.pyi +2 -0
  72. package/dist/typeshed-fallback/stubs/netaddr/METADATA.toml +1 -1
  73. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -2
  74. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +12 -9
  75. package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
  76. package/dist/typeshed-fallback/stubs/pep8-naming/METADATA.toml +1 -1
  77. package/dist/typeshed-fallback/stubs/pep8-naming/pep8ext_naming.pyi +0 -1
  78. package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
  79. package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +1 -1
  80. package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
  81. package/dist/typeshed-fallback/stubs/pyserial/serial/serialutil.pyi +1 -1
  82. package/dist/typeshed-fallback/stubs/python-crontab/METADATA.toml +1 -1
  83. package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +1 -0
  84. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +6 -0
  85. package/dist/typeshed-fallback/stubs/reportlab/reportlab/__init__.pyi +11 -0
  86. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/__init__.pyi +3 -0
  87. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/__init__.pyi +5 -0
  88. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code128.pyi +33 -0
  89. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code39.pyi +32 -0
  90. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code93.pyi +28 -0
  91. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/common.pyi +124 -0
  92. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +68 -0
  93. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +41 -0
  94. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/ecc200datamatrix.pyi +22 -0
  95. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/fourstate.pyi +0 -0
  96. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/lto.pyi +41 -0
  97. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qr.pyi +52 -0
  98. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qrencoder.pyi +202 -0
  99. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps.pyi +36 -0
  100. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps4s.pyi +85 -0
  101. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/widgets.pyi +65 -0
  102. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/__init__.pyi +3 -0
  103. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/areas.pyi +19 -0
  104. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/axes.pyi +205 -0
  105. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/barcharts.pyi +105 -0
  106. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/dotbox.pyi +24 -0
  107. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/doughnut.pyi +34 -0
  108. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/legends.pyi +101 -0
  109. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/linecharts.pyi +67 -0
  110. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/lineplots.pyi +119 -0
  111. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/markers.pyi +10 -0
  112. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/piecharts.pyi +182 -0
  113. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/slidebox.pyi +38 -0
  114. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/spider.pyi +60 -0
  115. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +60 -0
  116. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils.pyi +49 -0
  117. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils3d.pyi +26 -0
  118. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +39 -0
  119. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPM.pyi +127 -0
  120. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPS.pyi +73 -0
  121. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderSVG.pyi +131 -0
  122. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderbase.pyi +40 -0
  123. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/__init__.pyi +0 -0
  124. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/bubble.pyi +5 -0
  125. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_bar.pyi +5 -0
  126. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_column.pyi +5 -0
  127. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/excelcolors.pyi +33 -0
  128. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/exploded_pie.pyi +8 -0
  129. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/filled_radar.pyi +5 -0
  130. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/line_chart.pyi +5 -0
  131. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/linechart_with_markers.pyi +5 -0
  132. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/radar.pyi +5 -0
  133. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/runall.pyi +3 -0
  134. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter.pyi +5 -0
  135. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines.pyi +5 -0
  136. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines_markers.pyi +5 -0
  137. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/simple_pie.pyi +8 -0
  138. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_bar.pyi +5 -0
  139. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_column.pyi +5 -0
  140. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/shapes.pyi +371 -0
  141. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/svgpath.pyi +8 -0
  142. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/transform.pyi +12 -0
  143. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/utils.pyi +22 -0
  144. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +112 -0
  145. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/__init__.pyi +3 -0
  146. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/adjustableArrow.pyi +11 -0
  147. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/eventcal.pyi +29 -0
  148. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/flags.pyi +32 -0
  149. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/grids.pyi +76 -0
  150. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/markers.pyi +21 -0
  151. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/signsandsymbols.pyi +164 -0
  152. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/table.pyi +32 -0
  153. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/PyFontify.pyi +21 -0
  154. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/__init__.pyi +4 -0
  155. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/abag.pyi +11 -0
  156. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/arciv.pyi +7 -0
  157. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/attrmap.pyi +40 -0
  158. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/boxstuff.pyi +6 -0
  159. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/codecharts.pyi +80 -0
  160. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/colors.pyi +318 -0
  161. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/corp.pyi +79 -0
  162. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/enums.pyi +7 -0
  163. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/extformat.pyi +6 -0
  164. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fontfinder.pyi +59 -0
  165. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fonts.pyi +10 -0
  166. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/formatters.pyi +24 -0
  167. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/geomutils.pyi +5 -0
  168. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/logger.pyi +24 -0
  169. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/normalDate.pyi +82 -0
  170. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pagesizes.pyi +51 -0
  171. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pdfencrypt.pyi +133 -0
  172. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pygments2xpre.pyi +1 -0
  173. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/randomtext.pyi +19 -0
  174. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_accel.pyi +11 -0
  175. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_safe_eval.pyi +253 -0
  176. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rltempfile.pyi +2 -0
  177. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rparsexml.pyi +32 -0
  178. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/sequencer.pyi +31 -0
  179. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/styles.pyi +181 -0
  180. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +67 -0
  181. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/textsplit.pyi +19 -0
  182. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/units.pyi +9 -0
  183. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/utils.pyi +190 -0
  184. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/validators.pyi +171 -0
  185. package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/yaml.pyi +26 -0
  186. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/__init__.pyi +3 -0
  187. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/acroform.pyi +214 -0
  188. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/cidfonts.pyi +51 -0
  189. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfdoc.pyi +627 -0
  190. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfform.pyi +81 -0
  191. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfmetrics.pyi +93 -0
  192. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfpattern.pyi +21 -0
  193. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfutils.pyi +16 -0
  194. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/rl_codecs.pyi +24 -0
  195. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +150 -0
  196. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/__init__.pyi +3 -0
  197. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +306 -0
  198. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pathobject.pyi +18 -0
  199. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfgeom.pyi +5 -0
  200. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfimages.pyi +38 -0
  201. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/textobject.pyi +52 -0
  202. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/__init__.pyi +12 -0
  203. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +267 -0
  204. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/figures.pyi +118 -0
  205. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +451 -0
  206. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/frames.pyi +37 -0
  207. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/multicol.pyi +17 -0
  208. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/para.pyi +271 -0
  209. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paragraph.pyi +38 -0
  210. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paraparser.pyi +117 -0
  211. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tableofcontents.pyi +108 -0
  212. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +124 -0
  213. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/xpreformatted.pyi +30 -0
  214. package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_config.pyi +71 -0
  215. package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_settings.pyi +72 -0
  216. package/dist/typeshed-fallback/stubs/requests/requests/__version__.pyi +12 -10
  217. package/dist/typeshed-fallback/stubs/requests/requests/adapters.pyi +38 -7
  218. package/dist/typeshed-fallback/stubs/requests/requests/models.pyi +21 -21
  219. package/dist/typeshed-fallback/stubs/requests/requests/utils.pyi +8 -6
  220. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  221. package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +25 -19
  222. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build.pyi +1 -2
  223. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -0
  224. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +3 -2
  225. package/dist/typeshed-fallback/stubs/shapely/METADATA.toml +4 -0
  226. package/dist/typeshed-fallback/stubs/shapely/shapely/__init__.pyi +34 -0
  227. package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +5 -0
  228. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +184 -0
  229. package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +12 -0
  230. package/dist/typeshed-fallback/stubs/shapely/shapely/_typing.pyi +58 -0
  231. package/dist/typeshed-fallback/stubs/shapely/shapely/_version.pyi +6 -0
  232. package/dist/typeshed-fallback/stubs/shapely/shapely/affinity.pyi +23 -0
  233. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/__init__.pyi +0 -0
  234. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/cga.pyi +6 -0
  235. package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/polylabel.pyi +19 -0
  236. package/dist/typeshed-fallback/stubs/shapely/shapely/constructive.pyi +430 -0
  237. package/dist/typeshed-fallback/stubs/shapely/shapely/coordinates.pyi +43 -0
  238. package/dist/typeshed-fallback/stubs/shapely/shapely/coords.pyi +18 -0
  239. package/dist/typeshed-fallback/stubs/shapely/shapely/creation.pyi +242 -0
  240. package/dist/typeshed-fallback/stubs/shapely/shapely/decorators.pyi +11 -0
  241. package/dist/typeshed-fallback/stubs/shapely/shapely/errors.pyi +17 -0
  242. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/__init__.pyi +25 -0
  243. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +285 -0
  244. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +18 -0
  245. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/geo.pyi +9 -0
  246. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +45 -0
  247. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +15 -0
  248. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +20 -0
  249. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +22 -0
  250. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +39 -0
  251. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +45 -0
  252. package/dist/typeshed-fallback/stubs/shapely/shapely/geos.pyi +3 -0
  253. package/dist/typeshed-fallback/stubs/shapely/shapely/io.pyi +140 -0
  254. package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +167 -0
  255. package/dist/typeshed-fallback/stubs/shapely/shapely/linear.pyi +69 -0
  256. package/dist/typeshed-fallback/stubs/shapely/shapely/measurement.pyi +68 -0
  257. package/dist/typeshed-fallback/stubs/shapely/shapely/ops.pyi +106 -0
  258. package/dist/typeshed-fallback/stubs/shapely/shapely/plotting.pyi +76 -0
  259. package/dist/typeshed-fallback/stubs/shapely/shapely/predicates.pyi +214 -0
  260. package/dist/typeshed-fallback/stubs/shapely/shapely/prepared.pyi +20 -0
  261. package/dist/typeshed-fallback/stubs/shapely/shapely/set_operations.pyi +86 -0
  262. package/dist/typeshed-fallback/stubs/shapely/shapely/speedups.pyi +12 -0
  263. package/dist/typeshed-fallback/stubs/shapely/shapely/strtree.pyi +82 -0
  264. package/dist/typeshed-fallback/stubs/shapely/shapely/testing.pyi +14 -0
  265. package/dist/typeshed-fallback/stubs/shapely/shapely/validation.pyi +7 -0
  266. package/dist/typeshed-fallback/stubs/shapely/shapely/vectorized/__init__.pyi +37 -0
  267. package/dist/typeshed-fallback/stubs/shapely/shapely/wkb.pyi +16 -0
  268. package/dist/typeshed-fallback/stubs/shapely/shapely/wkt.pyi +8 -0
  269. package/package.json +1 -1
  270. package/dist/typeshed-fallback/stubs/setuptools/setuptools/dep_util.pyi +0 -1
  271. package/dist/typeshed-fallback/stubs/stripe/METADATA.toml +0 -7
  272. package/dist/typeshed-fallback/stubs/stripe/stripe/__init__.pyi +0 -25
  273. package/dist/typeshed-fallback/stubs/stripe/stripe/api_requestor.pyi +0 -38
  274. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/__init__.pyi +0 -82
  275. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/__init__.pyi +0 -12
  276. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/api_resource.pyi +0 -13
  277. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/createable_api_resource.pyi +0 -16
  278. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/custom_method.pyi +0 -3
  279. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/deletable_api_resource.pyi +0 -7
  280. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/listable_api_resource.pyi +0 -19
  281. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/nested_resource_class_methods.pyi +0 -7
  282. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/searchable_api_resource.pyi +0 -11
  283. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/singleton_api_resource.pyi +0 -8
  284. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/updateable_api_resource.pyi +0 -8
  285. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/verify_mixin.pyi +0 -2
  286. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account.pyi +0 -75
  287. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account_link.pyi +0 -4
  288. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/alipay_account.pyi +0 -23
  289. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/apple_pay_domain.pyi +0 -10
  290. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee.pyi +0 -8
  291. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee_refund.pyi +0 -14
  292. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance.pyi +0 -4
  293. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance_transaction.pyi +0 -4
  294. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bank_account.pyi +0 -26
  295. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/__init__.pyi +0 -2
  296. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/configuration.pyi +0 -8
  297. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/session.pyi +0 -4
  298. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_receiver.pyi +0 -8
  299. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_transaction.pyi +0 -4
  300. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/capability.pyi +0 -13
  301. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/card.pyi +0 -26
  302. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/charge.pyi +0 -17
  303. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/__init__.pyi +0 -1
  304. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/session.pyi +0 -16
  305. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/country_spec.pyi +0 -4
  306. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/coupon.pyi +0 -9
  307. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note.pyi +0 -21
  308. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note_line_item.pyi +0 -4
  309. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer.pyi +0 -58
  310. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer_balance_transaction.pyi +0 -11
  311. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/dispute.pyi +0 -9
  312. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/ephemeral_key.pyi +0 -16
  313. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/error_object.pyi +0 -25
  314. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/event.pyi +0 -4
  315. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/exchange_rate.pyi +0 -4
  316. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file.pyi +0 -21
  317. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file_link.pyi +0 -8
  318. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/__init__.pyi +0 -2
  319. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_report.pyi +0 -4
  320. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_session.pyi +0 -11
  321. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice.pyi +0 -28
  322. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_item.pyi +0 -9
  323. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_line_item.pyi +0 -4
  324. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuer_fraud_record.pyi +0 -4
  325. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/__init__.pyi +0 -6
  326. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/authorization.pyi +0 -10
  327. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card.pyi +0 -10
  328. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card_details.pyi +0 -4
  329. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/cardholder.pyi +0 -8
  330. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/dispute.pyi +0 -10
  331. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/transaction.pyi +0 -7
  332. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/line_item.pyi +0 -4
  333. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/list_object.pyi +0 -57
  334. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/login_link.pyi +0 -4
  335. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/mandate.pyi +0 -4
  336. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/order.pyi +0 -13
  337. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_intent.pyi +0 -22
  338. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_link.pyi +0 -24
  339. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_method.pyi +0 -13
  340. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payout.pyi +0 -11
  341. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/person.pyi +0 -13
  342. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/plan.pyi +0 -9
  343. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/price.pyi +0 -9
  344. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/product.pyi +0 -10
  345. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/promotion_code.pyi +0 -8
  346. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/quote.pyi +0 -24
  347. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/__init__.pyi +0 -3
  348. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/early_fraud_warning.pyi +0 -4
  349. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list.pyi +0 -9
  350. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list_item.pyi +0 -8
  351. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient.pyi +0 -9
  352. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient_transfer.pyi +0 -4
  353. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/refund.pyi +0 -8
  354. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/__init__.pyi +0 -2
  355. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_run.pyi +0 -7
  356. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_type.pyi +0 -4
  357. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reversal.pyi +0 -13
  358. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/review.pyi +0 -5
  359. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/search_result_object.pyi +0 -32
  360. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_attempt.pyi +0 -4
  361. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_intent.pyi +0 -11
  362. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/shipping_rate.pyi +0 -9
  363. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/__init__.pyi +0 -1
  364. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/scheduled_query_run.pyi +0 -6
  365. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sku.pyi +0 -9
  366. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source.pyi +0 -13
  367. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source_transaction.pyi +0 -4
  368. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription.pyi +0 -15
  369. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_item.pyi +0 -27
  370. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_schedule.pyi +0 -11
  371. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_code.pyi +0 -4
  372. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_id.pyi +0 -11
  373. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_rate.pyi +0 -8
  374. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/__init__.pyi +0 -3
  375. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/connection_token.pyi +0 -4
  376. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/location.pyi +0 -9
  377. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/reader.pyi +0 -9
  378. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/__init__.pyi +0 -1
  379. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/test_clock.pyi +0 -10
  380. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/three_d_secure.pyi +0 -6
  381. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/token.pyi +0 -4
  382. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/topup.pyi +0 -10
  383. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/transfer.pyi +0 -11
  384. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record.pyi +0 -16
  385. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record_summary.pyi +0 -4
  386. package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/webhook_endpoint.pyi +0 -9
  387. package/dist/typeshed-fallback/stubs/stripe/stripe/error.pyi +0 -76
  388. package/dist/typeshed-fallback/stubs/stripe/stripe/http_client.pyi +0 -52
  389. package/dist/typeshed-fallback/stubs/stripe/stripe/multipart_data_generator.pyi +0 -11
  390. package/dist/typeshed-fallback/stubs/stripe/stripe/oauth.pyi +0 -11
  391. package/dist/typeshed-fallback/stubs/stripe/stripe/oauth_error.pyi +0 -22
  392. package/dist/typeshed-fallback/stubs/stripe/stripe/object_classes.pyi +0 -5
  393. package/dist/typeshed-fallback/stubs/stripe/stripe/request_metrics.pyi +0 -7
  394. package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_object.pyi +0 -62
  395. package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_response.pyi +0 -19
  396. package/dist/typeshed-fallback/stubs/stripe/stripe/util.pyi +0 -42
  397. package/dist/typeshed-fallback/stubs/stripe/stripe/version.pyi +0 -1
  398. package/dist/typeshed-fallback/stubs/stripe/stripe/webhook.pyi +0 -17
@@ -0,0 +1,71 @@
1
+ from _typeshed import Incomplete
2
+ from collections.abc import Callable
3
+
4
+ def register_reset(func: Callable[[], Callable[[], object] | None]) -> None: ...
5
+ def _reset() -> None: ...
6
+
7
+ allowTableBoundsErrors: int
8
+ shapeChecking: int
9
+ defaultEncoding: str
10
+ defaultGraphicsFontName: str
11
+ pageCompression: int
12
+ useA85: int
13
+ defaultPageSize: tuple[float, float]
14
+ defaultImageCaching: int
15
+ warnOnMissingFontGlyphs: int
16
+ verbose: int
17
+ showBoundary: int
18
+ emptyTableAction: str
19
+ invariant: int
20
+ eps_preview_transparent: Incomplete
21
+ eps_preview: int
22
+ eps_ttf_embed: int
23
+ eps_ttf_embed_uid: int
24
+ overlapAttachedSpace: int
25
+ longTableOptimize: int
26
+ autoConvertEncoding: int
27
+ _FUZZ: float
28
+ wrapA85: int
29
+ fsEncodings: Incomplete
30
+ odbc_driver: str
31
+ platypus_link_underline: int
32
+ canvas_basefontname: str
33
+ allowShortTableRows: int
34
+ imageReaderFlags: int
35
+ paraFontSizeHeightOffset: int
36
+ canvas_baseColor: Incomplete
37
+ ignoreContainerActions: int
38
+ ttfAsciiReadable: int
39
+ pdfMultiLine: int
40
+ pdfComments: int
41
+ debug: int
42
+ rtlSupport: int
43
+ listWrapOnFakeWidth: int
44
+ underlineWidth: str
45
+ underlineOffset: str
46
+ underlineGap: str
47
+ strikeWidth: str
48
+ strikeOffset: str
49
+ strikeGap: str
50
+ decimalSymbol: str
51
+ errorOnDuplicatePageLabelPage: int
52
+ autoGenerateMissingTTFName: int
53
+ allowTTFSubsetting: Incomplete
54
+ spaceShrinkage: float
55
+ hyphenationLang: str
56
+ uriWasteReduce: int
57
+ embeddedHyphenation: int
58
+ hyphenationMinWordLength: int
59
+ reserveTTFNotdef: int
60
+ documentLang: Incomplete
61
+ encryptionStrength: int
62
+ trustedHosts: Incomplete
63
+ trustedSchemes: Incomplete
64
+ renderPMBackend: str
65
+ xmlParser: str
66
+ textPaths: str
67
+ toColorCanUse: str
68
+ defCWRF: float
69
+ T1SearchPath: Incomplete
70
+ TTFSearchPath: Incomplete
71
+ CMapSearchPath: Incomplete
@@ -0,0 +1,72 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Final
3
+
4
+ __version__: Final[str]
5
+
6
+ # NOTE: All the attributes in this module are Final
7
+ # rl_config is the place to make changes
8
+ allowTableBoundsErrors: Final[int]
9
+ shapeChecking: Final[int]
10
+ defaultEncoding: Final[str]
11
+ defaultGraphicsFontName: Final[str]
12
+ pageCompression: Final[int]
13
+ useA85: Final[int]
14
+ defaultPageSize: Final[str]
15
+ defaultImageCaching: Final[int]
16
+ warnOnMissingFontGlyphs: Final[int]
17
+ verbose: Final[int]
18
+ showBoundary: Final[int]
19
+ emptyTableAction: Final[str]
20
+ invariant: Final[int]
21
+ eps_preview_transparent: Final[Incomplete]
22
+ eps_preview: Final[int]
23
+ eps_ttf_embed: Final[int]
24
+ eps_ttf_embed_uid: Final[int]
25
+ overlapAttachedSpace: Final[int]
26
+ longTableOptimize: Final[int]
27
+ autoConvertEncoding: Final[int]
28
+ _FUZZ: Final[float]
29
+ wrapA85: Final[int]
30
+ fsEncodings: Final[Incomplete]
31
+ odbc_driver: Final[str]
32
+ platypus_link_underline: Final[int]
33
+ canvas_basefontname: Final[str]
34
+ allowShortTableRows: Final[int]
35
+ imageReaderFlags: Final[int]
36
+ paraFontSizeHeightOffset: Final[int]
37
+ canvas_baseColor: Final[Incomplete]
38
+ ignoreContainerActions: Final[int]
39
+ ttfAsciiReadable: Final[int]
40
+ pdfMultiLine: Final[int]
41
+ pdfComments: Final[int]
42
+ debug: Final[int]
43
+ rtlSupport: Final[int]
44
+ listWrapOnFakeWidth: Final[int]
45
+ underlineWidth: Final[str]
46
+ underlineOffset: Final[str]
47
+ underlineGap: Final[str]
48
+ strikeWidth: Final[str]
49
+ strikeOffset: Final[str]
50
+ strikeGap: Final[str]
51
+ decimalSymbol: Final[str]
52
+ errorOnDuplicatePageLabelPage: Final[int]
53
+ autoGenerateMissingTTFName: Final[int]
54
+ allowTTFSubsetting: Final[Incomplete]
55
+ spaceShrinkage: Final[float]
56
+ hyphenationLang: Final[str]
57
+ uriWasteReduce: Final[int]
58
+ embeddedHyphenation: Final[int]
59
+ hyphenationMinWordLength: Final[int]
60
+ reserveTTFNotdef: Final[int]
61
+ documentLang: Final[Incomplete]
62
+ encryptionStrength: Final[int]
63
+ trustedHosts: Final[Incomplete]
64
+ trustedSchemes: Final[Incomplete]
65
+ renderPMBackend: Final[str]
66
+ xmlParser: Final[str]
67
+ textPaths: Final[str]
68
+ toColorCanUse: Final[str]
69
+ defCWRF: Final[float]
70
+ T1SearchPath: Final[Incomplete]
71
+ TTFSearchPath: Final[Incomplete]
72
+ CMapSearchPath: Final[Incomplete]
@@ -1,10 +1,12 @@
1
- __title__: str
2
- __description__: str
3
- __url__: str
4
- __version__: str
5
- __build__: int
6
- __author__: str
7
- __author_email__: str
8
- __license__: str
9
- __copyright__: str
10
- __cake__: str
1
+ from typing import Final
2
+
3
+ __title__: Final = "requests"
4
+ __description__: Final[str]
5
+ __url__: Final[str]
6
+ __version__: Final[str]
7
+ __build__: Final[int]
8
+ __author__: Final[str]
9
+ __author_email__: Final[str]
10
+ __license__: Final[str]
11
+ __copyright__: Final[str]
12
+ __cake__: Final[str]
@@ -1,6 +1,11 @@
1
+ from _typeshed import Incomplete
1
2
  from collections.abc import Mapping
2
- from typing import Any
3
+ from ssl import SSLContext
4
+ from typing import Literal, TypedDict
5
+ from typing_extensions import NotRequired, deprecated
3
6
 
7
+ import urllib3
8
+ from urllib3.connectionpool import ConnectionPool
4
9
  from urllib3.contrib.socks import SOCKSProxyManager as SOCKSProxyManager
5
10
  from urllib3.exceptions import (
6
11
  ConnectTimeoutError as ConnectTimeoutError,
@@ -25,12 +30,27 @@ from .models import PreparedRequest, Response as Response
25
30
  from .structures import CaseInsensitiveDict as CaseInsensitiveDict
26
31
  from .utils import (
27
32
  DEFAULT_CA_BUNDLE_PATH as DEFAULT_CA_BUNDLE_PATH,
33
+ _Uri,
28
34
  get_auth_from_url as get_auth_from_url,
29
35
  get_encoding_from_headers as get_encoding_from_headers,
30
36
  prepend_scheme_if_needed as prepend_scheme_if_needed,
31
37
  urldefragauth as urldefragauth,
32
38
  )
33
39
 
40
+ # Arguments to urllib3 connection_from_host() functions (except pool_kwargs).
41
+ class _HostParams(TypedDict):
42
+ host: str
43
+ scheme: str
44
+ port: int
45
+
46
+ class _PoolKwargs(TypedDict):
47
+ ssl_context: NotRequired[SSLContext]
48
+ ca_certs: NotRequired[str]
49
+ ca_cert_dir: NotRequired[str]
50
+ cert_reqs: Literal["CERT_REQUIRED", "CERT_NONE"]
51
+ cert_file: NotRequired[str]
52
+ key_file: NotRequired[str]
53
+
34
54
  DEFAULT_POOLBLOCK: bool
35
55
  DEFAULT_POOLSIZE: int
36
56
  DEFAULT_RETRIES: int
@@ -50,19 +70,30 @@ class BaseAdapter:
50
70
  def close(self) -> None: ...
51
71
 
52
72
  class HTTPAdapter(BaseAdapter):
53
- __attrs__: Any
73
+ __attrs__: Incomplete
54
74
  max_retries: Retry
55
- config: Any
56
- proxy_manager: Any
75
+ config: Incomplete
76
+ proxy_manager: Incomplete
57
77
  def __init__(
58
78
  self, pool_connections: int = 10, pool_maxsize: int = 10, max_retries: Retry | int | None = 0, pool_block: bool = False
59
79
  ) -> None: ...
60
- poolmanager: Any
80
+ poolmanager: Incomplete
61
81
  def init_poolmanager(self, connections, maxsize, block=False, **pool_kwargs): ...
62
82
  def proxy_manager_for(self, proxy, **proxy_kwargs): ...
63
83
  def cert_verify(self, conn, url, verify, cert): ...
64
- def build_response(self, req, resp): ...
65
- def get_connection(self, url, proxies=None): ...
84
+ def build_response(self, req: PreparedRequest, resp: urllib3.BaseHTTPResponse) -> Response: ...
85
+ def build_connection_pool_key_attributes(
86
+ self, request: PreparedRequest, verify: bool | str, cert: str | tuple[str, str] | None = None
87
+ ) -> tuple[_HostParams, _PoolKwargs]: ...
88
+ def get_connection_with_tls_context(
89
+ self,
90
+ request: PreparedRequest,
91
+ verify: bool | str | None,
92
+ proxies: Mapping[str, str] | None = None,
93
+ cert: tuple[str, str] | str | None = None,
94
+ ) -> ConnectionPool: ...
95
+ @deprecated("Use get_connection_with_tls_context() instead.")
96
+ def get_connection(self, url: _Uri, proxies: Mapping[str, str] | None = None) -> ConnectionPool: ...
66
97
  def close(self): ...
67
98
  def request_url(self, request, proxies): ...
68
99
  def add_headers(self, request, **kwargs): ...
@@ -1,5 +1,5 @@
1
1
  import datetime
2
- from _typeshed import Unused
2
+ from _typeshed import Incomplete, Unused
3
3
  from collections.abc import Callable, Iterator
4
4
  from json import JSONDecoder
5
5
  from typing import Any
@@ -41,10 +41,10 @@ super_len = utils.super_len
41
41
  to_native_string = utils.to_native_string
42
42
  codes = status_codes.codes
43
43
 
44
- REDIRECT_STATI: Any
45
- DEFAULT_REDIRECT_LIMIT: Any
46
- CONTENT_CHUNK_SIZE: Any
47
- ITER_CHUNK_SIZE: Any
44
+ REDIRECT_STATI: Incomplete
45
+ DEFAULT_REDIRECT_LIMIT: Incomplete
46
+ CONTENT_CHUNK_SIZE: Incomplete
47
+ ITER_CHUNK_SIZE: Incomplete
48
48
 
49
49
  class RequestEncodingMixin:
50
50
  @property
@@ -55,16 +55,16 @@ class RequestHooksMixin:
55
55
  def deregister_hook(self, event, hook): ...
56
56
 
57
57
  class Request(RequestHooksMixin):
58
- hooks: Any
59
- method: Any
60
- url: Any
61
- headers: Any
62
- files: Any
63
- data: Any
64
- json: Any
65
- params: Any
66
- auth: Any
67
- cookies: Any
58
+ hooks: Incomplete
59
+ method: Incomplete
60
+ url: Incomplete
61
+ headers: Incomplete
62
+ files: Incomplete
63
+ data: Incomplete
64
+ json: Incomplete
65
+ params: Incomplete
66
+ auth: Incomplete
67
+ cookies: Incomplete
68
68
  def __init__(
69
69
  self,
70
70
  method=None,
@@ -85,7 +85,7 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
85
85
  url: str | None
86
86
  headers: CaseInsensitiveDict[str]
87
87
  body: bytes | str | None
88
- hooks: Any
88
+ hooks: Incomplete
89
89
  def __init__(self) -> None: ...
90
90
  def prepare(
91
91
  self,
@@ -111,11 +111,11 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
111
111
  def prepare_hooks(self, hooks) -> None: ...
112
112
 
113
113
  class Response:
114
- __attrs__: Any
114
+ __attrs__: Incomplete
115
115
  _content: bytes | None # undocumented
116
116
  status_code: int
117
117
  headers: CaseInsensitiveDict[str]
118
- raw: Any
118
+ raw: Incomplete
119
119
  url: str
120
120
  encoding: str | None
121
121
  history: list[Response]
@@ -139,10 +139,10 @@ class Response:
139
139
  def is_permanent_redirect(self) -> bool: ...
140
140
  @property
141
141
  def apparent_encoding(self) -> str: ...
142
- def iter_content(self, chunk_size: int | None = 1, decode_unicode: bool = False) -> Iterator[Any]: ...
142
+ def iter_content(self, chunk_size: int | None = 1, decode_unicode: bool = False) -> Iterator[Incomplete]: ...
143
143
  def iter_lines(
144
144
  self, chunk_size: int | None = 512, decode_unicode: bool = False, delimiter: str | bytes | None = None
145
- ) -> Iterator[Any]: ...
145
+ ) -> Iterator[Incomplete]: ...
146
146
  @property
147
147
  def content(self) -> bytes: ...
148
148
  @property
@@ -159,6 +159,6 @@ class Response:
159
159
  **kwds: Any,
160
160
  ) -> Any: ...
161
161
  @property
162
- def links(self) -> dict[Any, Any]: ...
162
+ def links(self) -> dict[Incomplete, Incomplete]: ...
163
163
  def raise_for_status(self) -> None: ...
164
164
  def close(self) -> None: ...
@@ -1,9 +1,9 @@
1
1
  import sys
2
- from _typeshed import StrOrBytesPath
2
+ from _typeshed import Incomplete, StrOrBytesPath
3
3
  from collections.abc import Generator, Iterable, Mapping
4
4
  from contextlib import _GeneratorContextManager
5
5
  from io import BufferedWriter
6
- from typing import Any, AnyStr
6
+ from typing import AnyStr
7
7
  from typing_extensions import TypeAlias
8
8
 
9
9
  from . import compat, cookies, exceptions, structures
@@ -16,7 +16,7 @@ CaseInsensitiveDict = structures.CaseInsensitiveDict
16
16
  InvalidURL = exceptions.InvalidURL
17
17
 
18
18
  NETRC_FILES: tuple[str, str]
19
- DEFAULT_CA_BUNDLE_PATH: Any
19
+ DEFAULT_CA_BUNDLE_PATH: Incomplete
20
20
  DEFAULT_PORTS: dict[str, int]
21
21
  DEFAULT_ACCEPT_ENCODING: str
22
22
 
@@ -49,9 +49,11 @@ def is_ipv4_address(string_ip: str) -> bool: ...
49
49
  def is_valid_cidr(string_network: str) -> bool: ...
50
50
  def set_environ(env_name: str, value: None) -> _GeneratorContextManager[None]: ...
51
51
  def should_bypass_proxies(url: _Uri, no_proxy: Iterable[str] | None) -> bool: ...
52
- def get_environ_proxies(url: _Uri, no_proxy: Iterable[str] | None = None) -> dict[Any, Any]: ...
53
- def select_proxy(url: _Uri, proxies: Mapping[Any, Any] | None): ...
54
- def resolve_proxies(request: Request | PreparedRequest, proxies: Mapping[str, str] | None, trust_env: bool = True): ...
52
+ def get_environ_proxies(url: _Uri, no_proxy: Iterable[str] | None = None) -> dict[Incomplete, Incomplete]: ...
53
+ def select_proxy(url: _Uri, proxies: Mapping[str, str] | None) -> str: ...
54
+ def resolve_proxies(
55
+ request: Request | PreparedRequest, proxies: dict[str, str] | None, trust_env: bool = True
56
+ ) -> dict[str, str]: ...
55
57
  def default_user_agent(name: str = "python-requests") -> str: ...
56
58
  def default_headers() -> CaseInsensitiveDict[str]: ...
57
59
  def parse_header_links(value: str) -> list[dict[str, str]]: ...
@@ -1,4 +1,4 @@
1
- version = "69.5.*"
1
+ version = "70.0.*"
2
2
  upstream_repository = "https://github.com/pypa/setuptools"
3
3
 
4
4
  [tool.stubtest]
@@ -1,3 +1,4 @@
1
+ import sys
1
2
  import types
2
3
  import zipimport
3
4
  from _typeshed import BytesPath, Incomplete, StrOrBytesPath, StrPath, Unused
@@ -174,13 +175,6 @@ class WorkingSet:
174
175
  def require(self, *requirements: _NestedStr) -> Sequence[Distribution]: ...
175
176
  def subscribe(self, callback: Callable[[Distribution], object], existing: bool = True) -> None: ...
176
177
 
177
- working_set: WorkingSet
178
- require = working_set.require
179
- iter_entry_points = working_set.iter_entry_points
180
- add_activation_listener = working_set.subscribe
181
- run_script = working_set.run_script
182
- run_main = run_script
183
-
184
178
  class Environment:
185
179
  def __init__(
186
180
  self, search_path: Iterable[str] | None = None, platform: str | None = ..., python: str | None = ...
@@ -289,16 +283,6 @@ class ResourceManager:
289
283
  def set_extraction_path(self, path: str) -> None: ...
290
284
  def cleanup_resources(self, force: bool = False) -> list[str]: ...
291
285
 
292
- __resource_manager: ResourceManager # Doesn't exist at runtime
293
- resource_exists = __resource_manager.resource_exists
294
- resource_isdir = __resource_manager.resource_isdir
295
- resource_filename = __resource_manager.resource_filename
296
- resource_stream = __resource_manager.resource_stream
297
- resource_string = __resource_manager.resource_string
298
- resource_listdir = __resource_manager.resource_listdir
299
- set_extraction_path = __resource_manager.set_extraction_path
300
- cleanup_resources = __resource_manager.cleanup_resources
301
-
302
286
  @overload
303
287
  def get_provider(moduleOrReq: str) -> IResourceProvider: ...
304
288
  @overload
@@ -400,7 +384,7 @@ class Distribution(NullProvider):
400
384
  ) -> None: ...
401
385
  @classmethod
402
386
  def from_location(
403
- cls, location: str, basename: str, metadata: _MetadataType = None, *, precedence: int = 3
387
+ cls, location: str, basename: StrPath, metadata: _MetadataType = None, *, precedence: int = 3
404
388
  ) -> Distribution: ...
405
389
  @property
406
390
  def hashcmp(self) -> tuple[parse_version, int, str, str | None, str, str]: ...
@@ -421,7 +405,7 @@ class Distribution(NullProvider):
421
405
  def activate(self, path: list[str] | None = None, replace: bool = False) -> None: ...
422
406
  def egg_name(self) -> str: ... # type: ignore[override] # supertype's egg_name is a variable, not a method
423
407
  @classmethod
424
- def from_filename(cls, filename: StrOrBytesPath, metadata: _MetadataType = None, *, precedence: int = 3) -> Distribution: ...
408
+ def from_filename(cls, filename: StrPath, metadata: _MetadataType = None, *, precedence: int = 3) -> Distribution: ...
425
409
  def as_requirement(self) -> Requirement: ...
426
410
  def load_entry_point(self, group: str, name: str) -> _ResolvedEntryPoint: ...
427
411
  @overload
@@ -498,3 +482,25 @@ def normalize_path(filename: StrPath) -> str: ...
498
482
  def normalize_path(filename: BytesPath) -> bytes: ...
499
483
 
500
484
  class PkgResourcesDeprecationWarning(Warning): ...
485
+
486
+ __resource_manager: ResourceManager # Doesn't exist at runtime
487
+ resource_exists = __resource_manager.resource_exists
488
+ resource_isdir = __resource_manager.resource_isdir
489
+ resource_filename = __resource_manager.resource_filename
490
+ resource_stream = __resource_manager.resource_stream
491
+ resource_string = __resource_manager.resource_string
492
+ resource_listdir = __resource_manager.resource_listdir
493
+ set_extraction_path = __resource_manager.set_extraction_path
494
+ cleanup_resources = __resource_manager.cleanup_resources
495
+
496
+ working_set: WorkingSet
497
+ require = working_set.require
498
+ iter_entry_points = working_set.iter_entry_points
499
+ add_activation_listener = working_set.subscribe
500
+ run_script = working_set.run_script
501
+ run_main = run_script
502
+
503
+ if sys.version_info >= (3, 10):
504
+ LOCALE_ENCODING: Final = "locale"
505
+ else:
506
+ LOCALE_ENCODING: Final = None
@@ -2,8 +2,7 @@ from typing import Protocol
2
2
 
3
3
  from .._distutils.command.build import build as _build
4
4
 
5
- class build(_build):
6
- def get_sub_commands(self): ...
5
+ class build(_build): ...
7
6
 
8
7
  class SubCommand(Protocol):
9
8
  editable_mode: bool
@@ -1,4 +1,5 @@
1
1
  from _typeshed import Incomplete, StrPath
2
+ from collections.abc import Iterator
2
3
  from enum import Enum
3
4
  from pathlib import Path
4
5
  from types import TracebackType
@@ -63,6 +64,8 @@ class _TopLevelFinder:
63
64
  dist: Incomplete
64
65
  name: Incomplete
65
66
  def __init__(self, dist: Distribution, name: str) -> None: ...
67
+ def template_vars(self) -> tuple[str, str, dict[str, str], dict[str, list[str]]]: ...
68
+ def get_implementation(self) -> Iterator[tuple[str, bytes]]: ...
66
69
  def __call__(self, wheel: _WheelFile, files: list[str], mapping: dict[str, str]): ...
67
70
  def __enter__(self) -> Self: ...
68
71
  def __exit__(
@@ -1,3 +1,4 @@
1
- from _typeshed import Incomplete, StrOrBytesPath
1
+ from _typeshed import StrOrBytesPath
2
+ from shutil import _OnExcCallback
2
3
 
3
- def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None): ...
4
+ def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: _OnExcCallback | None = None): ...
@@ -0,0 +1,4 @@
1
+ version = "2.0.*"
2
+ # Requires a version of numpy with a `py.typed` file
3
+ requires = ["numpy>=1.20"]
4
+ upstream_repository = "https://github.com/shapely/shapely"
@@ -0,0 +1,34 @@
1
+ from typing import Final
2
+
3
+ from . import affinity as affinity
4
+ from ._geometry import *
5
+ from .constructive import *
6
+ from .coordinates import *
7
+ from .creation import *
8
+ from .errors import setup_signal_checks as setup_signal_checks
9
+ from .geometry import (
10
+ GeometryCollection as GeometryCollection,
11
+ LinearRing as LinearRing,
12
+ LineString as LineString,
13
+ MultiLineString as MultiLineString,
14
+ MultiPoint as MultiPoint,
15
+ MultiPolygon as MultiPolygon,
16
+ Point as Point,
17
+ Polygon as Polygon,
18
+ )
19
+ from .io import *
20
+ from .lib import (
21
+ Geometry as Geometry,
22
+ GEOSException as GEOSException,
23
+ geos_capi_version as geos_capi_version,
24
+ geos_capi_version_string as geos_capi_version_string,
25
+ geos_version as geos_version,
26
+ geos_version_string as geos_version_string,
27
+ )
28
+ from .linear import *
29
+ from .measurement import *
30
+ from .predicates import *
31
+ from .set_operations import *
32
+ from .strtree import *
33
+
34
+ __version__: Final[str]
@@ -0,0 +1,5 @@
1
+ from enum import IntEnum
2
+
3
+ class ParamEnum(IntEnum):
4
+ @classmethod
5
+ def get_value(cls, item: str) -> int: ...