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.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_ast.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_json.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/argparse.pyi +211 -53
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/base64.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/builtins.pyi +22 -5
- package/dist/typeshed-fallback/stdlib/configparser.pyi +143 -52
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +3 -5
- package/dist/typeshed-fallback/stdlib/datetime.pyi +32 -0
- package/dist/typeshed-fallback/stdlib/enum.pyi +10 -2
- package/dist/typeshed-fallback/stdlib/glob.pyi +9 -1
- package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/io.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/itertools.pyi +58 -0
- package/dist/typeshed-fallback/stdlib/json/encoder.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/locale.pyi +6 -2
- package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/math.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/mimetypes.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/mmap.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +44 -11
- package/dist/typeshed-fallback/stdlib/pdb.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/platform.pyi +25 -0
- package/dist/typeshed-fallback/stdlib/pydoc.pyi +79 -30
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -6
- package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +37 -16
- package/dist/typeshed-fallback/stdlib/time.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/traceback.pyi +54 -18
- package/dist/typeshed-fallback/stdlib/types.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/typing.pyi +14 -2
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Flask-Cors/flask_cors/extension.pyi +1 -1
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +2 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/converters.pyi +4 -3
- package/dist/typeshed-fallback/stubs/docker/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +17 -2
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +16 -2
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +30 -4
- package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +1 -1
- package/dist/typeshed-fallback/stubs/greenlet/greenlet/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +7 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/jwt.pyi +2 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +0 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/ldap.pyi +41 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/transit.pyi +4 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_base.pyi +4 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/constants/identity.pyi +2 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/nanoid/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/algorithm.pyi +1 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/generate.pyi +3 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/method.pyi +6 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/non_secure_generate.pyi +3 -0
- package/dist/typeshed-fallback/stubs/nanoid/nanoid/resources.pyi +2 -0
- package/dist/typeshed-fallback/stubs/netaddr/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +12 -9
- package/dist/typeshed-fallback/stubs/openpyxl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pep8-naming/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pep8-naming/pep8ext_naming.pyi +0 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
- package/dist/typeshed-fallback/stubs/pyserial/serial/serialutil.pyi +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +1 -0
- package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code128.pyi +33 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code39.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/code93.pyi +28 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/common.pyi +124 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +68 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +41 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/ecc200datamatrix.pyi +22 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/fourstate.pyi +0 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/lto.pyi +41 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qr.pyi +52 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/qrencoder.pyi +202 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps.pyi +36 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/usps4s.pyi +85 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/barcode/widgets.pyi +65 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/areas.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/axes.pyi +205 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/barcharts.pyi +105 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/dotbox.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/doughnut.pyi +34 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/legends.pyi +101 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/linecharts.pyi +67 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/lineplots.pyi +119 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/markers.pyi +10 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/piecharts.pyi +182 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/slidebox.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/spider.pyi +60 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +60 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils.pyi +49 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/utils3d.pyi +26 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPDF.pyi +39 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPM.pyi +127 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderPS.pyi +73 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderSVG.pyi +131 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/renderbase.pyi +40 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/bubble.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_bar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/clustered_column.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/excelcolors.pyi +33 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/exploded_pie.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/filled_radar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/line_chart.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/linechart_with_markers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/radar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/runall.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/scatter_lines_markers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/simple_pie.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_bar.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/samples/stacked_column.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/shapes.pyi +371 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/svgpath.pyi +8 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/transform.pyi +12 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/utils.pyi +22 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +112 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/adjustableArrow.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/eventcal.pyi +29 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/flags.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/grids.pyi +76 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/markers.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/signsandsymbols.pyi +164 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgets/table.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/PyFontify.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/abag.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/arciv.pyi +7 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/attrmap.pyi +40 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/boxstuff.pyi +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/codecharts.pyi +80 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/colors.pyi +318 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/corp.pyi +79 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/enums.pyi +7 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/extformat.pyi +6 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fontfinder.pyi +59 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/fonts.pyi +10 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/formatters.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/geomutils.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/logger.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/normalDate.pyi +82 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pagesizes.pyi +51 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pdfencrypt.pyi +133 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/pygments2xpre.pyi +1 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/randomtext.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_accel.pyi +11 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rl_safe_eval.pyi +253 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rltempfile.pyi +2 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/rparsexml.pyi +32 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/sequencer.pyi +31 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/styles.pyi +181 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +67 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/textsplit.pyi +19 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/units.pyi +9 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/utils.pyi +190 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/validators.pyi +171 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/yaml.pyi +26 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/acroform.pyi +214 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/cidfonts.pyi +51 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfdoc.pyi +627 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfform.pyi +81 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfmetrics.pyi +93 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfpattern.pyi +21 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/pdfutils.pyi +16 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/rl_codecs.pyi +24 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +150 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/canvas.pyi +306 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pathobject.pyi +18 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfgeom.pyi +5 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/pdfimages.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfgen/textobject.pyi +52 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/__init__.pyi +12 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +267 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/figures.pyi +118 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +451 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/frames.pyi +37 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/multicol.pyi +17 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/para.pyi +271 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paragraph.pyi +38 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/paraparser.pyi +117 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tableofcontents.pyi +108 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +124 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/xpreformatted.pyi +30 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_config.pyi +71 -0
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/rl_settings.pyi +72 -0
- package/dist/typeshed-fallback/stubs/requests/requests/__version__.pyi +12 -10
- package/dist/typeshed-fallback/stubs/requests/requests/adapters.pyi +38 -7
- package/dist/typeshed-fallback/stubs/requests/requests/models.pyi +21 -21
- package/dist/typeshed-fallback/stubs/requests/requests/utils.pyi +8 -6
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +25 -19
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build.pyi +1 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +3 -2
- package/dist/typeshed-fallback/stubs/shapely/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/__init__.pyi +34 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +5 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +184 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +12 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_typing.pyi +58 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/_version.pyi +6 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/affinity.pyi +23 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/cga.pyi +6 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/algorithms/polylabel.pyi +19 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/constructive.pyi +430 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/coordinates.pyi +43 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/coords.pyi +18 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/creation.pyi +242 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/decorators.pyi +11 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/errors.pyi +17 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/__init__.pyi +25 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +285 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +18 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/geo.pyi +9 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +45 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +15 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +20 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +22 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +39 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +45 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/geos.pyi +3 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/io.pyi +140 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +167 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/linear.pyi +69 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/measurement.pyi +68 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/ops.pyi +106 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/plotting.pyi +76 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/predicates.pyi +214 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/prepared.pyi +20 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/set_operations.pyi +86 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/speedups.pyi +12 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/strtree.pyi +82 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/testing.pyi +14 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/validation.pyi +7 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/vectorized/__init__.pyi +37 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/wkb.pyi +16 -0
- package/dist/typeshed-fallback/stubs/shapely/shapely/wkt.pyi +8 -0
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/dep_util.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/METADATA.toml +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/__init__.pyi +0 -25
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_requestor.pyi +0 -38
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/__init__.pyi +0 -82
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/__init__.pyi +0 -12
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/api_resource.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/createable_api_resource.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/custom_method.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/deletable_api_resource.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/listable_api_resource.pyi +0 -19
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/nested_resource_class_methods.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/searchable_api_resource.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/singleton_api_resource.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/updateable_api_resource.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/abstract/verify_mixin.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account.pyi +0 -75
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/account_link.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/alipay_account.pyi +0 -23
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/apple_pay_domain.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/application_fee_refund.pyi +0 -14
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/balance_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bank_account.pyi +0 -26
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/configuration.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/billing_portal/session.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_receiver.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/bitcoin_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/capability.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/card.pyi +0 -26
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/charge.pyi +0 -17
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/checkout/session.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/country_spec.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/coupon.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note.pyi +0 -21
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/credit_note_line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer.pyi +0 -58
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/customer_balance_transaction.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/dispute.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/ephemeral_key.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/error_object.pyi +0 -25
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/event.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/exchange_rate.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file.pyi +0 -21
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/file_link.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_report.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/identity/verification_session.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice.pyi +0 -28
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_item.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/invoice_line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuer_fraud_record.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/__init__.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/authorization.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/card_details.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/cardholder.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/dispute.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/issuing/transaction.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/line_item.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/list_object.pyi +0 -57
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/login_link.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/mandate.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/order.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_intent.pyi +0 -22
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_link.pyi +0 -24
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payment_method.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/payout.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/person.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/plan.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/price.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/product.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/promotion_code.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/quote.pyi +0 -24
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/early_fraud_warning.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/radar/value_list_item.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/recipient_transfer.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/refund.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/__init__.pyi +0 -2
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_run.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reporting/report_type.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/reversal.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/review.pyi +0 -5
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/search_result_object.pyi +0 -32
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_attempt.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/setup_intent.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/shipping_rate.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sigma/scheduled_query_run.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/sku.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source.pyi +0 -13
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/source_transaction.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription.pyi +0 -15
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_item.pyi +0 -27
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/subscription_schedule.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_code.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_id.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/tax_rate.pyi +0 -8
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/__init__.pyi +0 -3
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/connection_token.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/location.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/terminal/reader.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/test_helpers/test_clock.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/three_d_secure.pyi +0 -6
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/token.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/topup.pyi +0 -10
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/transfer.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record.pyi +0 -16
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/usage_record_summary.pyi +0 -4
- package/dist/typeshed-fallback/stubs/stripe/stripe/api_resources/webhook_endpoint.pyi +0 -9
- package/dist/typeshed-fallback/stubs/stripe/stripe/error.pyi +0 -76
- package/dist/typeshed-fallback/stubs/stripe/stripe/http_client.pyi +0 -52
- package/dist/typeshed-fallback/stubs/stripe/stripe/multipart_data_generator.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/oauth.pyi +0 -11
- package/dist/typeshed-fallback/stubs/stripe/stripe/oauth_error.pyi +0 -22
- package/dist/typeshed-fallback/stubs/stripe/stripe/object_classes.pyi +0 -5
- package/dist/typeshed-fallback/stubs/stripe/stripe/request_metrics.pyi +0 -7
- package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_object.pyi +0 -62
- package/dist/typeshed-fallback/stubs/stripe/stripe/stripe_response.pyi +0 -19
- package/dist/typeshed-fallback/stubs/stripe/stripe/util.pyi +0 -42
- package/dist/typeshed-fallback/stubs/stripe/stripe/version.pyi +0 -1
- package/dist/typeshed-fallback/stubs/stripe/stripe/webhook.pyi +0 -17
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from typing import Final
|
|
4
|
+
|
|
5
|
+
from reportlab.pdfbase.pdfdoc import PDFObject
|
|
6
|
+
from reportlab.platypus.flowables import Flowable
|
|
7
|
+
|
|
8
|
+
__version__: Final[str]
|
|
9
|
+
|
|
10
|
+
def xorKey(num, key): ...
|
|
11
|
+
|
|
12
|
+
CLOBBERID: int
|
|
13
|
+
CLOBBERPERMISSIONS: int
|
|
14
|
+
DEBUG: Incomplete
|
|
15
|
+
reserved1: int
|
|
16
|
+
reserved2: Incomplete
|
|
17
|
+
printable: Incomplete
|
|
18
|
+
modifiable: Incomplete
|
|
19
|
+
copypastable: Incomplete
|
|
20
|
+
annotatable: Incomplete
|
|
21
|
+
higherbits: int
|
|
22
|
+
|
|
23
|
+
os_urandom = os.urandom
|
|
24
|
+
|
|
25
|
+
class StandardEncryption:
|
|
26
|
+
prepared: int
|
|
27
|
+
userPassword: Incomplete
|
|
28
|
+
ownerPassword: Incomplete
|
|
29
|
+
revision: int
|
|
30
|
+
canPrint: Incomplete
|
|
31
|
+
canModify: Incomplete
|
|
32
|
+
canCopy: Incomplete
|
|
33
|
+
canAnnotate: Incomplete
|
|
34
|
+
O: Incomplete
|
|
35
|
+
def __init__(
|
|
36
|
+
self,
|
|
37
|
+
userPassword,
|
|
38
|
+
ownerPassword: Incomplete | None = None,
|
|
39
|
+
canPrint: int = 1,
|
|
40
|
+
canModify: int = 1,
|
|
41
|
+
canCopy: int = 1,
|
|
42
|
+
canAnnotate: int = 1,
|
|
43
|
+
strength: Incomplete | None = None,
|
|
44
|
+
) -> None: ...
|
|
45
|
+
def setAllPermissions(self, value) -> None: ...
|
|
46
|
+
def permissionBits(self): ...
|
|
47
|
+
def encode(self, t): ...
|
|
48
|
+
P: Incomplete
|
|
49
|
+
key: Incomplete
|
|
50
|
+
U: Incomplete
|
|
51
|
+
UE: Incomplete
|
|
52
|
+
OE: Incomplete
|
|
53
|
+
Perms: Incomplete
|
|
54
|
+
objnum: Incomplete
|
|
55
|
+
def prepare(self, document, overrideID: Incomplete | None = None) -> None: ...
|
|
56
|
+
version: Incomplete
|
|
57
|
+
def register(self, objnum, version) -> None: ...
|
|
58
|
+
def info(self): ...
|
|
59
|
+
|
|
60
|
+
class StandardEncryptionDictionary(PDFObject):
|
|
61
|
+
__RefOnly__: int
|
|
62
|
+
revision: Incomplete
|
|
63
|
+
def __init__(self, O, OE, U, UE, P, Perms, revision) -> None: ...
|
|
64
|
+
def format(self, document): ...
|
|
65
|
+
|
|
66
|
+
padding: str
|
|
67
|
+
|
|
68
|
+
def hexText(text): ...
|
|
69
|
+
def unHexText(hexText): ...
|
|
70
|
+
|
|
71
|
+
PadString: Incomplete
|
|
72
|
+
|
|
73
|
+
def checkRevision(revision): ...
|
|
74
|
+
def encryptionkey(password, OwnerKey, Permissions, FileId1, revision: Incomplete | None = None): ...
|
|
75
|
+
def computeO(userPassword, ownerPassword, revision): ...
|
|
76
|
+
def computeU(
|
|
77
|
+
encryptionkey,
|
|
78
|
+
encodestring=b"(\xbfN^Nu\x8aAd\x00NV\xff\xfa\x01\x08..\x00\xb6\xd0h>\x80/\x0c\xa9\xfedSiz",
|
|
79
|
+
revision: Incomplete | None = None,
|
|
80
|
+
documentId: Incomplete | None = None,
|
|
81
|
+
): ...
|
|
82
|
+
def checkU(encryptionkey, U) -> None: ...
|
|
83
|
+
def encodePDF(key, objectNumber, generationNumber, string, revision: Incomplete | None = None): ...
|
|
84
|
+
def equalityCheck(observed, expected, label) -> None: ...
|
|
85
|
+
def test() -> None: ...
|
|
86
|
+
def encryptCanvas(
|
|
87
|
+
canvas,
|
|
88
|
+
userPassword,
|
|
89
|
+
ownerPassword: Incomplete | None = None,
|
|
90
|
+
canPrint: int = 1,
|
|
91
|
+
canModify: int = 1,
|
|
92
|
+
canCopy: int = 1,
|
|
93
|
+
canAnnotate: int = 1,
|
|
94
|
+
strength: int = 40,
|
|
95
|
+
) -> None: ...
|
|
96
|
+
|
|
97
|
+
class EncryptionFlowable(StandardEncryption, Flowable):
|
|
98
|
+
def wrap(self, availWidth, availHeight): ...
|
|
99
|
+
def draw(self) -> None: ...
|
|
100
|
+
|
|
101
|
+
def encryptDocTemplate(
|
|
102
|
+
dt,
|
|
103
|
+
userPassword,
|
|
104
|
+
ownerPassword: Incomplete | None = None,
|
|
105
|
+
canPrint: int = 1,
|
|
106
|
+
canModify: int = 1,
|
|
107
|
+
canCopy: int = 1,
|
|
108
|
+
canAnnotate: int = 1,
|
|
109
|
+
strength: int = 40,
|
|
110
|
+
) -> None: ...
|
|
111
|
+
def encryptPdfInMemory(
|
|
112
|
+
inputPDF,
|
|
113
|
+
userPassword,
|
|
114
|
+
ownerPassword: Incomplete | None = None,
|
|
115
|
+
canPrint: int = 1,
|
|
116
|
+
canModify: int = 1,
|
|
117
|
+
canCopy: int = 1,
|
|
118
|
+
canAnnotate: int = 1,
|
|
119
|
+
strength: int = 40,
|
|
120
|
+
): ...
|
|
121
|
+
def encryptPdfOnDisk(
|
|
122
|
+
inputFileName,
|
|
123
|
+
outputFileName,
|
|
124
|
+
userPassword,
|
|
125
|
+
ownerPassword: Incomplete | None = None,
|
|
126
|
+
canPrint: int = 1,
|
|
127
|
+
canModify: int = 1,
|
|
128
|
+
canCopy: int = 1,
|
|
129
|
+
canAnnotate: int = 1,
|
|
130
|
+
strength: int = 40,
|
|
131
|
+
): ...
|
|
132
|
+
def scriptInterp() -> None: ...
|
|
133
|
+
def main() -> None: ...
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
def pygments2xpre(s, language: str = "python"): ...
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from collections.abc import Sequence
|
|
2
|
+
from typing import Final
|
|
3
|
+
|
|
4
|
+
__version__: Final[str]
|
|
5
|
+
STARTUP: Final[Sequence[str]]
|
|
6
|
+
COMPUTERS: Final[Sequence[str]]
|
|
7
|
+
BLAH: Final[Sequence[str]]
|
|
8
|
+
BUZZWORD: Final[Sequence[str]]
|
|
9
|
+
STARTREK: Final[Sequence[str]]
|
|
10
|
+
PRINTING: Final[Sequence[str]]
|
|
11
|
+
PYTHON: Final[Sequence[str]]
|
|
12
|
+
leadins: Final[Sequence[str]]
|
|
13
|
+
subjects: Final[Sequence[str]]
|
|
14
|
+
verbs: Final[Sequence[str]]
|
|
15
|
+
objects: Final[Sequence[str]]
|
|
16
|
+
|
|
17
|
+
def format_wisdom(text: str, line_length: int = 72) -> str: ...
|
|
18
|
+
def chomsky(times: int = 1) -> str: ...
|
|
19
|
+
def randomText(theme: str | Sequence[str] = ..., sentences: int = 5) -> str: ...
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
def fp_str(*a): ...
|
|
2
|
+
def unicode2T1(utext, fonts): ...
|
|
3
|
+
def instanceStringWidthT1(self, text, size, encoding: str = "utf8"): ...
|
|
4
|
+
def instanceStringWidthTTF(self, text, size, encoding: str = "utf-8"): ...
|
|
5
|
+
def hex32(i): ...
|
|
6
|
+
def add32(x, y): ...
|
|
7
|
+
def calcChecksum(data): ...
|
|
8
|
+
def escapePDF(s): ...
|
|
9
|
+
def asciiBase85Encode(input): ...
|
|
10
|
+
def asciiBase85Decode(input): ...
|
|
11
|
+
def sameFrag(f, g): ...
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import ast
|
|
2
|
+
import math
|
|
3
|
+
import time
|
|
4
|
+
from _typeshed import Incomplete
|
|
5
|
+
from collections.abc import Generator
|
|
6
|
+
from typing import NoReturn
|
|
7
|
+
|
|
8
|
+
eval_debug: Incomplete
|
|
9
|
+
strTypes: Incomplete
|
|
10
|
+
isPy39: Incomplete
|
|
11
|
+
haveNameConstant: Incomplete
|
|
12
|
+
|
|
13
|
+
class BadCode(ValueError): ...
|
|
14
|
+
|
|
15
|
+
augOps: Incomplete
|
|
16
|
+
__allowed_magic_methods__: Incomplete
|
|
17
|
+
__rl_unsafe__: Incomplete
|
|
18
|
+
__rl_unsafe_re__: Incomplete
|
|
19
|
+
|
|
20
|
+
def copy_locations(new_node, old_node) -> None: ...
|
|
21
|
+
|
|
22
|
+
class UntrustedAstTransformer(ast.NodeTransformer):
|
|
23
|
+
names_seen: Incomplete
|
|
24
|
+
nameIsAllowed: Incomplete
|
|
25
|
+
def __init__(self, names_seen: Incomplete | None = None, nameIsAllowed: Incomplete | None = None) -> None: ...
|
|
26
|
+
@property
|
|
27
|
+
def tmpName(self): ...
|
|
28
|
+
def error(self, node, msg) -> NoReturn: ...
|
|
29
|
+
def guard_iter(self, node): ...
|
|
30
|
+
def is_starred(self, ob): ...
|
|
31
|
+
def gen_unpack_spec(self, tpl): ...
|
|
32
|
+
def protect_unpack_sequence(self, target, value): ...
|
|
33
|
+
def gen_unpack_wrapper(self, node, target, ctx: str = "store"): ...
|
|
34
|
+
def gen_none_node(self): ...
|
|
35
|
+
def gen_lambda(self, args, body): ...
|
|
36
|
+
def gen_del_stmt(self, name_to_del): ...
|
|
37
|
+
def transform_slice(self, slice_): ...
|
|
38
|
+
def isAllowedName(self, node, name) -> None: ...
|
|
39
|
+
def check_function_argument_names(self, node) -> None: ...
|
|
40
|
+
def check_import_names(self, node): ...
|
|
41
|
+
def gen_attr_check(self, node, attr_name): ...
|
|
42
|
+
def visit_Constant(self, node): ...
|
|
43
|
+
def visit_Name(self, node): ...
|
|
44
|
+
def visit_Call(self, node): ...
|
|
45
|
+
def visit_Attribute(self, node): ...
|
|
46
|
+
def visit_Subscript(self, node): ...
|
|
47
|
+
def visit_Assign(self, node): ...
|
|
48
|
+
def visit_AugAssign(self, node): ...
|
|
49
|
+
def visit_While(node): ...
|
|
50
|
+
def visit_ExceptHandler(self, node): ...
|
|
51
|
+
def visit_With(self, node): ...
|
|
52
|
+
def visit_FunctionDef(self, node): ...
|
|
53
|
+
def visit_Lambda(self, node): ...
|
|
54
|
+
def visit_ClassDef(self, node): ...
|
|
55
|
+
def visit_Import(self, node): ...
|
|
56
|
+
def visit_BinOp(self, node): ...
|
|
57
|
+
visit_ImportFrom = visit_Import # pyright: ignore[reportAssignmentType]
|
|
58
|
+
visit_For = guard_iter
|
|
59
|
+
visit_comprehension = guard_iter
|
|
60
|
+
def generic_visit(self, node: ast.AST) -> None: ... # type: ignore[override]
|
|
61
|
+
def not_allowed(self, node: ast.AST) -> NoReturn: ...
|
|
62
|
+
def visit_children(self, node): ...
|
|
63
|
+
def visit(self, node): ...
|
|
64
|
+
visit_Ellipsis = not_allowed
|
|
65
|
+
visit_MatMult = not_allowed
|
|
66
|
+
visit_Exec = not_allowed
|
|
67
|
+
visit_Nonlocal = not_allowed
|
|
68
|
+
visit_AsyncFunctionDef = not_allowed
|
|
69
|
+
visit_Await = not_allowed
|
|
70
|
+
visit_AsyncFor = not_allowed
|
|
71
|
+
visit_AsyncWith = not_allowed
|
|
72
|
+
visit_Print = not_allowed
|
|
73
|
+
visit_Num = visit_children
|
|
74
|
+
visit_Str = visit_children
|
|
75
|
+
visit_Bytes = visit_children
|
|
76
|
+
visit_List = visit_children
|
|
77
|
+
visit_Tuple = visit_children
|
|
78
|
+
visit_Set = visit_children
|
|
79
|
+
visit_Dict = visit_children
|
|
80
|
+
visit_FormattedValue = visit_children
|
|
81
|
+
visit_JoinedStr = visit_children
|
|
82
|
+
visit_NameConstant = visit_children
|
|
83
|
+
visit_Load = visit_children
|
|
84
|
+
visit_Store = visit_children
|
|
85
|
+
visit_Del = visit_children
|
|
86
|
+
visit_Starred = visit_children
|
|
87
|
+
visit_Expression = visit_children
|
|
88
|
+
visit_Expr = visit_children
|
|
89
|
+
visit_UnaryOp = visit_children
|
|
90
|
+
visit_UAdd = visit_children
|
|
91
|
+
visit_USub = visit_children
|
|
92
|
+
visit_Not = visit_children
|
|
93
|
+
visit_Invert = visit_children
|
|
94
|
+
visit_Add = visit_children
|
|
95
|
+
visit_Sub = visit_children
|
|
96
|
+
visit_Mult = visit_children
|
|
97
|
+
visit_Div = visit_children
|
|
98
|
+
visit_FloorDiv = visit_children
|
|
99
|
+
visit_Pow = visit_children
|
|
100
|
+
visit_Mod = visit_children
|
|
101
|
+
visit_LShift = visit_children
|
|
102
|
+
visit_RShift = visit_children
|
|
103
|
+
visit_BitOr = visit_children
|
|
104
|
+
visit_BitXor = visit_children
|
|
105
|
+
visit_BitAnd = visit_children
|
|
106
|
+
visit_BoolOp = visit_children
|
|
107
|
+
visit_And = visit_children
|
|
108
|
+
visit_Or = visit_children
|
|
109
|
+
visit_Compare = visit_children
|
|
110
|
+
visit_Eq = visit_children
|
|
111
|
+
visit_NotEq = visit_children
|
|
112
|
+
visit_Lt = visit_children
|
|
113
|
+
visit_LtE = visit_children
|
|
114
|
+
visit_Gt = visit_children
|
|
115
|
+
visit_GtE = visit_children
|
|
116
|
+
visit_Is = visit_children
|
|
117
|
+
visit_IsNot = visit_children
|
|
118
|
+
visit_In = visit_children
|
|
119
|
+
visit_NotIn = visit_children
|
|
120
|
+
visit_keyword = visit_children
|
|
121
|
+
visit_IfExp = visit_children
|
|
122
|
+
visit_Index = visit_children
|
|
123
|
+
visit_Slice = visit_children
|
|
124
|
+
visit_ExtSlice = visit_children
|
|
125
|
+
visit_ListComp = visit_children
|
|
126
|
+
visit_SetComp = visit_children
|
|
127
|
+
visit_GeneratorExp = visit_children
|
|
128
|
+
visit_DictComp = visit_children
|
|
129
|
+
visit_Raise = visit_children
|
|
130
|
+
visit_Assert = visit_children
|
|
131
|
+
visit_Delete = visit_children
|
|
132
|
+
visit_Pass = visit_children
|
|
133
|
+
visit_alias = visit_children
|
|
134
|
+
visit_If = visit_children
|
|
135
|
+
visit_Break = visit_children
|
|
136
|
+
visit_Continue = visit_children
|
|
137
|
+
visit_Try = visit_children
|
|
138
|
+
visit_TryFinally = visit_children
|
|
139
|
+
visit_TryExcept = visit_children
|
|
140
|
+
visit_withitem = visit_children
|
|
141
|
+
visit_arguments = visit_children
|
|
142
|
+
visit_arg = visit_children
|
|
143
|
+
visit_Return = visit_children
|
|
144
|
+
visit_Yield = visit_children
|
|
145
|
+
visit_YieldFrom = visit_children
|
|
146
|
+
visit_Global = visit_children
|
|
147
|
+
visit_Module = visit_children
|
|
148
|
+
visit_Param = visit_children
|
|
149
|
+
|
|
150
|
+
def astFormat(node): ...
|
|
151
|
+
|
|
152
|
+
class __rl_SafeIter__:
|
|
153
|
+
__rl_iter__: Incomplete
|
|
154
|
+
__rl_owner__: Incomplete
|
|
155
|
+
def __init__(self, it, owner) -> None: ...
|
|
156
|
+
def __iter__(self): ...
|
|
157
|
+
def __next__(self): ...
|
|
158
|
+
next = __next__
|
|
159
|
+
|
|
160
|
+
__rl_safe_builtins__: Incomplete
|
|
161
|
+
|
|
162
|
+
def safer_globals(g: Incomplete | None = None): ...
|
|
163
|
+
|
|
164
|
+
math_log10 = math.log10
|
|
165
|
+
__rl_undef__: Incomplete
|
|
166
|
+
|
|
167
|
+
class __RL_SAFE_ENV__:
|
|
168
|
+
__time_time__ = time.time
|
|
169
|
+
__weakref_ref__: Incomplete
|
|
170
|
+
__slicetype__: Incomplete
|
|
171
|
+
timeout: Incomplete
|
|
172
|
+
allowed_magic_methods: Incomplete
|
|
173
|
+
__rl_gen_range__: Incomplete
|
|
174
|
+
__rl_real_iter__: Incomplete
|
|
175
|
+
real_bi: Incomplete
|
|
176
|
+
bi_replace: Incomplete
|
|
177
|
+
__rl_builtins__: Incomplete
|
|
178
|
+
def __init__(self, timeout: Incomplete | None = None, allowed_magic_methods: Incomplete | None = None) -> None: ...
|
|
179
|
+
def __rl_type__(self, *args): ...
|
|
180
|
+
def __rl_check__(self) -> None: ...
|
|
181
|
+
def __rl_sd__(self, obj): ...
|
|
182
|
+
def __rl_getiter__(self, it): ...
|
|
183
|
+
def __rl_max__(self, arg, *args, **kwds): ...
|
|
184
|
+
def __rl_min__(self, arg, *args, **kwds): ...
|
|
185
|
+
def __rl_sum__(self, sequence, start: int = 0): ...
|
|
186
|
+
def __rl_enumerate__(self, seq): ...
|
|
187
|
+
def __rl_zip__(self, *args): ...
|
|
188
|
+
def __rl_hasattr__(self, obj, name): ...
|
|
189
|
+
def __rl_filter__(self, f, seq): ...
|
|
190
|
+
def __rl_map__(self, f, seq): ...
|
|
191
|
+
def __rl_any__(self, seq): ...
|
|
192
|
+
def __rl_all__(self, seq): ...
|
|
193
|
+
def __rl_sorted__(self, seq, **kwds): ...
|
|
194
|
+
def __rl_reversed__(self, seq): ...
|
|
195
|
+
def __rl_range__(self, start, *args): ...
|
|
196
|
+
def __rl_set__(self, it): ...
|
|
197
|
+
def __rl_frozenset__(self, it): ...
|
|
198
|
+
def __rl_iter_unpack_sequence__(self, it, spec, _getiter_) -> Generator[Incomplete, None, None]: ...
|
|
199
|
+
def __rl_unpack_sequence__(self, it, spec, _getiter_): ...
|
|
200
|
+
def __rl_is_allowed_name__(self, name) -> None: ...
|
|
201
|
+
def __rl_getattr__(self, obj, a, *args): ...
|
|
202
|
+
def __rl_getitem__(self, obj, a): ...
|
|
203
|
+
__rl_tmax__: int
|
|
204
|
+
__rl_max_len__: int
|
|
205
|
+
__rl_max_pow_digits__: int
|
|
206
|
+
def __rl_add__(self, a, b): ...
|
|
207
|
+
def __rl_mult__(self, a, b): ...
|
|
208
|
+
def __rl_pow__(self, a, b): ...
|
|
209
|
+
def __rl_augAssign__(self, op, v, i): ...
|
|
210
|
+
def __rl_apply__(self, func, args, kwds): ...
|
|
211
|
+
def __rl_args_iter__(self, *args): ...
|
|
212
|
+
def __rl_list__(self, it): ...
|
|
213
|
+
def __rl_compile__(
|
|
214
|
+
self,
|
|
215
|
+
src,
|
|
216
|
+
fname: str = "<string>",
|
|
217
|
+
mode: str = "eval",
|
|
218
|
+
flags: int = 0,
|
|
219
|
+
inherit: bool = True,
|
|
220
|
+
visit: Incomplete | None = None,
|
|
221
|
+
): ...
|
|
222
|
+
__rl_limit__: Incomplete
|
|
223
|
+
def __rl_safe_eval__(
|
|
224
|
+
self,
|
|
225
|
+
expr,
|
|
226
|
+
g,
|
|
227
|
+
l,
|
|
228
|
+
mode,
|
|
229
|
+
timeout: Incomplete | None = None,
|
|
230
|
+
allowed_magic_methods: Incomplete | None = None,
|
|
231
|
+
__frame_depth__: int = 3,
|
|
232
|
+
): ...
|
|
233
|
+
|
|
234
|
+
class __rl_safe_eval__:
|
|
235
|
+
mode: str
|
|
236
|
+
env: Incomplete
|
|
237
|
+
def __init__(self) -> None: ...
|
|
238
|
+
def __call__(
|
|
239
|
+
self,
|
|
240
|
+
expr,
|
|
241
|
+
g: Incomplete | None = None,
|
|
242
|
+
l: Incomplete | None = None,
|
|
243
|
+
timeout: Incomplete | None = None,
|
|
244
|
+
allowed_magic_methods: Incomplete | None = None,
|
|
245
|
+
): ...
|
|
246
|
+
|
|
247
|
+
class __rl_safe_exec__(__rl_safe_eval__):
|
|
248
|
+
mode: str
|
|
249
|
+
|
|
250
|
+
def rl_extended_literal_eval(expr, safe_callables: Incomplete | None = None, safe_names: Incomplete | None = None): ...
|
|
251
|
+
|
|
252
|
+
rl_safe_exec: __rl_safe_exec__
|
|
253
|
+
rl_safe_eval: __rl_safe_eval__
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
RequirePyRXP: int
|
|
4
|
+
simpleparse: int
|
|
5
|
+
|
|
6
|
+
class _smartDecode:
|
|
7
|
+
@staticmethod
|
|
8
|
+
def __call__(s): ...
|
|
9
|
+
|
|
10
|
+
smartDecode: _smartDecode
|
|
11
|
+
NONAME: str
|
|
12
|
+
NAMEKEY: int
|
|
13
|
+
CONTENTSKEY: int
|
|
14
|
+
CDATAMARKER: str
|
|
15
|
+
LENCDATAMARKER: Incomplete
|
|
16
|
+
CDATAENDMARKER: str
|
|
17
|
+
replacelist: Incomplete
|
|
18
|
+
|
|
19
|
+
def unEscapeContentList(contentList): ...
|
|
20
|
+
def parsexmlSimple(xmltext, oneOutermostTag: int = 0, eoCB: Incomplete | None = None, entityReplacer=...): ...
|
|
21
|
+
|
|
22
|
+
parsexml = parsexmlSimple
|
|
23
|
+
|
|
24
|
+
def parseFile(filename): ...
|
|
25
|
+
|
|
26
|
+
verbose: int
|
|
27
|
+
|
|
28
|
+
def skip_prologue(text, cursor): ...
|
|
29
|
+
def parsexml0(xmltext, startingat: int = 0, toplevel: int = 1, entityReplacer=...): ...
|
|
30
|
+
def pprettyprint(parsedxml): ...
|
|
31
|
+
def testparse(s, dump: int = 0) -> None: ...
|
|
32
|
+
def test(dump: int = 0) -> None: ...
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
__all__ = ["Sequencer", "getSequencer", "setSequencer"]
|
|
4
|
+
|
|
5
|
+
class _Counter:
|
|
6
|
+
def __init__(self) -> None: ...
|
|
7
|
+
def setFormatter(self, formatFunc) -> None: ...
|
|
8
|
+
def reset(self, value: Incomplete | None = None) -> None: ...
|
|
9
|
+
def next(self): ...
|
|
10
|
+
__next__ = next
|
|
11
|
+
def nextf(self): ...
|
|
12
|
+
def thisf(self): ...
|
|
13
|
+
def chain(self, otherCounter) -> None: ...
|
|
14
|
+
|
|
15
|
+
class Sequencer:
|
|
16
|
+
def __init__(self) -> None: ...
|
|
17
|
+
def __next__(self): ...
|
|
18
|
+
def next(self, counter: Incomplete | None = None): ...
|
|
19
|
+
def thisf(self, counter: Incomplete | None = None): ...
|
|
20
|
+
def nextf(self, counter: Incomplete | None = None): ...
|
|
21
|
+
def setDefaultCounter(self, default: Incomplete | None = None) -> None: ...
|
|
22
|
+
def registerFormat(self, format, func) -> None: ...
|
|
23
|
+
def setFormat(self, counter, format) -> None: ...
|
|
24
|
+
def reset(self, counter: Incomplete | None = None, base: int = 0) -> None: ...
|
|
25
|
+
def chain(self, parent, child) -> None: ...
|
|
26
|
+
def __getitem__(self, key): ...
|
|
27
|
+
def format(self, template): ...
|
|
28
|
+
def dump(self) -> None: ...
|
|
29
|
+
|
|
30
|
+
def getSequencer(): ...
|
|
31
|
+
def setSequencer(seq): ...
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from typing import Any, ClassVar, Literal, TypeVar, overload
|
|
3
|
+
from typing_extensions import Self, TypeAlias
|
|
4
|
+
|
|
5
|
+
from reportlab.lib.colors import Color
|
|
6
|
+
|
|
7
|
+
_AlignmentEnum: TypeAlias = Literal[0, 1, 2, 4]
|
|
8
|
+
# FIXME: There are some places in the code that expect upper-case versions
|
|
9
|
+
# so I'm unsure whether those would work in stylesheets as well
|
|
10
|
+
_AlignmentStr: TypeAlias = Literal["left", "center", "centre", "right", "justify"]
|
|
11
|
+
_Alignment: TypeAlias = _AlignmentEnum | _AlignmentStr
|
|
12
|
+
_T = TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class PropertySet:
|
|
15
|
+
defaults: ClassVar[dict[str, Any]]
|
|
16
|
+
name: str
|
|
17
|
+
parent: PropertySet | None
|
|
18
|
+
def __init__(self, name: str, parent: PropertySet | None = None, **kw: Any) -> None: ...
|
|
19
|
+
def refresh(self) -> None: ...
|
|
20
|
+
def listAttrs(self, indent: str = "") -> None: ...
|
|
21
|
+
def clone(self, name: str, parent: PropertySet | None = None, **kwds: Any) -> Self: ...
|
|
22
|
+
# PropertySet can have arbitrary attributes
|
|
23
|
+
def __getattr__(self, name: str) -> Any: ...
|
|
24
|
+
def __setattr__(self, name: str, value: Any) -> None: ...
|
|
25
|
+
|
|
26
|
+
class ParagraphStyle(PropertySet):
|
|
27
|
+
# NOTE: We list the attributes this has for sure due to defaults
|
|
28
|
+
fontName: str
|
|
29
|
+
fontSize: float
|
|
30
|
+
leading: float
|
|
31
|
+
leftIndent: float
|
|
32
|
+
rightIndent: float
|
|
33
|
+
firstLineIndent: float
|
|
34
|
+
alignment: _Alignment
|
|
35
|
+
spaceBefore: float
|
|
36
|
+
spaceAfter: float
|
|
37
|
+
bulletFontName: str
|
|
38
|
+
bulletFontSize: float
|
|
39
|
+
bulletIndent: float
|
|
40
|
+
textColor: Color
|
|
41
|
+
backColor: Color | None
|
|
42
|
+
wordWrap: Incomplete | None
|
|
43
|
+
borderWidth: float
|
|
44
|
+
borderPadding: float
|
|
45
|
+
borderColor: Color | None
|
|
46
|
+
borderRadius: float | None
|
|
47
|
+
allowWidows: Incomplete
|
|
48
|
+
allowOrphans: Incomplete
|
|
49
|
+
textTransform: Incomplete | None
|
|
50
|
+
endDots: Incomplete | None
|
|
51
|
+
splitLongWords: Incomplete
|
|
52
|
+
underlineWidth: float
|
|
53
|
+
bulletAnchor: Literal["start", "middle", "end"] | float
|
|
54
|
+
justifyLastLine: Incomplete
|
|
55
|
+
justifyBreaks: Incomplete
|
|
56
|
+
spaceShrinkage: float
|
|
57
|
+
strikeWidth: float
|
|
58
|
+
underlineOffset: float
|
|
59
|
+
underlineGap: float
|
|
60
|
+
strikeOffset: float
|
|
61
|
+
strikeGap: float
|
|
62
|
+
linkUnderline: Incomplete
|
|
63
|
+
underlineColor: Color | None
|
|
64
|
+
strikeColor: Color | None
|
|
65
|
+
hyphenationLang: str
|
|
66
|
+
embeddedHyphenation: Incomplete
|
|
67
|
+
uriWasteReduce: float
|
|
68
|
+
# NOTE: We redefine __init__ for the same reason
|
|
69
|
+
def __init__(
|
|
70
|
+
self,
|
|
71
|
+
name: str,
|
|
72
|
+
parent: PropertySet | None = None,
|
|
73
|
+
*,
|
|
74
|
+
fontName: str = ...,
|
|
75
|
+
fontSize: float = ...,
|
|
76
|
+
leading: float = ...,
|
|
77
|
+
leftIndent: float = ...,
|
|
78
|
+
rightIndent: float = ...,
|
|
79
|
+
firstLineIndent: float = ...,
|
|
80
|
+
alignment: _Alignment = ...,
|
|
81
|
+
spaceBefore: float = ...,
|
|
82
|
+
spaceAfter: float = ...,
|
|
83
|
+
bulletFontName: str = ...,
|
|
84
|
+
bulletFontSize: float = ...,
|
|
85
|
+
bulletIndent: float = ...,
|
|
86
|
+
textColor: Color = ...,
|
|
87
|
+
backColor: Color | None = ...,
|
|
88
|
+
wordWrap: Incomplete | None = ...,
|
|
89
|
+
borderWidth: float = ...,
|
|
90
|
+
borderPadding: float = ...,
|
|
91
|
+
borderColor: Color | None = ...,
|
|
92
|
+
borderRadius: float | None = ...,
|
|
93
|
+
allowWidows=...,
|
|
94
|
+
allowOrphans=...,
|
|
95
|
+
textTransform: Incomplete | None = ...,
|
|
96
|
+
endDots: Incomplete | None = ...,
|
|
97
|
+
splitLongWords=...,
|
|
98
|
+
underlineWidth: float = ...,
|
|
99
|
+
bulletAnchor: Literal["start", "middle", "end"] | float = ...,
|
|
100
|
+
justifyLastLine=...,
|
|
101
|
+
justifyBreaks=...,
|
|
102
|
+
spaceShrinkage: float = ...,
|
|
103
|
+
strikeWidth: float = ...,
|
|
104
|
+
underlineOffset: float = ...,
|
|
105
|
+
underlineGap: float = ...,
|
|
106
|
+
strikeOffset: float = ...,
|
|
107
|
+
strikeGap: float = ...,
|
|
108
|
+
linkUnderline=...,
|
|
109
|
+
underlineColor: Color | None = ...,
|
|
110
|
+
strikeColor: Color | None = ...,
|
|
111
|
+
hyphenationLang: str = ...,
|
|
112
|
+
embeddedHyphenation=...,
|
|
113
|
+
uriWasteReduce: float = ...,
|
|
114
|
+
**kw: Any,
|
|
115
|
+
) -> None: ...
|
|
116
|
+
|
|
117
|
+
def str2alignment(
|
|
118
|
+
v: _AlignmentStr,
|
|
119
|
+
__map__: dict[_AlignmentStr, _AlignmentEnum] = {"centre": 1, "center": 1, "left": 0, "right": 2, "justify": 4},
|
|
120
|
+
) -> _AlignmentEnum: ...
|
|
121
|
+
|
|
122
|
+
class LineStyle(PropertySet):
|
|
123
|
+
# NOTE: We list the attributes this has for sure due to defaults
|
|
124
|
+
width: float
|
|
125
|
+
color: Color
|
|
126
|
+
def prepareCanvas(self, canvas) -> None: ...
|
|
127
|
+
# NOTE: We redefine __init__ for the same reason
|
|
128
|
+
def __init__(
|
|
129
|
+
self, name: str, parent: PropertySet | None = None, *, width: float = ..., color: Color = ..., **kw: Any
|
|
130
|
+
) -> None: ...
|
|
131
|
+
|
|
132
|
+
class ListStyle(PropertySet):
|
|
133
|
+
# NOTE: We list the attributes this has for sure due to defaults
|
|
134
|
+
leftIndent: float
|
|
135
|
+
rightIndent: float
|
|
136
|
+
bulletAlign: _Alignment
|
|
137
|
+
bulletType: str
|
|
138
|
+
bulletColor: Color
|
|
139
|
+
bulletFontName: str
|
|
140
|
+
bulletFontSize: float
|
|
141
|
+
bulletOffsetY: float
|
|
142
|
+
bulletDedent: Incomplete
|
|
143
|
+
bulletDir: Incomplete
|
|
144
|
+
bulletFormat: Incomplete | None
|
|
145
|
+
start: Incomplete | None
|
|
146
|
+
# NOTE: We redefine __init__ for the same reason
|
|
147
|
+
def __init__(
|
|
148
|
+
self,
|
|
149
|
+
name: str,
|
|
150
|
+
parent: PropertySet | None = None,
|
|
151
|
+
*,
|
|
152
|
+
leftIndent: float = ...,
|
|
153
|
+
rightIndent: float = ...,
|
|
154
|
+
bulletAlign: _Alignment = ...,
|
|
155
|
+
bulletType: str = ...,
|
|
156
|
+
bulletColor: Color = ...,
|
|
157
|
+
bulletFontName: str = ...,
|
|
158
|
+
bulletFontSize: float = ...,
|
|
159
|
+
bulletOffsetY: float = ...,
|
|
160
|
+
bulletDedent=...,
|
|
161
|
+
bulletDir=...,
|
|
162
|
+
bulletFormat: Incomplete | None = ...,
|
|
163
|
+
start: Incomplete | None = ...,
|
|
164
|
+
**kw: Any,
|
|
165
|
+
) -> None: ...
|
|
166
|
+
|
|
167
|
+
class StyleSheet1:
|
|
168
|
+
byName: dict[str, PropertySet]
|
|
169
|
+
byAlias: dict[str, PropertySet]
|
|
170
|
+
def __init__(self) -> None: ...
|
|
171
|
+
def __getitem__(self, key: str) -> PropertySet: ...
|
|
172
|
+
@overload
|
|
173
|
+
def get(self, key: str) -> PropertySet: ...
|
|
174
|
+
@overload
|
|
175
|
+
def get(self, key: str, default: _T) -> PropertySet | _T: ...
|
|
176
|
+
def __contains__(self, key: str) -> bool: ...
|
|
177
|
+
def has_key(self, key: str) -> bool: ...
|
|
178
|
+
def add(self, style: PropertySet, alias: str | None = None) -> None: ...
|
|
179
|
+
def list(self) -> None: ...
|
|
180
|
+
|
|
181
|
+
def getSampleStyleSheet() -> StyleSheet1: ...
|