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,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class LineChart(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class LineChartWithMarkers(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class RadarChart(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,3 @@
1
+ def moduleClasses(mod): ...
2
+ def getclass(f): ...
3
+ def run(format, VERBOSE: int = 0) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class Scatter(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class ScatterLines(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class ScatterLinesMarkers(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,8 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from reportlab.graphics.samples.excelcolors import *
4
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
5
+
6
+ class SimplePie(_DrawingEditorMixin, Drawing):
7
+ background: Incomplete
8
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class StackedBar(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,5 @@
1
+ from reportlab.graphics.samples.excelcolors import *
2
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
3
+
4
+ class StackedColumn(_DrawingEditorMixin, Drawing):
5
+ def __init__(self, width: int = 200, height: int = 150, *args, **kw) -> None: ...
@@ -0,0 +1,371 @@
1
+ from _typeshed import Incomplete, SupportsItems
2
+ from abc import abstractmethod
3
+ from collections.abc import Iterable, Sequence
4
+ from typing import Any, Final, Literal, NoReturn, TypedDict
5
+ from typing_extensions import Self, TypeAlias, Unpack
6
+
7
+ from reportlab.lib.colors import Color
8
+ from reportlab.lib.validators import NoneOr, Validator
9
+ from reportlab.pdfgen.canvas import Canvas
10
+ from reportlab.platypus import Flowable
11
+ from reportlab.platypus.flowables import _HAlignment, _VAlignment
12
+
13
+ _IntBool: TypeAlias = Literal[0, 1]
14
+ _BoolLike: TypeAlias = _IntBool | bool
15
+ _PathOp: TypeAlias = (
16
+ tuple[Literal["moveTo"], float, float]
17
+ | tuple[Literal["lineTo"], float, float]
18
+ | tuple[Literal["curveTo"], float, float, float, float, float, float]
19
+ # close path may either be a tuple or just the string
20
+ | Literal["closePath"]
21
+ | tuple[Literal["closePath"]]
22
+ # fallback for list that is not type safe
23
+ | list[Any]
24
+ )
25
+
26
+ # NOTE: These are derived from _attrMap and can optionally be
27
+ # verified at runtime
28
+ class _GroupKwArgs(TypedDict, total=False):
29
+ transform: tuple[float, float, float, float, float, float] | list[float] | list[int]
30
+ # NOTE: This should be used with care, since it will replace elements
31
+ # it's mostly useful for circumventing validation logic and
32
+ # reusing the list, rather than populating a new list
33
+ contents: list[Shape]
34
+ strokeOverprint: _BoolLike
35
+ fillOverprint: _BoolLike
36
+ overprintMask: _BoolLike
37
+
38
+ class _DrawingKwArgs(_GroupKwArgs, total=False):
39
+ # TODO: Restrict to supported formats?
40
+ formats: list[str] | tuple[str, ...]
41
+ # NOTE: This looks like an implementation detail, so we may not
42
+ # want to include this in KwArgs
43
+ canv: Canvas
44
+ background: Shape | UserNode | None
45
+ # NOTE: The runtime validation for alignments is incorrect, so
46
+ # we assume it is turned off and allow all valid values
47
+ hAlign: _HAlignment
48
+ vAlign: _VAlignment
49
+ renderScale: float
50
+ initialFontName: str | None
51
+ initialFontSize: float | None
52
+
53
+ class _LineShapeKwArgs(TypedDict, total=False):
54
+ strokeColor: Color | None
55
+ strokeWidth: float
56
+ strokeLineCap: Literal[0, 1, 2]
57
+ strokeLineJoin: Literal[0, 1, 2]
58
+ strokeMiterLimit: float
59
+ strokeDashArray: Sequence[float] | tuple[float, Sequence[float]]
60
+ strokeOpacity: float | None
61
+ strokeOverprint: _BoolLike
62
+ overprintMask: _BoolLike
63
+
64
+ class _PathKwArgs(_LineShapeKwArgs, total=False):
65
+ fillColor: Color | None
66
+ fillOpacity: float
67
+ fillOverprint: _BoolLike
68
+
69
+ class _AllPathKwArgs(_PathKwArgs, total=False):
70
+ points: list[float] | None
71
+ operators: list[float] | None
72
+ isClipPath: _BoolLike
73
+ autoclose: Literal["svg", "pdf"] | None
74
+ fillMode: Literal[0, 1]
75
+
76
+ class _SolidShapeKwArgs(_PathKwArgs, total=False):
77
+ fillMode: Literal[0, 1]
78
+
79
+ class _DefinePathKwArgs(_SolidShapeKwArgs, total=False):
80
+ autoclose: Literal["svg", "pdf"] | None
81
+ bbox: tuple[float, float, float, float] | None
82
+
83
+ class _WedgeKwArgs(_SolidShapeKwArgs, total=False):
84
+ radius1: float | None
85
+ yradius1: float | None
86
+
87
+ class _StringKwArgs(TypedDict, total=False):
88
+ fontName: str
89
+ fontSize: float
90
+ fillColor: Color | None
91
+ textAnchor: Literal["start", "middle", "end", "numeric"]
92
+ encoding: str
93
+ textRenderMode: Literal[0, 1, 2, 3, 4, 5, 6, 7]
94
+
95
+ __version__: Final[str]
96
+ isOpacity: NoneOr
97
+ NON_ZERO_WINDING: Final[str]
98
+ EVEN_ODD: Final[str]
99
+ STATE_DEFAULTS: Final[Incomplete]
100
+
101
+ class _DrawTimeResizeable: ...
102
+
103
+ class _SetKeyWordArgs:
104
+ def __init__(self, keywords: SupportsItems[str, Any] = {}) -> None: ...
105
+
106
+ def getRectsBounds(rectList): ...
107
+ def getPathBounds(points): ...
108
+ def getPointsBounds(pointList): ...
109
+
110
+ class Shape(_SetKeyWordArgs, _DrawTimeResizeable):
111
+ @abstractmethod
112
+ def copy(self) -> Self: ...
113
+ def getProperties(self, recur: int = 1) -> dict[str, Any]: ...
114
+ def setProperties(self, props) -> None: ...
115
+ def dumpProperties(self, prefix: str = "") -> None: ...
116
+ def verify(self) -> None: ...
117
+ @abstractmethod
118
+ def getBounds(self) -> tuple[float, float, float, float]: ...
119
+
120
+ class Group(Shape):
121
+ contents: list[Shape]
122
+ transform: tuple[float, float, float, float, float, float] | list[float] | list[int]
123
+ def __init__(self, *elements: Shape | UserNode, **keywords: Unpack[_GroupKwArgs]) -> None: ...
124
+ def add(self, node: Shape | UserNode, name: str | None = None) -> None: ...
125
+ def insert(self, i: int, n: Shape | UserNode, name: str | None = None) -> None: ...
126
+ def expandUserNodes(self) -> Group: ...
127
+ def copy(self) -> Self: ...
128
+ def rotate(self, theta: float) -> None: ...
129
+ def translate(self, dx: float, dy: float) -> None: ...
130
+ def scale(self, sx: float, sy: float) -> None: ...
131
+ def skew(self, kx: float, ky: float) -> None: ...
132
+ def shift(self, x: float, y: float) -> None: ...
133
+ # NOTE: This changes the object to a Drawing, rather than returning
134
+ # a new one, which is not ideal...
135
+ def asDrawing(self, width: float, height: float) -> None: ...
136
+ def getContents(self) -> list[Shape | UserNode]: ...
137
+ def getBounds(self) -> tuple[float, float, float, float]: ...
138
+
139
+ class Drawing(Group, Flowable):
140
+ background: Shape | UserNode | None
141
+ renderScale: float
142
+ def __init__(
143
+ self, width: float = 400, height: float = 200, *nodes: Shape | UserNode, **keywords: Unpack[_DrawingKwArgs]
144
+ ) -> None: ...
145
+ def draw(self, showBoundary=...) -> None: ...
146
+ def expandUserNodes(self) -> Drawing: ...
147
+ def asGroup(self, *args: Shape | UserNode, **kw: Unpack[_GroupKwArgs]) -> Group: ...
148
+ def save(
149
+ self,
150
+ formats: Iterable[str] | None = None,
151
+ verbose: bool | None = None,
152
+ fnRoot: str | None = None,
153
+ outDir: str | None = None,
154
+ title: str = "",
155
+ **kw,
156
+ ): ...
157
+ def asString(self, format: str, verbose: bool | None = None, preview: int = 0, **kw) -> str: ...
158
+ def resized(
159
+ self, kind: Literal["fit", "fitx", "fity"] = "fit", lpad: float = 0, rpad: float = 0, bpad: float = 0, tpad: float = 0
160
+ ) -> Drawing: ...
161
+
162
+ class _DrawingEditorMixin: ...
163
+
164
+ class _isStrokeDashArray(Validator):
165
+ def test(self, x): ...
166
+
167
+ isStrokeDashArray: _isStrokeDashArray
168
+
169
+ class LineShape(Shape):
170
+ strokeColor: Color | None
171
+ strokeWidth: float
172
+ strokeLineCap: Literal[0, 1, 2]
173
+ strokeLineJoin: Literal[0, 1, 2]
174
+ strokeMiterLimit: float
175
+ strokeDashArray: Sequence[float] | tuple[float, Sequence[float]]
176
+ strokeOpacity: float | None
177
+ def __init__(self, kw: _LineShapeKwArgs) -> None: ...
178
+ @abstractmethod
179
+ def copy(self) -> Self: ...
180
+ @abstractmethod
181
+ def getBounds(self) -> tuple[float, float, float, float]: ...
182
+
183
+ class Line(LineShape):
184
+ x1: float
185
+ y1: float
186
+ x2: float
187
+ y2: float
188
+ def __init__(self, x1: float, y1: float, x2: float, y2: float, **kw: Unpack[_LineShapeKwArgs]) -> None: ...
189
+ # NOTE: For some reason Line doesn't implement copy
190
+ def copy(self) -> NoReturn: ...
191
+ def getBounds(self) -> tuple[float, float, float, float]: ...
192
+
193
+ class SolidShape(LineShape):
194
+ fillColor: Color | None
195
+ fillOpacity: float | None
196
+ def __init__(self, kw: _SolidShapeKwArgs) -> None: ...
197
+ @abstractmethod
198
+ def copy(self) -> Self: ...
199
+ @abstractmethod
200
+ def getBounds(self) -> tuple[float, float, float, float]: ...
201
+
202
+ class Path(SolidShape):
203
+ points: list[float]
204
+ operators: list[float]
205
+ isClipPath: _BoolLike
206
+ autoclose: Literal["svg", "pdf"] | None
207
+ fillMode: Literal[0, 1]
208
+ def __init__(
209
+ self,
210
+ points: list[float] | None = None,
211
+ operators: list[float] | None = None,
212
+ isClipPath: _BoolLike = 0,
213
+ autoclose: Literal["svg", "pdf"] | None = None,
214
+ fillMode: Literal[0, 1] = 0,
215
+ **kw: Unpack[_PathKwArgs],
216
+ ) -> None: ...
217
+ def copy(self) -> Self: ...
218
+ def moveTo(self, x: float, y: float) -> None: ...
219
+ def lineTo(self, x: float, y: float) -> None: ...
220
+ def curveTo(self, x1: float, y1: float, x2: float, y2: float, x3: float, y3: float) -> None: ...
221
+ def closePath(self) -> None: ...
222
+ def getBounds(self) -> tuple[float, float, float, float]: ...
223
+
224
+ EmptyClipPath: Final[Path]
225
+
226
+ def getArcPoints(
227
+ centerx: float,
228
+ centery: float,
229
+ radius: float,
230
+ startangledegrees: float,
231
+ endangledegrees: float,
232
+ yradius: float | None = None,
233
+ degreedelta: float | None = None,
234
+ reverse: _BoolLike | None = None,
235
+ ) -> list[float]: ...
236
+
237
+ class ArcPath(Path):
238
+ def addArc(
239
+ self,
240
+ centerx: float,
241
+ centery: float,
242
+ radius: float,
243
+ startangledegrees: float,
244
+ endangledegrees: float,
245
+ yradius: float | None = None,
246
+ degreedelta: float | None = None,
247
+ moveTo: _BoolLike | None = None,
248
+ reverse: _BoolLike | None = None,
249
+ ) -> None: ...
250
+
251
+ def definePath(
252
+ pathSegs: Iterable[_PathOp] = [], isClipPath: _BoolLike = 0, dx: float = 0, dy: float = 0, **kw: Unpack[_DefinePathKwArgs]
253
+ ) -> Path: ...
254
+
255
+ class Rect(SolidShape):
256
+ x: float
257
+ y: float
258
+ width: float
259
+ height: float
260
+ rx: float
261
+ ry: float
262
+ def __init__(
263
+ self, x: float, y: float, width: float, height: float, rx: float = 0, ry: float = 0, **kw: _SolidShapeKwArgs
264
+ ) -> None: ...
265
+ def copy(self) -> Self: ...
266
+ def getBounds(self) -> tuple[float, float, float, float]: ...
267
+
268
+ class Image(SolidShape):
269
+ x: float
270
+ y: float
271
+ width: float
272
+ height: float
273
+ path: Incomplete
274
+ def __init__(self, x: float, y: float, width: float, height: float, path, **kw: Unpack[_SolidShapeKwArgs]) -> None: ...
275
+ def copy(self) -> Self: ...
276
+ def getBounds(self) -> tuple[float, float, float, float]: ...
277
+
278
+ class Circle(SolidShape):
279
+ cx: float
280
+ cy: float
281
+ r: float
282
+ def __init__(self, cx: float, cy: float, r: float, **kw: Unpack[_SolidShapeKwArgs]) -> None: ...
283
+ def copy(self) -> Self: ...
284
+ def getBounds(self) -> tuple[float, float, float, float]: ...
285
+
286
+ class Ellipse(SolidShape):
287
+ cx: float
288
+ cy: float
289
+ rx: float
290
+ ry: float
291
+ def __init__(self, cx: float, cy: float, rx: float, ry: float, **kw: Unpack[_SolidShapeKwArgs]) -> None: ...
292
+ def copy(self) -> Self: ...
293
+ def getBounds(self) -> tuple[float, float, float, float]: ...
294
+
295
+ class Wedge(SolidShape):
296
+ centerx: float
297
+ centery: float
298
+ radius: float
299
+ startangledegrees: float
300
+ endangledegrees: float
301
+ yradius: float | None
302
+ annular: bool
303
+ # NOTE: This one is not actually settable on the instance if runtime validation
304
+ # is turned on, but it seems bad to disallow it anyways
305
+ degreedelta: float
306
+ def __init__(
307
+ self,
308
+ centerx: float,
309
+ centery: float,
310
+ radius: float,
311
+ startangledegrees: float,
312
+ endangledegrees: float,
313
+ yradius: float | None = None,
314
+ annular: bool = False,
315
+ **kw: Unpack[_WedgeKwArgs],
316
+ ) -> None: ...
317
+ def asPolygon(self) -> Path | Polygon: ...
318
+ def copy(self) -> Self: ...
319
+ def getBounds(self) -> tuple[float, float, float, float]: ...
320
+
321
+ class Polygon(SolidShape):
322
+ points: list[float]
323
+ def __init__(self, points: list[float] = [], **kw: Unpack[_SolidShapeKwArgs]) -> None: ...
324
+ def copy(self) -> Self: ...
325
+ def getBounds(self) -> tuple[float, float, float, float]: ...
326
+
327
+ class PolyLine(LineShape):
328
+ points: list[float]
329
+ def __init__(self, points: list[float] = [], **kw: Unpack[_SolidShapeKwArgs]) -> None: ...
330
+ def copy(self) -> Self: ...
331
+ def getBounds(self) -> tuple[float, float, float, float]: ...
332
+
333
+ class Hatching(Path):
334
+ xyLists: Sequence[tuple[float, float]]
335
+ angles: Sequence[float]
336
+ spacings: Sequence[float]
337
+ def __init__(
338
+ self,
339
+ spacings: float | Sequence[float] = 2,
340
+ angles: float | Sequence[float] = 45,
341
+ xyLists: Sequence[tuple[float, float] | list[float]] = [],
342
+ **kwds: Unpack[_AllPathKwArgs],
343
+ ) -> None: ...
344
+
345
+ def numericXShift(
346
+ tA, text: str, w: float, fontName: str, fontSize: float, encoding: str | None = None, pivotCharacter: str = "."
347
+ ) -> float: ...
348
+
349
+ class String(Shape):
350
+ encoding: str
351
+ x: float
352
+ y: float
353
+ text: str
354
+ textAnchor: Literal["start", "middle", "end", "numeric"]
355
+ fontName: str
356
+ fontSize: float
357
+ fillColor: Color | None
358
+ def __init__(self, x: float, y: float, text: str, **kw: Unpack[_StringKwArgs]) -> None: ...
359
+ def getEast(self): ...
360
+ def copy(self) -> Self: ...
361
+ def getBounds(self) -> tuple[float, float, float, float]: ...
362
+
363
+ class UserNode(_DrawTimeResizeable):
364
+ @abstractmethod
365
+ def provideNode(self) -> Shape: ...
366
+
367
+ class DirectDraw(Shape):
368
+ @abstractmethod
369
+ def drawDirectly(self, canvas: Canvas) -> None: ...
370
+
371
+ def test() -> None: ...
@@ -0,0 +1,8 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from .shapes import Path, UserNode
4
+
5
+ class SvgPath(Path, UserNode):
6
+ fillColor: Incomplete
7
+ def __init__(self, s, isClipPath: int = 0, autoclose: Incomplete | None = None, fillMode=0, **kw) -> None: ...
8
+ def provideNode(self): ...
@@ -0,0 +1,12 @@
1
+ def nullTransform(): ...
2
+ def translate(dx, dy): ...
3
+ def scale(sx, sy): ...
4
+ def rotate(angle): ...
5
+ def skewX(angle): ...
6
+ def skewY(angle): ...
7
+ def mmult(A, B): ...
8
+ def inverse(A): ...
9
+ def zTransformPoint(A, v): ...
10
+ def transformPoint(A, v): ...
11
+ def transformPoints(matrix, V): ...
12
+ def zTransformPoints(matrix, V): ...
@@ -0,0 +1,22 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class RenderPMError(Exception): ...
4
+
5
+ def setFont(gs, fontName, fontSize) -> None: ...
6
+ def pathNumTrunc(n): ...
7
+ def text2Path(
8
+ text,
9
+ x: int = 0,
10
+ y: int = 0,
11
+ fontName="Times-Roman",
12
+ fontSize: int = 1000,
13
+ anchor: str = "start",
14
+ truncate: int = 1,
15
+ pathReverse: int = 0,
16
+ gs: Incomplete | None = None,
17
+ **kwds,
18
+ ): ...
19
+
20
+ # NOTE: This only exists on some render backends
21
+ def processGlyph(G, truncate=1, pathReverse=0): ...
22
+ def text2PathDescription(text, x=0, y=0, fontName=..., fontSize=1000, anchor="start", truncate=1, pathReverse=0, gs=None): ...
@@ -0,0 +1,112 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Final
3
+
4
+ from reportlab.graphics import shapes
5
+ from reportlab.lib.attrmap import *
6
+ from reportlab.lib.validators import *
7
+
8
+ __version__: Final[str]
9
+
10
+ class PropHolder:
11
+ def verify(self) -> None: ...
12
+ def __setattr__(self, name, value) -> None: ...
13
+ def getProperties(self, recur: int = 1): ...
14
+ def setProperties(self, propDict) -> None: ...
15
+ def dumpProperties(self, prefix: str = "") -> None: ...
16
+
17
+ class Widget(PropHolder, shapes.UserNode):
18
+ # TODO: draw should probably be marked abstract
19
+ def draw(self) -> None: ...
20
+ def demo(self) -> None: ...
21
+ def provideNode(self) -> shapes.Shape: ...
22
+ def getBounds(self) -> tuple[float, float, float, float]: ...
23
+
24
+ class ScaleWidget(Widget):
25
+ x: Incomplete
26
+ y: Incomplete
27
+ contents: Incomplete
28
+ scale: Incomplete
29
+ def __init__(self, x: int = 0, y: int = 0, scale: float = 1.0, contents: Incomplete | None = None) -> None: ...
30
+ def draw(self): ...
31
+
32
+ class CloneMixin:
33
+ def clone(self, **kwds): ...
34
+
35
+ class TypedPropertyCollection(PropHolder):
36
+ def __init__(self, exampleClass, **kwds) -> None: ...
37
+ def wKlassFactory(self, Klass): ...
38
+ def __getitem__(self, x): ...
39
+ def __contains__(self, key) -> bool: ...
40
+ def __setitem__(self, key, value) -> None: ...
41
+ def __len__(self) -> int: ...
42
+ def getProperties(self, recur: int = 1): ...
43
+ def setVector(self, **kw) -> None: ...
44
+ def __getattr__(self, name): ...
45
+ def __setattr__(self, name, value): ...
46
+ def checkAttr(self, key, a, default: Incomplete | None = None): ...
47
+
48
+ def tpcGetItem(obj, x): ...
49
+ def isWKlass(obj): ...
50
+
51
+ class StyleProperties(PropHolder):
52
+ def __init__(self, **kwargs) -> None: ...
53
+ def __setattr__(self, name, value) -> None: ...
54
+
55
+ class TwoCircles(Widget):
56
+ leftCircle: Incomplete
57
+ rightCircle: Incomplete
58
+ def __init__(self) -> None: ...
59
+ def draw(self): ...
60
+
61
+ class Face(Widget):
62
+ x: int
63
+ y: int
64
+ size: int
65
+ skinColor: Incomplete
66
+ eyeColor: Incomplete
67
+ mood: str
68
+ def __init__(self) -> None: ...
69
+ def demo(self) -> None: ...
70
+ def draw(self): ...
71
+
72
+ class TwoFaces(Widget):
73
+ faceOne: Incomplete
74
+ faceTwo: Incomplete
75
+ def __init__(self) -> None: ...
76
+ def draw(self): ...
77
+ def demo(self) -> None: ...
78
+
79
+ class Sizer(Widget):
80
+ contents: Incomplete
81
+ fillColor: Incomplete
82
+ strokeColor: Incomplete
83
+ def __init__(self, *elements) -> None: ...
84
+ def add(self, node, name: Incomplete | None = None) -> None: ...
85
+ def getBounds(self): ...
86
+ def draw(self): ...
87
+
88
+ class CandleStickProperties(PropHolder):
89
+ strokeWidth: Incomplete
90
+ strokeColor: Incomplete
91
+ strokeDashArray: Incomplete
92
+ crossWidth: Incomplete
93
+ crossLo: Incomplete
94
+ crossHi: Incomplete
95
+ boxWidth: Incomplete
96
+ boxFillColor: Incomplete
97
+ boxStrokeColor: Incomplete
98
+ boxStrokeWidth: Incomplete
99
+ boxStrokeDashArray: Incomplete
100
+ boxLo: Incomplete
101
+ boxMid: Incomplete
102
+ boxHi: Incomplete
103
+ boxSides: Incomplete
104
+ position: Incomplete
105
+ candleKind: Incomplete
106
+ axes: Incomplete
107
+ chart: Incomplete
108
+ def __init__(self, **kwds) -> None: ...
109
+ def __call__(self, _x, _y, _size, _color): ...
110
+
111
+ def CandleSticks(**kwds): ...
112
+ def test() -> None: ...
@@ -0,0 +1,3 @@
1
+ from typing import Final
2
+
3
+ __version__: Final[str]
@@ -0,0 +1,11 @@
1
+ from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
2
+ from reportlab.graphics.widgetbase import Widget
3
+ from reportlab.lib.attrmap import *
4
+ from reportlab.lib.validators import *
5
+
6
+ class AdjustableArrow(Widget):
7
+ def __init__(self, **kwds) -> None: ...
8
+ def draw(self): ...
9
+
10
+ class AdjustableArrowDrawing(_DrawingEditorMixin, Drawing):
11
+ def __init__(self, width: int = 100, height: int = 63, *args, **kw) -> None: ...
@@ -0,0 +1,29 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Final
3
+
4
+ from reportlab.graphics.widgetbase import Widget
5
+
6
+ __version__: Final[str]
7
+
8
+ class EventCalendar(Widget):
9
+ x: int
10
+ y: int
11
+ width: int
12
+ height: int
13
+ timeColWidth: Incomplete
14
+ trackRowHeight: int
15
+ data: Incomplete
16
+ trackNames: Incomplete
17
+ startTime: Incomplete
18
+ endTime: Incomplete
19
+ day: int
20
+ def __init__(self) -> None: ...
21
+ def computeSize(self) -> None: ...
22
+ def computeStartAndEndTimes(self) -> None: ...
23
+ def getAllTracks(self): ...
24
+ def getRelevantTalks(self, talkList): ...
25
+ def scaleTime(self, theTime): ...
26
+ def getTalkRect(self, startTime, duration, trackId, text): ...
27
+ def draw(self): ...
28
+
29
+ def test() -> None: ...
@@ -0,0 +1,32 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Final
3
+
4
+ from reportlab.graphics.widgets.signsandsymbols import _Symbol
5
+ from reportlab.lib.attrmap import *
6
+ from reportlab.lib.validators import *
7
+
8
+ __version__: Final[str]
9
+ validFlag: Incomplete
10
+
11
+ class Star(_Symbol):
12
+ size: int
13
+ fillColor: Incomplete
14
+ strokeColor: Incomplete
15
+ angle: int
16
+ def __init__(self) -> None: ...
17
+ def demo(self): ...
18
+ def draw(self): ...
19
+
20
+ class Flag(_Symbol):
21
+ kind: Incomplete
22
+ size: int
23
+ fillColor: Incomplete
24
+ border: int
25
+ def __init__(self, **kw) -> None: ...
26
+ def availableFlagNames(self): ...
27
+ def draw(self): ...
28
+ def clone(self): ...
29
+ def demo(self): ...
30
+
31
+ def makeFlag(name): ...
32
+ def test() -> None: ...