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,67 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from configparser import ConfigParser
|
|
4
|
+
from typing import Final
|
|
5
|
+
|
|
6
|
+
__version__: Final[str]
|
|
7
|
+
|
|
8
|
+
def haveRenderPM(): ...
|
|
9
|
+
def isWritable(D): ...
|
|
10
|
+
|
|
11
|
+
RL_HOME: Incomplete
|
|
12
|
+
testsFolder: Incomplete
|
|
13
|
+
|
|
14
|
+
def setOutDir(name): ...
|
|
15
|
+
def mockUrlRead(name): ...
|
|
16
|
+
def outputfile(fn): ...
|
|
17
|
+
def printLocation(depth: int = 1) -> None: ...
|
|
18
|
+
def makeSuiteForClasses(*classes, testMethodPrefix: Incomplete | None = None): ...
|
|
19
|
+
def getCVSEntries(folder, files: int = 1, folders: int = 0): ...
|
|
20
|
+
|
|
21
|
+
class ExtConfigParser(ConfigParser):
|
|
22
|
+
pat: Incomplete
|
|
23
|
+
def getstringlist(self, section, option): ...
|
|
24
|
+
|
|
25
|
+
class GlobDirectoryWalker:
|
|
26
|
+
index: int
|
|
27
|
+
pattern: Incomplete
|
|
28
|
+
stack: Incomplete
|
|
29
|
+
files: Incomplete
|
|
30
|
+
directory: Incomplete
|
|
31
|
+
def __init__(self, directory, pattern: str = "*") -> None: ...
|
|
32
|
+
def __getitem__(self, index): ...
|
|
33
|
+
def filterFiles(self, folder, files): ...
|
|
34
|
+
|
|
35
|
+
class RestrictedGlobDirectoryWalker(GlobDirectoryWalker):
|
|
36
|
+
ignorePatterns: Incomplete
|
|
37
|
+
def __init__(self, directory, pattern: str = "*", ignore: Incomplete | None = None) -> None: ...
|
|
38
|
+
def filterFiles(self, folder, files): ...
|
|
39
|
+
|
|
40
|
+
class CVSGlobDirectoryWalker(GlobDirectoryWalker):
|
|
41
|
+
def filterFiles(self, folder, files): ...
|
|
42
|
+
|
|
43
|
+
class SecureTestCase(unittest.TestCase):
|
|
44
|
+
def setUp(self) -> None: ...
|
|
45
|
+
def tearDown(self) -> None: ...
|
|
46
|
+
|
|
47
|
+
class NearTestCase(unittest.TestCase):
|
|
48
|
+
@staticmethod
|
|
49
|
+
def assertNear(a, b, accuracy: float = 1e-05) -> None: ...
|
|
50
|
+
|
|
51
|
+
class ScriptThatMakesFileTest(unittest.TestCase):
|
|
52
|
+
scriptDir: Incomplete
|
|
53
|
+
scriptName: Incomplete
|
|
54
|
+
outFileName: Incomplete
|
|
55
|
+
verbose: Incomplete
|
|
56
|
+
def __init__(self, scriptDir, scriptName, outFileName, verbose: int = 0) -> None: ...
|
|
57
|
+
cwd: Incomplete
|
|
58
|
+
def setUp(self) -> None: ...
|
|
59
|
+
def tearDown(self) -> None: ...
|
|
60
|
+
def runTest(self) -> None: ...
|
|
61
|
+
|
|
62
|
+
def equalStrings(a, b, enc: str = "utf8"): ...
|
|
63
|
+
def eqCheck(r, x) -> None: ...
|
|
64
|
+
def rlextraNeeded(): ...
|
|
65
|
+
def rlSkipIf(cond, reason, __module__: Incomplete | None = None): ...
|
|
66
|
+
def rlSkipUnless(cond, reason, __module__: Incomplete | None = None): ...
|
|
67
|
+
def rlSkip(reason, __module__: Incomplete | None = None): ...
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Sequence
|
|
3
|
+
from typing import Final
|
|
4
|
+
|
|
5
|
+
__version__: Final[str]
|
|
6
|
+
CANNOT_START_LINE: Final[Sequence[str]]
|
|
7
|
+
ALL_CANNOT_START: Final[str]
|
|
8
|
+
CANNOT_END_LINE: Final[Sequence[str]]
|
|
9
|
+
ALL_CANNOT_END: Final[str]
|
|
10
|
+
|
|
11
|
+
def is_multi_byte(ch): ...
|
|
12
|
+
def getCharWidths(word, fontName, fontSize): ...
|
|
13
|
+
def wordSplit(word, maxWidths, fontName, fontSize, encoding: str = "utf8"): ...
|
|
14
|
+
def dumbSplit(word, widths, maxWidths): ...
|
|
15
|
+
def kinsokuShoriSplit(word, widths, availWidth) -> None: ...
|
|
16
|
+
|
|
17
|
+
rx: Incomplete
|
|
18
|
+
|
|
19
|
+
def cjkwrap(text, width, encoding: str = "utf8"): ...
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from _typeshed import Incomplete, SupportsItems
|
|
3
|
+
from collections.abc import Generator
|
|
4
|
+
from typing import Final, Literal, TypeVar
|
|
5
|
+
|
|
6
|
+
from reportlab.lib.rltempfile import get_rl_tempdir as get_rl_tempdir, get_rl_tempfile as get_rl_tempfile
|
|
7
|
+
|
|
8
|
+
from .rl_safe_eval import (
|
|
9
|
+
rl_extended_literal_eval as rl_extended_literal_eval,
|
|
10
|
+
rl_safe_exec as rl_safe_exec,
|
|
11
|
+
safer_globals as safer_globals,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
_KT = TypeVar("_KT")
|
|
15
|
+
_VT = TypeVar("_VT")
|
|
16
|
+
|
|
17
|
+
__version__: Final[str]
|
|
18
|
+
|
|
19
|
+
class _UNSET_:
|
|
20
|
+
@staticmethod
|
|
21
|
+
def __bool__() -> Literal[False]: ...
|
|
22
|
+
|
|
23
|
+
__UNSET__: Final[_UNSET_]
|
|
24
|
+
|
|
25
|
+
isPyPy: bool
|
|
26
|
+
|
|
27
|
+
def isFunction(v): ...
|
|
28
|
+
def isMethod(v, mt=...): ...
|
|
29
|
+
def isModule(v): ...
|
|
30
|
+
def isSeq(v, _st=...): ...
|
|
31
|
+
def isNative(v): ...
|
|
32
|
+
|
|
33
|
+
strTypes: Incomplete
|
|
34
|
+
|
|
35
|
+
def asBytes(v, enc: str = "utf8"): ...
|
|
36
|
+
def asUnicode(v, enc: str = "utf8"): ...
|
|
37
|
+
def asUnicodeEx(v, enc: str = "utf8"): ...
|
|
38
|
+
def asNative(v, enc: str = "utf8"): ...
|
|
39
|
+
def int2Byte(i): ...
|
|
40
|
+
def isStr(v): ...
|
|
41
|
+
def isBytes(v): ...
|
|
42
|
+
def isUnicode(v): ...
|
|
43
|
+
def isClass(v): ...
|
|
44
|
+
def isNonPrimitiveInstance(x): ...
|
|
45
|
+
def instantiated(v): ...
|
|
46
|
+
def bytestr(x, enc: str = "utf8"): ...
|
|
47
|
+
def encode_label(args): ...
|
|
48
|
+
def decode_label(label): ...
|
|
49
|
+
def rawUnicode(s): ...
|
|
50
|
+
def rawBytes(s): ...
|
|
51
|
+
|
|
52
|
+
rl_exec: Incomplete
|
|
53
|
+
|
|
54
|
+
def char2int(s): ...
|
|
55
|
+
def rl_reraise(t, v, b: Incomplete | None = None) -> None: ...
|
|
56
|
+
def rl_add_builtins(**kwd) -> None: ...
|
|
57
|
+
def zipImported(ldr: Incomplete | None = None): ...
|
|
58
|
+
|
|
59
|
+
class CIDict(dict[_KT, _VT]):
|
|
60
|
+
def __init__(self, *args, **kwds) -> None: ...
|
|
61
|
+
def update(self, D: SupportsItems[_KT, _VT]) -> None: ... # type:ignore[override]
|
|
62
|
+
|
|
63
|
+
def markfilename(filename, creatorcode: Incomplete | None = None, filetype: Incomplete | None = None): ...
|
|
64
|
+
|
|
65
|
+
__rl_loader__: Incomplete
|
|
66
|
+
|
|
67
|
+
def rl_glob(pattern, glob=...): ...
|
|
68
|
+
def isFileSystemDistro(): ...
|
|
69
|
+
def isCompactDistro(): ...
|
|
70
|
+
def isSourceDistro(): ...
|
|
71
|
+
def normalize_path(p): ...
|
|
72
|
+
def recursiveImport(modulename, baseDir: Incomplete | None = None, noCWD: int = 0, debug: int = 0): ...
|
|
73
|
+
|
|
74
|
+
haveImages: Incomplete
|
|
75
|
+
|
|
76
|
+
class ArgvDictValue:
|
|
77
|
+
value: Incomplete
|
|
78
|
+
func: Incomplete
|
|
79
|
+
def __init__(self, value, func) -> None: ...
|
|
80
|
+
|
|
81
|
+
def getArgvDict(**kw): ...
|
|
82
|
+
def getHyphenater(hDict: Incomplete | None = None): ...
|
|
83
|
+
def open_for_read_by_name(name, mode: str = "b"): ...
|
|
84
|
+
def rlUrlRead(name): ...
|
|
85
|
+
def open_for_read(name, mode: str = "b"): ...
|
|
86
|
+
def open_and_read(name, mode: str = "b"): ...
|
|
87
|
+
def open_and_readlines(name, mode: str = "t"): ...
|
|
88
|
+
def rl_isfile(fn, os_path_isfile=...): ...
|
|
89
|
+
def rl_isdir(pn, os_path_isdir=..., os_path_normpath=...): ...
|
|
90
|
+
def rl_listdir(pn, os_path_isdir=..., os_path_normpath=..., os_listdir=...): ...
|
|
91
|
+
def rl_getmtime(pn, os_path_isfile=..., os_path_normpath=..., os_path_getmtime=..., time_mktime=...): ...
|
|
92
|
+
def __rl_get_module__(name, dir): ...
|
|
93
|
+
def rl_get_module(name, dir): ...
|
|
94
|
+
|
|
95
|
+
class ImageReader:
|
|
96
|
+
fileName: Incomplete
|
|
97
|
+
fp: Incomplete
|
|
98
|
+
def __init__(self, fileName, ident: Incomplete | None = None) -> None: ...
|
|
99
|
+
def identity(self) -> str: ...
|
|
100
|
+
@classmethod
|
|
101
|
+
def check_pil_image_size(cls, im) -> None: ...
|
|
102
|
+
@classmethod
|
|
103
|
+
def set_max_image_size(cls, max_image_size: Incomplete | None = None) -> None: ...
|
|
104
|
+
def jpeg_fh(self) -> None: ...
|
|
105
|
+
def getSize(self) -> tuple[int, int]: ...
|
|
106
|
+
mode: Incomplete
|
|
107
|
+
def getRGBData(self): ...
|
|
108
|
+
def getImageData(self): ...
|
|
109
|
+
def getTransparent(self): ...
|
|
110
|
+
|
|
111
|
+
class LazyImageReader(ImageReader): ...
|
|
112
|
+
|
|
113
|
+
def getImageData(imageFileName): ...
|
|
114
|
+
|
|
115
|
+
class DebugMemo:
|
|
116
|
+
fn: Incomplete
|
|
117
|
+
stdout: Incomplete
|
|
118
|
+
store: Incomplete
|
|
119
|
+
def __init__(
|
|
120
|
+
self,
|
|
121
|
+
fn: str = "rl_dbgmemo.dbg",
|
|
122
|
+
mode: str = "w",
|
|
123
|
+
getScript: int = 1,
|
|
124
|
+
modules=(),
|
|
125
|
+
capture_traceback: int = 1,
|
|
126
|
+
stdout: Incomplete | None = None,
|
|
127
|
+
**kw,
|
|
128
|
+
) -> None: ...
|
|
129
|
+
def add(self, **kw) -> None: ...
|
|
130
|
+
def dump(self) -> None: ...
|
|
131
|
+
def dumps(self): ...
|
|
132
|
+
def load(self) -> None: ...
|
|
133
|
+
def loads(self, s) -> None: ...
|
|
134
|
+
specials: Incomplete
|
|
135
|
+
def show(self) -> None: ...
|
|
136
|
+
def payload(self, name): ...
|
|
137
|
+
def __setitem__(self, name, value) -> None: ...
|
|
138
|
+
def __getitem__(self, name): ...
|
|
139
|
+
|
|
140
|
+
def flatten(L): ...
|
|
141
|
+
def find_locals(func, depth: int = 0): ...
|
|
142
|
+
|
|
143
|
+
class _FmtSelfDict:
|
|
144
|
+
obj: Incomplete
|
|
145
|
+
def __init__(self, obj, overrideArgs) -> None: ...
|
|
146
|
+
def __getitem__(self, k): ...
|
|
147
|
+
|
|
148
|
+
class FmtSelfDict: ...
|
|
149
|
+
|
|
150
|
+
def simpleSplit(text, fontName, fontSize, maxWidth): ...
|
|
151
|
+
def escapeTextOnce(text): ...
|
|
152
|
+
def fileName2FSEnc(fn): ...
|
|
153
|
+
def prev_this_next(items): ...
|
|
154
|
+
def commasplit(s): ...
|
|
155
|
+
def commajoin(l): ...
|
|
156
|
+
def findInPaths(fn, paths, isfile: bool = True, fail: bool = False): ...
|
|
157
|
+
def annotateException(msg, enc: str = "utf8", postMsg: str = "", sep: str = " ") -> None: ...
|
|
158
|
+
def escapeOnce(data): ...
|
|
159
|
+
|
|
160
|
+
class IdentStr(str):
|
|
161
|
+
def __new__(cls, value): ...
|
|
162
|
+
|
|
163
|
+
class RLString(str):
|
|
164
|
+
def __new__(cls, v, **kwds): ...
|
|
165
|
+
|
|
166
|
+
def makeFileName(s): ...
|
|
167
|
+
|
|
168
|
+
class FixedOffsetTZ(datetime.tzinfo):
|
|
169
|
+
def __init__(self, h, m, name) -> None: ...
|
|
170
|
+
def utcoffset(self, dt): ...
|
|
171
|
+
def tzname(self, dt): ...
|
|
172
|
+
def dst(self, dt): ...
|
|
173
|
+
|
|
174
|
+
class TimeStamp:
|
|
175
|
+
tzname: str
|
|
176
|
+
t: Incomplete
|
|
177
|
+
lt: Incomplete
|
|
178
|
+
YMDhms: Incomplete
|
|
179
|
+
dhh: Incomplete
|
|
180
|
+
dmm: Incomplete
|
|
181
|
+
def __init__(self, invariant: Incomplete | None = None) -> None: ...
|
|
182
|
+
@property
|
|
183
|
+
def datetime(self): ...
|
|
184
|
+
@property
|
|
185
|
+
def asctime(self): ...
|
|
186
|
+
|
|
187
|
+
def recursiveGetAttr(obj, name, g: Incomplete | None = None): ...
|
|
188
|
+
def recursiveSetAttr(obj, name, value) -> None: ...
|
|
189
|
+
def recursiveDelAttr(obj, name) -> None: ...
|
|
190
|
+
def yieldNoneSplits(L) -> Generator[Incomplete, None, None]: ...
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from typing import Final
|
|
3
|
+
|
|
4
|
+
__version__: Final[str]
|
|
5
|
+
|
|
6
|
+
class Percentage(float): ...
|
|
7
|
+
|
|
8
|
+
class Validator:
|
|
9
|
+
def __call__(self, x): ...
|
|
10
|
+
def normalize(self, x): ...
|
|
11
|
+
def normalizeTest(self, x): ...
|
|
12
|
+
|
|
13
|
+
class _isAnything(Validator):
|
|
14
|
+
def test(self, x): ...
|
|
15
|
+
|
|
16
|
+
class _isNothing(Validator):
|
|
17
|
+
def test(self, x): ...
|
|
18
|
+
|
|
19
|
+
class _isBoolean(Validator):
|
|
20
|
+
def test(self, x): ...
|
|
21
|
+
def normalize(self, x): ...
|
|
22
|
+
|
|
23
|
+
class _isString(Validator):
|
|
24
|
+
def test(self, x): ...
|
|
25
|
+
|
|
26
|
+
class _isCodec(Validator):
|
|
27
|
+
def test(self, x): ...
|
|
28
|
+
|
|
29
|
+
class _isNumber(Validator):
|
|
30
|
+
def test(self, x): ...
|
|
31
|
+
def normalize(self, x): ...
|
|
32
|
+
|
|
33
|
+
class _isInt(Validator):
|
|
34
|
+
def test(self, x): ...
|
|
35
|
+
def normalize(self, x): ...
|
|
36
|
+
|
|
37
|
+
class _isNumberOrNone(_isNumber):
|
|
38
|
+
def test(self, x): ...
|
|
39
|
+
def normalize(self, x): ...
|
|
40
|
+
|
|
41
|
+
class _isListOfNumbersOrNone(Validator):
|
|
42
|
+
def test(self, x): ...
|
|
43
|
+
|
|
44
|
+
class isNumberInRange(_isNumber):
|
|
45
|
+
min: Incomplete
|
|
46
|
+
max: Incomplete
|
|
47
|
+
def __init__(self, min, max) -> None: ...
|
|
48
|
+
def test(self, x): ...
|
|
49
|
+
|
|
50
|
+
class _isListOfShapes(Validator):
|
|
51
|
+
def test(self, x): ...
|
|
52
|
+
|
|
53
|
+
class _isListOfStringsOrNone(Validator):
|
|
54
|
+
def test(self, x): ...
|
|
55
|
+
|
|
56
|
+
class _isTransform(Validator):
|
|
57
|
+
def test(self, x): ...
|
|
58
|
+
|
|
59
|
+
class _isColor(Validator):
|
|
60
|
+
def test(self, x): ...
|
|
61
|
+
|
|
62
|
+
class _isColorOrNone(Validator):
|
|
63
|
+
def test(self, x): ...
|
|
64
|
+
|
|
65
|
+
class _isNormalDate(Validator):
|
|
66
|
+
def test(self, x): ...
|
|
67
|
+
def normalize(self, x): ...
|
|
68
|
+
|
|
69
|
+
class _isValidChild(Validator):
|
|
70
|
+
def test(self, x): ...
|
|
71
|
+
|
|
72
|
+
class _isValidChildOrNone(_isValidChild):
|
|
73
|
+
def test(self, x): ...
|
|
74
|
+
|
|
75
|
+
class _isCallable(Validator):
|
|
76
|
+
def test(self, x): ...
|
|
77
|
+
|
|
78
|
+
class OneOf(Validator):
|
|
79
|
+
def __init__(self, enum, *args) -> None: ...
|
|
80
|
+
def test(self, x): ...
|
|
81
|
+
|
|
82
|
+
class SequenceOf(Validator):
|
|
83
|
+
def __init__(
|
|
84
|
+
self, elemTest, name: Incomplete | None = None, emptyOK: int = 1, NoneOK: int = 0, lo: int = 0, hi: int = 2147483647
|
|
85
|
+
) -> None: ...
|
|
86
|
+
def test(self, x): ...
|
|
87
|
+
|
|
88
|
+
class EitherOr(Validator):
|
|
89
|
+
def __init__(self, tests, name: Incomplete | None = None) -> None: ...
|
|
90
|
+
def test(self, x): ...
|
|
91
|
+
|
|
92
|
+
class NoneOr(EitherOr):
|
|
93
|
+
def test(self, x): ...
|
|
94
|
+
|
|
95
|
+
class NotSetOr(EitherOr):
|
|
96
|
+
def test(self, x): ...
|
|
97
|
+
@staticmethod
|
|
98
|
+
def conditionalValue(v, a): ...
|
|
99
|
+
|
|
100
|
+
class _isNotSet(Validator):
|
|
101
|
+
def test(self, x): ...
|
|
102
|
+
|
|
103
|
+
class Auto(Validator):
|
|
104
|
+
def __init__(self, **kw) -> None: ...
|
|
105
|
+
def test(self, x): ...
|
|
106
|
+
|
|
107
|
+
class AutoOr(EitherOr):
|
|
108
|
+
def test(self, x): ...
|
|
109
|
+
|
|
110
|
+
class isInstanceOf(Validator):
|
|
111
|
+
def __init__(self, klass: Incomplete | None = None) -> None: ...
|
|
112
|
+
def test(self, x): ...
|
|
113
|
+
|
|
114
|
+
class isSubclassOf(Validator):
|
|
115
|
+
def __init__(self, klass: Incomplete | None = None) -> None: ...
|
|
116
|
+
def test(self, x): ...
|
|
117
|
+
|
|
118
|
+
class matchesPattern(Validator):
|
|
119
|
+
def __init__(self, pattern) -> None: ...
|
|
120
|
+
def test(self, x): ...
|
|
121
|
+
|
|
122
|
+
class DerivedValue:
|
|
123
|
+
def getValue(self, renderer, attr) -> None: ...
|
|
124
|
+
|
|
125
|
+
class Inherit(DerivedValue):
|
|
126
|
+
def getValue(self, renderer, attr): ...
|
|
127
|
+
|
|
128
|
+
inherit: Incomplete
|
|
129
|
+
|
|
130
|
+
class NumericAlign(str):
|
|
131
|
+
def __new__(cls, dp: str = ".", dpLen: int = 0): ...
|
|
132
|
+
|
|
133
|
+
isAuto: Auto
|
|
134
|
+
isBoolean: _isBoolean
|
|
135
|
+
isString: _isString
|
|
136
|
+
isCodec: _isCodec
|
|
137
|
+
isNumber: _isNumber
|
|
138
|
+
isInt: _isInt
|
|
139
|
+
isNoneOrInt: NoneOr
|
|
140
|
+
isNumberOrNone: _isNumberOrNone
|
|
141
|
+
isTextAnchor: OneOf
|
|
142
|
+
isListOfNumbers: SequenceOf
|
|
143
|
+
isListOfNoneOrNumber: SequenceOf
|
|
144
|
+
isListOfListOfNoneOrNumber: SequenceOf
|
|
145
|
+
isListOfNumbersOrNone: _isListOfNumbersOrNone
|
|
146
|
+
isListOfShapes: _isListOfShapes
|
|
147
|
+
isListOfStrings: SequenceOf
|
|
148
|
+
isListOfStringsOrNone: _isListOfStringsOrNone
|
|
149
|
+
isTransform: _isTransform
|
|
150
|
+
isColor: _isColor
|
|
151
|
+
isListOfColors: SequenceOf
|
|
152
|
+
isColorOrNone: _isColorOrNone
|
|
153
|
+
isShape: _isValidChild
|
|
154
|
+
isValidChild: _isValidChild
|
|
155
|
+
isNoneOrShape: _isValidChildOrNone
|
|
156
|
+
isValidChildOrNone: _isValidChildOrNone
|
|
157
|
+
isAnything: _isAnything
|
|
158
|
+
isNothing: _isNothing
|
|
159
|
+
isXYCoord: SequenceOf
|
|
160
|
+
isBoxAnchor: OneOf
|
|
161
|
+
isNoneOrString: NoneOr
|
|
162
|
+
isNoneOrListOfNoneOrStrings: SequenceOf
|
|
163
|
+
isListOfNoneOrString: SequenceOf
|
|
164
|
+
isNoneOrListOfNoneOrNumbers: SequenceOf
|
|
165
|
+
isCallable: _isCallable
|
|
166
|
+
isNoneOrCallable: NoneOr
|
|
167
|
+
isStringOrCallable: EitherOr
|
|
168
|
+
isStringOrCallableOrNone: NoneOr
|
|
169
|
+
isStringOrNone: NoneOr
|
|
170
|
+
isNormalDate: _isNormalDate
|
|
171
|
+
isNotSet: _isNotSet
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
__version__: Final[str]
|
|
4
|
+
PLAIN: int
|
|
5
|
+
PREFORMATTED: int
|
|
6
|
+
BULLETCHAR: str
|
|
7
|
+
|
|
8
|
+
class BaseParser:
|
|
9
|
+
def __init__(self) -> None: ...
|
|
10
|
+
def reset(self) -> None: ...
|
|
11
|
+
def parseFile(self, filename): ...
|
|
12
|
+
def parseText(self, textBlock): ...
|
|
13
|
+
def readLine(self, line) -> None: ...
|
|
14
|
+
def endPara(self) -> None: ...
|
|
15
|
+
def beginPre(self, stylename) -> None: ...
|
|
16
|
+
def endPre(self) -> None: ...
|
|
17
|
+
def image(self, filename) -> None: ...
|
|
18
|
+
|
|
19
|
+
class Parser(BaseParser):
|
|
20
|
+
def vSpace(self, points) -> None: ...
|
|
21
|
+
def pageBreak(self) -> None: ...
|
|
22
|
+
def custom(self, moduleName, funcName) -> None: ...
|
|
23
|
+
def nextPageTemplate(self, templateName) -> None: ...
|
|
24
|
+
|
|
25
|
+
def parseFile(filename): ...
|
|
26
|
+
def parseText(textBlock): ...
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from reportlab.pdfbase.pdfdoc import PDFObject
|
|
4
|
+
|
|
5
|
+
__all__ = ("AcroForm",)
|
|
6
|
+
|
|
7
|
+
class PDFFromString(PDFObject):
|
|
8
|
+
def __init__(self, s) -> None: ...
|
|
9
|
+
def format(self, document): ...
|
|
10
|
+
|
|
11
|
+
class RadioGroup(PDFObject):
|
|
12
|
+
TU: Incomplete
|
|
13
|
+
Ff: Incomplete
|
|
14
|
+
kids: Incomplete
|
|
15
|
+
T: Incomplete
|
|
16
|
+
V: Incomplete
|
|
17
|
+
def __init__(self, name, tooltip: str = "", fieldFlags: str = "noToggleToOff required radio") -> None: ...
|
|
18
|
+
def format(self, doc): ...
|
|
19
|
+
|
|
20
|
+
class AcroForm(PDFObject):
|
|
21
|
+
formFontNames: Incomplete
|
|
22
|
+
referenceMap: Incomplete
|
|
23
|
+
fonts: Incomplete
|
|
24
|
+
fields: Incomplete
|
|
25
|
+
sigFlags: Incomplete
|
|
26
|
+
extras: Incomplete
|
|
27
|
+
def __init__(self, canv, **kwds) -> None: ...
|
|
28
|
+
@property
|
|
29
|
+
def canv(self): ...
|
|
30
|
+
def fontRef(self, f): ...
|
|
31
|
+
def format(self, doc): ...
|
|
32
|
+
def colorTuple(self, c): ...
|
|
33
|
+
def streamFillColor(self, c): ...
|
|
34
|
+
def streamStrokeColor(self, c): ...
|
|
35
|
+
def checkboxAP(
|
|
36
|
+
self,
|
|
37
|
+
key,
|
|
38
|
+
value,
|
|
39
|
+
buttonStyle: str = "circle",
|
|
40
|
+
shape: str = "square",
|
|
41
|
+
fillColor: Incomplete | None = None,
|
|
42
|
+
borderColor: Incomplete | None = None,
|
|
43
|
+
textColor: Incomplete | None = None,
|
|
44
|
+
borderWidth: int = 1,
|
|
45
|
+
borderStyle: str = "solid",
|
|
46
|
+
size: int = 20,
|
|
47
|
+
dashLen: int = 3,
|
|
48
|
+
): ...
|
|
49
|
+
@staticmethod
|
|
50
|
+
def circleArcStream(size, r, arcs=(0, 1, 2, 3), rotated: bool = False): ...
|
|
51
|
+
def zdMark(self, c, size, ds, iFontName): ...
|
|
52
|
+
def getRef(self, obj): ...
|
|
53
|
+
def getRefStr(self, obj): ...
|
|
54
|
+
@staticmethod
|
|
55
|
+
def stdColors(t, b, f): ...
|
|
56
|
+
@staticmethod
|
|
57
|
+
def varyColors(key, t, b, f): ...
|
|
58
|
+
def checkForceBorder(
|
|
59
|
+
self, x, y, width, height, forceBorder, shape, borderStyle, borderWidth, borderColor, fillColor
|
|
60
|
+
) -> None: ...
|
|
61
|
+
def checkbox(
|
|
62
|
+
self,
|
|
63
|
+
checked: bool = False,
|
|
64
|
+
buttonStyle: str = "check",
|
|
65
|
+
shape: str = "square",
|
|
66
|
+
fillColor: Incomplete | None = None,
|
|
67
|
+
borderColor: Incomplete | None = None,
|
|
68
|
+
textColor: Incomplete | None = None,
|
|
69
|
+
borderWidth: int = 1,
|
|
70
|
+
borderStyle: str = "solid",
|
|
71
|
+
size: int = 20,
|
|
72
|
+
x: int = 0,
|
|
73
|
+
y: int = 0,
|
|
74
|
+
tooltip: Incomplete | None = None,
|
|
75
|
+
name: Incomplete | None = None,
|
|
76
|
+
annotationFlags: str = "print",
|
|
77
|
+
fieldFlags: str = "required",
|
|
78
|
+
forceBorder: bool = False,
|
|
79
|
+
relative: bool = False,
|
|
80
|
+
dashLen: int = 3,
|
|
81
|
+
) -> None: ...
|
|
82
|
+
def radio(
|
|
83
|
+
self,
|
|
84
|
+
value: Incomplete | None = None,
|
|
85
|
+
selected: bool = False,
|
|
86
|
+
buttonStyle: str = "circle",
|
|
87
|
+
shape: str = "circle",
|
|
88
|
+
fillColor: Incomplete | None = None,
|
|
89
|
+
borderColor: Incomplete | None = None,
|
|
90
|
+
textColor: Incomplete | None = None,
|
|
91
|
+
borderWidth: int = 1,
|
|
92
|
+
borderStyle: str = "solid",
|
|
93
|
+
size: int = 20,
|
|
94
|
+
x: int = 0,
|
|
95
|
+
y: int = 0,
|
|
96
|
+
tooltip: Incomplete | None = None,
|
|
97
|
+
name: Incomplete | None = None,
|
|
98
|
+
annotationFlags: str = "print",
|
|
99
|
+
fieldFlags: str = "noToggleToOff required radio",
|
|
100
|
+
forceBorder: bool = False,
|
|
101
|
+
relative: bool = False,
|
|
102
|
+
dashLen: int = 3,
|
|
103
|
+
) -> None: ...
|
|
104
|
+
def makeStream(self, width, height, stream, **D): ...
|
|
105
|
+
def txAP(
|
|
106
|
+
self,
|
|
107
|
+
key,
|
|
108
|
+
value,
|
|
109
|
+
iFontName,
|
|
110
|
+
rFontName,
|
|
111
|
+
fontSize,
|
|
112
|
+
shape: str = "square",
|
|
113
|
+
fillColor: Incomplete | None = None,
|
|
114
|
+
borderColor: Incomplete | None = None,
|
|
115
|
+
textColor: Incomplete | None = None,
|
|
116
|
+
borderWidth: int = 1,
|
|
117
|
+
borderStyle: str = "solid",
|
|
118
|
+
width: int = 120,
|
|
119
|
+
height: int = 36,
|
|
120
|
+
dashLen: int = 3,
|
|
121
|
+
wkind: str = "textfield",
|
|
122
|
+
labels=[],
|
|
123
|
+
I=[],
|
|
124
|
+
sel_bg: str = "0.600006 0.756866 0.854904 rg",
|
|
125
|
+
sel_fg: str = "0 g",
|
|
126
|
+
): ...
|
|
127
|
+
def makeFont(self, fontName): ...
|
|
128
|
+
def textfield(
|
|
129
|
+
self,
|
|
130
|
+
value: str = "",
|
|
131
|
+
fillColor: Incomplete | None = None,
|
|
132
|
+
borderColor: Incomplete | None = None,
|
|
133
|
+
textColor: Incomplete | None = None,
|
|
134
|
+
borderWidth: int = 1,
|
|
135
|
+
borderStyle: str = "solid",
|
|
136
|
+
width: int = 120,
|
|
137
|
+
height: int = 36,
|
|
138
|
+
x: int = 0,
|
|
139
|
+
y: int = 0,
|
|
140
|
+
tooltip: Incomplete | None = None,
|
|
141
|
+
name: Incomplete | None = None,
|
|
142
|
+
annotationFlags: str = "print",
|
|
143
|
+
fieldFlags: str = "",
|
|
144
|
+
forceBorder: bool = False,
|
|
145
|
+
relative: bool = False,
|
|
146
|
+
maxlen: int = 100,
|
|
147
|
+
fontName: Incomplete | None = None,
|
|
148
|
+
fontSize: Incomplete | None = None,
|
|
149
|
+
dashLen: int = 3,
|
|
150
|
+
): ...
|
|
151
|
+
def listbox(
|
|
152
|
+
self,
|
|
153
|
+
value: str = "",
|
|
154
|
+
fillColor: Incomplete | None = None,
|
|
155
|
+
borderColor: Incomplete | None = None,
|
|
156
|
+
textColor: Incomplete | None = None,
|
|
157
|
+
borderWidth: int = 1,
|
|
158
|
+
borderStyle: str = "solid",
|
|
159
|
+
width: int = 120,
|
|
160
|
+
height: int = 36,
|
|
161
|
+
x: int = 0,
|
|
162
|
+
y: int = 0,
|
|
163
|
+
tooltip: Incomplete | None = None,
|
|
164
|
+
name: Incomplete | None = None,
|
|
165
|
+
annotationFlags: str = "print",
|
|
166
|
+
fieldFlags: str = "",
|
|
167
|
+
forceBorder: bool = False,
|
|
168
|
+
relative: bool = False,
|
|
169
|
+
fontName: Incomplete | None = None,
|
|
170
|
+
fontSize: Incomplete | None = None,
|
|
171
|
+
dashLen: int = 3,
|
|
172
|
+
maxlen: Incomplete | None = None,
|
|
173
|
+
options=[],
|
|
174
|
+
): ...
|
|
175
|
+
def choice(
|
|
176
|
+
self,
|
|
177
|
+
value: str = "",
|
|
178
|
+
fillColor: Incomplete | None = None,
|
|
179
|
+
borderColor: Incomplete | None = None,
|
|
180
|
+
textColor: Incomplete | None = None,
|
|
181
|
+
borderWidth: int = 1,
|
|
182
|
+
borderStyle: str = "solid",
|
|
183
|
+
width: int = 120,
|
|
184
|
+
height: int = 36,
|
|
185
|
+
x: int = 0,
|
|
186
|
+
y: int = 0,
|
|
187
|
+
tooltip: Incomplete | None = None,
|
|
188
|
+
name: Incomplete | None = None,
|
|
189
|
+
annotationFlags: str = "print",
|
|
190
|
+
fieldFlags: str = "combo",
|
|
191
|
+
forceBorder: bool = False,
|
|
192
|
+
relative: bool = False,
|
|
193
|
+
fontName: Incomplete | None = None,
|
|
194
|
+
fontSize: Incomplete | None = None,
|
|
195
|
+
dashLen: int = 3,
|
|
196
|
+
maxlen: Incomplete | None = None,
|
|
197
|
+
options=[],
|
|
198
|
+
): ...
|
|
199
|
+
def checkboxRelative(self, **kwds) -> None: ...
|
|
200
|
+
def radioRelative(self, **kwds) -> None: ...
|
|
201
|
+
def textfieldRelative(self, **kwds) -> None: ...
|
|
202
|
+
def listboxRelative(self, **kwds) -> None: ...
|
|
203
|
+
def choiceRelative(self, **kwds) -> None: ...
|
|
204
|
+
@property
|
|
205
|
+
def encRefStr(self): ...
|
|
206
|
+
|
|
207
|
+
class CBMark:
|
|
208
|
+
opNames: Incomplete
|
|
209
|
+
opCount: Incomplete
|
|
210
|
+
ops: Incomplete
|
|
211
|
+
points: Incomplete
|
|
212
|
+
slack: Incomplete
|
|
213
|
+
def __init__(self, ops, points, bounds, slack: float = 0.05) -> None: ...
|
|
214
|
+
def scaledRender(self, size, ds: int = 0): ...
|