@levencode/deploom 0.0.0-stage → 0.2.21-next.2
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/LICENSE +202 -0
- package/README.md +59 -3
- package/THIRD_PARTY_NOTICES/CPython/CPython-third-party-license.rst +1183 -0
- package/THIRD_PARTY_NOTICES/CPython/LICENSE.txt +645 -0
- package/THIRD_PARTY_NOTICES/CPython/bzip2-1.0.8/LICENSE +42 -0
- package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/AUTHORS +10 -0
- package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/COPYING +21 -0
- package/THIRD_PARTY_NOTICES/CPython/hacl-star-bb3d0dc8d9d15a5cd51094d5b69e70aa09005ff0/LICENSE +201 -0
- package/THIRD_PARTY_NOTICES/CPython/libb2-0.98.1/COPYING +117 -0
- package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE-BUILDTOOLS +353 -0
- package/THIRD_PARTY_NOTICES/CPython/mpdecimal-4.0.0/COPYRIGHT.txt +23 -0
- package/THIRD_PARTY_NOTICES/CPython/official-embed.spdx.json +433 -0
- package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/AUTHORS.md +53 -0
- package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/LICENSE.txt +177 -0
- package/THIRD_PARTY_NOTICES/CPython/sqlite-3.50.4.0/public-domain.txt +32 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/AUTHORS +27 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING +65 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv2 +339 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv3 +674 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.LGPLv2.1 +502 -0
- package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/LICENSE +22 -0
- package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/README +117 -0
- package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/PyYAML/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/annotated-types/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/anyio/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/attrs/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/certifi/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/cffi/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/THIRD_PARTY_NOTICES/charset-normalizer/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/click/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/THIRD_PARTY_NOTICES/deploom-mcp/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
- package/THIRD_PARTY_NOTICES/h11/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/THIRD_PARTY_NOTICES/httpcore2/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
- package/THIRD_PARTY_NOTICES/httpx2/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
- package/THIRD_PARTY_NOTICES/idna/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/THIRD_PARTY_NOTICES/jsonschema/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/jsonschema-specifications/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/mcp/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/mcp-types/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/opentelemetry-api/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/THIRD_PARTY_NOTICES/pycparser/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/THIRD_PARTY_NOTICES/pydantic/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/pydantic_core/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/python-dateutil/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
- package/THIRD_PARTY_NOTICES/python-multipart/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
- package/THIRD_PARTY_NOTICES/pywin32/adodbapi/license.txt +505 -0
- package/THIRD_PARTY_NOTICES/pywin32/pythonwin/license.txt +30 -0
- package/THIRD_PARTY_NOTICES/pywin32/win32/license.txt +30 -0
- package/THIRD_PARTY_NOTICES/pywin32/win32com/License.txt +30 -0
- package/THIRD_PARTY_NOTICES/referencing/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
- package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
- package/THIRD_PARTY_NOTICES/rpds-py/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/THIRD_PARTY_NOTICES/semantic-version/semantic_version-2.10.0.dist-info/LICENSE +22 -0
- package/THIRD_PARTY_NOTICES/six/six-1.17.0.dist-info/LICENSE +18 -0
- package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
- package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
- package/THIRD_PARTY_NOTICES/starlette/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/THIRD_PARTY_NOTICES/truststore/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/typing-inspection/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/typing_extensions/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
- package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
- package/THIRD_PARTY_NOTICES/urllib3/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
- package/THIRD_PARTY_NOTICES/uvicorn/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/THIRD_PARTY_NOTICES/z3-solver/BUILD-INFO.txt +3 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-COPYRIGHT.txt +1532 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-GPL-3.txt +674 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-RUNTIME-EXCEPTION.txt +73 -0
- package/THIRD_PARTY_NOTICES/z3-solver/MinGW-COPYRIGHT.txt +998 -0
- package/THIRD_PARTY_NOTICES/z3-solver/Z3-LICENSE.txt +10 -0
- package/THIRD_PARTY_NOTICES/z3-solver/compiler-copyright.txt +1714 -0
- package/bin/client-config.cjs +61 -0
- package/bin/deploom.cjs +177 -0
- package/bin/launch.cjs +141 -0
- package/bin/verify-runtime.cjs +42 -0
- package/package.json +42 -6
- package/runtime/LICENSE.txt +645 -0
- package/runtime/Lib/site-packages/00_deploom_runtime.pth +1 -0
- package/runtime/Lib/site-packages/PyWin32.chm +0 -0
- package/runtime/Lib/site-packages/_cffi_backend.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/_yaml/__init__.py +33 -0
- package/runtime/Lib/site-packages/adodbapi/__init__.py +82 -0
- package/runtime/Lib/site-packages/adodbapi/ado_consts.py +283 -0
- package/runtime/Lib/site-packages/adodbapi/adodbapi.py +1153 -0
- package/runtime/Lib/site-packages/adodbapi/apibase.py +723 -0
- package/runtime/Lib/site-packages/adodbapi/examples/db_print.py +72 -0
- package/runtime/Lib/site-packages/adodbapi/examples/db_table_names.py +21 -0
- package/runtime/Lib/site-packages/adodbapi/examples/xls_read.py +41 -0
- package/runtime/Lib/site-packages/adodbapi/examples/xls_write.py +41 -0
- package/runtime/Lib/site-packages/adodbapi/is64bit.py +34 -0
- package/runtime/Lib/site-packages/adodbapi/license.txt +505 -0
- package/runtime/Lib/site-packages/adodbapi/process_connect_string.py +137 -0
- package/runtime/Lib/site-packages/adodbapi/readme.txt +88 -0
- package/runtime/Lib/site-packages/adodbapi/schema_table.py +16 -0
- package/runtime/Lib/site-packages/adodbapi/setup.py +68 -0
- package/runtime/Lib/site-packages/adodbapi/test/adodbapitest.py +1547 -0
- package/runtime/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +184 -0
- package/runtime/Lib/site-packages/adodbapi/test/dbapi20.py +879 -0
- package/runtime/Lib/site-packages/adodbapi/test/is64bit.py +34 -0
- package/runtime/Lib/site-packages/adodbapi/test/setuptestframework.py +98 -0
- package/runtime/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +195 -0
- package/runtime/Lib/site-packages/adodbapi/test/tryconnection.py +30 -0
- package/runtime/Lib/site-packages/annotated_types/__init__.py +416 -0
- package/runtime/Lib/site-packages/annotated_types/py.typed +0 -0
- package/runtime/Lib/site-packages/annotated_types/test_cases.py +146 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/RECORD +7 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/anyio/__init__.py +154 -0
- package/runtime/Lib/site-packages/anyio/_backends/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/_backends/_asyncio.py +3201 -0
- package/runtime/Lib/site-packages/anyio/_backends/_trio.py +1473 -0
- package/runtime/Lib/site-packages/anyio/_core/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/_core/_asyncio_selector_thread.py +167 -0
- package/runtime/Lib/site-packages/anyio/_core/_concurrency_utils.py +156 -0
- package/runtime/Lib/site-packages/anyio/_core/_contextmanagers.py +200 -0
- package/runtime/Lib/site-packages/anyio/_core/_eventloop.py +240 -0
- package/runtime/Lib/site-packages/anyio/_core/_exceptions.py +205 -0
- package/runtime/Lib/site-packages/anyio/_core/_fileio.py +1045 -0
- package/runtime/Lib/site-packages/anyio/_core/_futures.py +191 -0
- package/runtime/Lib/site-packages/anyio/_core/_resources.py +18 -0
- package/runtime/Lib/site-packages/anyio/_core/_signals.py +29 -0
- package/runtime/Lib/site-packages/anyio/_core/_sockets.py +1011 -0
- package/runtime/Lib/site-packages/anyio/_core/_streams.py +52 -0
- package/runtime/Lib/site-packages/anyio/_core/_subprocesses.py +196 -0
- package/runtime/Lib/site-packages/anyio/_core/_synchronization.py +778 -0
- package/runtime/Lib/site-packages/anyio/_core/_tasks.py +464 -0
- package/runtime/Lib/site-packages/anyio/_core/_tempfile.py +615 -0
- package/runtime/Lib/site-packages/anyio/_core/_testing.py +82 -0
- package/runtime/Lib/site-packages/anyio/_core/_typedattr.py +85 -0
- package/runtime/Lib/site-packages/anyio/_lazyimport.py +176 -0
- package/runtime/Lib/site-packages/anyio/abc/__init__.py +63 -0
- package/runtime/Lib/site-packages/anyio/abc/_eventloop.py +428 -0
- package/runtime/Lib/site-packages/anyio/abc/_resources.py +39 -0
- package/runtime/Lib/site-packages/anyio/abc/_sockets.py +401 -0
- package/runtime/Lib/site-packages/anyio/abc/_streams.py +237 -0
- package/runtime/Lib/site-packages/anyio/abc/_subprocesses.py +82 -0
- package/runtime/Lib/site-packages/anyio/abc/_tasks.py +223 -0
- package/runtime/Lib/site-packages/anyio/abc/_testing.py +79 -0
- package/runtime/Lib/site-packages/anyio/from_thread.py +588 -0
- package/runtime/Lib/site-packages/anyio/functools.py +400 -0
- package/runtime/Lib/site-packages/anyio/itertools.py +629 -0
- package/runtime/Lib/site-packages/anyio/lowlevel.py +228 -0
- package/runtime/Lib/site-packages/anyio/py.typed +0 -0
- package/runtime/Lib/site-packages/anyio/pytest_plugin.py +404 -0
- package/runtime/Lib/site-packages/anyio/streams/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/streams/buffered.py +201 -0
- package/runtime/Lib/site-packages/anyio/streams/file.py +157 -0
- package/runtime/Lib/site-packages/anyio/streams/memory.py +326 -0
- package/runtime/Lib/site-packages/anyio/streams/stapled.py +160 -0
- package/runtime/Lib/site-packages/anyio/streams/text.py +176 -0
- package/runtime/Lib/site-packages/anyio/streams/tls.py +436 -0
- package/runtime/Lib/site-packages/anyio/to_interpreter.py +246 -0
- package/runtime/Lib/site-packages/anyio/to_process.py +269 -0
- package/runtime/Lib/site-packages/anyio/to_thread.py +80 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/METADATA +108 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/RECORD +53 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/attr/__init__.py +104 -0
- package/runtime/Lib/site-packages/attr/__init__.pyi +389 -0
- package/runtime/Lib/site-packages/attr/_cmp.py +160 -0
- package/runtime/Lib/site-packages/attr/_cmp.pyi +13 -0
- package/runtime/Lib/site-packages/attr/_compat.py +99 -0
- package/runtime/Lib/site-packages/attr/_config.py +31 -0
- package/runtime/Lib/site-packages/attr/_funcs.py +497 -0
- package/runtime/Lib/site-packages/attr/_make.py +3406 -0
- package/runtime/Lib/site-packages/attr/_next_gen.py +674 -0
- package/runtime/Lib/site-packages/attr/_typing_compat.pyi +15 -0
- package/runtime/Lib/site-packages/attr/_version_info.py +89 -0
- package/runtime/Lib/site-packages/attr/_version_info.pyi +9 -0
- package/runtime/Lib/site-packages/attr/converters.py +162 -0
- package/runtime/Lib/site-packages/attr/converters.pyi +19 -0
- package/runtime/Lib/site-packages/attr/exceptions.py +95 -0
- package/runtime/Lib/site-packages/attr/exceptions.pyi +17 -0
- package/runtime/Lib/site-packages/attr/filters.py +72 -0
- package/runtime/Lib/site-packages/attr/filters.pyi +6 -0
- package/runtime/Lib/site-packages/attr/py.typed +0 -0
- package/runtime/Lib/site-packages/attr/setters.py +79 -0
- package/runtime/Lib/site-packages/attr/setters.pyi +20 -0
- package/runtime/Lib/site-packages/attr/validators.py +750 -0
- package/runtime/Lib/site-packages/attr/validators.pyi +140 -0
- package/runtime/Lib/site-packages/attrs/__init__.py +72 -0
- package/runtime/Lib/site-packages/attrs/__init__.pyi +314 -0
- package/runtime/Lib/site-packages/attrs/converters.py +3 -0
- package/runtime/Lib/site-packages/attrs/exceptions.py +3 -0
- package/runtime/Lib/site-packages/attrs/filters.py +3 -0
- package/runtime/Lib/site-packages/attrs/py.typed +0 -0
- package/runtime/Lib/site-packages/attrs/setters.py +3 -0
- package/runtime/Lib/site-packages/attrs/validators.py +3 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/METADATA +199 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/RECORD +35 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/certifi/__init__.py +4 -0
- package/runtime/Lib/site-packages/certifi/__main__.py +12 -0
- package/runtime/Lib/site-packages/certifi/cacert.pem +3885 -0
- package/runtime/Lib/site-packages/certifi/core.py +83 -0
- package/runtime/Lib/site-packages/certifi/py.typed +0 -0
- package/runtime/Lib/site-packages/certifi/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/certifi/tests/test_certify.py +18 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/METADATA +79 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/RECORD +12 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/cffi/__init__.py +14 -0
- package/runtime/Lib/site-packages/cffi/_cffi_errors.h +135 -0
- package/runtime/Lib/site-packages/cffi/_cffi_gen_src.py +216 -0
- package/runtime/Lib/site-packages/cffi/_cffi_include.h +397 -0
- package/runtime/Lib/site-packages/cffi/_embedding.h +512 -0
- package/runtime/Lib/site-packages/cffi/_imp_emulation.py +83 -0
- package/runtime/Lib/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/runtime/Lib/site-packages/cffi/api.py +960 -0
- package/runtime/Lib/site-packages/cffi/backend_ctypes.py +1120 -0
- package/runtime/Lib/site-packages/cffi/cffi_opcode.py +187 -0
- package/runtime/Lib/site-packages/cffi/commontypes.py +82 -0
- package/runtime/Lib/site-packages/cffi/cparser.py +1014 -0
- package/runtime/Lib/site-packages/cffi/error.py +31 -0
- package/runtime/Lib/site-packages/cffi/ffiplatform.py +113 -0
- package/runtime/Lib/site-packages/cffi/gen_src.py +5 -0
- package/runtime/Lib/site-packages/cffi/lock.py +30 -0
- package/runtime/Lib/site-packages/cffi/model.py +617 -0
- package/runtime/Lib/site-packages/cffi/parse_c_type.h +181 -0
- package/runtime/Lib/site-packages/cffi/pkgconfig.py +121 -0
- package/runtime/Lib/site-packages/cffi/recompiler.py +1586 -0
- package/runtime/Lib/site-packages/cffi/setuptools_ext.py +231 -0
- package/runtime/Lib/site-packages/cffi/vengine_cpy.py +1058 -0
- package/runtime/Lib/site-packages/cffi/vengine_gen.py +679 -0
- package/runtime/Lib/site-packages/cffi/verifier.py +306 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/METADATA +67 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/RECORD +31 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/entry_points.txt +5 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/top_level.txt +2 -0
- package/runtime/Lib/site-packages/charset_normalizer/__init__.py +48 -0
- package/runtime/Lib/site-packages/charset_normalizer/__main__.py +6 -0
- package/runtime/Lib/site-packages/charset_normalizer/api.py +934 -0
- package/runtime/Lib/site-packages/charset_normalizer/cd.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/cd.py +467 -0
- package/runtime/Lib/site-packages/charset_normalizer/cli/__init__.py +8 -0
- package/runtime/Lib/site-packages/charset_normalizer/cli/__main__.py +363 -0
- package/runtime/Lib/site-packages/charset_normalizer/constant.py +2497 -0
- package/runtime/Lib/site-packages/charset_normalizer/legacy.py +79 -0
- package/runtime/Lib/site-packages/charset_normalizer/md.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/md.py +1065 -0
- package/runtime/Lib/site-packages/charset_normalizer/models.py +387 -0
- package/runtime/Lib/site-packages/charset_normalizer/py.typed +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/utils.py +452 -0
- package/runtime/Lib/site-packages/charset_normalizer/version.py +8 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/METADATA +892 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/RECORD +21 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/click/__init__.py +144 -0
- package/runtime/Lib/site-packages/click/_compat.py +590 -0
- package/runtime/Lib/site-packages/click/_termui_impl.py +972 -0
- package/runtime/Lib/site-packages/click/_textwrap.py +188 -0
- package/runtime/Lib/site-packages/click/_utils.py +36 -0
- package/runtime/Lib/site-packages/click/_winconsole.py +297 -0
- package/runtime/Lib/site-packages/click/core.py +3799 -0
- package/runtime/Lib/site-packages/click/decorators.py +627 -0
- package/runtime/Lib/site-packages/click/exceptions.py +378 -0
- package/runtime/Lib/site-packages/click/formatting.py +320 -0
- package/runtime/Lib/site-packages/click/globals.py +67 -0
- package/runtime/Lib/site-packages/click/parser.py +533 -0
- package/runtime/Lib/site-packages/click/py.typed +0 -0
- package/runtime/Lib/site-packages/click/shell_completion.py +801 -0
- package/runtime/Lib/site-packages/click/termui.py +1014 -0
- package/runtime/Lib/site-packages/click/testing.py +798 -0
- package/runtime/Lib/site-packages/click/types.py +1422 -0
- package/runtime/Lib/site-packages/click/utils.py +688 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/METADATA +83 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/RECORD +22 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
- package/runtime/Lib/site-packages/cryptography/__about__.py +17 -0
- package/runtime/Lib/site-packages/cryptography/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/cobblestone.py +21 -0
- package/runtime/Lib/site-packages/cryptography/exceptions.py +52 -0
- package/runtime/Lib/site-packages/cryptography/fernet.py +240 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/_oid.py +373 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/asn1/__init__.py +47 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/asn1/asn1.py +533 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/backend.py +309 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +67 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/cobblestone.pyi +33 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +133 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +82 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +189 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +30 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi +109 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +205 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keywrap.pyi +28 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mldsa.pyi +35 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mlkem.pyi +18 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust.pyd +0 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +199 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/binding.py +107 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +145 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/modes.py +53 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_modes.py +105 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_serialization.py +136 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +253 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +179 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +369 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +116 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +143 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mldsa.py +505 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mlkem.py +278 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +141 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +295 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +94 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +28 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +134 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +137 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +138 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +192 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hashes.py +357 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hpke.py +27 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +32 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +17 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +26 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py +25 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +85 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/base.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +412 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1615 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
- package/runtime/Lib/site-packages/cryptography/py.typed +0 -0
- package/runtime/Lib/site-packages/cryptography/utils.py +136 -0
- package/runtime/Lib/site-packages/cryptography/x509/__init__.py +270 -0
- package/runtime/Lib/site-packages/cryptography/x509/base.py +834 -0
- package/runtime/Lib/site-packages/cryptography/x509/certificate_transparency.py +35 -0
- package/runtime/Lib/site-packages/cryptography/x509/extensions.py +2533 -0
- package/runtime/Lib/site-packages/cryptography/x509/general_name.py +281 -0
- package/runtime/Lib/site-packages/cryptography/x509/name.py +489 -0
- package/runtime/Lib/site-packages/cryptography/x509/ocsp.py +379 -0
- package/runtime/Lib/site-packages/cryptography/x509/oid.py +37 -0
- package/runtime/Lib/site-packages/cryptography/x509/verification.py +34 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/RECORD +120 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/cryptography-rust.cyclonedx.json +1365 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/sbom.json +43 -0
- package/runtime/Lib/site-packages/dateutil/__init__.py +26 -0
- package/runtime/Lib/site-packages/dateutil/_common.py +43 -0
- package/runtime/Lib/site-packages/dateutil/_tzdata_impl.py +147 -0
- package/runtime/Lib/site-packages/dateutil/_version.py +4 -0
- package/runtime/Lib/site-packages/dateutil/easter.py +89 -0
- package/runtime/Lib/site-packages/dateutil/parser/__init__.py +61 -0
- package/runtime/Lib/site-packages/dateutil/parser/_parser.py +1613 -0
- package/runtime/Lib/site-packages/dateutil/parser/isoparser.py +416 -0
- package/runtime/Lib/site-packages/dateutil/relativedelta.py +596 -0
- package/runtime/Lib/site-packages/dateutil/rrule.py +1764 -0
- package/runtime/Lib/site-packages/dateutil/tz/__init__.py +60 -0
- package/runtime/Lib/site-packages/dateutil/tz/_common.py +419 -0
- package/runtime/Lib/site-packages/dateutil/tz/_factories.py +80 -0
- package/runtime/Lib/site-packages/dateutil/tz/_tzfile.py +1428 -0
- package/runtime/Lib/site-packages/dateutil/tz/_tzpath.py +104 -0
- package/runtime/Lib/site-packages/dateutil/tz/tz.py +1472 -0
- package/runtime/Lib/site-packages/dateutil/tz/win.py +370 -0
- package/runtime/Lib/site-packages/dateutil/tzwin.py +2 -0
- package/runtime/Lib/site-packages/dateutil/utils.py +71 -0
- package/runtime/Lib/site-packages/dateutil/zoneinfo/__init__.py +233 -0
- package/runtime/Lib/site-packages/dateutil/zoneinfo/rebuild.py +42 -0
- package/runtime/Lib/site-packages/deploom_mcp/__init__.py +7 -0
- package/runtime/Lib/site-packages/deploom_mcp/__main__.py +7 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/VERSION +1 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/analyze_verification_telemetry.py +426 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/artifact_integrity.py +468 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_cohort_inference.py +352 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_constraint_verifier.py +5903 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_performance_summary.py +270 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_repair_handoff.py +208 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi54_branch_search.py +225 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi55_resolver_overrides.py +244 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi56_causal_anytime_search.py +285 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi57_yarn1_resolver_seed.py +622 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi581_probe_budget_and_cohort.py +194 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi582_pre_run_closure.py +168 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi583_duplicate_fallback_control.py +43 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_bounded_causal_search.py +193 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_reuse_economics.py +44 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi591_unified_cohort_handoff.py +214 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi59_transitive_override_search.py +525 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_anytime.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_progressive_baseline.py +166 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_search.py +427 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_state.py +385 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_prepared_artifact.py +1094 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_recovery.py +916 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_vex_storage.py +352 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_vf_active_search.py +167 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/bounded_telemetry.py +68 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_build_upgrade.py +158 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_index_recovery.py +63 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cli_io.py +30 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_action_cost.py +50 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_attempt_telemetry.py +131 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_conflict_regions.py +114 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_size_policy.py +22 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_telemetry_report.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_cache.py +757 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_verify.py +669 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cross_process_io.py +135 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_audit_recovery.py +53 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_git_status.py +62 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_source_identity.py +196 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_worktree.py +53 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency-knowledge.schema.json +61 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_audit_branch.py +651 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_compatibility_evidence.py +364 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_interaction.py +60 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_generator.py +28192 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_worker.py +162 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_release_branch.py +407 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/deploom_failure.py +619 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/en.json +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/ru.json +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_decision_contract.py +159 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_input_identity.py +218 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_npm_preflight.py +171 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_publication_guard.py +68 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/frontend_source_policy.py +54 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/git_hook_policy.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/git_identity.py +65 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/io_governor.py +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_adaptive_budget.py +109 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_audit_policy.py +79 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_checkpoint_publication.py +90 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_planner.py +378 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_review.py +98 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery.py +701 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_checkout.py +59 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_notes.py +228 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_preflight.py +112 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_submodules.py +31 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_discovery_checkpoint.py +94 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_migration.py +6249 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_progress.py +52 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_metadata.py +98 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_yarn.py +127 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_restart.py +70 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_resume.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_scope_expansion.py +101 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_stage_checkpoint.py +211 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_state_transaction.py +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_target_deferrals.py +61 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_task.py +1411 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_trial_workspace.py +54 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_consistency.py +1242 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_preflight.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/manual_dependency_audit.py +2081 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/materialization_retention.py +148 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/materialized_workspace_verifier.py +320 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_documents.py +506 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_research.py +158 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_validation.py +231 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_bundle_obligations.py +240 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_platform_obligations.py +256 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_semver_batch.py +111 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_shared_transition.py +88 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/osv_offline.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_profile.py +331 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_telemetry.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_goal.py +109 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_model.py +304 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_transition.py +308 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_z3.py +300 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/planning_cache.py +180 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/prepared_workspace_fastpath.py +1528 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_execution_environment.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_runtime.py +433 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_topology.py +813 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/proven_dependency_state.py +234 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_advisory_evidence.py +202 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_candidate_diagnostics.py +334 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_metadata_cache.py +233 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_request_context.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/reparse_materialization.py +335 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/resolution_inventory.py +481 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/resolved_dependency_state.py +820 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/run_tool_tests.py +69 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/run_writer_lock.py +78 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/runtime_metrics.py +185 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/scoped_source_policy.py +111 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/security_workspace_scope.py +136 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/settings.schema.json +1229 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/snapshot_compaction.py +288 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot.py +2635 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot_storage.py +96 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/standalone_build_outputs.py +167 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_capacity.py +19 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_cleanup_inventory.py +379 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_maintenance_control.py +84 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storybook_release_policy.py +37 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/substrate_identity.py +129 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_regression.py +402 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_update.py +920 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_experiment_registry.py +299 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_identity_diagnostics.py +38 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_invocation.py +145 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_linux_pid_namespace.py +134 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_observability.py +857 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_process_supervisor.py +790 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_proof.py +1526 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_source_closure.py +337 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_stage_checkpoint.py +367 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_storage_maintenance.py +298 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_workspace_backend.py +398 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/windows_unc.py +48 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/worker_runtime_state.py +26 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_glob.py +208 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_evidence.py +145 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_policy.py +142 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_noise.py +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_lock_delta.py +351 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_obligations.py +190 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_preflight.py +535 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_transitive_override.py +239 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_peer_model.py +936 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_registry_metadata.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/yarn_berry.py +151 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_evidence.py +186 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_server.py +57 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_worker.py +738 -0
- package/runtime/Lib/site-packages/deploom_mcp/blueprint.py +1344 -0
- package/runtime/Lib/site-packages/deploom_mcp/decision_followups.py +384 -0
- package/runtime/Lib/site-packages/deploom_mcp/decisions.py +485 -0
- package/runtime/Lib/site-packages/deploom_mcp/dependency_audit.py +237 -0
- package/runtime/Lib/site-packages/deploom_mcp/distribution.py +51 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_artifact_scope.py +65 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_candidate.py +174 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_candidate_worker.py +30 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_check_bindings.py +236 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_contract.py +79 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_issuance.py +58 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_lineage.py +115 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_profile.py +38 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_worker.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_contract.py +173 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_core_integrity.py +28 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_boundary.py +41 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_budget.py +135 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_process.py +137 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_read_trace.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_delta_trial.py +413 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_execution_environment.py +71 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_execution_registry.py +207 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_authorization.py +133 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_auxiliary.py +114 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_candidate.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_checkpoint.py +342 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_materialization.py +150 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_resource_policy.py +49 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_transaction.py +243 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_worker.py +19 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_frozen_candidate.py +187 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_generated_outputs.py +94 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_historical_checkpoint.py +220 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_historical_lineage.py +97 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_invocation_adapter.py +179 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_lock_scope.py +476 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_published_edges.py +263 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_report.py +134 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_shared_scope.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_execution.py +153 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_input.py +174 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_outputs.py +64 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_spawn.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tool_cache.py +146 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tools.py +90 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_verifier_bridge.py +293 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_windows_file_swap.py +233 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_windows_tree_swap.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_worker.py +103 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_workspace_observation.py +49 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_evidence.py +191 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_sources.py +217 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_usage.cjs +91 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_usage.py +76 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_worker.py +56 -0
- package/runtime/Lib/site-packages/deploom_mcp/planning_registry.py +130 -0
- package/runtime/Lib/site-packages/deploom_mcp/process_runner.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/project_capabilities.py +103 -0
- package/runtime/Lib/site-packages/deploom_mcp/proxy_settings.py +60 -0
- package/runtime/Lib/site-packages/deploom_mcp/public_cache.py +152 -0
- package/runtime/Lib/site-packages/deploom_mcp/py.typed +0 -0
- package/runtime/Lib/site-packages/deploom_mcp/registry_projection.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/release-manifest.json +176 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/check_skill.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/install_skill.py +280 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/skill_integrity.py +95 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/SKILL.md +281 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/contract.json +20 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/blocked-upgrade.md +37 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/plan-only.md +20 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/yellow-exclude-react.md +29 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/blueprint-contract.md +160 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/evidence-report.md +150 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/execution-policy.md +143 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/goal-and-migration-evidence.md +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/npm-workspaces.md +241 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/preflight.md +75 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/verification-policy.md +77 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/scripts/validate_evidence.py +264 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/upgrade-blueprint.schema.json +1080 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/workspace-upgrade-blueprint.schema.json +1770 -0
- package/runtime/Lib/site-packages/deploom_mcp/server.py +1345 -0
- package/runtime/Lib/site-packages/deploom_mcp/shared_records.py +75 -0
- package/runtime/Lib/site-packages/deploom_mcp/standalone_audit_guard.cjs +71 -0
- package/runtime/Lib/site-packages/deploom_mcp/target_assessment.py +185 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_acceptance.py +311 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_candidate_policy.py +123 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_delivery_apply.py +149 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_edits.py +413 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_finalize.py +85 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_goal_request.py +95 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_input_io.py +123 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_inventory.py +428 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_migration_card.py +343 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_native_intent.py +155 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_details.py +172 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_snapshot.py +429 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_delivery.py +88 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_request.py +139 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_source_delivery.py +138 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_tools.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_upgrade.py +237 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_verification_attempt.py +127 -0
- package/runtime/Lib/site-packages/deploom_mcp/yarn_candidate_audit.py +72 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/METADATA +85 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/RECORD +272 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/entry_points.txt +4 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/h11/__init__.py +62 -0
- package/runtime/Lib/site-packages/h11/_abnf.py +132 -0
- package/runtime/Lib/site-packages/h11/_connection.py +659 -0
- package/runtime/Lib/site-packages/h11/_events.py +369 -0
- package/runtime/Lib/site-packages/h11/_headers.py +282 -0
- package/runtime/Lib/site-packages/h11/_readers.py +250 -0
- package/runtime/Lib/site-packages/h11/_receivebuffer.py +153 -0
- package/runtime/Lib/site-packages/h11/_state.py +365 -0
- package/runtime/Lib/site-packages/h11/_util.py +135 -0
- package/runtime/Lib/site-packages/h11/_version.py +16 -0
- package/runtime/Lib/site-packages/h11/_writers.py +145 -0
- package/runtime/Lib/site-packages/h11/py.typed +1 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/METADATA +202 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/RECORD +17 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/httpcore2/__init__.py +141 -0
- package/runtime/Lib/site-packages/httpcore2/_api.py +95 -0
- package/runtime/Lib/site-packages/httpcore2/_async/__init__.py +39 -0
- package/runtime/Lib/site-packages/httpcore2/_async/connection.py +208 -0
- package/runtime/Lib/site-packages/httpcore2/_async/connection_pool.py +440 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http11.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http2.py +582 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http_proxy.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_async/interfaces.py +160 -0
- package/runtime/Lib/site-packages/httpcore2/_async/socks_proxy.py +327 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/__init__.py +0 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/anyio.py +149 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/auto.py +50 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/base.py +97 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/mock.py +143 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/sync.py +235 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/trio.py +157 -0
- package/runtime/Lib/site-packages/httpcore2/_exceptions.py +84 -0
- package/runtime/Lib/site-packages/httpcore2/_models.py +490 -0
- package/runtime/Lib/site-packages/httpcore2/_ssl.py +40 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/__init__.py +39 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/connection.py +208 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/connection_pool.py +440 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http11.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http2.py +582 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http_proxy.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/interfaces.py +160 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/socks_proxy.py +327 -0
- package/runtime/Lib/site-packages/httpcore2/_synchronization.py +338 -0
- package/runtime/Lib/site-packages/httpcore2/_trace.py +105 -0
- package/runtime/Lib/site-packages/httpcore2/_utils.py +65 -0
- package/runtime/Lib/site-packages/httpcore2/py.typed +0 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/METADATA +785 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/RECORD +36 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
- package/runtime/Lib/site-packages/httpx2/__init__.py +130 -0
- package/runtime/Lib/site-packages/httpx2/__version__.py +5 -0
- package/runtime/Lib/site-packages/httpx2/_alias.py +71 -0
- package/runtime/Lib/site-packages/httpx2/_api.py +532 -0
- package/runtime/Lib/site-packages/httpx2/_auth.py +335 -0
- package/runtime/Lib/site-packages/httpx2/_client.py +2236 -0
- package/runtime/Lib/site-packages/httpx2/_config.py +221 -0
- package/runtime/Lib/site-packages/httpx2/_content.py +237 -0
- package/runtime/Lib/site-packages/httpx2/_cookies.py +74 -0
- package/runtime/Lib/site-packages/httpx2/_decoders.py +458 -0
- package/runtime/Lib/site-packages/httpx2/_exceptions.py +380 -0
- package/runtime/Lib/site-packages/httpx2/_main.py +483 -0
- package/runtime/Lib/site-packages/httpx2/_models.py +1274 -0
- package/runtime/Lib/site-packages/httpx2/_multipart.py +284 -0
- package/runtime/Lib/site-packages/httpx2/_sse.py +226 -0
- package/runtime/Lib/site-packages/httpx2/_status_codes.py +189 -0
- package/runtime/Lib/site-packages/httpx2/_transports/__init__.py +27 -0
- package/runtime/Lib/site-packages/httpx2/_transports/asgi.py +178 -0
- package/runtime/Lib/site-packages/httpx2/_transports/base.py +83 -0
- package/runtime/Lib/site-packages/httpx2/_transports/default.py +400 -0
- package/runtime/Lib/site-packages/httpx2/_transports/mock.py +40 -0
- package/runtime/Lib/site-packages/httpx2/_transports/wsgi.py +145 -0
- package/runtime/Lib/site-packages/httpx2/_types.py +86 -0
- package/runtime/Lib/site-packages/httpx2/_urlparse.py +502 -0
- package/runtime/Lib/site-packages/httpx2/_urls.py +689 -0
- package/runtime/Lib/site-packages/httpx2/_utils.py +282 -0
- package/runtime/Lib/site-packages/httpx2/py.typed +0 -0
- package/runtime/Lib/site-packages/httpx2/websockets/__init__.py +57 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_api.py +1676 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_exceptions.py +55 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_ping.py +43 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_transport.py +289 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/METADATA +230 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/RECORD +37 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
- package/runtime/Lib/site-packages/idna/__init__.py +47 -0
- package/runtime/Lib/site-packages/idna/__main__.py +6 -0
- package/runtime/Lib/site-packages/idna/cli.py +132 -0
- package/runtime/Lib/site-packages/idna/codec.py +225 -0
- package/runtime/Lib/site-packages/idna/compat.py +43 -0
- package/runtime/Lib/site-packages/idna/core.py +863 -0
- package/runtime/Lib/site-packages/idna/idnadata.py +1933 -0
- package/runtime/Lib/site-packages/idna/intranges.py +55 -0
- package/runtime/Lib/site-packages/idna/package_data.py +1 -0
- package/runtime/Lib/site-packages/idna/py.typed +0 -0
- package/runtime/Lib/site-packages/idna/uts46data.py +17117 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/METADATA +176 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/RECORD +16 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/entry_points.txt +3 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/runtime/Lib/site-packages/isapi/PyISAPI_loader.dll +0 -0
- package/runtime/Lib/site-packages/isapi/README.txt +7 -0
- package/runtime/Lib/site-packages/isapi/__init__.py +39 -0
- package/runtime/Lib/site-packages/isapi/doc/isapi.html +92 -0
- package/runtime/Lib/site-packages/isapi/install.py +809 -0
- package/runtime/Lib/site-packages/isapi/isapicon.py +121 -0
- package/runtime/Lib/site-packages/isapi/samples/README.txt +20 -0
- package/runtime/Lib/site-packages/isapi/samples/advanced.py +218 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector.py +116 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector_asynch.py +85 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector_with_filter.py +162 -0
- package/runtime/Lib/site-packages/isapi/samples/test.py +195 -0
- package/runtime/Lib/site-packages/isapi/simple.py +73 -0
- package/runtime/Lib/site-packages/isapi/test/README.txt +3 -0
- package/runtime/Lib/site-packages/isapi/test/extension_simple.py +114 -0
- package/runtime/Lib/site-packages/isapi/threaded_extension.py +193 -0
- package/runtime/Lib/site-packages/jsonschema/__init__.py +120 -0
- package/runtime/Lib/site-packages/jsonschema/__main__.py +6 -0
- package/runtime/Lib/site-packages/jsonschema/_format.py +546 -0
- package/runtime/Lib/site-packages/jsonschema/_keywords.py +449 -0
- package/runtime/Lib/site-packages/jsonschema/_legacy_keywords.py +449 -0
- package/runtime/Lib/site-packages/jsonschema/_types.py +204 -0
- package/runtime/Lib/site-packages/jsonschema/_typing.py +29 -0
- package/runtime/Lib/site-packages/jsonschema/_utils.py +355 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/__init__.py +5 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/const_vs_enum.py +30 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/contains.py +28 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/import_benchmark.py +31 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232/issue.json +2653 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232.py +25 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/json_schema_test_suite.py +12 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/nested_schemas.py +56 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/subcomponents.py +42 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/unused_registry.py +35 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_applicator_schemas.py +106 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_keywords.py +32 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/validator_creation.py +14 -0
- package/runtime/Lib/site-packages/jsonschema/cli.py +292 -0
- package/runtime/Lib/site-packages/jsonschema/exceptions.py +490 -0
- package/runtime/Lib/site-packages/jsonschema/protocols.py +230 -0
- package/runtime/Lib/site-packages/jsonschema/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema/tests/_suite.py +285 -0
- package/runtime/Lib/site-packages/jsonschema/tests/fuzz_validate.py +50 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_cli.py +904 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_deprecations.py +432 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_exceptions.py +759 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_format.py +91 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_jsonschema_test_suite.py +262 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_types.py +221 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_utils.py +138 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_validators.py +2573 -0
- package/runtime/Lib/site-packages/jsonschema/tests/typing/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema/tests/typing/test_all_concrete_validators_match_protocol.py +38 -0
- package/runtime/Lib/site-packages/jsonschema/validators.py +1410 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/RECORD +43 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/__init__.py +12 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/_core.py +38 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py +41 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/RECORD +28 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/jwt/__init__.py +78 -0
- package/runtime/Lib/site-packages/jwt/algorithms.py +1121 -0
- package/runtime/Lib/site-packages/jwt/api_jwk.py +196 -0
- package/runtime/Lib/site-packages/jwt/api_jws.py +485 -0
- package/runtime/Lib/site-packages/jwt/api_jwt.py +595 -0
- package/runtime/Lib/site-packages/jwt/exceptions.py +113 -0
- package/runtime/Lib/site-packages/jwt/help.py +66 -0
- package/runtime/Lib/site-packages/jwt/jwk_set_cache.py +47 -0
- package/runtime/Lib/site-packages/jwt/jwks_client.py +333 -0
- package/runtime/Lib/site-packages/jwt/py.typed +0 -0
- package/runtime/Lib/site-packages/jwt/types.py +69 -0
- package/runtime/Lib/site-packages/jwt/utils.py +146 -0
- package/runtime/Lib/site-packages/jwt/warnings.py +11 -0
- package/runtime/Lib/site-packages/mcp/__init__.py +145 -0
- package/runtime/Lib/site-packages/mcp/cli/__init__.py +6 -0
- package/runtime/Lib/site-packages/mcp/cli/claude.py +170 -0
- package/runtime/Lib/site-packages/mcp/cli/cli.py +486 -0
- package/runtime/Lib/site-packages/mcp/client/__init__.py +44 -0
- package/runtime/Lib/site-packages/mcp/client/__main__.py +81 -0
- package/runtime/Lib/site-packages/mcp/client/_input_required.py +127 -0
- package/runtime/Lib/site-packages/mcp/client/_memory.py +109 -0
- package/runtime/Lib/site-packages/mcp/client/_probe.py +114 -0
- package/runtime/Lib/site-packages/mcp/client/_transport.py +21 -0
- package/runtime/Lib/site-packages/mcp/client/auth/__init__.py +22 -0
- package/runtime/Lib/site-packages/mcp/client/auth/exceptions.py +10 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/__init__.py +0 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/client_credentials.py +416 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/identity_assertion.py +216 -0
- package/runtime/Lib/site-packages/mcp/client/auth/oauth2.py +793 -0
- package/runtime/Lib/site-packages/mcp/client/auth/utils.py +442 -0
- package/runtime/Lib/site-packages/mcp/client/caching.py +387 -0
- package/runtime/Lib/site-packages/mcp/client/client.py +985 -0
- package/runtime/Lib/site-packages/mcp/client/context.py +5 -0
- package/runtime/Lib/site-packages/mcp/client/extension.py +196 -0
- package/runtime/Lib/site-packages/mcp/client/session.py +1506 -0
- package/runtime/Lib/site-packages/mcp/client/session_group.py +453 -0
- package/runtime/Lib/site-packages/mcp/client/sse.py +171 -0
- package/runtime/Lib/site-packages/mcp/client/stdio.py +355 -0
- package/runtime/Lib/site-packages/mcp/client/streamable_http.py +793 -0
- package/runtime/Lib/site-packages/mcp/client/subscriptions.py +282 -0
- package/runtime/Lib/site-packages/mcp/os/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/posix/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/posix/utilities.py +63 -0
- package/runtime/Lib/site-packages/mcp/os/win32/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/win32/utilities.py +292 -0
- package/runtime/Lib/site-packages/mcp/py.typed +0 -0
- package/runtime/Lib/site-packages/mcp/server/__init__.py +7 -0
- package/runtime/Lib/site-packages/mcp/server/__main__.py +24 -0
- package/runtime/Lib/site-packages/mcp/server/_otel.py +72 -0
- package/runtime/Lib/site-packages/mcp/server/_streamable_http_modern.py +526 -0
- package/runtime/Lib/site-packages/mcp/server/apps.py +241 -0
- package/runtime/Lib/site-packages/mcp/server/auth/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/errors.py +5 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/authorize.py +221 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/metadata.py +29 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/register.py +154 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/revoke.py +87 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/token.py +275 -0
- package/runtime/Lib/site-packages/mcp/server/auth/json_response.py +10 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/auth_context.py +46 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/bearer_auth.py +165 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/client_auth.py +119 -0
- package/runtime/Lib/site-packages/mcp/server/auth/provider.py +380 -0
- package/runtime/Lib/site-packages/mcp/server/auth/routes.py +261 -0
- package/runtime/Lib/site-packages/mcp/server/auth/settings.py +70 -0
- package/runtime/Lib/site-packages/mcp/server/caching.py +85 -0
- package/runtime/Lib/site-packages/mcp/server/connection.py +493 -0
- package/runtime/Lib/site-packages/mcp/server/context.py +194 -0
- package/runtime/Lib/site-packages/mcp/server/elicitation.py +191 -0
- package/runtime/Lib/site-packages/mcp/server/extension.py +185 -0
- package/runtime/Lib/site-packages/mcp/server/fastmcp.py +16 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/__init__.py +3 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/helper_types.py +11 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/server.py +852 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/__init__.py +61 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/context.py +391 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/exceptions.py +76 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/__init__.py +4 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/base.py +213 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/manager.py +67 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resolve.py +846 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/__init__.py +26 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/base.py +43 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/resource_manager.py +137 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/templates.py +248 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/types.py +230 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/server.py +1418 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/__init__.py +4 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/base.py +213 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/tool_manager.py +87 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/context_injection.py +68 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/func_metadata.py +655 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/logging.py +39 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/types.py +101 -0
- package/runtime/Lib/site-packages/mcp/server/models.py +17 -0
- package/runtime/Lib/site-packages/mcp/server/request_state.py +454 -0
- package/runtime/Lib/site-packages/mcp/server/runner.py +872 -0
- package/runtime/Lib/site-packages/mcp/server/session.py +489 -0
- package/runtime/Lib/site-packages/mcp/server/sse.py +287 -0
- package/runtime/Lib/site-packages/mcp/server/stdio.py +217 -0
- package/runtime/Lib/site-packages/mcp/server/streamable_http.py +1135 -0
- package/runtime/Lib/site-packages/mcp/server/streamable_http_manager.py +427 -0
- package/runtime/Lib/site-packages/mcp/server/subscriptions.py +254 -0
- package/runtime/Lib/site-packages/mcp/server/transport_security.py +183 -0
- package/runtime/Lib/site-packages/mcp/server/validation.py +93 -0
- package/runtime/Lib/site-packages/mcp/shared/__init__.py +0 -0
- package/runtime/Lib/site-packages/mcp/shared/_callable_inspection.py +33 -0
- package/runtime/Lib/site-packages/mcp/shared/_compat.py +19 -0
- package/runtime/Lib/site-packages/mcp/shared/_context_streams.py +119 -0
- package/runtime/Lib/site-packages/mcp/shared/_httpx_utils.py +222 -0
- package/runtime/Lib/site-packages/mcp/shared/_otel.py +60 -0
- package/runtime/Lib/site-packages/mcp/shared/_request_clock.py +81 -0
- package/runtime/Lib/site-packages/mcp/shared/_stream_protocols.py +49 -0
- package/runtime/Lib/site-packages/mcp/shared/auth.py +258 -0
- package/runtime/Lib/site-packages/mcp/shared/auth_utils.py +80 -0
- package/runtime/Lib/site-packages/mcp/shared/context.py +85 -0
- package/runtime/Lib/site-packages/mcp/shared/direct_dispatcher.py +337 -0
- package/runtime/Lib/site-packages/mcp/shared/dispatcher.py +283 -0
- package/runtime/Lib/site-packages/mcp/shared/exceptions.py +119 -0
- package/runtime/Lib/site-packages/mcp/shared/extension.py +28 -0
- package/runtime/Lib/site-packages/mcp/shared/inbound.py +595 -0
- package/runtime/Lib/site-packages/mcp/shared/jsonrpc_dispatcher.py +856 -0
- package/runtime/Lib/site-packages/mcp/shared/memory.py +33 -0
- package/runtime/Lib/site-packages/mcp/shared/message.py +63 -0
- package/runtime/Lib/site-packages/mcp/shared/metadata_utils.py +46 -0
- package/runtime/Lib/site-packages/mcp/shared/path_security.py +176 -0
- package/runtime/Lib/site-packages/mcp/shared/peer.py +240 -0
- package/runtime/Lib/site-packages/mcp/shared/subscriptions.py +111 -0
- package/runtime/Lib/site-packages/mcp/shared/tool_name_validation.py +129 -0
- package/runtime/Lib/site-packages/mcp/shared/transport_context.py +45 -0
- package/runtime/Lib/site-packages/mcp/shared/uri_template.py +1116 -0
- package/runtime/Lib/site-packages/mcp/types/__init__.py +31 -0
- package/runtime/Lib/site-packages/mcp/types/jsonrpc.py +13 -0
- package/runtime/Lib/site-packages/mcp/types/methods.py +13 -0
- package/runtime/Lib/site-packages/mcp/types/version.py +13 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/METADATA +172 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/RECORD +130 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/mcp_types/__init__.py +453 -0
- package/runtime/Lib/site-packages/mcp_types/_types.py +2198 -0
- package/runtime/Lib/site-packages/mcp_types/_v2025_11_25/__init__.py +3391 -0
- package/runtime/Lib/site-packages/mcp_types/_v2026_07_28/__init__.py +3617 -0
- package/runtime/Lib/site-packages/mcp_types/_wire_base.py +9 -0
- package/runtime/Lib/site-packages/mcp_types/jsonrpc.py +148 -0
- package/runtime/Lib/site-packages/mcp_types/methods.py +746 -0
- package/runtime/Lib/site-packages/mcp_types/py.typed +0 -0
- package/runtime/Lib/site-packages/mcp_types/version.py +74 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/multipart/__init__.py +38 -0
- package/runtime/Lib/site-packages/multipart/decoders.py +1 -0
- package/runtime/Lib/site-packages/multipart/exceptions.py +1 -0
- package/runtime/Lib/site-packages/multipart/multipart.py +1 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/__init__.py +47 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/_internal/__init__.py +484 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/severity/__init__.py +44 -0
- package/runtime/Lib/site-packages/opentelemetry/attributes/__init__.py +243 -0
- package/runtime/Lib/site-packages/opentelemetry/attributes/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/__init__.py +122 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/propagation/__init__.py +179 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/context/__init__.py +147 -0
- package/runtime/Lib/site-packages/opentelemetry/context/context.py +65 -0
- package/runtime/Lib/site-packages/opentelemetry/context/contextvars_context.py +43 -0
- package/runtime/Lib/site-packages/opentelemetry/context/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/environment_variables/__init__.py +72 -0
- package/runtime/Lib/site-packages/opentelemetry/environment_variables/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/__init__.py +121 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/__init__.py +892 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/instrument.py +540 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/observation.py +51 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagate/__init__.py +171 -0
- package/runtime/Lib/site-packages/opentelemetry/propagate/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/_envcarrier.py +94 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/composite.py +78 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/textmap.py +181 -0
- package/runtime/Lib/site-packages/opentelemetry/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/__init__.py +661 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/propagation/__init__.py +37 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/propagation/tracecontext.py +126 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/span.py +616 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/status.py +68 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_decorator.py +75 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_importlib_metadata.py +61 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_once.py +36 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_providers.py +42 -0
- package/runtime/Lib/site-packages/opentelemetry/util/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/util/re.py +93 -0
- package/runtime/Lib/site-packages/opentelemetry/util/types.py +28 -0
- package/runtime/Lib/site-packages/opentelemetry/version/__init__.py +4 -0
- package/runtime/Lib/site-packages/opentelemetry/version/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/RECORD +47 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/entry_points.txt +15 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/runtime/Lib/site-packages/pycparser/__init__.py +98 -0
- package/runtime/Lib/site-packages/pycparser/_ast_gen.py +385 -0
- package/runtime/Lib/site-packages/pycparser/_c_ast.cfg +268 -0
- package/runtime/Lib/site-packages/pycparser/ast_transforms.py +201 -0
- package/runtime/Lib/site-packages/pycparser/c_ast.py +1670 -0
- package/runtime/Lib/site-packages/pycparser/c_generator.py +866 -0
- package/runtime/Lib/site-packages/pycparser/c_lexer.py +861 -0
- package/runtime/Lib/site-packages/pycparser/c_parser.py +2759 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/METADATA +286 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/pydantic/__init__.py +461 -0
- package/runtime/Lib/site-packages/pydantic/_internal/__init__.py +0 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_config.py +408 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_core_metadata.py +97 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_core_utils.py +156 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_dataclasses.py +327 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_decorators.py +906 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_decorators_v1.py +174 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_discriminated_union.py +510 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_docs_extraction.py +128 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_fields.py +910 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_forward_ref.py +23 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_generate_schema.py +2984 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_generics.py +556 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_git.py +27 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_import_utils.py +20 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_known_annotated_metadata.py +405 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_mock_val_ser.py +237 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_model_construction.py +833 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_namespace_utils.py +299 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_repr.py +122 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_schema_gather.py +49 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_schema_generation_shared.py +126 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_serializers.py +59 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_signature.py +193 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_type_refs.py +128 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_typing_extra.py +502 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_utils.py +433 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_validate_call.py +141 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_validators.py +541 -0
- package/runtime/Lib/site-packages/pydantic/_migration.py +317 -0
- package/runtime/Lib/site-packages/pydantic/alias_generators.py +62 -0
- package/runtime/Lib/site-packages/pydantic/aliases.py +136 -0
- package/runtime/Lib/site-packages/pydantic/annotated_handlers.py +123 -0
- package/runtime/Lib/site-packages/pydantic/class_validators.py +5 -0
- package/runtime/Lib/site-packages/pydantic/color.py +605 -0
- package/runtime/Lib/site-packages/pydantic/config.py +1295 -0
- package/runtime/Lib/site-packages/pydantic/dataclasses.py +385 -0
- package/runtime/Lib/site-packages/pydantic/datetime_parse.py +5 -0
- package/runtime/Lib/site-packages/pydantic/decorator.py +5 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/__init__.py +0 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/class_validators.py +257 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/config.py +72 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/copy_internals.py +224 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/decorator.py +286 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/json.py +142 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/parse.py +81 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/tools.py +104 -0
- package/runtime/Lib/site-packages/pydantic/env_settings.py +5 -0
- package/runtime/Lib/site-packages/pydantic/error_wrappers.py +5 -0
- package/runtime/Lib/site-packages/pydantic/errors.py +185 -0
- package/runtime/Lib/site-packages/pydantic/experimental/__init__.py +1 -0
- package/runtime/Lib/site-packages/pydantic/experimental/arguments_schema.py +44 -0
- package/runtime/Lib/site-packages/pydantic/experimental/missing_sentinel.py +29 -0
- package/runtime/Lib/site-packages/pydantic/experimental/pipeline.py +684 -0
- package/runtime/Lib/site-packages/pydantic/fields.py +2065 -0
- package/runtime/Lib/site-packages/pydantic/functional_serializers.py +461 -0
- package/runtime/Lib/site-packages/pydantic/functional_validators.py +920 -0
- package/runtime/Lib/site-packages/pydantic/generics.py +5 -0
- package/runtime/Lib/site-packages/pydantic/json.py +5 -0
- package/runtime/Lib/site-packages/pydantic/json_schema.py +3261 -0
- package/runtime/Lib/site-packages/pydantic/main.py +1947 -0
- package/runtime/Lib/site-packages/pydantic/mypy.py +1469 -0
- package/runtime/Lib/site-packages/pydantic/networks.py +1417 -0
- package/runtime/Lib/site-packages/pydantic/parse.py +5 -0
- package/runtime/Lib/site-packages/pydantic/plugin/__init__.py +190 -0
- package/runtime/Lib/site-packages/pydantic/plugin/_loader.py +58 -0
- package/runtime/Lib/site-packages/pydantic/plugin/_schema_validator.py +152 -0
- package/runtime/Lib/site-packages/pydantic/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic/root_model.py +189 -0
- package/runtime/Lib/site-packages/pydantic/schema.py +5 -0
- package/runtime/Lib/site-packages/pydantic/tools.py +5 -0
- package/runtime/Lib/site-packages/pydantic/type_adapter.py +780 -0
- package/runtime/Lib/site-packages/pydantic/types.py +3405 -0
- package/runtime/Lib/site-packages/pydantic/typing.py +5 -0
- package/runtime/Lib/site-packages/pydantic/utils.py +5 -0
- package/runtime/Lib/site-packages/pydantic/v1/__init__.py +131 -0
- package/runtime/Lib/site-packages/pydantic/v1/_hypothesis_plugin.py +391 -0
- package/runtime/Lib/site-packages/pydantic/v1/annotated_types.py +72 -0
- package/runtime/Lib/site-packages/pydantic/v1/class_validators.py +361 -0
- package/runtime/Lib/site-packages/pydantic/v1/color.py +494 -0
- package/runtime/Lib/site-packages/pydantic/v1/config.py +191 -0
- package/runtime/Lib/site-packages/pydantic/v1/dataclasses.py +503 -0
- package/runtime/Lib/site-packages/pydantic/v1/datetime_parse.py +248 -0
- package/runtime/Lib/site-packages/pydantic/v1/decorator.py +264 -0
- package/runtime/Lib/site-packages/pydantic/v1/env_settings.py +350 -0
- package/runtime/Lib/site-packages/pydantic/v1/error_wrappers.py +161 -0
- package/runtime/Lib/site-packages/pydantic/v1/errors.py +646 -0
- package/runtime/Lib/site-packages/pydantic/v1/fields.py +1253 -0
- package/runtime/Lib/site-packages/pydantic/v1/generics.py +400 -0
- package/runtime/Lib/site-packages/pydantic/v1/json.py +112 -0
- package/runtime/Lib/site-packages/pydantic/v1/main.py +1130 -0
- package/runtime/Lib/site-packages/pydantic/v1/mypy.py +950 -0
- package/runtime/Lib/site-packages/pydantic/v1/networks.py +747 -0
- package/runtime/Lib/site-packages/pydantic/v1/parse.py +66 -0
- package/runtime/Lib/site-packages/pydantic/v1/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic/v1/schema.py +1163 -0
- package/runtime/Lib/site-packages/pydantic/v1/tools.py +92 -0
- package/runtime/Lib/site-packages/pydantic/v1/types.py +1213 -0
- package/runtime/Lib/site-packages/pydantic/v1/typing.py +627 -0
- package/runtime/Lib/site-packages/pydantic/v1/utils.py +807 -0
- package/runtime/Lib/site-packages/pydantic/v1/validators.py +768 -0
- package/runtime/Lib/site-packages/pydantic/v1/version.py +38 -0
- package/runtime/Lib/site-packages/pydantic/validate_call_decorator.py +121 -0
- package/runtime/Lib/site-packages/pydantic/validators.py +5 -0
- package/runtime/Lib/site-packages/pydantic/version.py +113 -0
- package/runtime/Lib/site-packages/pydantic/warnings.py +130 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/METADATA +1602 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/RECORD +111 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pydantic_core/__init__.py +193 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/__init__.pyi +1118 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/_schema_gather.pyi +34 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/pydantic_core/core_schema.py +5092 -0
- package/runtime/Lib/site-packages/pydantic_core/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/METADATA +171 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/sboms/pydantic-core.cyclonedx.json +3889 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/RECORD +19 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/METADATA +204 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/RECORD +27 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/zip-safe +1 -0
- package/runtime/Lib/site-packages/python_multipart/__init__.py +35 -0
- package/runtime/Lib/site-packages/python_multipart/decoders.py +185 -0
- package/runtime/Lib/site-packages/python_multipart/exceptions.py +34 -0
- package/runtime/Lib/site-packages/python_multipart/multipart.py +1925 -0
- package/runtime/Lib/site-packages/python_multipart/py.typed +0 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
- package/runtime/Lib/site-packages/pythoncom.py +4 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/METADATA +233 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/RECORD +477 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/entry_points.txt +3 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/top_level.txt +93 -0
- package/runtime/Lib/site-packages/pywin32.pth +7 -0
- package/runtime/Lib/site-packages/pywin32.version.txt +1 -0
- package/runtime/Lib/site-packages/pywin32_system32/pythoncom313.dll +0 -0
- package/runtime/Lib/site-packages/pywin32_system32/pywintypes313.dll +0 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/RECORD +24 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
- package/runtime/Lib/site-packages/referencing/__init__.py +7 -0
- package/runtime/Lib/site-packages/referencing/_attrs.py +31 -0
- package/runtime/Lib/site-packages/referencing/_attrs.pyi +21 -0
- package/runtime/Lib/site-packages/referencing/_core.py +739 -0
- package/runtime/Lib/site-packages/referencing/exceptions.py +165 -0
- package/runtime/Lib/site-packages/referencing/jsonschema.py +642 -0
- package/runtime/Lib/site-packages/referencing/py.typed +0 -0
- package/runtime/Lib/site-packages/referencing/retrieval.py +94 -0
- package/runtime/Lib/site-packages/referencing/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/referencing/tests/test_core.py +1057 -0
- package/runtime/Lib/site-packages/referencing/tests/test_exceptions.py +34 -0
- package/runtime/Lib/site-packages/referencing/tests/test_jsonschema.py +382 -0
- package/runtime/Lib/site-packages/referencing/tests/test_referencing_suite.py +66 -0
- package/runtime/Lib/site-packages/referencing/tests/test_retrieval.py +106 -0
- package/runtime/Lib/site-packages/referencing/typing.py +61 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/METADATA +64 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/RECORD +19 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/requests/__init__.py +219 -0
- package/runtime/Lib/site-packages/requests/__version__.py +14 -0
- package/runtime/Lib/site-packages/requests/_internal_utils.py +51 -0
- package/runtime/Lib/site-packages/requests/_types.py +183 -0
- package/runtime/Lib/site-packages/requests/adapters.py +748 -0
- package/runtime/Lib/site-packages/requests/api.py +180 -0
- package/runtime/Lib/site-packages/requests/auth.py +354 -0
- package/runtime/Lib/site-packages/requests/certs.py +18 -0
- package/runtime/Lib/site-packages/requests/compat.py +113 -0
- package/runtime/Lib/site-packages/requests/cookies.py +625 -0
- package/runtime/Lib/site-packages/requests/exceptions.py +162 -0
- package/runtime/Lib/site-packages/requests/help.py +134 -0
- package/runtime/Lib/site-packages/requests/hooks.py +48 -0
- package/runtime/Lib/site-packages/requests/models.py +1180 -0
- package/runtime/Lib/site-packages/requests/packages.py +23 -0
- package/runtime/Lib/site-packages/requests/py.typed +0 -0
- package/runtime/Lib/site-packages/requests/sessions.py +920 -0
- package/runtime/Lib/site-packages/requests/status_codes.py +128 -0
- package/runtime/Lib/site-packages/requests/structures.py +130 -0
- package/runtime/Lib/site-packages/requests/utils.py +1155 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/METADATA +120 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/RECORD +26 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/rpds/__init__.py +5 -0
- package/runtime/Lib/site-packages/rpds/__init__.pyi +79 -0
- package/runtime/Lib/site-packages/rpds/py.typed +0 -0
- package/runtime/Lib/site-packages/rpds/rpds.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/RECORD +9 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/sboms/rpds-py.cyclonedx.json +680 -0
- package/runtime/Lib/site-packages/semantic_version/__init__.py +18 -0
- package/runtime/Lib/site-packages/semantic_version/base.py +1449 -0
- package/runtime/Lib/site-packages/semantic_version/django_fields.py +107 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/LICENSE +22 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/METADATA +324 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/RECORD +8 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/RECORD +6 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/six.py +1003 -0
- package/runtime/Lib/site-packages/sse_starlette/__init__.py +5 -0
- package/runtime/Lib/site-packages/sse_starlette/_utils.py +36 -0
- package/runtime/Lib/site-packages/sse_starlette/event.py +96 -0
- package/runtime/Lib/site-packages/sse_starlette/py.typed +0 -0
- package/runtime/Lib/site-packages/sse_starlette/sse.py +579 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/METADATA +494 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/starlette/__init__.py +1 -0
- package/runtime/Lib/site-packages/starlette/_exception_handler.py +67 -0
- package/runtime/Lib/site-packages/starlette/_utils.py +152 -0
- package/runtime/Lib/site-packages/starlette/applications.py +124 -0
- package/runtime/Lib/site-packages/starlette/authentication.py +157 -0
- package/runtime/Lib/site-packages/starlette/background.py +36 -0
- package/runtime/Lib/site-packages/starlette/concurrency.py +59 -0
- package/runtime/Lib/site-packages/starlette/config.py +142 -0
- package/runtime/Lib/site-packages/starlette/convertors.py +89 -0
- package/runtime/Lib/site-packages/starlette/datastructures.py +717 -0
- package/runtime/Lib/site-packages/starlette/endpoints.py +128 -0
- package/runtime/Lib/site-packages/starlette/exceptions.py +43 -0
- package/runtime/Lib/site-packages/starlette/formparsers.py +289 -0
- package/runtime/Lib/site-packages/starlette/middleware/__init__.py +37 -0
- package/runtime/Lib/site-packages/starlette/middleware/authentication.py +52 -0
- package/runtime/Lib/site-packages/starlette/middleware/base.py +254 -0
- package/runtime/Lib/site-packages/starlette/middleware/body_limit.py +132 -0
- package/runtime/Lib/site-packages/starlette/middleware/cors.py +177 -0
- package/runtime/Lib/site-packages/starlette/middleware/errors.py +259 -0
- package/runtime/Lib/site-packages/starlette/middleware/exceptions.py +73 -0
- package/runtime/Lib/site-packages/starlette/middleware/gzip.py +230 -0
- package/runtime/Lib/site-packages/starlette/middleware/httpsredirect.py +22 -0
- package/runtime/Lib/site-packages/starlette/middleware/opentelemetry.py +126 -0
- package/runtime/Lib/site-packages/starlette/middleware/sessions.py +139 -0
- package/runtime/Lib/site-packages/starlette/middleware/trustedhost.py +66 -0
- package/runtime/Lib/site-packages/starlette/middleware/wsgi.py +157 -0
- package/runtime/Lib/site-packages/starlette/py.typed +0 -0
- package/runtime/Lib/site-packages/starlette/requests.py +357 -0
- package/runtime/Lib/site-packages/starlette/responses.py +616 -0
- package/runtime/Lib/site-packages/starlette/routing.py +772 -0
- package/runtime/Lib/site-packages/starlette/schemas.py +152 -0
- package/runtime/Lib/site-packages/starlette/staticfiles.py +231 -0
- package/runtime/Lib/site-packages/starlette/status.py +211 -0
- package/runtime/Lib/site-packages/starlette/templating.py +156 -0
- package/runtime/Lib/site-packages/starlette/testclient.py +624 -0
- package/runtime/Lib/site-packages/starlette/types.py +26 -0
- package/runtime/Lib/site-packages/starlette/websockets.py +202 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/METADATA +181 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/RECORD +41 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/runtime/Lib/site-packages/truststore/__init__.py +36 -0
- package/runtime/Lib/site-packages/truststore/_api.py +377 -0
- package/runtime/Lib/site-packages/truststore/_macos.py +571 -0
- package/runtime/Lib/site-packages/truststore/_openssl.py +65 -0
- package/runtime/Lib/site-packages/truststore/_ssl_constants.py +30 -0
- package/runtime/Lib/site-packages/truststore/_windows.py +567 -0
- package/runtime/Lib/site-packages/truststore/py.typed +0 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/METADATA +110 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/RECORD +5 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/runtime/Lib/site-packages/typing_extensions.py +4422 -0
- package/runtime/Lib/site-packages/typing_inspection/__init__.py +0 -0
- package/runtime/Lib/site-packages/typing_inspection/introspection.py +587 -0
- package/runtime/Lib/site-packages/typing_inspection/py.typed +0 -0
- package/runtime/Lib/site-packages/typing_inspection/typing_objects.py +620 -0
- package/runtime/Lib/site-packages/typing_inspection/typing_objects.pyi +421 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/METADATA +49 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/RECORD +9 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/tzdata/__init__.py +6 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Abidjan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Accra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Addis_Ababa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Algiers +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmara +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bamako +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bangui +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Banjul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bissau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Blantyre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Brazzaville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bujumbura +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Cairo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Casablanca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ceuta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Conakry +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dakar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dar_es_Salaam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Djibouti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Douala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/El_Aaiun +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Freetown +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Gaborone +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Harare +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Johannesburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Juba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kampala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Khartoum +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kigali +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kinshasa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Libreville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Luanda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lubumbashi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lusaka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Malabo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maputo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maseru +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mbabane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mogadishu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Monrovia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nairobi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ndjamena +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Niamey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nouakchott +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ouagadougou +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Porto-Novo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Sao_Tome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Timbuktu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tripoli +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tunis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Windhoek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Adak +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anchorage +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anguilla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Antigua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Araguaina +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Catamarca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/ComodRivadavia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Cordoba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Jujuy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/La_Rioja +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Mendoza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Rio_Gallegos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Salta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Juan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Luis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Tucuman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Ushuaia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Aruba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Asuncion +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atikokan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia_Banderas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Barbados +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belize +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Blanc-Sablon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boa_Vista +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bogota +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boise +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Buenos_Aires +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cambridge_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Campo_Grande +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cancun +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Caracas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Catamarca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayenne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chicago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chihuahua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ciudad_Juarez +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coral_Harbour +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cordoba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Costa_Rica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coyhaique +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Creston +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cuiaba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Curacao +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Danmarkshavn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson_Creek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Denver +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Detroit +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dominica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Edmonton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Eirunepe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/El_Salvador +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ensenada +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Nelson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Wayne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fortaleza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Glace_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Godthab +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Goose_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grand_Turk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grenada +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guadeloupe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guatemala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guayaquil +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guyana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Halifax +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Havana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Hermosillo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Indianapolis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Knox +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Marengo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Petersburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Tell_City +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vevay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vincennes +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Winamac +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indianapolis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Inuvik +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Iqaluit +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jamaica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jujuy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Juneau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Louisville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Monticello +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Knox_IN +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kralendijk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/La_Paz +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lima +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Los_Angeles +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Louisville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lower_Princes +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Maceio +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Managua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Manaus +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Marigot +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Martinique +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Matamoros +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mazatlan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mendoza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Menominee +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Merida +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Metlakatla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mexico_City +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Miquelon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Moncton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Monterrey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montevideo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montreal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montserrat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nassau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/New_York +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nipigon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Noronha +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Beulah +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Center +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/New_Salem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nuuk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ojinaga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Panama +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Pangnirtung +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Paramaribo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Phoenix +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port-au-Prince +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port_of_Spain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Acre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Velho +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Puerto_Rico +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Punta_Arenas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rainy_River +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rankin_Inlet +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Recife +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Regina +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Resolute +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rio_Branco +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rosario +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santa_Isabel +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santarem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santiago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santo_Domingo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sao_Paulo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Scoresbysund +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Shiprock +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sitka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Barthelemy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Johns +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Kitts +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Lucia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Thomas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Vincent +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Swift_Current +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tegucigalpa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thule +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thunder_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tijuana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Toronto +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tortola +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Vancouver +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Virgin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Whitehorse +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Winnipeg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yakutat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yellowknife +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Casey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Davis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/DumontDUrville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Macquarie +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Mawson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/McMurdo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Palmer +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Rothera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/South_Pole +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Syowa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Troll +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Vostok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/Longyearbyen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aden +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Almaty +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Amman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Anadyr +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtobe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashgabat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashkhabad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Atyrau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baghdad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bahrain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baku +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bangkok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Barnaul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Beirut +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bishkek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Brunei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Calcutta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chita +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Choibalsan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chongqing +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chungking +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Colombo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dacca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Damascus +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dhaka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dili +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dubai +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dushanbe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Famagusta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Gaza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Harbin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hebron +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ho_Chi_Minh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hong_Kong +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hovd +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Irkutsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Istanbul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jakarta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jayapura +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jerusalem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kabul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kamchatka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Karachi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kashgar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kathmandu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Katmandu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Khandyga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kolkata +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Krasnoyarsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuala_Lumpur +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuching +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuwait +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macao +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Magadan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Makassar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Manila +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Muscat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Nicosia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novokuznetsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novosibirsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Omsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Oral +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Phnom_Penh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pontianak +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pyongyang +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qatar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qostanay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qyzylorda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Rangoon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Riyadh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Saigon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Sakhalin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Samarkand +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Seoul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Shanghai +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Singapore +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Srednekolymsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Taipei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tashkent +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tbilisi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tehran +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tel_Aviv +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimbu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimphu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tokyo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tomsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ujung_Pandang +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulaanbaatar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulan_Bator +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Urumqi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ust-Nera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vientiane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vladivostok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yakutsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yangon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yekaterinburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yerevan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Azores +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Bermuda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Canary +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Cape_Verde +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faeroe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faroe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Jan_Mayen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Madeira +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Reykjavik +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/South_Georgia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/St_Helena +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Stanley +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/ACT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Adelaide +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Brisbane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Broken_Hill +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Canberra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Currie +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Darwin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Eucla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Hobart +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/LHI +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lindeman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lord_Howe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Melbourne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/NSW +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/North +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Perth +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Queensland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/South +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Sydney +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Tasmania +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Victoria +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/West +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Yancowinna +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/Acre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/DeNoronha +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/East +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/West +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/CET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/CST6CDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Atlantic +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Central +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Eastern +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Mountain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Newfoundland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Pacific +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Saskatchewan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Yukon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/Continental +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/EasterIsland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Cuba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EST5EDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Egypt +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Eire +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+1 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+10 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+11 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+12 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+2 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+3 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+4 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+5 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+6 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+7 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+8 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+9 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-1 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-10 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-11 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-12 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-13 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-14 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-2 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-3 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-4 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-5 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-6 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-7 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-8 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-9 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Greenwich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UCT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UTC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Universal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Zulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Amsterdam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Andorra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Astrakhan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Athens +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belfast +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belgrade +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Berlin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bratislava +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Brussels +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bucharest +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Budapest +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Busingen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Chisinau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Copenhagen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Dublin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Gibraltar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Guernsey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Helsinki +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Isle_of_Man +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Istanbul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Jersey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kaliningrad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kiev +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kirov +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kyiv +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Lisbon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ljubljana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/London +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Luxembourg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Madrid +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Malta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Mariehamn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Minsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Monaco +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Moscow +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Nicosia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Oslo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Paris +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Podgorica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Prague +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Riga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Rome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Samara +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/San_Marino +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sarajevo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Saratov +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Simferopol +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Skopje +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sofia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Stockholm +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tallinn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tirane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tiraspol +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ulyanovsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Uzhgorod +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vaduz +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vatican +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vienna +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vilnius +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Volgograd +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Warsaw +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zagreb +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zaporozhye +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zurich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Factory +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GB +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GB-Eire +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT+0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT-0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Greenwich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/HST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Hongkong +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Iceland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Antananarivo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Chagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Christmas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Cocos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Comoro +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Kerguelen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mahe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Maldives +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mauritius +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mayotte +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Reunion +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Iran +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Israel +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Jamaica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Japan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Kwajalein +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Libya +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MST7MDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaNorte +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaSur +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/General +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ-CHAT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Navajo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/PRC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/PST8PDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Apia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Auckland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Bougainville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chatham +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chuuk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Easter +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Efate +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Enderbury +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fakaofo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fiji +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Funafuti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Galapagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Gambier +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guadalcanal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Honolulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Johnston +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kanton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kiritimati +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kosrae +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kwajalein +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Majuro +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Marquesas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Midway +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Nauru +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Niue +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Norfolk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Noumea +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pago_Pago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Palau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pitcairn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pohnpei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Ponape +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Port_Moresby +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Rarotonga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Saipan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Samoa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tahiti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tarawa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tongatapu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Truk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wake +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wallis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Yap +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Poland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Portugal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/ROC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/ROK +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Singapore +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Turkey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/UCT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Alaska +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Aleutian +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Arizona +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Central +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/East-Indiana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Eastern +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Hawaii +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Indiana-Starke +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Michigan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Mountain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Pacific +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Samoa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/UTC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Universal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/W-SU +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/WET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Zulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/iso3166.tab +279 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/leapseconds +84 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/tzdata.zi +4202 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zone.tab +448 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zone1970.tab +375 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zonenow.tab +302 -0
- package/runtime/Lib/site-packages/tzdata/zones +598 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/METADATA +33 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/RECORD +633 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/urllib3/__init__.py +211 -0
- package/runtime/Lib/site-packages/urllib3/_base_connection.py +167 -0
- package/runtime/Lib/site-packages/urllib3/_collections.py +490 -0
- package/runtime/Lib/site-packages/urllib3/_request_methods.py +278 -0
- package/runtime/Lib/site-packages/urllib3/_version.py +24 -0
- package/runtime/Lib/site-packages/urllib3/connection.py +1204 -0
- package/runtime/Lib/site-packages/urllib3/connectionpool.py +1211 -0
- package/runtime/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +17 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/connection.py +260 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +726 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/response.py +281 -0
- package/runtime/Lib/site-packages/urllib3/contrib/pyopenssl.py +603 -0
- package/runtime/Lib/site-packages/urllib3/contrib/socks.py +226 -0
- package/runtime/Lib/site-packages/urllib3/exceptions.py +335 -0
- package/runtime/Lib/site-packages/urllib3/fields.py +341 -0
- package/runtime/Lib/site-packages/urllib3/filepost.py +89 -0
- package/runtime/Lib/site-packages/urllib3/http2/__init__.py +53 -0
- package/runtime/Lib/site-packages/urllib3/http2/connection.py +357 -0
- package/runtime/Lib/site-packages/urllib3/http2/probe.py +87 -0
- package/runtime/Lib/site-packages/urllib3/poolmanager.py +677 -0
- package/runtime/Lib/site-packages/urllib3/py.typed +2 -0
- package/runtime/Lib/site-packages/urllib3/response.py +1526 -0
- package/runtime/Lib/site-packages/urllib3/util/__init__.py +42 -0
- package/runtime/Lib/site-packages/urllib3/util/connection.py +137 -0
- package/runtime/Lib/site-packages/urllib3/util/proxy.py +43 -0
- package/runtime/Lib/site-packages/urllib3/util/request.py +299 -0
- package/runtime/Lib/site-packages/urllib3/util/response.py +101 -0
- package/runtime/Lib/site-packages/urllib3/util/retry.py +569 -0
- package/runtime/Lib/site-packages/urllib3/util/ssl_.py +481 -0
- package/runtime/Lib/site-packages/urllib3/util/ssl_match_hostname.py +153 -0
- package/runtime/Lib/site-packages/urllib3/util/ssltransport.py +271 -0
- package/runtime/Lib/site-packages/urllib3/util/timeout.py +275 -0
- package/runtime/Lib/site-packages/urllib3/util/url.py +577 -0
- package/runtime/Lib/site-packages/urllib3/util/util.py +42 -0
- package/runtime/Lib/site-packages/urllib3/util/wait.py +124 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/METADATA +175 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/RECORD +42 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
- package/runtime/Lib/site-packages/uvicorn/__init__.py +5 -0
- package/runtime/Lib/site-packages/uvicorn/__main__.py +4 -0
- package/runtime/Lib/site-packages/uvicorn/_ansi.py +29 -0
- package/runtime/Lib/site-packages/uvicorn/_compat.py +91 -0
- package/runtime/Lib/site-packages/uvicorn/_subprocess.py +84 -0
- package/runtime/Lib/site-packages/uvicorn/_types.py +280 -0
- package/runtime/Lib/site-packages/uvicorn/config.py +618 -0
- package/runtime/Lib/site-packages/uvicorn/importer.py +34 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/off.py +17 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/on.py +137 -0
- package/runtime/Lib/site-packages/uvicorn/logging.py +117 -0
- package/runtime/Lib/site-packages/uvicorn/loops/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/loops/asyncio.py +11 -0
- package/runtime/Lib/site-packages/uvicorn/loops/auto.py +17 -0
- package/runtime/Lib/site-packages/uvicorn/loops/uvloop.py +10 -0
- package/runtime/Lib/site-packages/uvicorn/loops/zuvloop.py +10 -0
- package/runtime/Lib/site-packages/uvicorn/main.py +656 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/asgi2.py +15 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/message_logger.py +87 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/proxy_headers.py +187 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/wsgi.py +199 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/auto.py +15 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/auto_zttp_impl.py +89 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/flow_control.py +54 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/h11_impl.py +540 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/httptools_impl.py +581 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_h2_impl.py +559 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_impl.py +537 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/utils.py +62 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/auto.py +21 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_impl.py +390 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_sansio_impl.py +556 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/wsproto_impl.py +500 -0
- package/runtime/Lib/site-packages/uvicorn/py.typed +1 -0
- package/runtime/Lib/site-packages/uvicorn/server.py +356 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/__init__.py +16 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/basereload.py +124 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/multiprocess.py +282 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/statreload.py +52 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/watchfilesreload.py +86 -0
- package/runtime/Lib/site-packages/uvicorn/workers.py +111 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/METADATA +189 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/RECORD +51 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/runtime/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +119 -0
- package/runtime/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +137 -0
- package/runtime/Lib/site-packages/win32/Demos/CopyFileEx.py +57 -0
- package/runtime/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +122 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtFormatMessage.py +83 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +28 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +32 -0
- package/runtime/Lib/site-packages/win32/Demos/FileSecurityTest.py +137 -0
- package/runtime/Lib/site-packages/win32/Demos/GetSaveFileName.py +43 -0
- package/runtime/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +127 -0
- package/runtime/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +66 -0
- package/runtime/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +60 -0
- package/runtime/Lib/site-packages/win32/Demos/RegRestoreKey.py +71 -0
- package/runtime/Lib/site-packages/win32/Demos/SystemParametersInfo.py +210 -0
- package/runtime/Lib/site-packages/win32/Demos/c_extension/setup.py +26 -0
- package/runtime/Lib/site-packages/win32/Demos/dde/ddeclient.py +18 -0
- package/runtime/Lib/site-packages/win32/Demos/dde/ddeserver.py +42 -0
- package/runtime/Lib/site-packages/win32/Demos/desktopmanager.py +246 -0
- package/runtime/Lib/site-packages/win32/Demos/eventLogDemo.py +138 -0
- package/runtime/Lib/site-packages/win32/Demos/getfilever.py +33 -0
- package/runtime/Lib/site-packages/win32/Demos/images/frowny.bmp +0 -0
- package/runtime/Lib/site-packages/win32/Demos/images/smiley.bmp +0 -0
- package/runtime/Lib/site-packages/win32/Demos/mmapfile_demo.py +101 -0
- package/runtime/Lib/site-packages/win32/Demos/pipes/cat.py +17 -0
- package/runtime/Lib/site-packages/win32/Demos/pipes/runproc.py +114 -0
- package/runtime/Lib/site-packages/win32/Demos/print_desktop.py +113 -0
- package/runtime/Lib/site-packages/win32/Demos/rastest.py +166 -0
- package/runtime/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +110 -0
- package/runtime/Lib/site-packages/win32/Demos/security/account_rights.py +49 -0
- package/runtime/Lib/site-packages/win32/Demos/security/explicit_entries.py +170 -0
- package/runtime/Lib/site-packages/win32/Demos/security/get_policy_info.py +39 -0
- package/runtime/Lib/site-packages/win32/Demos/security/list_rights.py +35 -0
- package/runtime/Lib/site-packages/win32/Demos/security/localized_names.py +70 -0
- package/runtime/Lib/site-packages/win32/Demos/security/lsaregevent.py +14 -0
- package/runtime/Lib/site-packages/win32/Demos/security/lsastore.py +12 -0
- package/runtime/Lib/site-packages/win32/Demos/security/query_information.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/security/regsave_sa.py +61 -0
- package/runtime/Lib/site-packages/win32/Demos/security/regsecurity.py +36 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sa_inherit.py +8 -0
- package/runtime/Lib/site-packages/win32/Demos/security/security_enums.py +336 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_file_audit.py +106 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_file_owner.py +73 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_policy_info.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +134 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +131 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +131 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +102 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +158 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +72 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +199 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +41 -0
- package/runtime/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +63 -0
- package/runtime/Lib/site-packages/win32/Demos/service/pipeTestService.py +185 -0
- package/runtime/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +158 -0
- package/runtime/Lib/site-packages/win32/Demos/service/serviceEvents.py +98 -0
- package/runtime/Lib/site-packages/win32/Demos/timer_demo.py +72 -0
- package/runtime/Lib/site-packages/win32/Demos/win32clipboardDemo.py +155 -0
- package/runtime/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +117 -0
- package/runtime/Lib/site-packages/win32/Demos/win32comport_demo.py +174 -0
- package/runtime/Lib/site-packages/win32/Demos/win32console_demo.py +132 -0
- package/runtime/Lib/site-packages/win32/Demos/win32cred_demo.py +82 -0
- package/runtime/Lib/site-packages/win32/Demos/win32fileDemo.py +41 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_demo.py +177 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +106 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_dialog.py +445 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_menu.py +464 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_taskbar.py +136 -0
- package/runtime/Lib/site-packages/win32/Demos/win32netdemo.py +272 -0
- package/runtime/Lib/site-packages/win32/Demos/win32rcparser_demo.py +86 -0
- package/runtime/Lib/site-packages/win32/Demos/win32servicedemo.py +23 -0
- package/runtime/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +123 -0
- package/runtime/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +100 -0
- package/runtime/Lib/site-packages/win32/Demos/winprocess.py +230 -0
- package/runtime/Lib/site-packages/win32/_win32sysloader.pyd +0 -0
- package/runtime/Lib/site-packages/win32/_winxptheme.pyd +0 -0
- package/runtime/Lib/site-packages/win32/include/PyWinTypes.h +739 -0
- package/runtime/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +164 -0
- package/runtime/Lib/site-packages/win32/lib/afxres.py +9 -0
- package/runtime/Lib/site-packages/win32/lib/commctrl.py +1551 -0
- package/runtime/Lib/site-packages/win32/lib/mmsystem.py +956 -0
- package/runtime/Lib/site-packages/win32/lib/netbios.py +293 -0
- package/runtime/Lib/site-packages/win32/lib/ntsecuritycon.py +731 -0
- package/runtime/Lib/site-packages/win32/lib/pywin32_bootstrap.py +21 -0
- package/runtime/Lib/site-packages/win32/lib/pywin32_testutil.py +291 -0
- package/runtime/Lib/site-packages/win32/lib/pywintypes.py +124 -0
- package/runtime/Lib/site-packages/win32/lib/rasutil.py +40 -0
- package/runtime/Lib/site-packages/win32/lib/regcheck.py +162 -0
- package/runtime/Lib/site-packages/win32/lib/regutil.py +395 -0
- package/runtime/Lib/site-packages/win32/lib/sspi.py +413 -0
- package/runtime/Lib/site-packages/win32/lib/sspicon.py +477 -0
- package/runtime/Lib/site-packages/win32/lib/win2kras.py +14 -0
- package/runtime/Lib/site-packages/win32/lib/win32con.py +5066 -0
- package/runtime/Lib/site-packages/win32/lib/win32cryptcon.py +1922 -0
- package/runtime/Lib/site-packages/win32/lib/win32evtlogutil.py +225 -0
- package/runtime/Lib/site-packages/win32/lib/win32gui_struct.py +961 -0
- package/runtime/Lib/site-packages/win32/lib/win32inetcon.py +1086 -0
- package/runtime/Lib/site-packages/win32/lib/win32netcon.py +627 -0
- package/runtime/Lib/site-packages/win32/lib/win32pdhquery.py +570 -0
- package/runtime/Lib/site-packages/win32/lib/win32pdhutil.py +212 -0
- package/runtime/Lib/site-packages/win32/lib/win32rcparser.py +674 -0
- package/runtime/Lib/site-packages/win32/lib/win32serviceutil.py +1077 -0
- package/runtime/Lib/site-packages/win32/lib/win32timezone.py +1201 -0
- package/runtime/Lib/site-packages/win32/lib/win32traceutil.py +59 -0
- package/runtime/Lib/site-packages/win32/lib/win32verstamp.py +235 -0
- package/runtime/Lib/site-packages/win32/lib/winerror.py +7361 -0
- package/runtime/Lib/site-packages/win32/lib/winioctlcon.py +1079 -0
- package/runtime/Lib/site-packages/win32/lib/winnt.py +1347 -0
- package/runtime/Lib/site-packages/win32/lib/winperf.py +236 -0
- package/runtime/Lib/site-packages/win32/lib/winxptheme.py +8 -0
- package/runtime/Lib/site-packages/win32/libs/pywintypes.lib +0 -0
- package/runtime/Lib/site-packages/win32/license.txt +30 -0
- package/runtime/Lib/site-packages/win32/mmapfile.pyd +0 -0
- package/runtime/Lib/site-packages/win32/odbc.pyd +0 -0
- package/runtime/Lib/site-packages/win32/perfmon.pyd +0 -0
- package/runtime/Lib/site-packages/win32/perfmondata.dll +0 -0
- package/runtime/Lib/site-packages/win32/pythonservice.exe +0 -0
- package/runtime/Lib/site-packages/win32/scripts/ControlService.py +594 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +97 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +156 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +201 -0
- package/runtime/Lib/site-packages/win32/scripts/backupEventLog.py +46 -0
- package/runtime/Lib/site-packages/win32/scripts/h2py.py +194 -0
- package/runtime/Lib/site-packages/win32/scripts/killProcName.py +62 -0
- package/runtime/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
- package/runtime/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
- package/runtime/Lib/site-packages/win32/scripts/rasutil.py +98 -0
- package/runtime/Lib/site-packages/win32/scripts/regsetup.py +607 -0
- package/runtime/Lib/site-packages/win32/scripts/setup_d.py +111 -0
- package/runtime/Lib/site-packages/win32/servicemanager.pyd +0 -0
- package/runtime/Lib/site-packages/win32/test/handles.py +175 -0
- package/runtime/Lib/site-packages/win32/test/test_clipboard.py +137 -0
- package/runtime/Lib/site-packages/win32/test/test_exceptions.py +213 -0
- package/runtime/Lib/site-packages/win32/test/test_odbc.py +264 -0
- package/runtime/Lib/site-packages/win32/test/test_pywintypes.py +111 -0
- package/runtime/Lib/site-packages/win32/test/test_security.py +166 -0
- package/runtime/Lib/site-packages/win32/test/test_sspi.py +229 -0
- package/runtime/Lib/site-packages/win32/test/test_win32api.py +273 -0
- package/runtime/Lib/site-packages/win32/test/test_win32clipboard.py +59 -0
- package/runtime/Lib/site-packages/win32/test/test_win32cred.py +91 -0
- package/runtime/Lib/site-packages/win32/test/test_win32crypt.py +144 -0
- package/runtime/Lib/site-packages/win32/test/test_win32event.py +119 -0
- package/runtime/Lib/site-packages/win32/test/test_win32file.py +1097 -0
- package/runtime/Lib/site-packages/win32/test/test_win32gui.py +188 -0
- package/runtime/Lib/site-packages/win32/test/test_win32guistruct.py +333 -0
- package/runtime/Lib/site-packages/win32/test/test_win32inet.py +108 -0
- package/runtime/Lib/site-packages/win32/test/test_win32net.py +23 -0
- package/runtime/Lib/site-packages/win32/test/test_win32pipe.py +148 -0
- package/runtime/Lib/site-packages/win32/test/test_win32print.py +24 -0
- package/runtime/Lib/site-packages/win32/test/test_win32profile.py +19 -0
- package/runtime/Lib/site-packages/win32/test/test_win32rcparser.py +70 -0
- package/runtime/Lib/site-packages/win32/test/test_win32timezone.py +16 -0
- package/runtime/Lib/site-packages/win32/test/test_win32trace.py +366 -0
- package/runtime/Lib/site-packages/win32/test/test_win32ts.py +19 -0
- package/runtime/Lib/site-packages/win32/test/test_win32wnet.py +174 -0
- package/runtime/Lib/site-packages/win32/test/testall.py +223 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/python.bmp +0 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/python.ico +0 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/test.h +46 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/test.rc +215 -0
- package/runtime/Lib/site-packages/win32/timer.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32api.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32clipboard.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32console.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32cred.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32crypt.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32event.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32evtlog.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32file.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32gui.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32help.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32inet.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32job.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32lz.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32net.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32pdh.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32pipe.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32print.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32process.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32profile.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32ras.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32security.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32service.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32trace.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32transaction.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32ts.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32wnet.pyd +0 -0
- package/runtime/Lib/site-packages/win32/winxpgui.py +13 -0
- package/runtime/Lib/site-packages/win32com/HTML/COM_Records.html +382 -0
- package/runtime/Lib/site-packages/win32com/HTML/GeneratedSupport.html +104 -0
- package/runtime/Lib/site-packages/win32com/HTML/PythonCOM.html +90 -0
- package/runtime/Lib/site-packages/win32com/HTML/QuickStartClientCom.html +82 -0
- package/runtime/Lib/site-packages/win32com/HTML/QuickStartServerCom.html +195 -0
- package/runtime/Lib/site-packages/win32com/HTML/docindex.html +23 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_HomePage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_ManualTop.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_NextPage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_PrevPage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/blank.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/pycom_blowing.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/pythoncom.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/www_icon.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/index.html +31 -0
- package/runtime/Lib/site-packages/win32com/HTML/misc.html +18 -0
- package/runtime/Lib/site-packages/win32com/HTML/package.html +37 -0
- package/runtime/Lib/site-packages/win32com/HTML/variant.html +162 -0
- package/runtime/Lib/site-packages/win32com/License.txt +30 -0
- package/runtime/Lib/site-packages/win32com/__init__.py +134 -0
- package/runtime/Lib/site-packages/win32com/client/CLSIDToClass.py +60 -0
- package/runtime/Lib/site-packages/win32com/client/__init__.py +703 -0
- package/runtime/Lib/site-packages/win32com/client/build.py +774 -0
- package/runtime/Lib/site-packages/win32com/client/combrowse.py +605 -0
- package/runtime/Lib/site-packages/win32com/client/connect.py +48 -0
- package/runtime/Lib/site-packages/win32com/client/dynamic.py +699 -0
- package/runtime/Lib/site-packages/win32com/client/gencache.py +825 -0
- package/runtime/Lib/site-packages/win32com/client/genpy.py +1352 -0
- package/runtime/Lib/site-packages/win32com/client/makepy.py +453 -0
- package/runtime/Lib/site-packages/win32com/client/selecttlb.py +182 -0
- package/runtime/Lib/site-packages/win32com/client/tlbrowse.py +277 -0
- package/runtime/Lib/site-packages/win32com/client/util.py +103 -0
- package/runtime/Lib/site-packages/win32com/demos/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32com/demos/connect.py +97 -0
- package/runtime/Lib/site-packages/win32com/demos/dump_clipboard.py +74 -0
- package/runtime/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +98 -0
- package/runtime/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +92 -0
- package/runtime/Lib/site-packages/win32com/demos/excelAddin.py +169 -0
- package/runtime/Lib/site-packages/win32com/demos/excelRTDServer.py +434 -0
- package/runtime/Lib/site-packages/win32com/demos/iebutton.py +214 -0
- package/runtime/Lib/site-packages/win32com/demos/ietoolbar.py +368 -0
- package/runtime/Lib/site-packages/win32com/demos/outlookAddin.py +135 -0
- package/runtime/Lib/site-packages/win32com/demos/trybag.py +78 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOM.h +746 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOMRegister.h +56 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOMServer.h +167 -0
- package/runtime/Lib/site-packages/win32com/libs/axscript.lib +0 -0
- package/runtime/Lib/site-packages/win32com/libs/pythoncom.lib +0 -0
- package/runtime/Lib/site-packages/win32com/makegw/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegw.py +618 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegwenum.py +331 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegwparse.py +1017 -0
- package/runtime/Lib/site-packages/win32com/olectl.py +70 -0
- package/runtime/Lib/site-packages/win32com/readme.html +87 -0
- package/runtime/Lib/site-packages/win32com/server/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/server/connect.py +85 -0
- package/runtime/Lib/site-packages/win32com/server/dispatcher.py +239 -0
- package/runtime/Lib/site-packages/win32com/server/exception.py +99 -0
- package/runtime/Lib/site-packages/win32com/server/factory.py +26 -0
- package/runtime/Lib/site-packages/win32com/server/localserver.py +53 -0
- package/runtime/Lib/site-packages/win32com/server/policy.py +803 -0
- package/runtime/Lib/site-packages/win32com/server/register.py +677 -0
- package/runtime/Lib/site-packages/win32com/server/util.py +229 -0
- package/runtime/Lib/site-packages/win32com/servers/PythonTools.py +47 -0
- package/runtime/Lib/site-packages/win32com/servers/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32com/servers/dictionary.py +133 -0
- package/runtime/Lib/site-packages/win32com/servers/interp.py +59 -0
- package/runtime/Lib/site-packages/win32com/servers/perfmon.py +36 -0
- package/runtime/Lib/site-packages/win32com/servers/test_pycomtest.py +181 -0
- package/runtime/Lib/site-packages/win32com/storagecon.py +142 -0
- package/runtime/Lib/site-packages/win32com/test/GenTestScripts.py +95 -0
- package/runtime/Lib/site-packages/win32com/test/Testpys.sct +63 -0
- package/runtime/Lib/site-packages/win32com/test/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/test/daodump.py +88 -0
- package/runtime/Lib/site-packages/win32com/test/errorSemantics.py +243 -0
- package/runtime/Lib/site-packages/win32com/test/pippo.idl +66 -0
- package/runtime/Lib/site-packages/win32com/test/pippo_server.py +96 -0
- package/runtime/Lib/site-packages/win32com/test/policySemantics.py +115 -0
- package/runtime/Lib/site-packages/win32com/test/readme.txt +19 -0
- package/runtime/Lib/site-packages/win32com/test/testADOEvents.py +100 -0
- package/runtime/Lib/site-packages/win32com/test/testAXScript.py +44 -0
- package/runtime/Lib/site-packages/win32com/test/testAccess.py +185 -0
- package/runtime/Lib/site-packages/win32com/test/testArrays.py +99 -0
- package/runtime/Lib/site-packages/win32com/test/testClipboard.py +169 -0
- package/runtime/Lib/site-packages/win32com/test/testCollections.py +159 -0
- package/runtime/Lib/site-packages/win32com/test/testConversionErrors.py +35 -0
- package/runtime/Lib/site-packages/win32com/test/testDCOM.py +50 -0
- package/runtime/Lib/site-packages/win32com/test/testDates.py +74 -0
- package/runtime/Lib/site-packages/win32com/test/testDictionary.py +101 -0
- package/runtime/Lib/site-packages/win32com/test/testDictionary.vbs +24 -0
- package/runtime/Lib/site-packages/win32com/test/testDynamic.py +84 -0
- package/runtime/Lib/site-packages/win32com/test/testExchange.py +121 -0
- package/runtime/Lib/site-packages/win32com/test/testExplorer.py +139 -0
- package/runtime/Lib/site-packages/win32com/test/testGIT.py +142 -0
- package/runtime/Lib/site-packages/win32com/test/testGatewayAddresses.py +149 -0
- package/runtime/Lib/site-packages/win32com/test/testInterp.vbs +11 -0
- package/runtime/Lib/site-packages/win32com/test/testIterators.py +140 -0
- package/runtime/Lib/site-packages/win32com/test/testMSOffice.py +184 -0
- package/runtime/Lib/site-packages/win32com/test/testMSOfficeEvents.py +138 -0
- package/runtime/Lib/site-packages/win32com/test/testMarshal.py +164 -0
- package/runtime/Lib/site-packages/win32com/test/testPersist.py +227 -0
- package/runtime/Lib/site-packages/win32com/test/testPippo.py +80 -0
- package/runtime/Lib/site-packages/win32com/test/testPyComTest.py +963 -0
- package/runtime/Lib/site-packages/win32com/test/testPyScriptlet.js +33 -0
- package/runtime/Lib/site-packages/win32com/test/testROT.py +29 -0
- package/runtime/Lib/site-packages/win32com/test/testServers.py +51 -0
- package/runtime/Lib/site-packages/win32com/test/testShell.py +272 -0
- package/runtime/Lib/site-packages/win32com/test/testStorage.py +88 -0
- package/runtime/Lib/site-packages/win32com/test/testStreams.py +147 -0
- package/runtime/Lib/site-packages/win32com/test/testWMI.py +18 -0
- package/runtime/Lib/site-packages/win32com/test/testall.py +321 -0
- package/runtime/Lib/site-packages/win32com/test/testmakepy.py +54 -0
- package/runtime/Lib/site-packages/win32com/test/testvb.py +578 -0
- package/runtime/Lib/site-packages/win32com/test/testvbscript_regexp.py +40 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.js +12 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.py +34 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.xsl +54 -0
- package/runtime/Lib/site-packages/win32com/test/util.py +262 -0
- package/runtime/Lib/site-packages/win32com/universal.py +224 -0
- package/runtime/Lib/site-packages/win32com/util.py +35 -0
- package/runtime/Lib/site-packages/win32comext/adsi/__init__.py +113 -0
- package/runtime/Lib/site-packages/win32comext/adsi/adsi.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/adsi/adsicon.py +340 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +68 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/scp.py +565 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/search.py +151 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/test.py +274 -0
- package/runtime/Lib/site-packages/win32comext/authorization/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/authorization/authorization.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +229 -0
- package/runtime/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +219 -0
- package/runtime/Lib/site-packages/win32comext/axcontrol/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axcontrol/axcontrol.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/adb.py +467 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/codecontainer.py +279 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/contexts.py +58 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/debugger.py +238 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/documents.py +135 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/dump.py +57 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/expressions.py +212 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/gateways.py +583 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/stackframe.py +178 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/util.py +98 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/CreateObject.asp +18 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/caps.asp +52 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.asp +4 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.html +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.asp +6 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.html +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/tut1.asp +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/CHARTPY.HTM +179 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/FOO.HTM +46 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/MarqueeText1.htm +24 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/calc.htm +115 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/dbgtest.htm +16 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_check.htm +39 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_intro.htm +37 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_menu.htm +14 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/docwrite.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/foo2.htm +105 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/form.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/marqueeDemo.htm +59 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/mousetrack.htm +82 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/pycom_blowing.gif +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/blank.pys +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/excel.pys +31 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/registry.pys +44 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/test.pys +14 -0
- package/runtime/Lib/site-packages/win32comext/axscript/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axscript/asputil.py +13 -0
- package/runtime/Lib/site-packages/win32comext/axscript/axscript.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/debug.py +223 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/error.py +260 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/framework.py +1291 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pydumper.py +78 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript.py +438 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +54 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +103 -0
- package/runtime/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/server/axsite.py +145 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.pys +16 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.vbs +7 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/leakTest.py +186 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/testHost.py +241 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +83 -0
- package/runtime/Lib/site-packages/win32comext/bits/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/bits/bits.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +48 -0
- package/runtime/Lib/site-packages/win32comext/bits/test/test_bits.py +119 -0
- package/runtime/Lib/site-packages/win32comext/directsound/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/directsound/directsound.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/ds_record.py +60 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/ds_test.py +402 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +300 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/ifilter.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/ifiltercon.py +110 -0
- package/runtime/Lib/site-packages/win32comext/internet/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/internet/inetcon.py +261 -0
- package/runtime/Lib/site-packages/win32comext/internet/internet.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/propsys/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/propsys/propsys.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/propsys/pscon.py +839 -0
- package/runtime/Lib/site-packages/win32comext/propsys/test/testpropsys.py +5 -0
- package/runtime/Lib/site-packages/win32comext/shell/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +83 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +179 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +67 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +93 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +56 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +45 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/create_link.py +73 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/dump_link.py +58 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +143 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +125 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +122 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +84 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +188 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +866 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +81 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +971 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +19 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/viewstate.py +68 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +24 -0
- package/runtime/Lib/site-packages/win32comext/shell/shell.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/shell/shellcon.py +1615 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +75 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testShellFolder.py +21 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testShellItem.py +69 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/taskscheduler.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +66 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +68 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +49 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +3 -0
- package/runtime/Lib/site-packages/yaml/__init__.py +390 -0
- package/runtime/Lib/site-packages/yaml/_yaml.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/yaml/composer.py +139 -0
- package/runtime/Lib/site-packages/yaml/constructor.py +748 -0
- package/runtime/Lib/site-packages/yaml/cyaml.py +101 -0
- package/runtime/Lib/site-packages/yaml/dumper.py +62 -0
- package/runtime/Lib/site-packages/yaml/emitter.py +1137 -0
- package/runtime/Lib/site-packages/yaml/error.py +75 -0
- package/runtime/Lib/site-packages/yaml/events.py +86 -0
- package/runtime/Lib/site-packages/yaml/loader.py +63 -0
- package/runtime/Lib/site-packages/yaml/nodes.py +49 -0
- package/runtime/Lib/site-packages/yaml/parser.py +589 -0
- package/runtime/Lib/site-packages/yaml/reader.py +185 -0
- package/runtime/Lib/site-packages/yaml/representer.py +389 -0
- package/runtime/Lib/site-packages/yaml/resolver.py +227 -0
- package/runtime/Lib/site-packages/yaml/scanner.py +1435 -0
- package/runtime/Lib/site-packages/yaml/serializer.py +111 -0
- package/runtime/Lib/site-packages/yaml/tokens.py +104 -0
- package/runtime/Lib/site-packages/z3/__init__.py +12 -0
- package/runtime/Lib/site-packages/z3/include/z3++.h +4528 -0
- package/runtime/Lib/site-packages/z3/include/z3.h +35 -0
- package/runtime/Lib/site-packages/z3/include/z3_algebraic.h +249 -0
- package/runtime/Lib/site-packages/z3/include/z3_api.h +7463 -0
- package/runtime/Lib/site-packages/z3/include/z3_ast_containers.h +198 -0
- package/runtime/Lib/site-packages/z3/include/z3_fixedpoint.h +382 -0
- package/runtime/Lib/site-packages/z3/include/z3_fpa.h +1346 -0
- package/runtime/Lib/site-packages/z3/include/z3_macros.h +22 -0
- package/runtime/Lib/site-packages/z3/include/z3_optimization.h +377 -0
- package/runtime/Lib/site-packages/z3/include/z3_polynomial.h +52 -0
- package/runtime/Lib/site-packages/z3/include/z3_rcf.h +321 -0
- package/runtime/Lib/site-packages/z3/include/z3_spacer.h +141 -0
- package/runtime/Lib/site-packages/z3/include/z3_v1.h +62 -0
- package/runtime/Lib/site-packages/z3/include/z3_version.h +7 -0
- package/runtime/Lib/site-packages/z3/lib/libz3.dll +0 -0
- package/runtime/Lib/site-packages/z3/z3.py +11780 -0
- package/runtime/Lib/site-packages/z3/z3consts.py +359 -0
- package/runtime/Lib/site-packages/z3/z3core.py +5499 -0
- package/runtime/Lib/site-packages/z3/z3num.py +579 -0
- package/runtime/Lib/site-packages/z3/z3poly.py +37 -0
- package/runtime/Lib/site-packages/z3/z3printer.py +1532 -0
- package/runtime/Lib/site-packages/z3/z3rcf.py +168 -0
- package/runtime/Lib/site-packages/z3/z3types.py +254 -0
- package/runtime/Lib/site-packages/z3/z3util.py +502 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/METADATA +17 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/RECORD +30 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/top_level.txt +1 -0
- package/runtime/Scripts/pywin32_postinstall.py +733 -0
- package/runtime/Scripts/pywin32_testall.py +120 -0
- package/runtime/_asyncio.pyd +0 -0
- package/runtime/_bz2.pyd +0 -0
- package/runtime/_ctypes.pyd +0 -0
- package/runtime/_decimal.pyd +0 -0
- package/runtime/_elementtree.pyd +0 -0
- package/runtime/_hashlib.pyd +0 -0
- package/runtime/_lzma.pyd +0 -0
- package/runtime/_multiprocessing.pyd +0 -0
- package/runtime/_overlapped.pyd +0 -0
- package/runtime/_queue.pyd +0 -0
- package/runtime/_socket.pyd +0 -0
- package/runtime/_sqlite3.pyd +0 -0
- package/runtime/_ssl.pyd +0 -0
- package/runtime/_uuid.pyd +0 -0
- package/runtime/_wmi.pyd +0 -0
- package/runtime/_zoneinfo.pyd +0 -0
- package/runtime/bin/z3.exe +0 -0
- package/runtime/libcrypto-3.dll +0 -0
- package/runtime/libffi-8.dll +0 -0
- package/runtime/libssl-3.dll +0 -0
- package/runtime/pyexpat.pyd +0 -0
- package/runtime/python.cat +0 -0
- package/runtime/python.exe +0 -0
- package/runtime/python3.dll +0 -0
- package/runtime/python313._pth +7 -0
- package/runtime/python313.dll +0 -0
- package/runtime/python313.zip +0 -0
- package/runtime/pythonw.exe +0 -0
- package/runtime/select.pyd +0 -0
- package/runtime/sqlite3.dll +0 -0
- package/runtime/unicodedata.pyd +0 -0
- package/runtime/vcruntime140.dll +0 -0
- package/runtime/vcruntime140_1.dll +0 -0
- package/runtime/winsound.pyd +0 -0
- package/runtime-manifest.json +10547 -0
- package/vendor/jsonc-parser/LICENSE.md +21 -0
- package/vendor/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/vendor/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/vendor/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/vendor/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/vendor/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/vendor/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/vendor/jsonc-parser/lib/umd/main.js +194 -0
- package/vendor/jsonc-parser/package.json +37 -0
|
@@ -0,0 +1,1925 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
import os
|
|
5
|
+
import shutil
|
|
6
|
+
import sys
|
|
7
|
+
import tempfile
|
|
8
|
+
from enum import IntEnum
|
|
9
|
+
from io import BufferedRandom, BytesIO
|
|
10
|
+
from numbers import Number
|
|
11
|
+
from typing import TYPE_CHECKING, cast
|
|
12
|
+
|
|
13
|
+
from .decoders import Base64Decoder, QuotedPrintableDecoder
|
|
14
|
+
from .exceptions import FileError, FormParserError, MultipartParseError, QuerystringParseError
|
|
15
|
+
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from collections.abc import Callable
|
|
18
|
+
from typing import Any, Literal, Protocol, TypeAlias, TypedDict
|
|
19
|
+
|
|
20
|
+
class SupportsRead(Protocol):
|
|
21
|
+
def read(self, __n: int) -> bytes: ...
|
|
22
|
+
|
|
23
|
+
class QuerystringCallbacks(TypedDict, total=False):
|
|
24
|
+
on_field_start: Callable[[], None]
|
|
25
|
+
on_field_name: Callable[[bytes, int, int], None]
|
|
26
|
+
on_field_data: Callable[[bytes, int, int], None]
|
|
27
|
+
on_field_end: Callable[[], None]
|
|
28
|
+
on_end: Callable[[], None]
|
|
29
|
+
|
|
30
|
+
class OctetStreamCallbacks(TypedDict, total=False):
|
|
31
|
+
on_start: Callable[[], None]
|
|
32
|
+
on_data: Callable[[bytes, int, int], None]
|
|
33
|
+
on_end: Callable[[], None]
|
|
34
|
+
|
|
35
|
+
class MultipartCallbacks(TypedDict, total=False):
|
|
36
|
+
on_part_begin: Callable[[], None]
|
|
37
|
+
on_part_data: Callable[[bytes, int, int], None]
|
|
38
|
+
on_part_end: Callable[[], None]
|
|
39
|
+
on_header_begin: Callable[[], None]
|
|
40
|
+
on_header_field: Callable[[bytes, int, int], None]
|
|
41
|
+
on_header_value: Callable[[bytes, int, int], None]
|
|
42
|
+
on_header_end: Callable[[], None]
|
|
43
|
+
on_headers_finished: Callable[[], None]
|
|
44
|
+
on_end: Callable[[], None]
|
|
45
|
+
|
|
46
|
+
class FileConfig(TypedDict, total=False):
|
|
47
|
+
UPLOAD_DIR: str | bytes | None
|
|
48
|
+
UPLOAD_DELETE_TMP: bool
|
|
49
|
+
UPLOAD_KEEP_FILENAME: bool
|
|
50
|
+
UPLOAD_KEEP_EXTENSIONS: bool
|
|
51
|
+
MAX_MEMORY_FILE_SIZE: int
|
|
52
|
+
|
|
53
|
+
class FormParserConfig(FileConfig):
|
|
54
|
+
UPLOAD_ERROR_ON_BAD_CTE: bool
|
|
55
|
+
MAX_BODY_SIZE: float
|
|
56
|
+
MAX_HEADER_COUNT: int
|
|
57
|
+
MAX_HEADER_SIZE: int
|
|
58
|
+
|
|
59
|
+
CallbackName: TypeAlias = Literal[
|
|
60
|
+
"start",
|
|
61
|
+
"data",
|
|
62
|
+
"end",
|
|
63
|
+
"field_start",
|
|
64
|
+
"field_name",
|
|
65
|
+
"field_data",
|
|
66
|
+
"field_end",
|
|
67
|
+
"part_begin",
|
|
68
|
+
"part_data",
|
|
69
|
+
"part_end",
|
|
70
|
+
"header_begin",
|
|
71
|
+
"header_field",
|
|
72
|
+
"header_value",
|
|
73
|
+
"header_end",
|
|
74
|
+
"headers_finished",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
# Unique missing object.
|
|
78
|
+
_missing = object()
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class QuerystringState(IntEnum):
|
|
82
|
+
"""Querystring parser states.
|
|
83
|
+
|
|
84
|
+
These are used to keep track of the state of the parser, and are used to determine
|
|
85
|
+
what to do when new data is encountered.
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
BEFORE_FIELD = 0
|
|
89
|
+
FIELD_NAME = 1
|
|
90
|
+
FIELD_DATA = 2
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class MultipartState(IntEnum):
|
|
94
|
+
"""Multipart parser states.
|
|
95
|
+
|
|
96
|
+
These are used to keep track of the state of the parser, and are used to determine
|
|
97
|
+
what to do when new data is encountered.
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
START = 0
|
|
101
|
+
START_BOUNDARY = 1
|
|
102
|
+
HEADER_FIELD_START = 2
|
|
103
|
+
HEADER_FIELD = 3
|
|
104
|
+
HEADER_VALUE_START = 4
|
|
105
|
+
HEADER_VALUE = 5
|
|
106
|
+
HEADER_VALUE_ALMOST_DONE = 6
|
|
107
|
+
HEADERS_ALMOST_DONE = 7
|
|
108
|
+
PART_DATA_START = 8
|
|
109
|
+
PART_DATA = 9
|
|
110
|
+
PART_DATA_END = 10
|
|
111
|
+
END_BOUNDARY = 11
|
|
112
|
+
END = 12
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
# Flags for the multipart parser.
|
|
116
|
+
FLAG_PART_BOUNDARY = 1
|
|
117
|
+
FLAG_LAST_BOUNDARY = 2
|
|
118
|
+
|
|
119
|
+
# Get constants. Since iterating over a str on Python 2 gives you a 1-length
|
|
120
|
+
# string, but iterating over a bytes object on Python 3 gives you an integer,
|
|
121
|
+
# we need to save these constants.
|
|
122
|
+
CR = b"\r"[0]
|
|
123
|
+
LF = b"\n"[0]
|
|
124
|
+
COLON = b":"[0]
|
|
125
|
+
SPACE = b" "[0]
|
|
126
|
+
HYPHEN = b"-"[0]
|
|
127
|
+
AMPERSAND = b"&"[0]
|
|
128
|
+
LOWER_A = b"a"[0]
|
|
129
|
+
LOWER_Z = b"z"[0]
|
|
130
|
+
NULL = b"\x00"[0]
|
|
131
|
+
|
|
132
|
+
# fmt: off
|
|
133
|
+
# Mask for ASCII characters that can be http tokens.
|
|
134
|
+
# Per RFC7230 - 3.2.6, this is all alpha-numeric characters
|
|
135
|
+
# and these: !#$%&'*+-.^_`|~
|
|
136
|
+
TOKEN_CHARS = (
|
|
137
|
+
b"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
|
138
|
+
b"abcdefghijklmnopqrstuvwxyz"
|
|
139
|
+
b"0123456789"
|
|
140
|
+
b"!#$%&'*+-.^_`|~")
|
|
141
|
+
TOKEN_CHARS_SET = frozenset(TOKEN_CHARS)
|
|
142
|
+
# fmt: on
|
|
143
|
+
|
|
144
|
+
DEFAULT_MAX_HEADER_COUNT = 8
|
|
145
|
+
"""Default maximum number of headers allowed per multipart part."""
|
|
146
|
+
|
|
147
|
+
DEFAULT_MAX_HEADER_SIZE = 4096 + 128
|
|
148
|
+
"""Default maximum size of a single multipart header line, including syntax overhead."""
|
|
149
|
+
|
|
150
|
+
MAX_BOUNDARY_LENGTH = 256
|
|
151
|
+
"""Maximum allowed length of a multipart boundary.
|
|
152
|
+
|
|
153
|
+
[RFC 2046 §5.1.1](https://datatracker.ietf.org/doc/html/rfc2046#section-5.1.1)
|
|
154
|
+
recommends boundaries be at most 70 bytes. 256 bytes is generous headroom over
|
|
155
|
+
every HTTP client.
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def _parseparam(s: str) -> list[str]:
|
|
160
|
+
# Vendored from the standard library's
|
|
161
|
+
# [`email.message._parseparam`](https://github.com/python/cpython/blob/v3.14.2/Lib/email/message.py#L73-L96)
|
|
162
|
+
# to split a header into its `;`-separated parts without treating a `;` inside a double-quoted string as a
|
|
163
|
+
# separator - and without the RFC 2231 decoding that `email.message.Message.get_params` would apply on top.
|
|
164
|
+
s = ";" + s
|
|
165
|
+
plist: list[str] = []
|
|
166
|
+
start = 0
|
|
167
|
+
while s.find(";", start) == start:
|
|
168
|
+
start += 1
|
|
169
|
+
end = s.find(";", start)
|
|
170
|
+
ind, diff = start, 0
|
|
171
|
+
while end > 0:
|
|
172
|
+
diff += s.count('"', ind, end) - s.count('\\"', ind, end)
|
|
173
|
+
if diff % 2 == 0:
|
|
174
|
+
break
|
|
175
|
+
end, ind = ind, s.find(";", end + 1)
|
|
176
|
+
if end < 0:
|
|
177
|
+
end = len(s)
|
|
178
|
+
i = s.find("=", start, end)
|
|
179
|
+
if i == -1:
|
|
180
|
+
f = s[start:end]
|
|
181
|
+
else:
|
|
182
|
+
f = s[start:i].rstrip().lower() + "=" + s[i + 1 : end].lstrip()
|
|
183
|
+
plist.append(f.strip())
|
|
184
|
+
start = end
|
|
185
|
+
return plist
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def parse_options_header(value: str | bytes | None) -> tuple[bytes, dict[bytes, bytes]]:
|
|
189
|
+
"""Parses a Content-Type header into a value in the following format: (content_type, {parameters})."""
|
|
190
|
+
if not value:
|
|
191
|
+
return (b"", {})
|
|
192
|
+
|
|
193
|
+
# If we are passed bytes, we assume that it conforms to WSGI, encoding in latin-1.
|
|
194
|
+
if isinstance(value, bytes): # pragma: no cover
|
|
195
|
+
value = value.decode("latin-1")
|
|
196
|
+
|
|
197
|
+
# For types
|
|
198
|
+
assert isinstance(value, str), "Value should be a string by now"
|
|
199
|
+
|
|
200
|
+
# If we have no options, return the string as-is.
|
|
201
|
+
if ";" not in value:
|
|
202
|
+
return (value.lower().strip().encode("latin-1"), {})
|
|
203
|
+
|
|
204
|
+
ctype, *segments = _parseparam(value)
|
|
205
|
+
options: dict[bytes, bytes] = {}
|
|
206
|
+
for segment in segments:
|
|
207
|
+
key, _, val = segment.partition("=")
|
|
208
|
+
# [RFC 7578 §4.2](https://datatracker.ietf.org/doc/html/rfc7578#section-4.2)
|
|
209
|
+
# forbids the RFC 5987/2231 extended syntax (`key*=`, `key*0`, ...) in
|
|
210
|
+
# multipart/form-data, so we ignore those parameters and keep the plain
|
|
211
|
+
# `key` authoritative.
|
|
212
|
+
if "*" in key:
|
|
213
|
+
continue
|
|
214
|
+
if len(val) >= 2 and val[0] == '"' and val[-1] == '"':
|
|
215
|
+
val = val[1:-1].replace("\\\\", "\\").replace('\\"', '"')
|
|
216
|
+
# Work around an IE6 bug where the full file path is sent instead of
|
|
217
|
+
# just the filename.
|
|
218
|
+
if key == "filename" and (val[1:3] == ":\\" or val[:2] == "\\\\"):
|
|
219
|
+
val = val.split("\\")[-1]
|
|
220
|
+
options[key.encode("latin-1")] = val.encode("latin-1")
|
|
221
|
+
return ctype.encode("latin-1"), options
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class Field:
|
|
225
|
+
"""A Field object represents a (parsed) form field. It represents a single
|
|
226
|
+
field with a corresponding name and value.
|
|
227
|
+
|
|
228
|
+
The name that a :class:`Field` will be instantiated with is the same name
|
|
229
|
+
that would be found in the following HTML::
|
|
230
|
+
|
|
231
|
+
<input name="name_goes_here" type="text"/>
|
|
232
|
+
|
|
233
|
+
This class defines two methods, :meth:`on_data` and :meth:`on_end`, that
|
|
234
|
+
will be called when data is written to the Field, and when the Field is
|
|
235
|
+
finalized, respectively.
|
|
236
|
+
|
|
237
|
+
Args:
|
|
238
|
+
name: The name of the form field.
|
|
239
|
+
content_type: The value of the Content-Type header for this field.
|
|
240
|
+
"""
|
|
241
|
+
|
|
242
|
+
def __init__(self, name: bytes | None, *, content_type: str | None = None) -> None:
|
|
243
|
+
self._name = name
|
|
244
|
+
self._value: list[bytes] = []
|
|
245
|
+
self._content_type = content_type
|
|
246
|
+
|
|
247
|
+
# We cache the joined version of _value for speed.
|
|
248
|
+
self._cache = _missing
|
|
249
|
+
|
|
250
|
+
@classmethod
|
|
251
|
+
def from_value(cls, name: bytes, value: bytes | None) -> Field:
|
|
252
|
+
"""Create an instance of a :class:`Field`, and set the corresponding
|
|
253
|
+
value - either None or an actual value. This method will also
|
|
254
|
+
finalize the Field itself.
|
|
255
|
+
|
|
256
|
+
Args:
|
|
257
|
+
name: the name of the form field.
|
|
258
|
+
value: the value of the form field - either a bytestring or None.
|
|
259
|
+
|
|
260
|
+
Returns:
|
|
261
|
+
A new instance of a [`Field`][python_multipart.Field].
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
f = cls(name)
|
|
265
|
+
if value is None:
|
|
266
|
+
f.set_none()
|
|
267
|
+
else:
|
|
268
|
+
f.write(value)
|
|
269
|
+
f.finalize()
|
|
270
|
+
return f
|
|
271
|
+
|
|
272
|
+
def write(self, data: bytes) -> int:
|
|
273
|
+
"""Write some data into the form field.
|
|
274
|
+
|
|
275
|
+
Args:
|
|
276
|
+
data: The data to write to the field.
|
|
277
|
+
|
|
278
|
+
Returns:
|
|
279
|
+
The number of bytes written.
|
|
280
|
+
"""
|
|
281
|
+
return self.on_data(data)
|
|
282
|
+
|
|
283
|
+
def on_data(self, data: bytes) -> int:
|
|
284
|
+
"""This method is a callback that will be called whenever data is
|
|
285
|
+
written to the Field.
|
|
286
|
+
|
|
287
|
+
Args:
|
|
288
|
+
data: The data to write to the field.
|
|
289
|
+
|
|
290
|
+
Returns:
|
|
291
|
+
The number of bytes written.
|
|
292
|
+
"""
|
|
293
|
+
self._value.append(data)
|
|
294
|
+
self._cache = _missing
|
|
295
|
+
return len(data)
|
|
296
|
+
|
|
297
|
+
def on_end(self) -> None:
|
|
298
|
+
"""This method is called whenever the Field is finalized."""
|
|
299
|
+
if self._cache is _missing:
|
|
300
|
+
self._cache = b"".join(self._value)
|
|
301
|
+
|
|
302
|
+
def finalize(self) -> None:
|
|
303
|
+
"""Finalize the form field."""
|
|
304
|
+
self.on_end()
|
|
305
|
+
|
|
306
|
+
def close(self) -> None:
|
|
307
|
+
"""Close the Field object. This will free any underlying cache."""
|
|
308
|
+
# Free our value array.
|
|
309
|
+
if self._cache is _missing:
|
|
310
|
+
self._cache = b"".join(self._value)
|
|
311
|
+
|
|
312
|
+
del self._value
|
|
313
|
+
|
|
314
|
+
def set_none(self) -> None:
|
|
315
|
+
"""Some fields in a querystring can possibly have a value of None - for
|
|
316
|
+
example, the string "foo&bar=&baz=asdf" will have a field with the
|
|
317
|
+
name "foo" and value None, one with name "bar" and value "", and one
|
|
318
|
+
with name "baz" and value "asdf". Since the write() interface doesn't
|
|
319
|
+
support writing None, this function will set the field value to None.
|
|
320
|
+
"""
|
|
321
|
+
self._cache = None
|
|
322
|
+
|
|
323
|
+
@property
|
|
324
|
+
def field_name(self) -> bytes | None:
|
|
325
|
+
"""This property returns the name of the field."""
|
|
326
|
+
return self._name
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
def value(self) -> bytes | None:
|
|
330
|
+
"""This property returns the value of the form field."""
|
|
331
|
+
if self._cache is _missing:
|
|
332
|
+
self._cache = b"".join(self._value)
|
|
333
|
+
|
|
334
|
+
assert isinstance(self._cache, bytes) or self._cache is None
|
|
335
|
+
return self._cache
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
def content_type(self) -> str | None:
|
|
339
|
+
"""This property returns the content_type value of the field."""
|
|
340
|
+
return self._content_type
|
|
341
|
+
|
|
342
|
+
def __eq__(self, other: object) -> bool:
|
|
343
|
+
if isinstance(other, Field):
|
|
344
|
+
return self.field_name == other.field_name and self.value == other.value
|
|
345
|
+
else:
|
|
346
|
+
return NotImplemented
|
|
347
|
+
|
|
348
|
+
def __repr__(self) -> str:
|
|
349
|
+
if self.value is not None and len(self.value) > 97:
|
|
350
|
+
# We get the repr, and then insert three dots before the final
|
|
351
|
+
# quote.
|
|
352
|
+
v = repr(self.value[:97])[:-1] + "...'"
|
|
353
|
+
else:
|
|
354
|
+
v = repr(self.value)
|
|
355
|
+
|
|
356
|
+
return f"{self.__class__.__name__}(field_name={self.field_name!r}, value={v})"
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class File:
|
|
360
|
+
"""This class represents an uploaded file. It handles writing file data to
|
|
361
|
+
either an in-memory file or a temporary file on-disk, if the optional
|
|
362
|
+
threshold is passed.
|
|
363
|
+
|
|
364
|
+
There are some options that can be passed to the File to change behavior
|
|
365
|
+
of the class. Valid options are as follows:
|
|
366
|
+
|
|
367
|
+
| Name | Type | Default | Description |
|
|
368
|
+
|-----------------------|-------|---------|-------------|
|
|
369
|
+
| UPLOAD_DIR | `str` | None | The directory to store uploaded files in. If this is None, a temporary file will be created in the system's standard location. |
|
|
370
|
+
| UPLOAD_DELETE_TMP | `bool`| True | Delete automatically created TMP file |
|
|
371
|
+
| UPLOAD_KEEP_FILENAME | `bool`| False | Whether or not to keep the filename of the uploaded file. If True, then the filename will be converted to a safe representation (e.g. by removing any invalid path segments), and then saved with the same name). Otherwise, a temporary name will be used. |
|
|
372
|
+
| UPLOAD_KEEP_EXTENSIONS| `bool`| False | Whether or not to keep the uploaded file's extension. If False, the file will be saved with the default temporary extension (usually ".tmp"). Otherwise, the file's extension will be maintained. Note that this will properly combine with the UPLOAD_KEEP_FILENAME setting. |
|
|
373
|
+
| MAX_MEMORY_FILE_SIZE | `int` | 1 MiB | The maximum number of bytes of a File to keep in memory. By default, the contents of a File are kept into memory until a certain limit is reached, after which the contents of the File are written to a temporary file. This behavior can be disabled by setting this value to an appropriately large value (or, for example, infinity, such as `float('inf')`. |
|
|
374
|
+
|
|
375
|
+
Args:
|
|
376
|
+
file_name: The name of the file that this [`File`][python_multipart.File] represents.
|
|
377
|
+
field_name: The name of the form field that this file was uploaded with. This can be None, if, for example,
|
|
378
|
+
the file was uploaded with Content-Type application/octet-stream.
|
|
379
|
+
config: The configuration for this File. See above for valid configuration keys and their corresponding values.
|
|
380
|
+
content_type: The value of the Content-Type header.
|
|
381
|
+
""" # noqa: E501
|
|
382
|
+
|
|
383
|
+
def __init__(
|
|
384
|
+
self,
|
|
385
|
+
file_name: bytes | None,
|
|
386
|
+
field_name: bytes | None = None,
|
|
387
|
+
config: FileConfig = {},
|
|
388
|
+
*,
|
|
389
|
+
content_type: str | None = None,
|
|
390
|
+
) -> None:
|
|
391
|
+
# Save configuration, set other variables default.
|
|
392
|
+
self.logger = logging.getLogger(__name__)
|
|
393
|
+
self._config = config
|
|
394
|
+
self._in_memory = True
|
|
395
|
+
self._bytes_written = 0
|
|
396
|
+
self._fileobj: BytesIO | BufferedRandom = BytesIO()
|
|
397
|
+
|
|
398
|
+
# Save the provided field/file name and content type.
|
|
399
|
+
self._field_name = field_name
|
|
400
|
+
self._file_name = file_name
|
|
401
|
+
self._content_type = content_type
|
|
402
|
+
|
|
403
|
+
# Our actual file name is None by default, since, depending on our
|
|
404
|
+
# config, we may not actually use the provided name.
|
|
405
|
+
self._actual_file_name: bytes | None = None
|
|
406
|
+
|
|
407
|
+
# Split the extension from the filename.
|
|
408
|
+
if file_name is not None:
|
|
409
|
+
# Extract just the basename to avoid directory traversal
|
|
410
|
+
basename = os.path.basename(file_name)
|
|
411
|
+
base, ext = os.path.splitext(basename)
|
|
412
|
+
self._file_base = base
|
|
413
|
+
self._ext = ext
|
|
414
|
+
|
|
415
|
+
@property
|
|
416
|
+
def field_name(self) -> bytes | None:
|
|
417
|
+
"""The form field associated with this file. May be None if there isn't
|
|
418
|
+
one, for example when we have an application/octet-stream upload.
|
|
419
|
+
"""
|
|
420
|
+
return self._field_name
|
|
421
|
+
|
|
422
|
+
@property
|
|
423
|
+
def file_name(self) -> bytes | None:
|
|
424
|
+
"""The file name given in the upload request."""
|
|
425
|
+
return self._file_name
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def actual_file_name(self) -> bytes | None:
|
|
429
|
+
"""The file name that this file is saved as. Will be None if it's not
|
|
430
|
+
currently saved on disk.
|
|
431
|
+
"""
|
|
432
|
+
return self._actual_file_name
|
|
433
|
+
|
|
434
|
+
@property
|
|
435
|
+
def file_object(self) -> BytesIO | BufferedRandom:
|
|
436
|
+
"""The file object that we're currently writing to. Note that this
|
|
437
|
+
will either be an instance of a :class:`io.BytesIO`, or a regular file
|
|
438
|
+
object.
|
|
439
|
+
"""
|
|
440
|
+
return self._fileobj
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
def size(self) -> int:
|
|
444
|
+
"""The total size of this file, counted as the number of bytes that
|
|
445
|
+
currently have been written to the file.
|
|
446
|
+
"""
|
|
447
|
+
return self._bytes_written
|
|
448
|
+
|
|
449
|
+
@property
|
|
450
|
+
def in_memory(self) -> bool:
|
|
451
|
+
"""A boolean representing whether or not this file object is currently
|
|
452
|
+
stored in-memory or on-disk.
|
|
453
|
+
"""
|
|
454
|
+
return self._in_memory
|
|
455
|
+
|
|
456
|
+
@property
|
|
457
|
+
def content_type(self) -> str | None:
|
|
458
|
+
"""The Content-Type value for this part, if it was set."""
|
|
459
|
+
return self._content_type
|
|
460
|
+
|
|
461
|
+
def flush_to_disk(self) -> None:
|
|
462
|
+
"""If the file is already on-disk, do nothing. Otherwise, copy from
|
|
463
|
+
the in-memory buffer to a disk file, and then reassign our internal
|
|
464
|
+
file object to this new disk file.
|
|
465
|
+
|
|
466
|
+
Note that if you attempt to flush a file that is already on-disk, a
|
|
467
|
+
warning will be logged to this module's logger.
|
|
468
|
+
"""
|
|
469
|
+
if not self._in_memory:
|
|
470
|
+
self.logger.warning("Trying to flush to disk when we're not in memory")
|
|
471
|
+
return
|
|
472
|
+
|
|
473
|
+
# Go back to the start of our file.
|
|
474
|
+
self._fileobj.seek(0)
|
|
475
|
+
|
|
476
|
+
# Open a new file.
|
|
477
|
+
new_file = self._get_disk_file()
|
|
478
|
+
|
|
479
|
+
# Copy the file objects.
|
|
480
|
+
shutil.copyfileobj(self._fileobj, new_file)
|
|
481
|
+
|
|
482
|
+
# Seek to the new position in our new file.
|
|
483
|
+
new_file.seek(self._bytes_written)
|
|
484
|
+
|
|
485
|
+
# Reassign the fileobject.
|
|
486
|
+
old_fileobj = self._fileobj
|
|
487
|
+
self._fileobj = new_file
|
|
488
|
+
|
|
489
|
+
# We're no longer in memory.
|
|
490
|
+
self._in_memory = False
|
|
491
|
+
|
|
492
|
+
# Close the old file object.
|
|
493
|
+
old_fileobj.close()
|
|
494
|
+
|
|
495
|
+
def _get_disk_file(self) -> BufferedRandom:
|
|
496
|
+
"""This function is responsible for getting a file object on-disk for us."""
|
|
497
|
+
self.logger.info("Opening a file on disk")
|
|
498
|
+
|
|
499
|
+
file_dir = self._config.get("UPLOAD_DIR")
|
|
500
|
+
keep_filename = self._config.get("UPLOAD_KEEP_FILENAME", False)
|
|
501
|
+
keep_extensions = self._config.get("UPLOAD_KEEP_EXTENSIONS", False)
|
|
502
|
+
delete_tmp = self._config.get("UPLOAD_DELETE_TMP", True)
|
|
503
|
+
tmp_file: None | BufferedRandom = None
|
|
504
|
+
|
|
505
|
+
# If we have a directory and are to keep the filename...
|
|
506
|
+
if file_dir is not None and keep_filename:
|
|
507
|
+
self.logger.info("Saving with filename in: %r", file_dir)
|
|
508
|
+
|
|
509
|
+
# Build our filename.
|
|
510
|
+
# TODO: what happens if we don't have a filename?
|
|
511
|
+
fname = self._file_base + self._ext if keep_extensions else self._file_base
|
|
512
|
+
|
|
513
|
+
path = os.path.join(file_dir, fname) # type: ignore[arg-type]
|
|
514
|
+
try:
|
|
515
|
+
self.logger.info("Opening file: %r", path)
|
|
516
|
+
tmp_file = open(path, "w+b")
|
|
517
|
+
except OSError:
|
|
518
|
+
tmp_file = None
|
|
519
|
+
|
|
520
|
+
self.logger.exception("Error opening temporary file")
|
|
521
|
+
raise FileError("Error opening temporary file: %r" % path)
|
|
522
|
+
else:
|
|
523
|
+
# Build options array.
|
|
524
|
+
# Note that on Python 3, tempfile doesn't support byte names. We
|
|
525
|
+
# encode our paths using the default filesystem encoding.
|
|
526
|
+
suffix = self._ext.decode(sys.getfilesystemencoding()) if keep_extensions else None
|
|
527
|
+
|
|
528
|
+
if file_dir is None:
|
|
529
|
+
dir = None
|
|
530
|
+
elif isinstance(file_dir, bytes):
|
|
531
|
+
dir = file_dir.decode(sys.getfilesystemencoding())
|
|
532
|
+
else:
|
|
533
|
+
dir = file_dir # pragma: no cover
|
|
534
|
+
|
|
535
|
+
# Create a temporary (named) file with the appropriate settings.
|
|
536
|
+
self.logger.info(
|
|
537
|
+
"Creating a temporary file with options: %r", {"suffix": suffix, "delete": delete_tmp, "dir": dir}
|
|
538
|
+
)
|
|
539
|
+
try:
|
|
540
|
+
tmp_file = cast(BufferedRandom, tempfile.NamedTemporaryFile(suffix=suffix, delete=delete_tmp, dir=dir))
|
|
541
|
+
except OSError:
|
|
542
|
+
self.logger.exception("Error creating named temporary file")
|
|
543
|
+
raise FileError("Error creating named temporary file")
|
|
544
|
+
|
|
545
|
+
assert tmp_file is not None
|
|
546
|
+
# Encode filename as bytes.
|
|
547
|
+
if isinstance(tmp_file.name, str):
|
|
548
|
+
fname = tmp_file.name.encode(sys.getfilesystemencoding())
|
|
549
|
+
else:
|
|
550
|
+
fname = cast(bytes, tmp_file.name) # pragma: no cover
|
|
551
|
+
|
|
552
|
+
self._actual_file_name = fname
|
|
553
|
+
return tmp_file
|
|
554
|
+
|
|
555
|
+
def write(self, data: bytes) -> int:
|
|
556
|
+
"""Write some data to the File.
|
|
557
|
+
|
|
558
|
+
:param data: a bytestring
|
|
559
|
+
"""
|
|
560
|
+
return self.on_data(data)
|
|
561
|
+
|
|
562
|
+
def on_data(self, data: bytes) -> int:
|
|
563
|
+
"""This method is a callback that will be called whenever data is
|
|
564
|
+
written to the File.
|
|
565
|
+
|
|
566
|
+
Args:
|
|
567
|
+
data: The data to write to the file.
|
|
568
|
+
|
|
569
|
+
Returns:
|
|
570
|
+
The number of bytes written.
|
|
571
|
+
"""
|
|
572
|
+
bwritten = self._fileobj.write(data)
|
|
573
|
+
|
|
574
|
+
# If the bytes written isn't the same as the length, just return.
|
|
575
|
+
if bwritten != len(data):
|
|
576
|
+
self.logger.warning("bwritten != len(data) (%d != %d)", bwritten, len(data))
|
|
577
|
+
return bwritten
|
|
578
|
+
|
|
579
|
+
# Keep track of how many bytes we've written.
|
|
580
|
+
self._bytes_written += bwritten
|
|
581
|
+
|
|
582
|
+
# If we're in-memory and are over our limit, we create a file.
|
|
583
|
+
max_memory_file_size = self._config.get("MAX_MEMORY_FILE_SIZE")
|
|
584
|
+
if self._in_memory and max_memory_file_size is not None and (self._bytes_written > max_memory_file_size):
|
|
585
|
+
self.logger.info("Flushing to disk")
|
|
586
|
+
self.flush_to_disk()
|
|
587
|
+
|
|
588
|
+
# Return the number of bytes written.
|
|
589
|
+
return bwritten
|
|
590
|
+
|
|
591
|
+
def on_end(self) -> None:
|
|
592
|
+
"""This method is called whenever the Field is finalized."""
|
|
593
|
+
# Flush the underlying file object
|
|
594
|
+
self._fileobj.flush()
|
|
595
|
+
|
|
596
|
+
def finalize(self) -> None:
|
|
597
|
+
"""Finalize the form file. This will not close the underlying file,
|
|
598
|
+
but simply signal that we are finished writing to the File.
|
|
599
|
+
"""
|
|
600
|
+
self.on_end()
|
|
601
|
+
|
|
602
|
+
def close(self) -> None:
|
|
603
|
+
"""Close the File object. This will actually close the underlying
|
|
604
|
+
file object (whether it's a :class:`io.BytesIO` or an actual file
|
|
605
|
+
object).
|
|
606
|
+
"""
|
|
607
|
+
self._fileobj.close()
|
|
608
|
+
|
|
609
|
+
def __repr__(self) -> str:
|
|
610
|
+
return f"{self.__class__.__name__}(file_name={self.file_name!r}, field_name={self.field_name!r})"
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
class BaseParser:
|
|
614
|
+
"""This class is the base class for all parsers. It contains the logic for
|
|
615
|
+
calling and adding callbacks.
|
|
616
|
+
|
|
617
|
+
A callback can be one of two different forms. "Notification callbacks" are
|
|
618
|
+
callbacks that are called when something happens - for example, when a new
|
|
619
|
+
part of a multipart message is encountered by the parser. "Data callbacks"
|
|
620
|
+
are called when we get some sort of data - for example, part of the body of
|
|
621
|
+
a multipart chunk. Notification callbacks are called with no parameters,
|
|
622
|
+
whereas data callbacks are called with three, as follows::
|
|
623
|
+
|
|
624
|
+
data_callback(data, start, end)
|
|
625
|
+
|
|
626
|
+
The "data" parameter is a bytestring (i.e. "foo" on Python 2, or b"foo" on
|
|
627
|
+
Python 3). "start" and "end" are integer indexes into the "data" string
|
|
628
|
+
that represent the data of interest. Thus, in a data callback, the slice
|
|
629
|
+
`data[start:end]` represents the data that the callback is "interested in".
|
|
630
|
+
The callback is not passed a copy of the data, since copying severely hurts
|
|
631
|
+
performance.
|
|
632
|
+
"""
|
|
633
|
+
|
|
634
|
+
def __init__(self) -> None:
|
|
635
|
+
self.logger = logging.getLogger(__name__)
|
|
636
|
+
self.callbacks: QuerystringCallbacks | OctetStreamCallbacks | MultipartCallbacks = {}
|
|
637
|
+
|
|
638
|
+
def callback(
|
|
639
|
+
self, name: CallbackName, data: bytes | None = None, start: int | None = None, end: int | None = None
|
|
640
|
+
) -> None:
|
|
641
|
+
"""This function calls a provided callback with some data. If the
|
|
642
|
+
callback is not set, will do nothing.
|
|
643
|
+
|
|
644
|
+
Args:
|
|
645
|
+
name: The name of the callback to call (as a string).
|
|
646
|
+
data: Data to pass to the callback. If None, then it is assumed that the callback is a notification
|
|
647
|
+
callback, and no parameters are given.
|
|
648
|
+
end: An integer that is passed to the data callback.
|
|
649
|
+
start: An integer that is passed to the data callback.
|
|
650
|
+
"""
|
|
651
|
+
func = self.callbacks.get("on_" + name)
|
|
652
|
+
if func is None:
|
|
653
|
+
return
|
|
654
|
+
func = cast("Callable[..., Any]", func)
|
|
655
|
+
# Depending on whether we're given a buffer...
|
|
656
|
+
if data is not None:
|
|
657
|
+
# Don't do anything if we have start == end.
|
|
658
|
+
if start is not None and start == end:
|
|
659
|
+
return
|
|
660
|
+
func(data, start, end)
|
|
661
|
+
else:
|
|
662
|
+
func()
|
|
663
|
+
|
|
664
|
+
def set_callback(self, name: CallbackName, new_func: Callable[..., Any] | None) -> None:
|
|
665
|
+
"""Update the function for a callback. Removes from the callbacks dict
|
|
666
|
+
if new_func is None.
|
|
667
|
+
|
|
668
|
+
:param name: The name of the callback to call (as a string).
|
|
669
|
+
|
|
670
|
+
:param new_func: The new function for the callback. If None, then the
|
|
671
|
+
callback will be removed (with no error if it does not
|
|
672
|
+
exist).
|
|
673
|
+
"""
|
|
674
|
+
if new_func is None:
|
|
675
|
+
self.callbacks.pop("on_" + name, None) # type: ignore[misc]
|
|
676
|
+
else:
|
|
677
|
+
self.callbacks["on_" + name] = new_func # type: ignore[literal-required]
|
|
678
|
+
|
|
679
|
+
def close(self) -> None:
|
|
680
|
+
pass # pragma: no cover
|
|
681
|
+
|
|
682
|
+
def finalize(self) -> None:
|
|
683
|
+
pass # pragma: no cover
|
|
684
|
+
|
|
685
|
+
def __repr__(self) -> str:
|
|
686
|
+
return "%s()" % self.__class__.__name__
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
class OctetStreamParser(BaseParser):
|
|
690
|
+
"""This parser parses an octet-stream request body and calls callbacks when
|
|
691
|
+
incoming data is received. Callbacks are as follows:
|
|
692
|
+
|
|
693
|
+
| Callback Name | Parameters | Description |
|
|
694
|
+
|----------------|-----------------|-----------------------------------------------------|
|
|
695
|
+
| on_start | None | Called when the first data is parsed. |
|
|
696
|
+
| on_data | data, start, end| Called for each data chunk that is parsed. |
|
|
697
|
+
| on_end | None | Called when the parser is finished parsing all data.|
|
|
698
|
+
|
|
699
|
+
Args:
|
|
700
|
+
callbacks: A dictionary of callbacks. See the documentation for [`BaseParser`][python_multipart.BaseParser].
|
|
701
|
+
max_size: The maximum size of body to parse. Defaults to infinity - i.e. unbounded.
|
|
702
|
+
"""
|
|
703
|
+
|
|
704
|
+
def __init__(self, callbacks: OctetStreamCallbacks = {}, max_size: float = float("inf")):
|
|
705
|
+
super().__init__()
|
|
706
|
+
self.callbacks = callbacks
|
|
707
|
+
self._started = False
|
|
708
|
+
|
|
709
|
+
if not isinstance(max_size, Number) or max_size < 1:
|
|
710
|
+
raise ValueError("max_size must be a positive number, not %r" % max_size)
|
|
711
|
+
self.max_size: int | float = max_size
|
|
712
|
+
self._current_size = 0
|
|
713
|
+
|
|
714
|
+
def write(self, data: bytes) -> int:
|
|
715
|
+
"""Write some data to the parser, which will perform size verification,
|
|
716
|
+
and then pass the data to the underlying callback.
|
|
717
|
+
|
|
718
|
+
Args:
|
|
719
|
+
data: The data to write to the parser.
|
|
720
|
+
|
|
721
|
+
Returns:
|
|
722
|
+
The number of bytes written.
|
|
723
|
+
"""
|
|
724
|
+
if not self._started:
|
|
725
|
+
self.callback("start")
|
|
726
|
+
self._started = True
|
|
727
|
+
|
|
728
|
+
# Truncate data length.
|
|
729
|
+
data_len = len(data)
|
|
730
|
+
if (self._current_size + data_len) > self.max_size:
|
|
731
|
+
# We truncate the length of data that we are to process.
|
|
732
|
+
new_size = int(self.max_size - self._current_size)
|
|
733
|
+
self.logger.warning(
|
|
734
|
+
"Current size is %d (max %d), so truncating data length from %d to %d",
|
|
735
|
+
self._current_size,
|
|
736
|
+
self.max_size,
|
|
737
|
+
data_len,
|
|
738
|
+
new_size,
|
|
739
|
+
)
|
|
740
|
+
data_len = new_size
|
|
741
|
+
|
|
742
|
+
# Increment size, then callback, in case there's an exception.
|
|
743
|
+
self._current_size += data_len
|
|
744
|
+
self.callback("data", data, 0, data_len)
|
|
745
|
+
return data_len
|
|
746
|
+
|
|
747
|
+
def finalize(self) -> None:
|
|
748
|
+
"""Finalize this parser, which signals to that we are finished parsing,
|
|
749
|
+
and sends the on_end callback.
|
|
750
|
+
"""
|
|
751
|
+
self.callback("end")
|
|
752
|
+
|
|
753
|
+
def __repr__(self) -> str:
|
|
754
|
+
return "%s()" % self.__class__.__name__
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class QuerystringParser(BaseParser):
|
|
758
|
+
"""This is a streaming querystring parser. It will consume data, and call
|
|
759
|
+
the callbacks given when it has data.
|
|
760
|
+
|
|
761
|
+
| Callback Name | Parameters | Description |
|
|
762
|
+
|----------------|-----------------|-----------------------------------------------------|
|
|
763
|
+
| on_field_start | None | Called when a new field is encountered. |
|
|
764
|
+
| on_field_name | data, start, end| Called when a portion of a field's name is encountered. |
|
|
765
|
+
| on_field_data | data, start, end| Called when a portion of a field's data is encountered. |
|
|
766
|
+
| on_field_end | None | Called when the end of a field is encountered. |
|
|
767
|
+
| on_end | None | Called when the parser is finished parsing all data.|
|
|
768
|
+
|
|
769
|
+
Args:
|
|
770
|
+
callbacks: A dictionary of callbacks. See the documentation for [`BaseParser`][python_multipart.BaseParser].
|
|
771
|
+
strict_parsing: Whether or not to parse the body strictly. Defaults to False. If this is set to True, then the
|
|
772
|
+
behavior of the parser changes as the following: if a field has a value with an equal sign
|
|
773
|
+
(e.g. "foo=bar", or "foo="), it is always included. If a field has no equals sign (e.g. "...&name&..."),
|
|
774
|
+
it will be treated as an error if 'strict_parsing' is True, otherwise included. If an error is encountered,
|
|
775
|
+
then a [`QuerystringParseError`][python_multipart.exceptions.QuerystringParseError] will be raised.
|
|
776
|
+
max_size: The maximum size of body to parse. Defaults to infinity - i.e. unbounded.
|
|
777
|
+
""" # noqa: E501
|
|
778
|
+
|
|
779
|
+
state: QuerystringState
|
|
780
|
+
|
|
781
|
+
def __init__(
|
|
782
|
+
self, callbacks: QuerystringCallbacks = {}, strict_parsing: bool = False, max_size: float = float("inf")
|
|
783
|
+
) -> None:
|
|
784
|
+
super().__init__()
|
|
785
|
+
self.state = QuerystringState.BEFORE_FIELD
|
|
786
|
+
self._found_sep = False
|
|
787
|
+
|
|
788
|
+
self.callbacks = callbacks
|
|
789
|
+
|
|
790
|
+
# Max-size stuff
|
|
791
|
+
if not isinstance(max_size, Number) or max_size < 1:
|
|
792
|
+
raise ValueError("max_size must be a positive number, not %r" % max_size)
|
|
793
|
+
self.max_size: int | float = max_size
|
|
794
|
+
self._current_size = 0
|
|
795
|
+
|
|
796
|
+
# Should parsing be strict?
|
|
797
|
+
self.strict_parsing = strict_parsing
|
|
798
|
+
|
|
799
|
+
def write(self, data: bytes) -> int:
|
|
800
|
+
"""Write some data to the parser, which will perform size verification,
|
|
801
|
+
parse into either a field name or value, and then pass the
|
|
802
|
+
corresponding data to the underlying callback. If an error is
|
|
803
|
+
encountered while parsing, a QuerystringParseError will be raised. The
|
|
804
|
+
"offset" attribute of the raised exception will be set to the offset in
|
|
805
|
+
the input data chunk (NOT the overall stream) that caused the error.
|
|
806
|
+
|
|
807
|
+
Args:
|
|
808
|
+
data: The data to write to the parser.
|
|
809
|
+
|
|
810
|
+
Returns:
|
|
811
|
+
The number of bytes written.
|
|
812
|
+
"""
|
|
813
|
+
# Handle sizing.
|
|
814
|
+
data_len = len(data)
|
|
815
|
+
if (self._current_size + data_len) > self.max_size:
|
|
816
|
+
# We truncate the length of data that we are to process.
|
|
817
|
+
new_size = int(self.max_size - self._current_size)
|
|
818
|
+
self.logger.warning(
|
|
819
|
+
"Current size is %d (max %d), so truncating data length from %d to %d",
|
|
820
|
+
self._current_size,
|
|
821
|
+
self.max_size,
|
|
822
|
+
data_len,
|
|
823
|
+
new_size,
|
|
824
|
+
)
|
|
825
|
+
data_len = new_size
|
|
826
|
+
|
|
827
|
+
l = 0
|
|
828
|
+
try:
|
|
829
|
+
l = self._internal_write(data, data_len)
|
|
830
|
+
finally:
|
|
831
|
+
self._current_size += l
|
|
832
|
+
|
|
833
|
+
return l
|
|
834
|
+
|
|
835
|
+
def _internal_write(self, data: bytes, length: int) -> int:
|
|
836
|
+
state = self.state
|
|
837
|
+
strict_parsing = self.strict_parsing
|
|
838
|
+
found_sep = self._found_sep
|
|
839
|
+
|
|
840
|
+
i = 0
|
|
841
|
+
while i < length:
|
|
842
|
+
ch = data[i]
|
|
843
|
+
|
|
844
|
+
# Depending on our state...
|
|
845
|
+
if state == QuerystringState.BEFORE_FIELD:
|
|
846
|
+
# If the 'found_sep' flag is set, we've already encountered
|
|
847
|
+
# and skipped a single separator. If so, we check our strict
|
|
848
|
+
# parsing flag and decide what to do. Otherwise, we haven't
|
|
849
|
+
# yet reached a separator, and thus, if we do, we need to skip
|
|
850
|
+
# it as it will be the boundary between fields that's supposed
|
|
851
|
+
# to be there.
|
|
852
|
+
if ch == AMPERSAND:
|
|
853
|
+
if found_sep:
|
|
854
|
+
# If we're parsing strictly, we disallow blank chunks.
|
|
855
|
+
if strict_parsing:
|
|
856
|
+
raise QuerystringParseError("Skipping duplicate ampersand at %d" % i, offset=i)
|
|
857
|
+
else:
|
|
858
|
+
self.logger.debug("Skipping duplicate ampersand at %d", i)
|
|
859
|
+
else:
|
|
860
|
+
# This case is when we're skipping the (first)
|
|
861
|
+
# separator between fields, so we just set our flag
|
|
862
|
+
# and continue on.
|
|
863
|
+
found_sep = True
|
|
864
|
+
else:
|
|
865
|
+
# Emit a field-start event, and go to that state. Also,
|
|
866
|
+
# reset the "found_sep" flag, for the next time we get to
|
|
867
|
+
# this state.
|
|
868
|
+
self.callback("field_start")
|
|
869
|
+
i -= 1
|
|
870
|
+
state = QuerystringState.FIELD_NAME
|
|
871
|
+
found_sep = False
|
|
872
|
+
|
|
873
|
+
elif state == QuerystringState.FIELD_NAME:
|
|
874
|
+
# Try and find a separator - we ensure that, if we do, we only
|
|
875
|
+
# look for the equal sign before it.
|
|
876
|
+
sep_pos = data.find(b"&", i, length)
|
|
877
|
+
|
|
878
|
+
# See if we can find an equals sign in the remaining data. If
|
|
879
|
+
# so, we can immediately emit the field name and jump to the
|
|
880
|
+
# data state.
|
|
881
|
+
if sep_pos != -1:
|
|
882
|
+
equals_pos = data.find(b"=", i, sep_pos)
|
|
883
|
+
else:
|
|
884
|
+
equals_pos = data.find(b"=", i, length)
|
|
885
|
+
|
|
886
|
+
if equals_pos != -1:
|
|
887
|
+
# Emit this name.
|
|
888
|
+
self.callback("field_name", data, i, equals_pos)
|
|
889
|
+
|
|
890
|
+
# Jump i to this position. Note that it will then have 1
|
|
891
|
+
# added to it below, which means the next iteration of this
|
|
892
|
+
# loop will inspect the character after the equals sign.
|
|
893
|
+
i = equals_pos
|
|
894
|
+
state = QuerystringState.FIELD_DATA
|
|
895
|
+
else:
|
|
896
|
+
# No equals sign found.
|
|
897
|
+
if not strict_parsing:
|
|
898
|
+
# See also comments in the QuerystringState.FIELD_DATA case below.
|
|
899
|
+
# If we found the separator, we emit the name and just
|
|
900
|
+
# end - there's no data callback at all (not even with
|
|
901
|
+
# a blank value).
|
|
902
|
+
if sep_pos != -1:
|
|
903
|
+
self.callback("field_name", data, i, sep_pos)
|
|
904
|
+
self.callback("field_end")
|
|
905
|
+
|
|
906
|
+
i = sep_pos - 1
|
|
907
|
+
state = QuerystringState.BEFORE_FIELD
|
|
908
|
+
else:
|
|
909
|
+
# Otherwise, no separator in this block, so the
|
|
910
|
+
# rest of this chunk must be a name.
|
|
911
|
+
self.callback("field_name", data, i, length)
|
|
912
|
+
i = length
|
|
913
|
+
|
|
914
|
+
else:
|
|
915
|
+
# We're parsing strictly. If we find a separator,
|
|
916
|
+
# this is an error - we require an equals sign.
|
|
917
|
+
if sep_pos != -1:
|
|
918
|
+
raise QuerystringParseError(
|
|
919
|
+
"When strict_parsing is True, we require an "
|
|
920
|
+
"equals sign in all field chunks. Did not "
|
|
921
|
+
"find one in the chunk that starts at %d" % (i,),
|
|
922
|
+
offset=i,
|
|
923
|
+
)
|
|
924
|
+
|
|
925
|
+
# No separator in the rest of this chunk, so it's just
|
|
926
|
+
# a field name.
|
|
927
|
+
self.callback("field_name", data, i, length)
|
|
928
|
+
i = length
|
|
929
|
+
|
|
930
|
+
elif state == QuerystringState.FIELD_DATA:
|
|
931
|
+
# Try finding an ampersand after this position.
|
|
932
|
+
sep_pos = data.find(b"&", i, length)
|
|
933
|
+
|
|
934
|
+
# If we found it, callback this bit as data and then go back
|
|
935
|
+
# to expecting to find a field.
|
|
936
|
+
if sep_pos != -1:
|
|
937
|
+
self.callback("field_data", data, i, sep_pos)
|
|
938
|
+
self.callback("field_end")
|
|
939
|
+
|
|
940
|
+
# Note that we go to the separator, which brings us to the
|
|
941
|
+
# "before field" state. This allows us to properly emit
|
|
942
|
+
# "field_start" events only when we actually have data for
|
|
943
|
+
# a field of some sort.
|
|
944
|
+
i = sep_pos - 1
|
|
945
|
+
state = QuerystringState.BEFORE_FIELD
|
|
946
|
+
|
|
947
|
+
# Otherwise, emit the rest as data and finish.
|
|
948
|
+
else:
|
|
949
|
+
self.callback("field_data", data, i, length)
|
|
950
|
+
i = length
|
|
951
|
+
|
|
952
|
+
else: # pragma: no cover (error case)
|
|
953
|
+
msg = "Reached an unknown state %d at %d" % (state, i)
|
|
954
|
+
self.logger.warning(msg)
|
|
955
|
+
raise QuerystringParseError(msg, offset=i)
|
|
956
|
+
|
|
957
|
+
i += 1
|
|
958
|
+
|
|
959
|
+
self.state = state
|
|
960
|
+
self._found_sep = found_sep
|
|
961
|
+
return length
|
|
962
|
+
|
|
963
|
+
def finalize(self) -> None:
|
|
964
|
+
"""Finalize this parser, which signals to that we are finished parsing,
|
|
965
|
+
if we're still in the middle of a field, an on_field_end callback, and
|
|
966
|
+
then the on_end callback.
|
|
967
|
+
"""
|
|
968
|
+
# If we're currently in the middle of a field, we finish it.
|
|
969
|
+
if self.state in (QuerystringState.FIELD_DATA, QuerystringState.FIELD_NAME):
|
|
970
|
+
self.callback("field_end")
|
|
971
|
+
self.callback("end")
|
|
972
|
+
|
|
973
|
+
def __repr__(self) -> str:
|
|
974
|
+
return "{}(strict_parsing={!r}, max_size={!r})".format(
|
|
975
|
+
self.__class__.__name__, self.strict_parsing, self.max_size
|
|
976
|
+
)
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
class MultipartParser(BaseParser):
|
|
980
|
+
"""This class is a streaming multipart/form-data parser.
|
|
981
|
+
|
|
982
|
+
| Callback Name | Parameters | Description |
|
|
983
|
+
|--------------------|-----------------|-------------|
|
|
984
|
+
| on_part_begin | None | Called when a new part of the multipart message is encountered. |
|
|
985
|
+
| on_part_data | data, start, end| Called when a portion of a part's data is encountered. |
|
|
986
|
+
| on_part_end | None | Called when the end of a part is reached. |
|
|
987
|
+
| on_header_begin | None | Called when we've found a new header in a part of a multipart message |
|
|
988
|
+
| on_header_field | data, start, end| Called each time an additional portion of a header is read (i.e. the part of the header that is before the colon; the "Foo" in "Foo: Bar"). |
|
|
989
|
+
| on_header_value | data, start, end| Called when we get data for a header. |
|
|
990
|
+
| on_header_end | None | Called when the current header is finished - i.e. we've reached the newline at the end of the header. |
|
|
991
|
+
| on_headers_finished| None | Called when all headers are finished, and before the part data starts. |
|
|
992
|
+
| on_end | None | Called when the parser is finished parsing all data. |
|
|
993
|
+
|
|
994
|
+
Args:
|
|
995
|
+
boundary: The multipart boundary. This is required, and must match what is given in the HTTP request - usually in the Content-Type header.
|
|
996
|
+
callbacks: A dictionary of callbacks. See the documentation for [`BaseParser`][python_multipart.BaseParser].
|
|
997
|
+
max_size: The maximum size of body to parse. Defaults to infinity - i.e. unbounded.
|
|
998
|
+
max_header_count: The maximum number of headers allowed per part.
|
|
999
|
+
max_header_size: The maximum size of a single header line (excluding the trailing CRLF).
|
|
1000
|
+
""" # noqa: E501
|
|
1001
|
+
|
|
1002
|
+
def __init__(
|
|
1003
|
+
self,
|
|
1004
|
+
boundary: bytes | str,
|
|
1005
|
+
callbacks: MultipartCallbacks = {},
|
|
1006
|
+
max_size: float = float("inf"),
|
|
1007
|
+
*,
|
|
1008
|
+
max_header_count: int = DEFAULT_MAX_HEADER_COUNT,
|
|
1009
|
+
max_header_size: int = DEFAULT_MAX_HEADER_SIZE,
|
|
1010
|
+
) -> None:
|
|
1011
|
+
# Initialize parser state.
|
|
1012
|
+
super().__init__()
|
|
1013
|
+
self.state = MultipartState.START
|
|
1014
|
+
self.index = self.flags = 0
|
|
1015
|
+
|
|
1016
|
+
self.callbacks = callbacks
|
|
1017
|
+
|
|
1018
|
+
if not isinstance(max_size, Number) or max_size < 1:
|
|
1019
|
+
raise ValueError("max_size must be a positive number, not %r" % max_size)
|
|
1020
|
+
self.max_size = max_size
|
|
1021
|
+
self._current_size = 0
|
|
1022
|
+
|
|
1023
|
+
self.max_header_count = max_header_count
|
|
1024
|
+
self._current_header_count = 0
|
|
1025
|
+
|
|
1026
|
+
self.max_header_size = max_header_size
|
|
1027
|
+
self._current_header_size = 0
|
|
1028
|
+
|
|
1029
|
+
# Setup marks. These are used to track the state of data received.
|
|
1030
|
+
self.marks: dict[str, int] = {}
|
|
1031
|
+
|
|
1032
|
+
# Save our boundary.
|
|
1033
|
+
if isinstance(boundary, str): # pragma: no cover
|
|
1034
|
+
boundary = boundary.encode("latin-1")
|
|
1035
|
+
if len(boundary) > MAX_BOUNDARY_LENGTH:
|
|
1036
|
+
raise FormParserError(f"Boundary length {len(boundary)} exceeds maximum of {MAX_BOUNDARY_LENGTH}")
|
|
1037
|
+
self.boundary = b"\r\n--" + boundary
|
|
1038
|
+
|
|
1039
|
+
def write(self, data: bytes) -> int:
|
|
1040
|
+
"""Write some data to the parser, which will perform size verification,
|
|
1041
|
+
and then parse the data into the appropriate location (e.g. header,
|
|
1042
|
+
data, etc.), and pass this on to the underlying callback. If an error
|
|
1043
|
+
is encountered, a MultipartParseError will be raised. The "offset"
|
|
1044
|
+
attribute on the raised exception will be set to the offset of the byte
|
|
1045
|
+
in the input chunk that caused the error.
|
|
1046
|
+
|
|
1047
|
+
Args:
|
|
1048
|
+
data: The data to write to the parser.
|
|
1049
|
+
|
|
1050
|
+
Returns:
|
|
1051
|
+
The number of bytes written.
|
|
1052
|
+
"""
|
|
1053
|
+
# Handle sizing.
|
|
1054
|
+
data_len = len(data)
|
|
1055
|
+
if (self._current_size + data_len) > self.max_size:
|
|
1056
|
+
# We truncate the length of data that we are to process.
|
|
1057
|
+
new_size = int(self.max_size - self._current_size)
|
|
1058
|
+
self.logger.warning(
|
|
1059
|
+
"Current size is %d (max %d), so truncating data length from %d to %d",
|
|
1060
|
+
self._current_size,
|
|
1061
|
+
self.max_size,
|
|
1062
|
+
data_len,
|
|
1063
|
+
new_size,
|
|
1064
|
+
)
|
|
1065
|
+
data_len = new_size
|
|
1066
|
+
|
|
1067
|
+
l = 0
|
|
1068
|
+
try:
|
|
1069
|
+
l = self._internal_write(data, data_len)
|
|
1070
|
+
finally:
|
|
1071
|
+
self._current_size += l
|
|
1072
|
+
|
|
1073
|
+
return l
|
|
1074
|
+
|
|
1075
|
+
def _internal_write(self, data: bytes, length: int) -> int:
|
|
1076
|
+
# Get values from locals.
|
|
1077
|
+
boundary = self.boundary
|
|
1078
|
+
boundary_length = len(boundary)
|
|
1079
|
+
|
|
1080
|
+
# Get our state, flags and index. These are persisted between calls to
|
|
1081
|
+
# this function.
|
|
1082
|
+
state = self.state
|
|
1083
|
+
index = self.index
|
|
1084
|
+
flags = self.flags
|
|
1085
|
+
current_header_count = self._current_header_count
|
|
1086
|
+
current_header_size = self._current_header_size
|
|
1087
|
+
|
|
1088
|
+
# Our index defaults to 0.
|
|
1089
|
+
i = 0
|
|
1090
|
+
|
|
1091
|
+
def advance_header_size(amount: int = 1) -> None:
|
|
1092
|
+
nonlocal current_header_size
|
|
1093
|
+
current_header_size += amount
|
|
1094
|
+
if current_header_size > self.max_header_size:
|
|
1095
|
+
raise MultipartParseError("Maximum header size exceeded", offset=i)
|
|
1096
|
+
|
|
1097
|
+
# Set a mark.
|
|
1098
|
+
def set_mark(name: str) -> None:
|
|
1099
|
+
self.marks[name] = i
|
|
1100
|
+
|
|
1101
|
+
# Remove a mark.
|
|
1102
|
+
def delete_mark(name: str, reset: bool = False) -> None:
|
|
1103
|
+
self.marks.pop(name, None)
|
|
1104
|
+
|
|
1105
|
+
# Helper function that makes calling a callback with data easier. The
|
|
1106
|
+
# 'remaining' parameter will callback from the marked value until the
|
|
1107
|
+
# end of the buffer, and reset the mark, instead of deleting it. This
|
|
1108
|
+
# is used at the end of the function to call our callbacks with any
|
|
1109
|
+
# remaining data in this chunk.
|
|
1110
|
+
def data_callback(name: CallbackName, end_i: int, remaining: bool = False) -> None:
|
|
1111
|
+
marked_index = self.marks.get(name)
|
|
1112
|
+
if marked_index is None:
|
|
1113
|
+
return
|
|
1114
|
+
|
|
1115
|
+
# Otherwise, we call it from the mark to the current byte we're
|
|
1116
|
+
# processing.
|
|
1117
|
+
if end_i <= marked_index:
|
|
1118
|
+
# There is no additional data to send.
|
|
1119
|
+
pass
|
|
1120
|
+
elif marked_index >= 0:
|
|
1121
|
+
# We are emitting data from the local buffer.
|
|
1122
|
+
self.callback(name, data, marked_index, end_i)
|
|
1123
|
+
else:
|
|
1124
|
+
# Some of the data comes from a partial boundary match.
|
|
1125
|
+
# and requires look-behind.
|
|
1126
|
+
# We need to use self.flags (and not flags) because we care about
|
|
1127
|
+
# the state when we entered the loop.
|
|
1128
|
+
lookbehind_len = -marked_index
|
|
1129
|
+
if lookbehind_len <= boundary_length:
|
|
1130
|
+
self.callback(name, boundary, 0, lookbehind_len)
|
|
1131
|
+
elif self.flags & FLAG_PART_BOUNDARY:
|
|
1132
|
+
lookback = boundary + b"\r\n"
|
|
1133
|
+
self.callback(name, lookback, 0, lookbehind_len)
|
|
1134
|
+
elif self.flags & FLAG_LAST_BOUNDARY:
|
|
1135
|
+
lookback = boundary + b"--\r\n"
|
|
1136
|
+
self.callback(name, lookback, 0, lookbehind_len)
|
|
1137
|
+
else: # pragma: no cover (error case)
|
|
1138
|
+
self.logger.warning("Look-back buffer error")
|
|
1139
|
+
|
|
1140
|
+
if end_i > 0:
|
|
1141
|
+
self.callback(name, data, 0, end_i)
|
|
1142
|
+
# If we're getting remaining data, we have got all the data we
|
|
1143
|
+
# can be certain is not a boundary, leaving only a partial boundary match.
|
|
1144
|
+
if remaining:
|
|
1145
|
+
self.marks[name] = end_i - length
|
|
1146
|
+
else:
|
|
1147
|
+
self.marks.pop(name, None)
|
|
1148
|
+
|
|
1149
|
+
# For each byte...
|
|
1150
|
+
while i < length:
|
|
1151
|
+
c = data[i]
|
|
1152
|
+
|
|
1153
|
+
if state == MultipartState.START:
|
|
1154
|
+
# Skip leading newlines
|
|
1155
|
+
if c == CR or c == LF:
|
|
1156
|
+
i = data.find(b"-", i)
|
|
1157
|
+
if i == -1:
|
|
1158
|
+
# No boundary candidate in this chunk, so ignore the content after the leading CR/LF.
|
|
1159
|
+
i = length
|
|
1160
|
+
break
|
|
1161
|
+
continue
|
|
1162
|
+
|
|
1163
|
+
# index is used as in index into our boundary. Set to 0.
|
|
1164
|
+
index = 0
|
|
1165
|
+
|
|
1166
|
+
# Move to the next state, but decrement i so that we re-process
|
|
1167
|
+
# this character.
|
|
1168
|
+
state = MultipartState.START_BOUNDARY
|
|
1169
|
+
i -= 1
|
|
1170
|
+
|
|
1171
|
+
elif state == MultipartState.START_BOUNDARY:
|
|
1172
|
+
# Check to ensure that the last 2 characters in our boundary
|
|
1173
|
+
# are CRLF.
|
|
1174
|
+
if index == boundary_length - 2:
|
|
1175
|
+
if c == HYPHEN:
|
|
1176
|
+
# Potential empty message.
|
|
1177
|
+
state = MultipartState.END_BOUNDARY
|
|
1178
|
+
elif c != CR:
|
|
1179
|
+
# Error!
|
|
1180
|
+
msg = "Did not find CR at end of boundary (%d)" % (i,)
|
|
1181
|
+
self.logger.warning(msg)
|
|
1182
|
+
raise MultipartParseError(msg, offset=i)
|
|
1183
|
+
|
|
1184
|
+
index += 1
|
|
1185
|
+
|
|
1186
|
+
elif index == boundary_length - 1:
|
|
1187
|
+
if c != LF:
|
|
1188
|
+
msg = "Did not find LF at end of boundary (%d)" % (i,)
|
|
1189
|
+
self.logger.warning(msg)
|
|
1190
|
+
raise MultipartParseError(msg, offset=i)
|
|
1191
|
+
|
|
1192
|
+
# The index is now used for indexing into our boundary.
|
|
1193
|
+
index = 0
|
|
1194
|
+
|
|
1195
|
+
# Callback for the start of a part.
|
|
1196
|
+
self.callback("part_begin")
|
|
1197
|
+
current_header_count = 0
|
|
1198
|
+
current_header_size = 0
|
|
1199
|
+
|
|
1200
|
+
# Move to the next character and state.
|
|
1201
|
+
state = MultipartState.HEADER_FIELD_START
|
|
1202
|
+
|
|
1203
|
+
else:
|
|
1204
|
+
# Check to ensure our boundary matches
|
|
1205
|
+
if c != boundary[index + 2]:
|
|
1206
|
+
msg = "Expected boundary character %r, got %r at index %d" % (boundary[index + 2], c, index + 2)
|
|
1207
|
+
self.logger.warning(msg)
|
|
1208
|
+
raise MultipartParseError(msg, offset=i)
|
|
1209
|
+
|
|
1210
|
+
# Increment index into boundary and continue.
|
|
1211
|
+
index += 1
|
|
1212
|
+
|
|
1213
|
+
elif state == MultipartState.HEADER_FIELD_START:
|
|
1214
|
+
# Mark the start of a header field here, reset the index, and
|
|
1215
|
+
# continue parsing our header field.
|
|
1216
|
+
index = 0
|
|
1217
|
+
|
|
1218
|
+
if c != CR:
|
|
1219
|
+
current_header_count += 1
|
|
1220
|
+
if current_header_count > self.max_header_count:
|
|
1221
|
+
raise MultipartParseError("Maximum header count exceeded", offset=i)
|
|
1222
|
+
current_header_size = 0
|
|
1223
|
+
|
|
1224
|
+
# Set a mark of our header field.
|
|
1225
|
+
set_mark("header_field")
|
|
1226
|
+
|
|
1227
|
+
# Notify that we're starting a header if the next character is
|
|
1228
|
+
# not a CR; a CR at the beginning of the header will cause us
|
|
1229
|
+
# to stop parsing headers in the MultipartState.HEADER_FIELD state,
|
|
1230
|
+
# below.
|
|
1231
|
+
if c != CR:
|
|
1232
|
+
self.callback("header_begin")
|
|
1233
|
+
|
|
1234
|
+
# Move to parsing header fields.
|
|
1235
|
+
state = MultipartState.HEADER_FIELD
|
|
1236
|
+
i -= 1
|
|
1237
|
+
|
|
1238
|
+
elif state == MultipartState.HEADER_FIELD:
|
|
1239
|
+
# If we've reached a CR at the beginning of a header, it means
|
|
1240
|
+
# that we've reached the second of 2 newlines, and so there are
|
|
1241
|
+
# no more headers to parse.
|
|
1242
|
+
if c == CR and index == 0:
|
|
1243
|
+
delete_mark("header_field")
|
|
1244
|
+
state = MultipartState.HEADERS_ALMOST_DONE
|
|
1245
|
+
i += 1
|
|
1246
|
+
continue
|
|
1247
|
+
|
|
1248
|
+
# The field name runs until the colon; jump straight to it and
|
|
1249
|
+
# validate the whole span at once instead of byte by byte.
|
|
1250
|
+
colon = data.find(b":", i, length)
|
|
1251
|
+
end = colon if colon != -1 else length
|
|
1252
|
+
|
|
1253
|
+
# Enforce the size limit before slicing and validating, so an oversized header
|
|
1254
|
+
# name fails fast instead of copying and scanning a potentially huge span.
|
|
1255
|
+
advance_header_size(end - i if colon == -1 else end - i + 1)
|
|
1256
|
+
|
|
1257
|
+
field = data[i:end]
|
|
1258
|
+
if field.translate(None, TOKEN_CHARS):
|
|
1259
|
+
bad = next(b for b in field if b not in TOKEN_CHARS_SET)
|
|
1260
|
+
bad_i = i + field.index(bad)
|
|
1261
|
+
msg = "Found invalid character %r in header at %d" % (bad, bad_i)
|
|
1262
|
+
self.logger.warning(msg)
|
|
1263
|
+
raise MultipartParseError(msg, offset=bad_i)
|
|
1264
|
+
|
|
1265
|
+
index += end - i
|
|
1266
|
+
if colon == -1:
|
|
1267
|
+
# Field name continues into the next chunk.
|
|
1268
|
+
i = length
|
|
1269
|
+
else:
|
|
1270
|
+
# A 0-length header is an error.
|
|
1271
|
+
if index == 0:
|
|
1272
|
+
msg = "Found 0-length header at %d" % (i,)
|
|
1273
|
+
self.logger.warning(msg)
|
|
1274
|
+
raise MultipartParseError(msg, offset=i)
|
|
1275
|
+
|
|
1276
|
+
# Call our callback with the header field.
|
|
1277
|
+
i = colon
|
|
1278
|
+
data_callback("header_field", i)
|
|
1279
|
+
|
|
1280
|
+
# Move to parsing the header value.
|
|
1281
|
+
state = MultipartState.HEADER_VALUE_START
|
|
1282
|
+
|
|
1283
|
+
elif state == MultipartState.HEADER_VALUE_START:
|
|
1284
|
+
# Skip leading spaces.
|
|
1285
|
+
if c == SPACE:
|
|
1286
|
+
advance_header_size()
|
|
1287
|
+
i += 1
|
|
1288
|
+
continue
|
|
1289
|
+
|
|
1290
|
+
# Mark the start of the header value.
|
|
1291
|
+
set_mark("header_value")
|
|
1292
|
+
|
|
1293
|
+
# Move to the header-value state, reprocessing this character.
|
|
1294
|
+
state = MultipartState.HEADER_VALUE
|
|
1295
|
+
i -= 1
|
|
1296
|
+
|
|
1297
|
+
elif state == MultipartState.HEADER_VALUE:
|
|
1298
|
+
# The value runs until the terminating CR; jump straight to it
|
|
1299
|
+
# instead of inspecting every byte.
|
|
1300
|
+
cr = data.find(b"\r", i, length)
|
|
1301
|
+
end = cr if cr != -1 else length
|
|
1302
|
+
advance_header_size(end - i)
|
|
1303
|
+
if cr != -1:
|
|
1304
|
+
i = cr
|
|
1305
|
+
data_callback("header_value", i)
|
|
1306
|
+
self.callback("header_end")
|
|
1307
|
+
current_header_size = 0
|
|
1308
|
+
state = MultipartState.HEADER_VALUE_ALMOST_DONE
|
|
1309
|
+
else:
|
|
1310
|
+
i = length
|
|
1311
|
+
|
|
1312
|
+
elif state == MultipartState.HEADER_VALUE_ALMOST_DONE:
|
|
1313
|
+
# The last character should be a LF. If not, it's an error.
|
|
1314
|
+
if c != LF:
|
|
1315
|
+
msg = f"Did not find LF character at end of header (found {c!r})"
|
|
1316
|
+
self.logger.warning(msg)
|
|
1317
|
+
raise MultipartParseError(msg, offset=i)
|
|
1318
|
+
|
|
1319
|
+
# Move back to the start of another header. Note that if that
|
|
1320
|
+
# state detects ANOTHER newline, it'll trigger the end of our
|
|
1321
|
+
# headers.
|
|
1322
|
+
state = MultipartState.HEADER_FIELD_START
|
|
1323
|
+
|
|
1324
|
+
elif state == MultipartState.HEADERS_ALMOST_DONE:
|
|
1325
|
+
# We're almost done our headers. This is reached when we parse
|
|
1326
|
+
# a CR at the beginning of a header, so our next character
|
|
1327
|
+
# should be a LF, or it's an error.
|
|
1328
|
+
if c != LF:
|
|
1329
|
+
msg = f"Did not find LF at end of headers (found {c!r})"
|
|
1330
|
+
self.logger.warning(msg)
|
|
1331
|
+
raise MultipartParseError(msg, offset=i)
|
|
1332
|
+
|
|
1333
|
+
self.callback("headers_finished")
|
|
1334
|
+
state = MultipartState.PART_DATA_START
|
|
1335
|
+
|
|
1336
|
+
elif state == MultipartState.PART_DATA_START:
|
|
1337
|
+
# Mark the start of our part data.
|
|
1338
|
+
set_mark("part_data")
|
|
1339
|
+
|
|
1340
|
+
# Start processing part data, including this character.
|
|
1341
|
+
state = MultipartState.PART_DATA
|
|
1342
|
+
i -= 1
|
|
1343
|
+
|
|
1344
|
+
elif state == MultipartState.PART_DATA:
|
|
1345
|
+
# We're processing our part data right now. During this, we
|
|
1346
|
+
# need to efficiently search for our boundary, since any data
|
|
1347
|
+
# on any number of lines can be a part of the current data.
|
|
1348
|
+
|
|
1349
|
+
# Save the current value of our index. We use this in case we
|
|
1350
|
+
# find part of a boundary, but it doesn't match fully.
|
|
1351
|
+
prev_index = index
|
|
1352
|
+
|
|
1353
|
+
# If our index is 0, we're starting a new part, so start our
|
|
1354
|
+
# search.
|
|
1355
|
+
if index == 0:
|
|
1356
|
+
# The most common case is likely to be that the whole
|
|
1357
|
+
# boundary is present in the buffer.
|
|
1358
|
+
# Calling `find` is much faster than iterating here.
|
|
1359
|
+
i0 = data.find(boundary, i, length)
|
|
1360
|
+
if i0 >= 0:
|
|
1361
|
+
# We matched the whole boundary string.
|
|
1362
|
+
index = boundary_length - 1
|
|
1363
|
+
i = i0 + boundary_length - 1
|
|
1364
|
+
c = data[i]
|
|
1365
|
+
else:
|
|
1366
|
+
# No whole boundary, but the tail may hold a partial one
|
|
1367
|
+
# that completes in the next chunk. Boundary starts with
|
|
1368
|
+
# CR, which an RFC boundary contains nowhere else, so the
|
|
1369
|
+
# last CR in the tail is the only candidate prefix start.
|
|
1370
|
+
k = data.rfind(boundary[:1], max(i, length - boundary_length + 1), length)
|
|
1371
|
+
if k != -1 and boundary.startswith(data[k:length]):
|
|
1372
|
+
index = length - k
|
|
1373
|
+
# Carry the partial via index; the end-of-chunk flush
|
|
1374
|
+
# emits the data before it and re-marks the lookbehind.
|
|
1375
|
+
i = length
|
|
1376
|
+
continue
|
|
1377
|
+
|
|
1378
|
+
# Now, we have a couple of cases here. If our index is before
|
|
1379
|
+
# the end of the boundary...
|
|
1380
|
+
if index < boundary_length:
|
|
1381
|
+
# If the character matches...
|
|
1382
|
+
if boundary[index] == c:
|
|
1383
|
+
# The current character matches, so continue!
|
|
1384
|
+
index += 1
|
|
1385
|
+
else:
|
|
1386
|
+
index = 0
|
|
1387
|
+
|
|
1388
|
+
# Our index is equal to the length of our boundary!
|
|
1389
|
+
elif index == boundary_length:
|
|
1390
|
+
# First we increment it.
|
|
1391
|
+
index += 1
|
|
1392
|
+
|
|
1393
|
+
# Now, if we've reached a newline, we need to set this as
|
|
1394
|
+
# the potential end of our boundary.
|
|
1395
|
+
if c == CR:
|
|
1396
|
+
flags |= FLAG_PART_BOUNDARY
|
|
1397
|
+
|
|
1398
|
+
# Otherwise, if this is a hyphen, we might be at the last
|
|
1399
|
+
# of all boundaries.
|
|
1400
|
+
elif c == HYPHEN:
|
|
1401
|
+
flags |= FLAG_LAST_BOUNDARY
|
|
1402
|
+
|
|
1403
|
+
# Otherwise, we reset our index, since this isn't either a
|
|
1404
|
+
# newline or a hyphen.
|
|
1405
|
+
else:
|
|
1406
|
+
index = 0
|
|
1407
|
+
|
|
1408
|
+
# Our index is right after the part boundary, which should be
|
|
1409
|
+
# a LF.
|
|
1410
|
+
elif index == boundary_length + 1:
|
|
1411
|
+
# If we're at a part boundary (i.e. we've seen a CR
|
|
1412
|
+
# character already)...
|
|
1413
|
+
if flags & FLAG_PART_BOUNDARY:
|
|
1414
|
+
# We need a LF character next.
|
|
1415
|
+
if c == LF:
|
|
1416
|
+
# Unset the part boundary flag.
|
|
1417
|
+
flags &= ~FLAG_PART_BOUNDARY
|
|
1418
|
+
|
|
1419
|
+
# We have identified a boundary, callback for any data before it.
|
|
1420
|
+
data_callback("part_data", i - index)
|
|
1421
|
+
# Callback indicating that we've reached the end of
|
|
1422
|
+
# a part, and are starting a new one.
|
|
1423
|
+
self.callback("part_end")
|
|
1424
|
+
self.callback("part_begin")
|
|
1425
|
+
current_header_count = 0
|
|
1426
|
+
current_header_size = 0
|
|
1427
|
+
|
|
1428
|
+
# Move to parsing new headers.
|
|
1429
|
+
index = 0
|
|
1430
|
+
state = MultipartState.HEADER_FIELD_START
|
|
1431
|
+
i += 1
|
|
1432
|
+
continue
|
|
1433
|
+
|
|
1434
|
+
# We didn't find an LF character, so no match. Reset
|
|
1435
|
+
# our index and clear our flag.
|
|
1436
|
+
index = 0
|
|
1437
|
+
flags &= ~FLAG_PART_BOUNDARY
|
|
1438
|
+
|
|
1439
|
+
# Otherwise, if we're at the last boundary (i.e. we've
|
|
1440
|
+
# seen a hyphen already)...
|
|
1441
|
+
elif flags & FLAG_LAST_BOUNDARY:
|
|
1442
|
+
# We need a second hyphen here.
|
|
1443
|
+
if c == HYPHEN:
|
|
1444
|
+
# We have identified a boundary, callback for any data before it.
|
|
1445
|
+
data_callback("part_data", i - index)
|
|
1446
|
+
# Callback to end the current part, and then the
|
|
1447
|
+
# message.
|
|
1448
|
+
self.callback("part_end")
|
|
1449
|
+
self.callback("end")
|
|
1450
|
+
state = MultipartState.END
|
|
1451
|
+
else:
|
|
1452
|
+
# No match, so reset index.
|
|
1453
|
+
index = 0
|
|
1454
|
+
|
|
1455
|
+
# Otherwise, our index is 0. If the previous index is not, it
|
|
1456
|
+
# means we reset something, and we need to take the data we
|
|
1457
|
+
# thought was part of our boundary and send it along as actual
|
|
1458
|
+
# data.
|
|
1459
|
+
if index == 0 and prev_index > 0:
|
|
1460
|
+
# Overwrite our previous index.
|
|
1461
|
+
prev_index = 0
|
|
1462
|
+
|
|
1463
|
+
# Re-consider the current character, since this could be
|
|
1464
|
+
# the start of the boundary itself.
|
|
1465
|
+
i -= 1
|
|
1466
|
+
|
|
1467
|
+
elif state == MultipartState.END_BOUNDARY:
|
|
1468
|
+
if index == boundary_length - 1:
|
|
1469
|
+
if c != HYPHEN:
|
|
1470
|
+
msg = "Did not find - at end of boundary (%d)" % (i,)
|
|
1471
|
+
self.logger.warning(msg)
|
|
1472
|
+
raise MultipartParseError(msg, offset=i)
|
|
1473
|
+
index += 1
|
|
1474
|
+
self.callback("end")
|
|
1475
|
+
state = MultipartState.END
|
|
1476
|
+
|
|
1477
|
+
elif state == MultipartState.END:
|
|
1478
|
+
# Silently discard any epilogue data (RFC 2046 section 5.1.1 allows a CRLF and optional
|
|
1479
|
+
# epilogue after the closing boundary). Django and Werkzeug do the same.
|
|
1480
|
+
i = length
|
|
1481
|
+
break
|
|
1482
|
+
|
|
1483
|
+
else: # pragma: no cover (error case)
|
|
1484
|
+
# We got into a strange state somehow! Just stop processing.
|
|
1485
|
+
msg = "Reached an unknown state %d at %d" % (state, i)
|
|
1486
|
+
self.logger.warning(msg)
|
|
1487
|
+
raise MultipartParseError(msg, offset=i)
|
|
1488
|
+
|
|
1489
|
+
# Move to the next byte.
|
|
1490
|
+
i += 1
|
|
1491
|
+
|
|
1492
|
+
# We call our callbacks with any remaining data. Note that we pass
|
|
1493
|
+
# the 'remaining' flag, which sets the mark back to 0 instead of
|
|
1494
|
+
# deleting it, if it's found. This is because, if the mark is found
|
|
1495
|
+
# at this point, we assume that there's data for one of these things
|
|
1496
|
+
# that has been parsed, but not yet emitted. And, as such, it implies
|
|
1497
|
+
# that we haven't yet reached the end of this 'thing'. So, by setting
|
|
1498
|
+
# the mark to 0, we cause any data callbacks that take place in future
|
|
1499
|
+
# calls to this function to start from the beginning of that buffer.
|
|
1500
|
+
data_callback("header_field", length, True)
|
|
1501
|
+
data_callback("header_value", length, True)
|
|
1502
|
+
data_callback("part_data", length - index, True)
|
|
1503
|
+
|
|
1504
|
+
# Save values to locals.
|
|
1505
|
+
self.state = state
|
|
1506
|
+
self.index = index
|
|
1507
|
+
self.flags = flags
|
|
1508
|
+
self._current_header_count = current_header_count
|
|
1509
|
+
self._current_header_size = current_header_size
|
|
1510
|
+
|
|
1511
|
+
# Return our data length to indicate no errors, and that we processed
|
|
1512
|
+
# all of it.
|
|
1513
|
+
return length
|
|
1514
|
+
|
|
1515
|
+
def finalize(self) -> None:
|
|
1516
|
+
"""Finalize this parser, which signals to that we are finished parsing.
|
|
1517
|
+
|
|
1518
|
+
Note: It does not currently, but in the future, it will verify that we
|
|
1519
|
+
are in the final state of the parser (i.e. the end of the multipart
|
|
1520
|
+
message is well-formed), and, if not, throw an error.
|
|
1521
|
+
"""
|
|
1522
|
+
# TODO: verify that we're in the state MultipartState.END, otherwise throw an
|
|
1523
|
+
# error or otherwise state that we're not finished parsing.
|
|
1524
|
+
pass
|
|
1525
|
+
|
|
1526
|
+
def __repr__(self) -> str:
|
|
1527
|
+
return f"{self.__class__.__name__}(boundary={self.boundary!r})"
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
class FormParser:
|
|
1531
|
+
"""This class is the all-in-one form parser. Given all the information
|
|
1532
|
+
necessary to parse a form, it will instantiate the correct parser, create
|
|
1533
|
+
the proper :class:`Field` and :class:`File` classes to store the data that
|
|
1534
|
+
is parsed, and call the two given callbacks with each field and file as
|
|
1535
|
+
they become available.
|
|
1536
|
+
|
|
1537
|
+
Args:
|
|
1538
|
+
content_type: The Content-Type of the incoming request. This is used to select the appropriate parser.
|
|
1539
|
+
on_field: The callback to call when a field has been parsed and is ready for usage. See above for parameters.
|
|
1540
|
+
on_file: The callback to call when a file has been parsed and is ready for usage. See above for parameters.
|
|
1541
|
+
on_end: An optional callback to call when all fields and files in a request has been parsed. Can be None.
|
|
1542
|
+
boundary: If the request is a multipart/form-data request, this should be the boundary of the request, as given
|
|
1543
|
+
in the Content-Type header, as a bytestring.
|
|
1544
|
+
file_name: If the request is of type application/octet-stream, then the body of the request will not contain any
|
|
1545
|
+
information about the uploaded file. In such cases, you can provide the file name of the uploaded file
|
|
1546
|
+
manually.
|
|
1547
|
+
config: Configuration to use for this FormParser. The default values are taken from the DEFAULT_CONFIG value,
|
|
1548
|
+
and then any keys present in this dictionary will overwrite the default values.
|
|
1549
|
+
"""
|
|
1550
|
+
|
|
1551
|
+
#: This is the default configuration for our form parser.
|
|
1552
|
+
#: Note: all file sizes should be in bytes.
|
|
1553
|
+
DEFAULT_CONFIG: FormParserConfig = {
|
|
1554
|
+
"MAX_BODY_SIZE": float("inf"),
|
|
1555
|
+
"MAX_HEADER_COUNT": DEFAULT_MAX_HEADER_COUNT,
|
|
1556
|
+
"MAX_HEADER_SIZE": DEFAULT_MAX_HEADER_SIZE,
|
|
1557
|
+
"MAX_MEMORY_FILE_SIZE": 1 * 1024 * 1024,
|
|
1558
|
+
"UPLOAD_DIR": None,
|
|
1559
|
+
"UPLOAD_DELETE_TMP": True,
|
|
1560
|
+
"UPLOAD_KEEP_FILENAME": False,
|
|
1561
|
+
"UPLOAD_KEEP_EXTENSIONS": False,
|
|
1562
|
+
# Error on invalid Content-Transfer-Encoding?
|
|
1563
|
+
"UPLOAD_ERROR_ON_BAD_CTE": False,
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
def __init__(
|
|
1567
|
+
self,
|
|
1568
|
+
content_type: str,
|
|
1569
|
+
on_field: Callable[[Field], None] | None,
|
|
1570
|
+
on_file: Callable[[File], None] | None,
|
|
1571
|
+
on_end: Callable[[], None] | None = None,
|
|
1572
|
+
boundary: bytes | str | None = None,
|
|
1573
|
+
file_name: bytes | None = None,
|
|
1574
|
+
config: dict[Any, Any] = {},
|
|
1575
|
+
) -> None:
|
|
1576
|
+
self.logger = logging.getLogger(__name__)
|
|
1577
|
+
|
|
1578
|
+
# Save variables.
|
|
1579
|
+
self.content_type = content_type
|
|
1580
|
+
self.boundary = boundary
|
|
1581
|
+
self.bytes_received = 0
|
|
1582
|
+
self.parser = None
|
|
1583
|
+
|
|
1584
|
+
# Save callbacks.
|
|
1585
|
+
self.on_field = on_field
|
|
1586
|
+
self.on_file = on_file
|
|
1587
|
+
self.on_end = on_end
|
|
1588
|
+
|
|
1589
|
+
# Set configuration options.
|
|
1590
|
+
self.config: FormParserConfig = self.DEFAULT_CONFIG.copy()
|
|
1591
|
+
self.config.update(config) # type: ignore[typeddict-item]
|
|
1592
|
+
|
|
1593
|
+
parser: OctetStreamParser | MultipartParser | QuerystringParser | None = None
|
|
1594
|
+
|
|
1595
|
+
# Depending on the Content-Type, we instantiate the correct parser.
|
|
1596
|
+
if content_type == "application/octet-stream":
|
|
1597
|
+
file: File | None = None
|
|
1598
|
+
|
|
1599
|
+
def on_start() -> None:
|
|
1600
|
+
nonlocal file
|
|
1601
|
+
file = File(file_name, None, config=self.config)
|
|
1602
|
+
|
|
1603
|
+
def on_data(data: bytes, start: int, end: int) -> None:
|
|
1604
|
+
nonlocal file
|
|
1605
|
+
assert file is not None
|
|
1606
|
+
file.write(data[start:end])
|
|
1607
|
+
|
|
1608
|
+
def _on_end() -> None:
|
|
1609
|
+
nonlocal file
|
|
1610
|
+
assert file is not None
|
|
1611
|
+
# Finalize the file itself.
|
|
1612
|
+
file.finalize()
|
|
1613
|
+
|
|
1614
|
+
# Call our callback.
|
|
1615
|
+
if on_file:
|
|
1616
|
+
on_file(file)
|
|
1617
|
+
|
|
1618
|
+
# Call the on-end callback.
|
|
1619
|
+
if self.on_end is not None:
|
|
1620
|
+
self.on_end()
|
|
1621
|
+
|
|
1622
|
+
# Instantiate an octet-stream parser
|
|
1623
|
+
parser = OctetStreamParser(
|
|
1624
|
+
callbacks={"on_start": on_start, "on_data": on_data, "on_end": _on_end},
|
|
1625
|
+
max_size=self.config["MAX_BODY_SIZE"],
|
|
1626
|
+
)
|
|
1627
|
+
|
|
1628
|
+
elif content_type == "application/x-www-form-urlencoded" or content_type == "application/x-url-encoded":
|
|
1629
|
+
name_buffer: list[bytes] = []
|
|
1630
|
+
|
|
1631
|
+
f: Field | None = None
|
|
1632
|
+
|
|
1633
|
+
def on_field_start() -> None:
|
|
1634
|
+
pass
|
|
1635
|
+
|
|
1636
|
+
def on_field_name(data: bytes, start: int, end: int) -> None:
|
|
1637
|
+
name_buffer.append(data[start:end])
|
|
1638
|
+
|
|
1639
|
+
def on_field_data(data: bytes, start: int, end: int) -> None:
|
|
1640
|
+
nonlocal f
|
|
1641
|
+
if f is None:
|
|
1642
|
+
f = Field(b"".join(name_buffer))
|
|
1643
|
+
del name_buffer[:]
|
|
1644
|
+
f.write(data[start:end])
|
|
1645
|
+
|
|
1646
|
+
def on_field_end() -> None:
|
|
1647
|
+
nonlocal f
|
|
1648
|
+
# Finalize and call callback.
|
|
1649
|
+
if f is None:
|
|
1650
|
+
# If we get here, it's because there was no field data.
|
|
1651
|
+
# We create a field, set it to None, and then continue.
|
|
1652
|
+
f = Field(b"".join(name_buffer))
|
|
1653
|
+
del name_buffer[:]
|
|
1654
|
+
f.set_none()
|
|
1655
|
+
|
|
1656
|
+
f.finalize()
|
|
1657
|
+
if on_field:
|
|
1658
|
+
on_field(f)
|
|
1659
|
+
f = None
|
|
1660
|
+
|
|
1661
|
+
def _on_end() -> None:
|
|
1662
|
+
if self.on_end is not None:
|
|
1663
|
+
self.on_end()
|
|
1664
|
+
|
|
1665
|
+
# Instantiate parser.
|
|
1666
|
+
parser = QuerystringParser(
|
|
1667
|
+
callbacks={
|
|
1668
|
+
"on_field_start": on_field_start,
|
|
1669
|
+
"on_field_name": on_field_name,
|
|
1670
|
+
"on_field_data": on_field_data,
|
|
1671
|
+
"on_field_end": on_field_end,
|
|
1672
|
+
"on_end": _on_end,
|
|
1673
|
+
},
|
|
1674
|
+
max_size=self.config["MAX_BODY_SIZE"],
|
|
1675
|
+
)
|
|
1676
|
+
|
|
1677
|
+
elif content_type == "multipart/form-data":
|
|
1678
|
+
if boundary is None:
|
|
1679
|
+
self.logger.error("No boundary given")
|
|
1680
|
+
raise FormParserError("No boundary given")
|
|
1681
|
+
|
|
1682
|
+
header_name: list[bytes] = []
|
|
1683
|
+
header_value: list[bytes] = []
|
|
1684
|
+
headers: dict[bytes, bytes] = {}
|
|
1685
|
+
|
|
1686
|
+
f_multi: File | Field | None = None
|
|
1687
|
+
writer: File | Field | Base64Decoder | QuotedPrintableDecoder | None = None
|
|
1688
|
+
is_file = False
|
|
1689
|
+
|
|
1690
|
+
def on_part_begin() -> None:
|
|
1691
|
+
# Reset headers in case this isn't the first part.
|
|
1692
|
+
nonlocal headers
|
|
1693
|
+
headers = {}
|
|
1694
|
+
|
|
1695
|
+
def on_part_data(data: bytes, start: int, end: int) -> None:
|
|
1696
|
+
nonlocal writer
|
|
1697
|
+
assert writer is not None
|
|
1698
|
+
writer.write(data[start:end])
|
|
1699
|
+
# TODO: check for error here.
|
|
1700
|
+
|
|
1701
|
+
def on_part_end() -> None:
|
|
1702
|
+
nonlocal f_multi, is_file
|
|
1703
|
+
assert f_multi is not None
|
|
1704
|
+
f_multi.finalize()
|
|
1705
|
+
if is_file:
|
|
1706
|
+
if on_file:
|
|
1707
|
+
assert isinstance(f_multi, File)
|
|
1708
|
+
on_file(f_multi)
|
|
1709
|
+
else:
|
|
1710
|
+
if on_field:
|
|
1711
|
+
assert isinstance(f_multi, Field)
|
|
1712
|
+
on_field(f_multi)
|
|
1713
|
+
|
|
1714
|
+
def on_header_field(data: bytes, start: int, end: int) -> None:
|
|
1715
|
+
header_name.append(data[start:end])
|
|
1716
|
+
|
|
1717
|
+
def on_header_value(data: bytes, start: int, end: int) -> None:
|
|
1718
|
+
header_value.append(data[start:end])
|
|
1719
|
+
|
|
1720
|
+
def on_header_end() -> None:
|
|
1721
|
+
headers[b"".join(header_name).lower()] = b"".join(header_value)
|
|
1722
|
+
del header_name[:]
|
|
1723
|
+
del header_value[:]
|
|
1724
|
+
|
|
1725
|
+
def on_headers_finished() -> None:
|
|
1726
|
+
nonlocal is_file, f_multi, writer
|
|
1727
|
+
# Reset the 'is file' flag.
|
|
1728
|
+
is_file = False
|
|
1729
|
+
|
|
1730
|
+
# Parse the content-disposition header.
|
|
1731
|
+
content_disp = headers.get(b"content-disposition")
|
|
1732
|
+
disp, options = parse_options_header(content_disp)
|
|
1733
|
+
|
|
1734
|
+
# Get the field and filename.
|
|
1735
|
+
field_name = options.get(b"name")
|
|
1736
|
+
file_name = options.get(b"filename")
|
|
1737
|
+
# RFC 7578 §4.2: each part MUST have a Content-Disposition header with a "name" parameter.
|
|
1738
|
+
if field_name is None:
|
|
1739
|
+
raise FormParserError(f'Field name not found in Content-Disposition: "{content_disp!r}"')
|
|
1740
|
+
|
|
1741
|
+
# Create the proper class.
|
|
1742
|
+
content_type_b = headers.get(b"content-type")
|
|
1743
|
+
content_type = content_type_b.decode("latin-1") if content_type_b is not None else None
|
|
1744
|
+
if file_name is None:
|
|
1745
|
+
f_multi = Field(field_name, content_type=content_type)
|
|
1746
|
+
else:
|
|
1747
|
+
f_multi = File(file_name, field_name, config=self.config, content_type=content_type)
|
|
1748
|
+
is_file = True
|
|
1749
|
+
|
|
1750
|
+
# Parse the given Content-Transfer-Encoding to determine what
|
|
1751
|
+
# we need to do with the incoming data.
|
|
1752
|
+
# TODO: check that we properly handle 8bit / 7bit encoding.
|
|
1753
|
+
# RFC 2045 section 6.1: Content-Transfer-Encoding values are case-insensitive.
|
|
1754
|
+
# https://www.rfc-editor.org/rfc/rfc2045#section-6.1
|
|
1755
|
+
transfer_encoding = headers.get(b"content-transfer-encoding", b"7bit").lower()
|
|
1756
|
+
|
|
1757
|
+
if transfer_encoding in (b"binary", b"8bit", b"7bit"):
|
|
1758
|
+
writer = f_multi
|
|
1759
|
+
|
|
1760
|
+
elif transfer_encoding == b"base64":
|
|
1761
|
+
writer = Base64Decoder(f_multi)
|
|
1762
|
+
|
|
1763
|
+
elif transfer_encoding == b"quoted-printable":
|
|
1764
|
+
writer = QuotedPrintableDecoder(f_multi)
|
|
1765
|
+
|
|
1766
|
+
else:
|
|
1767
|
+
self.logger.warning("Unknown Content-Transfer-Encoding: %r", transfer_encoding)
|
|
1768
|
+
if self.config["UPLOAD_ERROR_ON_BAD_CTE"]:
|
|
1769
|
+
raise FormParserError(f'Unknown Content-Transfer-Encoding "{transfer_encoding!r}"')
|
|
1770
|
+
else:
|
|
1771
|
+
# If we aren't erroring, then we just treat this as an
|
|
1772
|
+
# unencoded Content-Transfer-Encoding.
|
|
1773
|
+
writer = f_multi
|
|
1774
|
+
|
|
1775
|
+
def _on_end() -> None:
|
|
1776
|
+
nonlocal writer
|
|
1777
|
+
if writer is not None:
|
|
1778
|
+
writer.finalize()
|
|
1779
|
+
if self.on_end is not None:
|
|
1780
|
+
self.on_end()
|
|
1781
|
+
|
|
1782
|
+
# Instantiate a multipart parser.
|
|
1783
|
+
parser = MultipartParser(
|
|
1784
|
+
boundary,
|
|
1785
|
+
callbacks={
|
|
1786
|
+
"on_part_begin": on_part_begin,
|
|
1787
|
+
"on_part_data": on_part_data,
|
|
1788
|
+
"on_part_end": on_part_end,
|
|
1789
|
+
"on_header_field": on_header_field,
|
|
1790
|
+
"on_header_value": on_header_value,
|
|
1791
|
+
"on_header_end": on_header_end,
|
|
1792
|
+
"on_headers_finished": on_headers_finished,
|
|
1793
|
+
"on_end": _on_end,
|
|
1794
|
+
},
|
|
1795
|
+
max_size=self.config["MAX_BODY_SIZE"],
|
|
1796
|
+
max_header_count=self.config["MAX_HEADER_COUNT"],
|
|
1797
|
+
max_header_size=self.config["MAX_HEADER_SIZE"],
|
|
1798
|
+
)
|
|
1799
|
+
|
|
1800
|
+
else:
|
|
1801
|
+
self.logger.warning("Unknown Content-Type: %r", content_type)
|
|
1802
|
+
raise FormParserError(f"Unknown Content-Type: {content_type}")
|
|
1803
|
+
|
|
1804
|
+
self.parser = parser
|
|
1805
|
+
|
|
1806
|
+
def write(self, data: bytes) -> int:
|
|
1807
|
+
"""Write some data. The parser will forward this to the appropriate
|
|
1808
|
+
underlying parser.
|
|
1809
|
+
|
|
1810
|
+
Args:
|
|
1811
|
+
data: The data to write.
|
|
1812
|
+
|
|
1813
|
+
Returns:
|
|
1814
|
+
The number of bytes processed.
|
|
1815
|
+
"""
|
|
1816
|
+
self.bytes_received += len(data)
|
|
1817
|
+
# TODO: check the parser's return value for errors?
|
|
1818
|
+
assert self.parser is not None
|
|
1819
|
+
return self.parser.write(data)
|
|
1820
|
+
|
|
1821
|
+
def finalize(self) -> None:
|
|
1822
|
+
"""Finalize the parser."""
|
|
1823
|
+
if self.parser is not None and hasattr(self.parser, "finalize"):
|
|
1824
|
+
self.parser.finalize()
|
|
1825
|
+
|
|
1826
|
+
def close(self) -> None:
|
|
1827
|
+
"""Close the parser."""
|
|
1828
|
+
if self.parser is not None and hasattr(self.parser, "close"):
|
|
1829
|
+
self.parser.close()
|
|
1830
|
+
|
|
1831
|
+
def __repr__(self) -> str:
|
|
1832
|
+
return f"{self.__class__.__name__}(content_type={self.content_type!r}, parser={self.parser!r})"
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
def create_form_parser(
|
|
1836
|
+
headers: dict[str, bytes],
|
|
1837
|
+
on_field: Callable[[Field], None] | None,
|
|
1838
|
+
on_file: Callable[[File], None] | None,
|
|
1839
|
+
config: dict[Any, Any] = {},
|
|
1840
|
+
) -> FormParser:
|
|
1841
|
+
"""This function is a helper function to aid in creating a FormParser
|
|
1842
|
+
instances. Given a dictionary-like headers object, it will determine
|
|
1843
|
+
the correct information needed, instantiate a FormParser with the
|
|
1844
|
+
appropriate values and given callbacks, and then return the corresponding
|
|
1845
|
+
parser.
|
|
1846
|
+
|
|
1847
|
+
Args:
|
|
1848
|
+
headers: A dictionary-like object of HTTP headers. The only required header is Content-Type.
|
|
1849
|
+
on_field: Callback to call with each parsed field.
|
|
1850
|
+
on_file: Callback to call with each parsed file.
|
|
1851
|
+
config: Configuration variables to pass to the FormParser.
|
|
1852
|
+
"""
|
|
1853
|
+
content_type: str | bytes | None = headers.get("Content-Type")
|
|
1854
|
+
if content_type is None:
|
|
1855
|
+
logging.getLogger(__name__).warning("No Content-Type header given")
|
|
1856
|
+
raise ValueError("No Content-Type header given!")
|
|
1857
|
+
|
|
1858
|
+
# Boundaries are optional (the FormParser will raise if one is needed
|
|
1859
|
+
# but not given).
|
|
1860
|
+
content_type, params = parse_options_header(content_type)
|
|
1861
|
+
boundary = params.get(b"boundary")
|
|
1862
|
+
|
|
1863
|
+
# We need content_type to be a string, not a bytes object.
|
|
1864
|
+
content_type = content_type.decode("latin-1")
|
|
1865
|
+
|
|
1866
|
+
# Instantiate a form parser.
|
|
1867
|
+
form_parser = FormParser(content_type, on_field, on_file, boundary=boundary, config=config)
|
|
1868
|
+
|
|
1869
|
+
# Return our parser.
|
|
1870
|
+
return form_parser
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
def parse_form(
|
|
1874
|
+
headers: dict[str, bytes],
|
|
1875
|
+
input_stream: SupportsRead,
|
|
1876
|
+
on_field: Callable[[Field], None] | None,
|
|
1877
|
+
on_file: Callable[[File], None] | None,
|
|
1878
|
+
chunk_size: int = 1048576,
|
|
1879
|
+
) -> None:
|
|
1880
|
+
"""This function is useful if you just want to parse a request body,
|
|
1881
|
+
without too much work. Pass it a dictionary-like object of the request's
|
|
1882
|
+
headers, and a file-like object for the input stream, along with two
|
|
1883
|
+
callbacks that will get called whenever a field or file is parsed.
|
|
1884
|
+
|
|
1885
|
+
Args:
|
|
1886
|
+
headers: A dictionary-like object of HTTP headers. The only required header is Content-Type.
|
|
1887
|
+
input_stream: A file-like object that represents the request body. The read() method must return bytestrings.
|
|
1888
|
+
on_field: Callback to call with each parsed field.
|
|
1889
|
+
on_file: Callback to call with each parsed file.
|
|
1890
|
+
chunk_size: The maximum size to read from the input stream and write to the parser at one time.
|
|
1891
|
+
Defaults to 1 MiB.
|
|
1892
|
+
"""
|
|
1893
|
+
if chunk_size < 1:
|
|
1894
|
+
raise ValueError(f"chunk_size must be a positive number, not {chunk_size!r}")
|
|
1895
|
+
|
|
1896
|
+
# Create our form parser.
|
|
1897
|
+
parser = create_form_parser(headers, on_field, on_file)
|
|
1898
|
+
|
|
1899
|
+
# Read chunks of 1MiB and write to the parser, but never read more than
|
|
1900
|
+
# the given Content-Length, if any.
|
|
1901
|
+
content_length: int | float | bytes | None = headers.get("Content-Length")
|
|
1902
|
+
if content_length is not None:
|
|
1903
|
+
content_length = int(content_length)
|
|
1904
|
+
if content_length < 0:
|
|
1905
|
+
raise ValueError("Content-Length must be non-negative")
|
|
1906
|
+
else:
|
|
1907
|
+
content_length = float("inf")
|
|
1908
|
+
bytes_read = 0
|
|
1909
|
+
|
|
1910
|
+
while True:
|
|
1911
|
+
# Read only up to the Content-Length given.
|
|
1912
|
+
max_readable = int(min(content_length - bytes_read, chunk_size))
|
|
1913
|
+
buff = input_stream.read(max_readable)
|
|
1914
|
+
|
|
1915
|
+
# Write to the parser and update our length.
|
|
1916
|
+
parser.write(buff)
|
|
1917
|
+
bytes_read += len(buff)
|
|
1918
|
+
|
|
1919
|
+
# If we get a buffer that's smaller than the size requested, or if we
|
|
1920
|
+
# have read up to our content length, we're done.
|
|
1921
|
+
if len(buff) != max_readable or bytes_read == content_length:
|
|
1922
|
+
break
|
|
1923
|
+
|
|
1924
|
+
# Tell our parser that we're done writing data.
|
|
1925
|
+
parser.finalize()
|