@wmxe/kakao-pc 0.0.0-stage → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BUILD.json +61 -0
- package/README.md +30 -2
- package/bin/kakao-pc-mcp.js +37 -0
- package/package.json +38 -6
- package/python/LICENSE.txt +676 -0
- package/python/Lib/site-packages/PIL/AvifImagePlugin.py +299 -0
- package/python/Lib/site-packages/PIL/BdfFontFile.py +122 -0
- package/python/Lib/site-packages/PIL/BlpImagePlugin.py +503 -0
- package/python/Lib/site-packages/PIL/BmpImagePlugin.py +526 -0
- package/python/Lib/site-packages/PIL/BufrStubImagePlugin.py +70 -0
- package/python/Lib/site-packages/PIL/ContainerIO.py +177 -0
- package/python/Lib/site-packages/PIL/CurImagePlugin.py +105 -0
- package/python/Lib/site-packages/PIL/DcxImagePlugin.py +88 -0
- package/python/Lib/site-packages/PIL/DdsImagePlugin.py +637 -0
- package/python/Lib/site-packages/PIL/EpsImagePlugin.py +494 -0
- package/python/Lib/site-packages/PIL/ExifTags.py +383 -0
- package/python/Lib/site-packages/PIL/FitsImagePlugin.py +171 -0
- package/python/Lib/site-packages/PIL/FliImagePlugin.py +188 -0
- package/python/Lib/site-packages/PIL/FontFile.py +163 -0
- package/python/Lib/site-packages/PIL/FpxImagePlugin.py +264 -0
- package/python/Lib/site-packages/PIL/FtexImagePlugin.py +119 -0
- package/python/Lib/site-packages/PIL/GbrImagePlugin.py +101 -0
- package/python/Lib/site-packages/PIL/GdImageFile.py +109 -0
- package/python/Lib/site-packages/PIL/GifImagePlugin.py +1152 -0
- package/python/Lib/site-packages/PIL/GimpGradientFile.py +156 -0
- package/python/Lib/site-packages/PIL/GimpPaletteFile.py +77 -0
- package/python/Lib/site-packages/PIL/GribStubImagePlugin.py +70 -0
- package/python/Lib/site-packages/PIL/Hdf5StubImagePlugin.py +70 -0
- package/python/Lib/site-packages/PIL/IcnsImagePlugin.py +406 -0
- package/python/Lib/site-packages/PIL/IcoImagePlugin.py +418 -0
- package/python/Lib/site-packages/PIL/ImImagePlugin.py +401 -0
- package/python/Lib/site-packages/PIL/Image.py +4390 -0
- package/python/Lib/site-packages/PIL/ImageChops.py +278 -0
- package/python/Lib/site-packages/PIL/ImageCms.py +1069 -0
- package/python/Lib/site-packages/PIL/ImageColor.py +321 -0
- package/python/Lib/site-packages/PIL/ImageDraw.py +1003 -0
- package/python/Lib/site-packages/PIL/ImageDraw2.py +250 -0
- package/python/Lib/site-packages/PIL/ImageEnhance.py +112 -0
- package/python/Lib/site-packages/PIL/ImageFile.py +944 -0
- package/python/Lib/site-packages/PIL/ImageFilter.py +596 -0
- package/python/Lib/site-packages/PIL/ImageFont.py +1335 -0
- package/python/Lib/site-packages/PIL/ImageGrab.py +229 -0
- package/python/Lib/site-packages/PIL/ImageMath.py +314 -0
- package/python/Lib/site-packages/PIL/ImageMode.py +85 -0
- package/python/Lib/site-packages/PIL/ImageMorph.py +317 -0
- package/python/Lib/site-packages/PIL/ImageOps.py +803 -0
- package/python/Lib/site-packages/PIL/ImagePalette.py +314 -0
- package/python/Lib/site-packages/PIL/ImagePath.py +20 -0
- package/python/Lib/site-packages/PIL/ImageQt.py +229 -0
- package/python/Lib/site-packages/PIL/ImageSequence.py +89 -0
- package/python/Lib/site-packages/PIL/ImageShow.py +372 -0
- package/python/Lib/site-packages/PIL/ImageStat.py +169 -0
- package/python/Lib/site-packages/PIL/ImageText.py +512 -0
- package/python/Lib/site-packages/PIL/ImageTk.py +269 -0
- package/python/Lib/site-packages/PIL/ImageTransform.py +138 -0
- package/python/Lib/site-packages/PIL/ImageWin.py +247 -0
- package/python/Lib/site-packages/PIL/ImtImagePlugin.py +103 -0
- package/python/Lib/site-packages/PIL/IptcImagePlugin.py +228 -0
- package/python/Lib/site-packages/PIL/Jpeg2KImagePlugin.py +472 -0
- package/python/Lib/site-packages/PIL/JpegImagePlugin.py +913 -0
- package/python/Lib/site-packages/PIL/JpegPresets.py +240 -0
- package/python/Lib/site-packages/PIL/McIdasImagePlugin.py +80 -0
- package/python/Lib/site-packages/PIL/MicImagePlugin.py +105 -0
- package/python/Lib/site-packages/PIL/MpegImagePlugin.py +89 -0
- package/python/Lib/site-packages/PIL/MpoImagePlugin.py +211 -0
- package/python/Lib/site-packages/PIL/MspImagePlugin.py +206 -0
- package/python/Lib/site-packages/PIL/PSDraw.py +249 -0
- package/python/Lib/site-packages/PIL/PaletteFile.py +58 -0
- package/python/Lib/site-packages/PIL/PalmImagePlugin.py +220 -0
- package/python/Lib/site-packages/PIL/PcdImagePlugin.py +68 -0
- package/python/Lib/site-packages/PIL/PcfFontFile.py +258 -0
- package/python/Lib/site-packages/PIL/PcxImagePlugin.py +237 -0
- package/python/Lib/site-packages/PIL/PdfImagePlugin.py +313 -0
- package/python/Lib/site-packages/PIL/PdfParser.py +1129 -0
- package/python/Lib/site-packages/PIL/PixarImagePlugin.py +74 -0
- package/python/Lib/site-packages/PIL/PngImagePlugin.py +1616 -0
- package/python/Lib/site-packages/PIL/PpmImagePlugin.py +380 -0
- package/python/Lib/site-packages/PIL/PsdImagePlugin.py +340 -0
- package/python/Lib/site-packages/PIL/QoiImagePlugin.py +248 -0
- package/python/Lib/site-packages/PIL/SgiImagePlugin.py +236 -0
- package/python/Lib/site-packages/PIL/SpiderImagePlugin.py +329 -0
- package/python/Lib/site-packages/PIL/SunImagePlugin.py +147 -0
- package/python/Lib/site-packages/PIL/TarIO.py +68 -0
- package/python/Lib/site-packages/PIL/TgaImagePlugin.py +295 -0
- package/python/Lib/site-packages/PIL/TiffImagePlugin.py +2410 -0
- package/python/Lib/site-packages/PIL/TiffTags.py +571 -0
- package/python/Lib/site-packages/PIL/WalImageFile.py +134 -0
- package/python/Lib/site-packages/PIL/WebPImagePlugin.py +352 -0
- package/python/Lib/site-packages/PIL/WmfImagePlugin.py +189 -0
- package/python/Lib/site-packages/PIL/XVThumbImagePlugin.py +83 -0
- package/python/Lib/site-packages/PIL/XbmImagePlugin.py +128 -0
- package/python/Lib/site-packages/PIL/XpmImagePlugin.py +175 -0
- package/python/Lib/site-packages/PIL/__init__.py +87 -0
- package/python/Lib/site-packages/PIL/__main__.py +7 -0
- package/python/Lib/site-packages/PIL/__pycache__/AvifImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/BdfFontFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/BlpImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/BmpImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/BufrStubImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ContainerIO.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/CurImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/DcxImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/DdsImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/EpsImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ExifTags.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/FitsImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/FliImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/FontFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/FpxImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/FtexImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GbrImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GdImageFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GifImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GimpGradientFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/GribStubImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/Hdf5StubImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/IcnsImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/IcoImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/Image.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageChops.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageCms.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageColor.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageDraw.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageDraw2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageEnhance.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageFilter.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageFont.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageGrab.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageMath.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageMode.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageMorph.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageOps.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImagePalette.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImagePath.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageQt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageSequence.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageShow.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageStat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageText.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageTk.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageTransform.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImageWin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/ImtImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/IptcImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/Jpeg2KImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/JpegImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/JpegPresets.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/McIdasImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/MicImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/MpegImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/MpoImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/MspImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PSDraw.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PaletteFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PalmImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PcdImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PcfFontFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PcxImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PdfImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PdfParser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PixarImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PngImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PpmImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/PsdImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/QoiImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/SgiImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/SpiderImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/SunImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/TarIO.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/TgaImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/TiffTags.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/WalImageFile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/WebPImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/WmfImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/XVThumbImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/XbmImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/XpmImagePlugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_binary.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_deprecate.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_tkinter_finder.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_typing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/_version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/features.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/__pycache__/report.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/PIL/_avif.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_avif.pyi +3 -0
- package/python/Lib/site-packages/PIL/_binary.py +115 -0
- package/python/Lib/site-packages/PIL/_deprecate.py +74 -0
- package/python/Lib/site-packages/PIL/_imaging.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imaging.pyi +31 -0
- package/python/Lib/site-packages/PIL/_imagingcms.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imagingcms.pyi +143 -0
- package/python/Lib/site-packages/PIL/_imagingft.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imagingft.pyi +70 -0
- package/python/Lib/site-packages/PIL/_imagingmath.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imagingmath.pyi +3 -0
- package/python/Lib/site-packages/PIL/_imagingmorph.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imagingmorph.pyi +3 -0
- package/python/Lib/site-packages/PIL/_imagingtk.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_imagingtk.pyi +3 -0
- package/python/Lib/site-packages/PIL/_tkinter_finder.py +20 -0
- package/python/Lib/site-packages/PIL/_typing.py +46 -0
- package/python/Lib/site-packages/PIL/_util.py +29 -0
- package/python/Lib/site-packages/PIL/_version.py +4 -0
- package/python/Lib/site-packages/PIL/_webp.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/PIL/_webp.pyi +3 -0
- package/python/Lib/site-packages/PIL/features.py +347 -0
- package/python/Lib/site-packages/PIL/py.typed +0 -0
- package/python/Lib/site-packages/PIL/report.py +5 -0
- package/python/Lib/site-packages/__pycache__/pythoncom.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/__pycache__/typing_extensions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/_cffi_backend.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/adodbapi/__init__.py +81 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/ado_consts.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/adodbapi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/apibase.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/is64bit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/process_connect_string.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/schema_table.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/__pycache__/setup.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/ado_consts.py +283 -0
- package/python/Lib/site-packages/adodbapi/adodbapi.py +1153 -0
- package/python/Lib/site-packages/adodbapi/apibase.py +723 -0
- package/python/Lib/site-packages/adodbapi/examples/__pycache__/db_print.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/examples/__pycache__/db_table_names.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/examples/__pycache__/xls_read.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/examples/__pycache__/xls_write.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/examples/db_print.py +72 -0
- package/python/Lib/site-packages/adodbapi/examples/db_table_names.py +21 -0
- package/python/Lib/site-packages/adodbapi/examples/xls_read.py +41 -0
- package/python/Lib/site-packages/adodbapi/examples/xls_write.py +41 -0
- package/python/Lib/site-packages/adodbapi/is64bit.py +34 -0
- package/python/Lib/site-packages/adodbapi/license.txt +505 -0
- package/python/Lib/site-packages/adodbapi/process_connect_string.py +137 -0
- package/python/Lib/site-packages/adodbapi/readme.txt +88 -0
- package/python/Lib/site-packages/adodbapi/schema_table.py +16 -0
- package/python/Lib/site-packages/adodbapi/setup.py +68 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/adodbapitest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/adodbapitestconfig.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/dbapi20.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/is64bit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/setuptestframework.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/test_adodbapi_dbapi20.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/__pycache__/tryconnection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/adodbapi/test/adodbapitest.py +1547 -0
- package/python/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +180 -0
- package/python/Lib/site-packages/adodbapi/test/dbapi20.py +879 -0
- package/python/Lib/site-packages/adodbapi/test/is64bit.py +34 -0
- package/python/Lib/site-packages/adodbapi/test/setuptestframework.py +98 -0
- package/python/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +190 -0
- package/python/Lib/site-packages/adodbapi/test/tryconnection.py +30 -0
- package/python/Lib/site-packages/annotated_types/__init__.py +416 -0
- package/python/Lib/site-packages/annotated_types/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/annotated_types/__pycache__/test_cases.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/annotated_types/py.typed +0 -0
- package/python/Lib/site-packages/annotated_types/test_cases.py +146 -0
- package/python/Lib/site-packages/annotated_types-0.8.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/python/Lib/site-packages/annotated_types-0.8.0.dist-info/RECORD +8 -0
- package/python/Lib/site-packages/annotated_types-0.8.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/anyio/__init__.py +154 -0
- package/python/Lib/site-packages/anyio/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/_lazyimport.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/from_thread.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/functools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/itertools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/lowlevel.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/pytest_plugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/to_interpreter.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/to_process.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/__pycache__/to_thread.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_backends/__init__.py +0 -0
- package/python/Lib/site-packages/anyio/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_backends/__pycache__/_asyncio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_backends/__pycache__/_trio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_backends/_asyncio.py +3300 -0
- package/python/Lib/site-packages/anyio/_backends/_trio.py +1489 -0
- package/python/Lib/site-packages/anyio/_core/__init__.py +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_asyncio_selector_thread.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_concurrency_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_contextmanagers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_eventloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_fileio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_futures.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_resources.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_signals.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_sockets.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_streams.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_subprocesses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_synchronization.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_tasks.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_tempfile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_testing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/__pycache__/_typedattr.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/_core/_asyncio_selector_thread.py +167 -0
- package/python/Lib/site-packages/anyio/_core/_concurrency_utils.py +156 -0
- package/python/Lib/site-packages/anyio/_core/_contextmanagers.py +200 -0
- package/python/Lib/site-packages/anyio/_core/_eventloop.py +244 -0
- package/python/Lib/site-packages/anyio/_core/_exceptions.py +205 -0
- package/python/Lib/site-packages/anyio/_core/_fileio.py +1047 -0
- package/python/Lib/site-packages/anyio/_core/_futures.py +191 -0
- package/python/Lib/site-packages/anyio/_core/_resources.py +18 -0
- package/python/Lib/site-packages/anyio/_core/_signals.py +29 -0
- package/python/Lib/site-packages/anyio/_core/_sockets.py +1032 -0
- package/python/Lib/site-packages/anyio/_core/_streams.py +52 -0
- package/python/Lib/site-packages/anyio/_core/_subprocesses.py +196 -0
- package/python/Lib/site-packages/anyio/_core/_synchronization.py +780 -0
- package/python/Lib/site-packages/anyio/_core/_tasks.py +464 -0
- package/python/Lib/site-packages/anyio/_core/_tempfile.py +623 -0
- package/python/Lib/site-packages/anyio/_core/_testing.py +82 -0
- package/python/Lib/site-packages/anyio/_core/_typedattr.py +90 -0
- package/python/Lib/site-packages/anyio/_lazyimport.py +176 -0
- package/python/Lib/site-packages/anyio/abc/__init__.py +63 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_eventloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_resources.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_sockets.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_streams.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_subprocesses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_tasks.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/__pycache__/_testing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/abc/_eventloop.py +443 -0
- package/python/Lib/site-packages/anyio/abc/_resources.py +39 -0
- package/python/Lib/site-packages/anyio/abc/_sockets.py +401 -0
- package/python/Lib/site-packages/anyio/abc/_streams.py +237 -0
- package/python/Lib/site-packages/anyio/abc/_subprocesses.py +82 -0
- package/python/Lib/site-packages/anyio/abc/_tasks.py +223 -0
- package/python/Lib/site-packages/anyio/abc/_testing.py +79 -0
- package/python/Lib/site-packages/anyio/from_thread.py +689 -0
- package/python/Lib/site-packages/anyio/functools.py +400 -0
- package/python/Lib/site-packages/anyio/itertools.py +632 -0
- package/python/Lib/site-packages/anyio/lowlevel.py +228 -0
- package/python/Lib/site-packages/anyio/py.typed +0 -0
- package/python/Lib/site-packages/anyio/pytest_plugin.py +408 -0
- package/python/Lib/site-packages/anyio/streams/__init__.py +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/buffered.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/file.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/memory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/stapled.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/text.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/__pycache__/tls.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/anyio/streams/buffered.py +212 -0
- package/python/Lib/site-packages/anyio/streams/file.py +162 -0
- package/python/Lib/site-packages/anyio/streams/memory.py +365 -0
- package/python/Lib/site-packages/anyio/streams/stapled.py +160 -0
- package/python/Lib/site-packages/anyio/streams/text.py +189 -0
- package/python/Lib/site-packages/anyio/streams/tls.py +450 -0
- package/python/Lib/site-packages/anyio/to_interpreter.py +246 -0
- package/python/Lib/site-packages/anyio/to_process.py +269 -0
- package/python/Lib/site-packages/anyio/to_thread.py +80 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/METADATA +108 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/RECORD +54 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/licenses/LICENSE +20 -0
- package/python/Lib/site-packages/anyio-4.16.0.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/attr/__init__.py +104 -0
- package/python/Lib/site-packages/attr/__init__.pyi +389 -0
- package/python/Lib/site-packages/attr/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_cmp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_funcs.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_make.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_next_gen.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/_version_info.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/converters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/filters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/setters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/__pycache__/validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attr/_cmp.py +160 -0
- package/python/Lib/site-packages/attr/_cmp.pyi +13 -0
- package/python/Lib/site-packages/attr/_compat.py +99 -0
- package/python/Lib/site-packages/attr/_config.py +31 -0
- package/python/Lib/site-packages/attr/_funcs.py +497 -0
- package/python/Lib/site-packages/attr/_make.py +3406 -0
- package/python/Lib/site-packages/attr/_next_gen.py +674 -0
- package/python/Lib/site-packages/attr/_typing_compat.pyi +15 -0
- package/python/Lib/site-packages/attr/_version_info.py +89 -0
- package/python/Lib/site-packages/attr/_version_info.pyi +9 -0
- package/python/Lib/site-packages/attr/converters.py +162 -0
- package/python/Lib/site-packages/attr/converters.pyi +19 -0
- package/python/Lib/site-packages/attr/exceptions.py +95 -0
- package/python/Lib/site-packages/attr/exceptions.pyi +17 -0
- package/python/Lib/site-packages/attr/filters.py +72 -0
- package/python/Lib/site-packages/attr/filters.pyi +6 -0
- package/python/Lib/site-packages/attr/py.typed +0 -0
- package/python/Lib/site-packages/attr/setters.py +79 -0
- package/python/Lib/site-packages/attr/setters.pyi +20 -0
- package/python/Lib/site-packages/attr/validators.py +750 -0
- package/python/Lib/site-packages/attr/validators.pyi +140 -0
- package/python/Lib/site-packages/attrs/__init__.py +72 -0
- package/python/Lib/site-packages/attrs/__init__.pyi +314 -0
- package/python/Lib/site-packages/attrs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/__pycache__/converters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/__pycache__/filters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/__pycache__/setters.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/__pycache__/validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/attrs/converters.py +3 -0
- package/python/Lib/site-packages/attrs/exceptions.py +3 -0
- package/python/Lib/site-packages/attrs/filters.py +3 -0
- package/python/Lib/site-packages/attrs/py.typed +0 -0
- package/python/Lib/site-packages/attrs/setters.py +3 -0
- package/python/Lib/site-packages/attrs/validators.py +3 -0
- package/python/Lib/site-packages/attrs-26.1.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/attrs-26.1.0.dist-info/METADATA +199 -0
- package/python/Lib/site-packages/attrs-26.1.0.dist-info/RECORD +36 -0
- package/python/Lib/site-packages/attrs-26.1.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/cffi/__init__.py +14 -0
- package/python/Lib/site-packages/cffi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/_cffi_gen_src.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/_imp_emulation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/_shimmed_dist_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/backend_ctypes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/cffi_opcode.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/commontypes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/cparser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/error.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/ffiplatform.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/gen_src.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/lock.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/model.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/pkgconfig.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/recompiler.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/setuptools_ext.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/vengine_cpy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/vengine_gen.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/__pycache__/verifier.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cffi/_cffi_errors.h +135 -0
- package/python/Lib/site-packages/cffi/_cffi_gen_src.py +216 -0
- package/python/Lib/site-packages/cffi/_cffi_include.h +397 -0
- package/python/Lib/site-packages/cffi/_embedding.h +512 -0
- package/python/Lib/site-packages/cffi/_imp_emulation.py +83 -0
- package/python/Lib/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/python/Lib/site-packages/cffi/api.py +960 -0
- package/python/Lib/site-packages/cffi/backend_ctypes.py +1120 -0
- package/python/Lib/site-packages/cffi/cffi_opcode.py +187 -0
- package/python/Lib/site-packages/cffi/commontypes.py +82 -0
- package/python/Lib/site-packages/cffi/cparser.py +1014 -0
- package/python/Lib/site-packages/cffi/error.py +31 -0
- package/python/Lib/site-packages/cffi/ffiplatform.py +113 -0
- package/python/Lib/site-packages/cffi/gen_src.py +5 -0
- package/python/Lib/site-packages/cffi/lock.py +30 -0
- package/python/Lib/site-packages/cffi/model.py +617 -0
- package/python/Lib/site-packages/cffi/parse_c_type.h +181 -0
- package/python/Lib/site-packages/cffi/pkgconfig.py +121 -0
- package/python/Lib/site-packages/cffi/recompiler.py +1586 -0
- package/python/Lib/site-packages/cffi/setuptools_ext.py +231 -0
- package/python/Lib/site-packages/cffi/vengine_cpy.py +1058 -0
- package/python/Lib/site-packages/cffi/vengine_gen.py +679 -0
- package/python/Lib/site-packages/cffi/verifier.py +306 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/METADATA +67 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/RECORD +33 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/entry_points.txt +5 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/python/Lib/site-packages/cffi-2.1.1.dist-info/top_level.txt +2 -0
- package/python/Lib/site-packages/claude_hands/__init__.py +55 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/actions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/elements.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/__pycache__/session.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/actions.py +1583 -0
- package/python/Lib/site-packages/claude_hands/api.py +232 -0
- package/python/Lib/site-packages/claude_hands/cli.py +365 -0
- package/python/Lib/site-packages/claude_hands/elements.py +416 -0
- package/python/Lib/site-packages/claude_hands/mshtml/__init__.py +19 -0
- package/python/Lib/site-packages/claude_hands/mshtml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/mshtml/__pycache__/activex.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/mshtml/__pycache__/core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/mshtml/activex.py +354 -0
- package/python/Lib/site-packages/claude_hands/mshtml/collect.js +205 -0
- package/python/Lib/site-packages/claude_hands/mshtml/core.py +1081 -0
- package/python/Lib/site-packages/claude_hands/office/__init__.py +26 -0
- package/python/Lib/site-packages/claude_hands/office/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/office/__pycache__/core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/office/__pycache__/hwp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/office/core.py +676 -0
- package/python/Lib/site-packages/claude_hands/office/hwp.py +198 -0
- package/python/Lib/site-packages/claude_hands/server.py +862 -0
- package/python/Lib/site-packages/claude_hands/session.py +438 -0
- package/python/Lib/site-packages/claude_hands/uia/__init__.py +13 -0
- package/python/Lib/site-packages/claude_hands/uia/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/uia/__pycache__/core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/uia/core.py +939 -0
- package/python/Lib/site-packages/claude_hands/win32/__init__.py +21 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/capture.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/controls.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/defs.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/input.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/lists.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/menus.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/__pycache__/windows.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/claude_hands/win32/capture.py +339 -0
- package/python/Lib/site-packages/claude_hands/win32/controls.py +481 -0
- package/python/Lib/site-packages/claude_hands/win32/defs.py +505 -0
- package/python/Lib/site-packages/claude_hands/win32/input.py +385 -0
- package/python/Lib/site-packages/claude_hands/win32/lists.py +556 -0
- package/python/Lib/site-packages/claude_hands/win32/menus.py +213 -0
- package/python/Lib/site-packages/claude_hands/win32/windows.py +607 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/METADATA +407 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/RECORD +34 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/REQUESTED +0 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/direct_url.json +1 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/entry_points.txt +3 -0
- package/python/Lib/site-packages/claude_hands-0.2.4.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/click/__init__.py +144 -0
- package/python/Lib/site-packages/click/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/_termui_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/_textwrap.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/_winconsole.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/decorators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/formatting.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/globals.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/shell_completion.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/termui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/testing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/click/_compat.py +590 -0
- package/python/Lib/site-packages/click/_termui_impl.py +970 -0
- package/python/Lib/site-packages/click/_textwrap.py +188 -0
- package/python/Lib/site-packages/click/_utils.py +45 -0
- package/python/Lib/site-packages/click/_winconsole.py +292 -0
- package/python/Lib/site-packages/click/core.py +3825 -0
- package/python/Lib/site-packages/click/decorators.py +625 -0
- package/python/Lib/site-packages/click/exceptions.py +378 -0
- package/python/Lib/site-packages/click/formatting.py +320 -0
- package/python/Lib/site-packages/click/globals.py +67 -0
- package/python/Lib/site-packages/click/parser.py +533 -0
- package/python/Lib/site-packages/click/py.typed +0 -0
- package/python/Lib/site-packages/click/shell_completion.py +796 -0
- package/python/Lib/site-packages/click/termui.py +1024 -0
- package/python/Lib/site-packages/click/testing.py +796 -0
- package/python/Lib/site-packages/click/types.py +1437 -0
- package/python/Lib/site-packages/click/utils.py +676 -0
- package/python/Lib/site-packages/click-8.5.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/click-8.5.1.dist-info/METADATA +83 -0
- package/python/Lib/site-packages/click-8.5.1.dist-info/RECORD +23 -0
- package/python/Lib/site-packages/click-8.5.1.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
- package/python/Lib/site-packages/comtypes/GUID.py +119 -0
- package/python/Lib/site-packages/comtypes/__init__.py +297 -0
- package/python/Lib/site-packages/comtypes/__pycache__/GUID.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_comobject.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_memberspec.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_meta.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_npsupport.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_safearray.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_tlib_version_checker.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/_vtbl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/automation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/clear_cache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/connectionpoints.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/errorinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/git.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/hresult.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/logutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/malloc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/messageloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/patcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/persist.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/safearray.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/shelllink.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/stream.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/typeinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/__pycache__/viewobject.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_comobject.py +549 -0
- package/python/Lib/site-packages/comtypes/_memberspec.py +757 -0
- package/python/Lib/site-packages/comtypes/_meta.py +100 -0
- package/python/Lib/site-packages/comtypes/_npsupport.py +172 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__init__.py +16 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/_cominterface_meta_patcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/activeobj.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/bstr.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/instancemethod.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/misc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/__pycache__/unknwn.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/_cominterface_meta_patcher.py +149 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/activeobj.py +61 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/bstr.py +45 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/instancemethod.py +12 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/misc.py +381 -0
- package/python/Lib/site-packages/comtypes/_post_coinit/unknwn.py +423 -0
- package/python/Lib/site-packages/comtypes/_safearray.py +177 -0
- package/python/Lib/site-packages/comtypes/_tlib_version_checker.py +18 -0
- package/python/Lib/site-packages/comtypes/_vtbl.py +435 -0
- package/python/Lib/site-packages/comtypes/automation.py +1273 -0
- package/python/Lib/site-packages/comtypes/clear_cache.py +53 -0
- package/python/Lib/site-packages/comtypes/client/__init__.py +43 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_activeobj.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_code_cache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_constants.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_create.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_events.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_generate.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/_managing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/dynamic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/__pycache__/lazybind.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/client/_activeobj.py +68 -0
- package/python/Lib/site-packages/comtypes/client/_code_cache.py +141 -0
- package/python/Lib/site-packages/comtypes/client/_constants.py +136 -0
- package/python/Lib/site-packages/comtypes/client/_create.py +183 -0
- package/python/Lib/site-packages/comtypes/client/_events.py +404 -0
- package/python/Lib/site-packages/comtypes/client/_generate.py +295 -0
- package/python/Lib/site-packages/comtypes/client/_managing.py +114 -0
- package/python/Lib/site-packages/comtypes/client/dynamic.py +177 -0
- package/python/Lib/site-packages/comtypes/client/lazybind.py +237 -0
- package/python/Lib/site-packages/comtypes/connectionpoints.py +168 -0
- package/python/Lib/site-packages/comtypes/errorinfo.py +175 -0
- package/python/Lib/site-packages/comtypes/gen/UIAutomationClient.py +929 -0
- package/python/Lib/site-packages/comtypes/gen/_00020430_0000_0000_C000_000000000046_0_2_0.py +515 -0
- package/python/Lib/site-packages/comtypes/gen/_944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0.py +6493 -0
- package/python/Lib/site-packages/comtypes/gen/__init__.py +1 -0
- package/python/Lib/site-packages/comtypes/gen/__pycache__/UIAutomationClient.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/gen/__pycache__/_00020430_0000_0000_C000_000000000046_0_2_0.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/gen/__pycache__/_944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/gen/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/gen/__pycache__/stdole.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/gen/stdole.py +48 -0
- package/python/Lib/site-packages/comtypes/git.py +77 -0
- package/python/Lib/site-packages/comtypes/hints.pyi +316 -0
- package/python/Lib/site-packages/comtypes/hresult.py +159 -0
- package/python/Lib/site-packages/comtypes/logutil.py +28 -0
- package/python/Lib/site-packages/comtypes/malloc.py +53 -0
- package/python/Lib/site-packages/comtypes/messageloop.py +72 -0
- package/python/Lib/site-packages/comtypes/patcher.py +76 -0
- package/python/Lib/site-packages/comtypes/persist.py +312 -0
- package/python/Lib/site-packages/comtypes/py.typed +0 -0
- package/python/Lib/site-packages/comtypes/safearray.py +499 -0
- package/python/Lib/site-packages/comtypes/server/__init__.py +89 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/automation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/connectionpoints.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/inprocserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/localserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/register.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/__pycache__/w_getopt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/server/automation.py +96 -0
- package/python/Lib/site-packages/comtypes/server/connectionpoints.py +173 -0
- package/python/Lib/site-packages/comtypes/server/inprocserver.py +158 -0
- package/python/Lib/site-packages/comtypes/server/localserver.py +98 -0
- package/python/Lib/site-packages/comtypes/server/register.py +479 -0
- package/python/Lib/site-packages/comtypes/server/w_getopt.py +48 -0
- package/python/Lib/site-packages/comtypes/shelllink.py +342 -0
- package/python/Lib/site-packages/comtypes/stream.py +68 -0
- package/python/Lib/site-packages/comtypes/test/TestComServer.idl +101 -0
- package/python/Lib/site-packages/comtypes/test/TestComServer.py +156 -0
- package/python/Lib/site-packages/comtypes/test/TestComServer.tlb +0 -0
- package/python/Lib/site-packages/comtypes/test/TestDispServer.idl +79 -0
- package/python/Lib/site-packages/comtypes/test/TestDispServer.py +110 -0
- package/python/Lib/site-packages/comtypes/test/TestDispServer.tlb +0 -0
- package/python/Lib/site-packages/comtypes/test/__init__.py +229 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/TestComServer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/TestDispServer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/find_memleak.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/gdi_helper.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/monikers_helper.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/runtests.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/setup.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_BSTR.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_DISPPARAMS.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_GUID.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_QueryService.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_agilent.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_avmc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_basic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_bctx.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_casesensitivity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_classfactory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_clear_cache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_client.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_client_dynamic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_client_regenerate_modules.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_collections.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_comobject.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_compatibility_tlbparser_VT_I1_assignment.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_comserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_connectionpoints.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_cpp_safearray.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_createwrappers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_dict.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_dispifc_records.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_dispifc_safearrays.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_dispinterface.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_dyndispatch.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_errorinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_eventinterface.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_excel.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_findgendir.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_fixed_point_marshaling.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_fixed_point_numbers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_getactiveobj.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_git.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_hresult.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_ienum.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_imfattributes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_inout_args.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_logutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_malloc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_messageloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_midl_safearray_create.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_moniker.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_msscript.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_npsupport.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_outparam.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_packing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_persist.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_pump_events.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_puredispatch.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_record_safearray_bstr.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_record_safearray_value.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_recordinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_rot.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_safearray.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_sapi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_server_automation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_server_register.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_shelllink.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_showevents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_storage.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_stream.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_string_safearray_inside_variant.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_subinterface.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_typeannotator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_typeinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_typeinfo_create.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_urlhistory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_variant.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_variant_error.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_variant_outparam.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_viewobject.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_w_getopt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_win32com_interop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/test_word.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/__pycache__/time_structs_helper.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/test/find_memleak.py +72 -0
- package/python/Lib/site-packages/comtypes/test/gdi_helper.py +202 -0
- package/python/Lib/site-packages/comtypes/test/monikers_helper.py +73 -0
- package/python/Lib/site-packages/comtypes/test/mylib.idl +40 -0
- package/python/Lib/site-packages/comtypes/test/mylib.tlb +0 -0
- package/python/Lib/site-packages/comtypes/test/mytypelib.idl +99 -0
- package/python/Lib/site-packages/comtypes/test/runtests.py +11 -0
- package/python/Lib/site-packages/comtypes/test/setup.py +7 -0
- package/python/Lib/site-packages/comtypes/test/test_BSTR.py +46 -0
- package/python/Lib/site-packages/comtypes/test/test_DISPPARAMS.py +44 -0
- package/python/Lib/site-packages/comtypes/test/test_GUID.py +57 -0
- package/python/Lib/site-packages/comtypes/test/test_QueryService.py +61 -0
- package/python/Lib/site-packages/comtypes/test/test_agilent.py +97 -0
- package/python/Lib/site-packages/comtypes/test/test_avmc.py +44 -0
- package/python/Lib/site-packages/comtypes/test/test_basic.py +142 -0
- package/python/Lib/site-packages/comtypes/test/test_bctx.py +143 -0
- package/python/Lib/site-packages/comtypes/test/test_casesensitivity.py +32 -0
- package/python/Lib/site-packages/comtypes/test/test_classfactory.py +64 -0
- package/python/Lib/site-packages/comtypes/test/test_clear_cache.py +26 -0
- package/python/Lib/site-packages/comtypes/test/test_client.py +386 -0
- package/python/Lib/site-packages/comtypes/test/test_client_dynamic.py +138 -0
- package/python/Lib/site-packages/comtypes/test/test_client_regenerate_modules.py +158 -0
- package/python/Lib/site-packages/comtypes/test/test_collections.py +164 -0
- package/python/Lib/site-packages/comtypes/test/test_comobject.py +214 -0
- package/python/Lib/site-packages/comtypes/test/test_compatibility_tlbparser_VT_I1_assignment.py +566 -0
- package/python/Lib/site-packages/comtypes/test/test_comserver.py +385 -0
- package/python/Lib/site-packages/comtypes/test/test_connectionpoints.py +128 -0
- package/python/Lib/site-packages/comtypes/test/test_cpp_safearray.py +178 -0
- package/python/Lib/site-packages/comtypes/test/test_createwrappers.py +131 -0
- package/python/Lib/site-packages/comtypes/test/test_dict.py +141 -0
- package/python/Lib/site-packages/comtypes/test/test_dispifc_records.py +88 -0
- package/python/Lib/site-packages/comtypes/test/test_dispifc_safearrays.py +87 -0
- package/python/Lib/site-packages/comtypes/test/test_dispinterface.py +153 -0
- package/python/Lib/site-packages/comtypes/test/test_dyndispatch.py +98 -0
- package/python/Lib/site-packages/comtypes/test/test_errorinfo.py +115 -0
- package/python/Lib/site-packages/comtypes/test/test_eventinterface.py +155 -0
- package/python/Lib/site-packages/comtypes/test/test_excel.py +152 -0
- package/python/Lib/site-packages/comtypes/test/test_findgendir.py +86 -0
- package/python/Lib/site-packages/comtypes/test/test_fixed_point_marshaling.py +456 -0
- package/python/Lib/site-packages/comtypes/test/test_fixed_point_numbers.py +571 -0
- package/python/Lib/site-packages/comtypes/test/test_getactiveobj.py +98 -0
- package/python/Lib/site-packages/comtypes/test/test_git.py +175 -0
- package/python/Lib/site-packages/comtypes/test/test_hresult.py +87 -0
- package/python/Lib/site-packages/comtypes/test/test_ienum.py +29 -0
- package/python/Lib/site-packages/comtypes/test/test_imfattributes.py +39 -0
- package/python/Lib/site-packages/comtypes/test/test_inout_args.py +501 -0
- package/python/Lib/site-packages/comtypes/test/test_jscript.js +17 -0
- package/python/Lib/site-packages/comtypes/test/test_logutil.py +243 -0
- package/python/Lib/site-packages/comtypes/test/test_malloc.py +61 -0
- package/python/Lib/site-packages/comtypes/test/test_messageloop.py +116 -0
- package/python/Lib/site-packages/comtypes/test/test_midl_safearray_create.py +134 -0
- package/python/Lib/site-packages/comtypes/test/test_moniker.py +583 -0
- package/python/Lib/site-packages/comtypes/test/test_msscript.py +74 -0
- package/python/Lib/site-packages/comtypes/test/test_npsupport.py +452 -0
- package/python/Lib/site-packages/comtypes/test/test_outparam.py +77 -0
- package/python/Lib/site-packages/comtypes/test/test_packing.py +45 -0
- package/python/Lib/site-packages/comtypes/test/test_persist.py +71 -0
- package/python/Lib/site-packages/comtypes/test/test_pump_events.py +17 -0
- package/python/Lib/site-packages/comtypes/test/test_puredispatch.py +98 -0
- package/python/Lib/site-packages/comtypes/test/test_record_safearray_bstr.py +480 -0
- package/python/Lib/site-packages/comtypes/test/test_record_safearray_value.py +403 -0
- package/python/Lib/site-packages/comtypes/test/test_recordinfo.py +77 -0
- package/python/Lib/site-packages/comtypes/test/test_rot.py +94 -0
- package/python/Lib/site-packages/comtypes/test/test_safearray.py +227 -0
- package/python/Lib/site-packages/comtypes/test/test_sapi.py +37 -0
- package/python/Lib/site-packages/comtypes/test/test_server.py +350 -0
- package/python/Lib/site-packages/comtypes/test/test_server_automation.py +135 -0
- package/python/Lib/site-packages/comtypes/test/test_server_register.py +525 -0
- package/python/Lib/site-packages/comtypes/test/test_shelllink.py +207 -0
- package/python/Lib/site-packages/comtypes/test/test_showevents.py +35 -0
- package/python/Lib/site-packages/comtypes/test/test_storage.py +329 -0
- package/python/Lib/site-packages/comtypes/test/test_stream.py +607 -0
- package/python/Lib/site-packages/comtypes/test/test_string_safearray_inside_variant.py +138 -0
- package/python/Lib/site-packages/comtypes/test/test_subinterface.py +14 -0
- package/python/Lib/site-packages/comtypes/test/test_typeannotator.py +171 -0
- package/python/Lib/site-packages/comtypes/test/test_typeinfo.py +251 -0
- package/python/Lib/site-packages/comtypes/test/test_typeinfo_create.py +449 -0
- package/python/Lib/site-packages/comtypes/test/test_urlhistory.py +61 -0
- package/python/Lib/site-packages/comtypes/test/test_util.py +227 -0
- package/python/Lib/site-packages/comtypes/test/test_variant.py +486 -0
- package/python/Lib/site-packages/comtypes/test/test_variant_error.py +68 -0
- package/python/Lib/site-packages/comtypes/test/test_variant_outparam.py +71 -0
- package/python/Lib/site-packages/comtypes/test/test_viewobject.py +117 -0
- package/python/Lib/site-packages/comtypes/test/test_w_getopt.py +29 -0
- package/python/Lib/site-packages/comtypes/test/test_win32com_interop.py +163 -0
- package/python/Lib/site-packages/comtypes/test/test_word.py +92 -0
- package/python/Lib/site-packages/comtypes/test/time_structs_helper.py +39 -0
- package/python/Lib/site-packages/comtypes/test/urlhist.tlb +0 -0
- package/python/Lib/site-packages/comtypes/tools/__init__.py +1 -0
- package/python/Lib/site-packages/comtypes/tools/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/__pycache__/tlbparser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/__pycache__/typedesc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/__pycache__/typedesc_base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__init__.py +5 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/codegenerator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/heads.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/helpers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/modulenamer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/namespaces.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/packing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/__pycache__/typeannotator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/codegenerator.py +757 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/heads.py +158 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/helpers.py +348 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/modulenamer.py +23 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/namespaces.py +305 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/packing.py +82 -0
- package/python/Lib/site-packages/comtypes/tools/codegenerator/typeannotator.py +401 -0
- package/python/Lib/site-packages/comtypes/tools/tlbparser.py +833 -0
- package/python/Lib/site-packages/comtypes/tools/typedesc.py +280 -0
- package/python/Lib/site-packages/comtypes/tools/typedesc_base.py +278 -0
- package/python/Lib/site-packages/comtypes/typeinfo.py +1442 -0
- package/python/Lib/site-packages/comtypes/util.py +198 -0
- package/python/Lib/site-packages/comtypes/viewobject.py +237 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/METADATA +105 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/RECORD +167 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/licenses/LICENSE.txt +24 -0
- package/python/Lib/site-packages/comtypes-1.5.0.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/cryptography/__about__.py +17 -0
- package/python/Lib/site-packages/cryptography/__init__.py +13 -0
- package/python/Lib/site-packages/cryptography/__pycache__/__about__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/__pycache__/cobblestone.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/__pycache__/fernet.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/cobblestone.py +21 -0
- package/python/Lib/site-packages/cryptography/exceptions.py +52 -0
- package/python/Lib/site-packages/cryptography/fernet.py +240 -0
- package/python/Lib/site-packages/cryptography/hazmat/__init__.py +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/__pycache__/_oid.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/_oid.py +373 -0
- package/python/Lib/site-packages/cryptography/hazmat/asn1/__init__.py +47 -0
- package/python/Lib/site-packages/cryptography/hazmat/asn1/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/asn1/__pycache__/asn1.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/asn1/asn1.py +533 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/backends/openssl/backend.py +309 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +67 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/cobblestone.pyi +33 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +133 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +82 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +189 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +30 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi +109 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +205 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keywrap.pyi +28 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mldsa.pyi +35 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mlkem.pyi +18 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/_rust.pyd +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +199 -0
- package/python/Lib/site-packages/cryptography/hazmat/bindings/openssl/binding.py +107 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__pycache__/algorithms.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__pycache__/modes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +145 -0
- package/python/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/modes.py +53 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/_modes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/cmac.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/hashes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/hmac.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/hpke.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/keywrap.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/padding.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/_modes.py +105 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/_serialization.py +136 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +5 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/mldsa.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/mlkem.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +253 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +179 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +369 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +116 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +143 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mldsa.py +505 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mlkem.py +278 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +141 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +295 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +94 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +28 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +134 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +137 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +138 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +192 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/hashes.py +357 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/hpke.py +27 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +32 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/argon2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +17 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +16 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +26 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +13 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py +25 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +85 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/base.py +16 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +412 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1615 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
- package/python/Lib/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
- package/python/Lib/site-packages/cryptography/py.typed +0 -0
- package/python/Lib/site-packages/cryptography/utils.py +136 -0
- package/python/Lib/site-packages/cryptography/x509/__init__.py +270 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/certificate_transparency.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/extensions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/general_name.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/name.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/ocsp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/oid.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/__pycache__/verification.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/cryptography/x509/base.py +834 -0
- package/python/Lib/site-packages/cryptography/x509/certificate_transparency.py +35 -0
- package/python/Lib/site-packages/cryptography/x509/extensions.py +2533 -0
- package/python/Lib/site-packages/cryptography/x509/general_name.py +281 -0
- package/python/Lib/site-packages/cryptography/x509/name.py +489 -0
- package/python/Lib/site-packages/cryptography/x509/ocsp.py +379 -0
- package/python/Lib/site-packages/cryptography/x509/oid.py +37 -0
- package/python/Lib/site-packages/cryptography/x509/verification.py +34 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/RECORD +121 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/cryptography-rust.cyclonedx.json +1365 -0
- package/python/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/sbom.json +43 -0
- package/python/Lib/site-packages/h11/__init__.py +62 -0
- package/python/Lib/site-packages/h11/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_abnf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_connection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_events.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_headers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_readers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_receivebuffer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_state.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/__pycache__/_writers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/h11/_abnf.py +132 -0
- package/python/Lib/site-packages/h11/_connection.py +659 -0
- package/python/Lib/site-packages/h11/_events.py +369 -0
- package/python/Lib/site-packages/h11/_headers.py +282 -0
- package/python/Lib/site-packages/h11/_readers.py +250 -0
- package/python/Lib/site-packages/h11/_receivebuffer.py +153 -0
- package/python/Lib/site-packages/h11/_state.py +365 -0
- package/python/Lib/site-packages/h11/_util.py +135 -0
- package/python/Lib/site-packages/h11/_version.py +16 -0
- package/python/Lib/site-packages/h11/_writers.py +145 -0
- package/python/Lib/site-packages/h11/py.typed +1 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/METADATA +202 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/RECORD +18 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/python/Lib/site-packages/h11-0.16.0.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/httpcore2/__init__.py +141 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_models.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_ssl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_synchronization.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_trace.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_api.py +95 -0
- package/python/Lib/site-packages/httpcore2/_async/__init__.py +39 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/connection_pool.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/http11.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/http2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/http_proxy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/interfaces.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/__pycache__/socks_proxy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_async/connection.py +209 -0
- package/python/Lib/site-packages/httpcore2/_async/connection_pool.py +448 -0
- package/python/Lib/site-packages/httpcore2/_async/http11.py +354 -0
- package/python/Lib/site-packages/httpcore2/_async/http2.py +582 -0
- package/python/Lib/site-packages/httpcore2/_async/http_proxy.py +373 -0
- package/python/Lib/site-packages/httpcore2/_async/interfaces.py +156 -0
- package/python/Lib/site-packages/httpcore2/_async/socks_proxy.py +342 -0
- package/python/Lib/site-packages/httpcore2/_backends/__init__.py +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/anyio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/auto.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/mock.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/sync.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/__pycache__/trio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_backends/anyio.py +151 -0
- package/python/Lib/site-packages/httpcore2/_backends/auto.py +51 -0
- package/python/Lib/site-packages/httpcore2/_backends/base.py +98 -0
- package/python/Lib/site-packages/httpcore2/_backends/mock.py +144 -0
- package/python/Lib/site-packages/httpcore2/_backends/sync.py +236 -0
- package/python/Lib/site-packages/httpcore2/_backends/trio.py +158 -0
- package/python/Lib/site-packages/httpcore2/_exceptions.py +83 -0
- package/python/Lib/site-packages/httpcore2/_models.py +482 -0
- package/python/Lib/site-packages/httpcore2/_ssl.py +40 -0
- package/python/Lib/site-packages/httpcore2/_sync/__init__.py +39 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/connection_pool.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/http11.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/http2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/http_proxy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/interfaces.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/__pycache__/socks_proxy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpcore2/_sync/connection.py +209 -0
- package/python/Lib/site-packages/httpcore2/_sync/connection_pool.py +448 -0
- package/python/Lib/site-packages/httpcore2/_sync/http11.py +354 -0
- package/python/Lib/site-packages/httpcore2/_sync/http2.py +582 -0
- package/python/Lib/site-packages/httpcore2/_sync/http_proxy.py +373 -0
- package/python/Lib/site-packages/httpcore2/_sync/interfaces.py +156 -0
- package/python/Lib/site-packages/httpcore2/_sync/socks_proxy.py +342 -0
- package/python/Lib/site-packages/httpcore2/_synchronization.py +340 -0
- package/python/Lib/site-packages/httpcore2/_trace.py +105 -0
- package/python/Lib/site-packages/httpcore2/_types.py +17 -0
- package/python/Lib/site-packages/httpcore2/_utils.py +65 -0
- package/python/Lib/site-packages/httpcore2/py.typed +0 -0
- package/python/Lib/site-packages/httpcore2-2.17.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/httpcore2-2.17.0.dist-info/METADATA +814 -0
- package/python/Lib/site-packages/httpcore2-2.17.0.dist-info/RECORD +38 -0
- package/python/Lib/site-packages/httpcore2-2.17.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/httpcore2-2.17.0.dist-info/licenses/LICENSE.md +28 -0
- package/python/Lib/site-packages/httpx2/__init__.py +130 -0
- package/python/Lib/site-packages/httpx2/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/__version__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_alias.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_auth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_client.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_content.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_cookies.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_decoders.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_main.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_models.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_multipart.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_sse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_status_codes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_urlparse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_urls.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/__version__.py +5 -0
- package/python/Lib/site-packages/httpx2/_alias.py +71 -0
- package/python/Lib/site-packages/httpx2/_api.py +532 -0
- package/python/Lib/site-packages/httpx2/_auth.py +335 -0
- package/python/Lib/site-packages/httpx2/_client.py +2239 -0
- package/python/Lib/site-packages/httpx2/_config.py +225 -0
- package/python/Lib/site-packages/httpx2/_content.py +237 -0
- package/python/Lib/site-packages/httpx2/_cookies.py +78 -0
- package/python/Lib/site-packages/httpx2/_decoders.py +459 -0
- package/python/Lib/site-packages/httpx2/_exceptions.py +380 -0
- package/python/Lib/site-packages/httpx2/_main.py +484 -0
- package/python/Lib/site-packages/httpx2/_models.py +1321 -0
- package/python/Lib/site-packages/httpx2/_multipart.py +285 -0
- package/python/Lib/site-packages/httpx2/_sse.py +226 -0
- package/python/Lib/site-packages/httpx2/_status_codes.py +190 -0
- package/python/Lib/site-packages/httpx2/_transports/__init__.py +27 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/asgi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/default.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/mock.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/__pycache__/wsgi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/_transports/asgi.py +179 -0
- package/python/Lib/site-packages/httpx2/_transports/base.py +79 -0
- package/python/Lib/site-packages/httpx2/_transports/default.py +405 -0
- package/python/Lib/site-packages/httpx2/_transports/mock.py +40 -0
- package/python/Lib/site-packages/httpx2/_transports/wsgi.py +146 -0
- package/python/Lib/site-packages/httpx2/_types.py +88 -0
- package/python/Lib/site-packages/httpx2/_urlparse.py +514 -0
- package/python/Lib/site-packages/httpx2/_urls.py +696 -0
- package/python/Lib/site-packages/httpx2/_utils.py +287 -0
- package/python/Lib/site-packages/httpx2/py.typed +0 -0
- package/python/Lib/site-packages/httpx2/websockets/__init__.py +57 -0
- package/python/Lib/site-packages/httpx2/websockets/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/websockets/__pycache__/_api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/websockets/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/websockets/__pycache__/_ping.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/websockets/__pycache__/_transport.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/httpx2/websockets/_api.py +1675 -0
- package/python/Lib/site-packages/httpx2/websockets/_exceptions.py +55 -0
- package/python/Lib/site-packages/httpx2/websockets/_ping.py +43 -0
- package/python/Lib/site-packages/httpx2/websockets/_transport.py +288 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/METADATA +252 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/RECORD +39 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/httpx2-2.17.0.dist-info/licenses/LICENSE.md +13 -0
- package/python/Lib/site-packages/idna/__init__.py +47 -0
- package/python/Lib/site-packages/idna/__main__.py +6 -0
- package/python/Lib/site-packages/idna/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/codec.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/compat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/idnadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/intranges.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/package_data.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/__pycache__/uts46data.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/idna/cli.py +132 -0
- package/python/Lib/site-packages/idna/codec.py +225 -0
- package/python/Lib/site-packages/idna/compat.py +43 -0
- package/python/Lib/site-packages/idna/core.py +863 -0
- package/python/Lib/site-packages/idna/idnadata.py +1933 -0
- package/python/Lib/site-packages/idna/intranges.py +55 -0
- package/python/Lib/site-packages/idna/package_data.py +1 -0
- package/python/Lib/site-packages/idna/py.typed +0 -0
- package/python/Lib/site-packages/idna/uts46data.py +17117 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/METADATA +176 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/RECORD +18 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/entry_points.txt +3 -0
- package/python/Lib/site-packages/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/python/Lib/site-packages/isapi/PyISAPI_loader.dll +0 -0
- package/python/Lib/site-packages/isapi/README.txt +7 -0
- package/python/Lib/site-packages/isapi/__init__.py +39 -0
- package/python/Lib/site-packages/isapi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/__pycache__/install.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/__pycache__/isapicon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/__pycache__/simple.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/__pycache__/threaded_extension.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/doc/isapi.html +92 -0
- package/python/Lib/site-packages/isapi/install.py +807 -0
- package/python/Lib/site-packages/isapi/isapicon.py +121 -0
- package/python/Lib/site-packages/isapi/samples/README.txt +20 -0
- package/python/Lib/site-packages/isapi/samples/__pycache__/advanced.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/samples/__pycache__/redirector.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/samples/__pycache__/redirector_asynch.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/samples/__pycache__/redirector_with_filter.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/samples/__pycache__/test.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/samples/advanced.py +218 -0
- package/python/Lib/site-packages/isapi/samples/redirector.py +116 -0
- package/python/Lib/site-packages/isapi/samples/redirector_asynch.py +85 -0
- package/python/Lib/site-packages/isapi/samples/redirector_with_filter.py +162 -0
- package/python/Lib/site-packages/isapi/samples/test.py +195 -0
- package/python/Lib/site-packages/isapi/simple.py +73 -0
- package/python/Lib/site-packages/isapi/test/README.txt +3 -0
- package/python/Lib/site-packages/isapi/test/__pycache__/extension_simple.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/isapi/test/extension_simple.py +114 -0
- package/python/Lib/site-packages/isapi/threaded_extension.py +193 -0
- package/python/Lib/site-packages/jsonschema/__init__.py +120 -0
- package/python/Lib/site-packages/jsonschema/__main__.py +6 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_format.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_keywords.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_legacy_keywords.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_typing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/protocols.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/__pycache__/validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/_format.py +546 -0
- package/python/Lib/site-packages/jsonschema/_keywords.py +449 -0
- package/python/Lib/site-packages/jsonschema/_legacy_keywords.py +449 -0
- package/python/Lib/site-packages/jsonschema/_types.py +204 -0
- package/python/Lib/site-packages/jsonschema/_typing.py +29 -0
- package/python/Lib/site-packages/jsonschema/_utils.py +355 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__init__.py +5 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/const_vs_enum.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/contains.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/import_benchmark.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/issue232.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/nested_schemas.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/subcomponents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/unused_registry.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/useless_applicator_schemas.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/useless_keywords.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/__pycache__/validator_creation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/const_vs_enum.py +30 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/contains.py +28 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/import_benchmark.py +31 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/issue232/issue.json +2653 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/issue232.py +25 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/json_schema_test_suite.py +12 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/nested_schemas.py +56 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/subcomponents.py +42 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/unused_registry.py +35 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/useless_applicator_schemas.py +106 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/useless_keywords.py +32 -0
- package/python/Lib/site-packages/jsonschema/benchmarks/validator_creation.py +14 -0
- package/python/Lib/site-packages/jsonschema/cli.py +292 -0
- package/python/Lib/site-packages/jsonschema/exceptions.py +490 -0
- package/python/Lib/site-packages/jsonschema/protocols.py +230 -0
- package/python/Lib/site-packages/jsonschema/tests/__init__.py +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/_suite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/fuzz_validate.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_deprecations.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_format.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/__pycache__/test_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/_suite.py +285 -0
- package/python/Lib/site-packages/jsonschema/tests/fuzz_validate.py +50 -0
- package/python/Lib/site-packages/jsonschema/tests/test_cli.py +904 -0
- package/python/Lib/site-packages/jsonschema/tests/test_deprecations.py +432 -0
- package/python/Lib/site-packages/jsonschema/tests/test_exceptions.py +759 -0
- package/python/Lib/site-packages/jsonschema/tests/test_format.py +91 -0
- package/python/Lib/site-packages/jsonschema/tests/test_jsonschema_test_suite.py +262 -0
- package/python/Lib/site-packages/jsonschema/tests/test_types.py +221 -0
- package/python/Lib/site-packages/jsonschema/tests/test_utils.py +138 -0
- package/python/Lib/site-packages/jsonschema/tests/test_validators.py +2573 -0
- package/python/Lib/site-packages/jsonschema/tests/typing/__init__.py +0 -0
- package/python/Lib/site-packages/jsonschema/tests/typing/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/typing/__pycache__/test_all_concrete_validators_match_protocol.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema/tests/typing/test_all_concrete_validators_match_protocol.py +38 -0
- package/python/Lib/site-packages/jsonschema/validators.py +1410 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/RECORD +45 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/python/Lib/site-packages/jsonschema_specifications/__init__.py +12 -0
- package/python/Lib/site-packages/jsonschema_specifications/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema_specifications/__pycache__/_core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema_specifications/_core.py +38 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- package/python/Lib/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- package/python/Lib/site-packages/jsonschema_specifications/tests/__init__.py +0 -0
- package/python/Lib/site-packages/jsonschema_specifications/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema_specifications/tests/__pycache__/test_jsonschema_specifications.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py +41 -0
- package/python/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/python/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/RECORD +29 -0
- package/python/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/python/Lib/site-packages/jwt/__init__.py +78 -0
- package/python/Lib/site-packages/jwt/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/algorithms.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/api_jwk.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/api_jws.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/api_jwt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/help.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/jwk_set_cache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/jwks_client.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/__pycache__/warnings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/jwt/algorithms.py +1121 -0
- package/python/Lib/site-packages/jwt/api_jwk.py +196 -0
- package/python/Lib/site-packages/jwt/api_jws.py +485 -0
- package/python/Lib/site-packages/jwt/api_jwt.py +595 -0
- package/python/Lib/site-packages/jwt/exceptions.py +113 -0
- package/python/Lib/site-packages/jwt/help.py +66 -0
- package/python/Lib/site-packages/jwt/jwk_set_cache.py +47 -0
- package/python/Lib/site-packages/jwt/jwks_client.py +333 -0
- package/python/Lib/site-packages/jwt/py.typed +0 -0
- package/python/Lib/site-packages/jwt/types.py +69 -0
- package/python/Lib/site-packages/jwt/utils.py +146 -0
- package/python/Lib/site-packages/jwt/warnings.py +11 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__init__.py +3 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__main__.py +5 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/classic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/common.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/desktop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/digits.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/kakao.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/listparse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/ocr.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/qt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/stealth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/__pycache__/win.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp/classic.py +837 -0
- package/python/Lib/site-packages/kakao_pc_mcp/cli.py +112 -0
- package/python/Lib/site-packages/kakao_pc_mcp/common.py +33 -0
- package/python/Lib/site-packages/kakao_pc_mcp/desktop.py +136 -0
- package/python/Lib/site-packages/kakao_pc_mcp/digits.py +161 -0
- package/python/Lib/site-packages/kakao_pc_mcp/kakao.py +122 -0
- package/python/Lib/site-packages/kakao_pc_mcp/listparse.py +198 -0
- package/python/Lib/site-packages/kakao_pc_mcp/ocr.py +165 -0
- package/python/Lib/site-packages/kakao_pc_mcp/qt.py +455 -0
- package/python/Lib/site-packages/kakao_pc_mcp/server.py +232 -0
- package/python/Lib/site-packages/kakao_pc_mcp/stealth.py +266 -0
- package/python/Lib/site-packages/kakao_pc_mcp/win.py +409 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/METADATA +164 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/RECORD +23 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/REQUESTED +0 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/direct_url.json +1 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/kakao_pc_mcp-0.5.5.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/mcp/__init__.py +145 -0
- package/python/Lib/site-packages/mcp/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/cli/__init__.py +6 -0
- package/python/Lib/site-packages/mcp/cli/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/cli/__pycache__/claude.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/cli/__pycache__/cli.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/cli/claude.py +170 -0
- package/python/Lib/site-packages/mcp/cli/cli.py +486 -0
- package/python/Lib/site-packages/mcp/client/__init__.py +44 -0
- package/python/Lib/site-packages/mcp/client/__main__.py +81 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/_input_required.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/_memory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/_probe.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/_transport.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/caching.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/client.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/extension.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/session.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/session_group.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/sse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/stdio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/streamable_http.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/__pycache__/subscriptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/_input_required.py +127 -0
- package/python/Lib/site-packages/mcp/client/_memory.py +109 -0
- package/python/Lib/site-packages/mcp/client/_probe.py +114 -0
- package/python/Lib/site-packages/mcp/client/_transport.py +21 -0
- package/python/Lib/site-packages/mcp/client/auth/__init__.py +22 -0
- package/python/Lib/site-packages/mcp/client/auth/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/__pycache__/oauth2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/exceptions.py +10 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/__init__.py +0 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/__pycache__/client_credentials.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/__pycache__/identity_assertion.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/client_credentials.py +416 -0
- package/python/Lib/site-packages/mcp/client/auth/extensions/identity_assertion.py +216 -0
- package/python/Lib/site-packages/mcp/client/auth/oauth2.py +793 -0
- package/python/Lib/site-packages/mcp/client/auth/utils.py +442 -0
- package/python/Lib/site-packages/mcp/client/caching.py +387 -0
- package/python/Lib/site-packages/mcp/client/client.py +985 -0
- package/python/Lib/site-packages/mcp/client/context.py +5 -0
- package/python/Lib/site-packages/mcp/client/extension.py +196 -0
- package/python/Lib/site-packages/mcp/client/session.py +1506 -0
- package/python/Lib/site-packages/mcp/client/session_group.py +453 -0
- package/python/Lib/site-packages/mcp/client/sse.py +171 -0
- package/python/Lib/site-packages/mcp/client/stdio.py +355 -0
- package/python/Lib/site-packages/mcp/client/streamable_http.py +793 -0
- package/python/Lib/site-packages/mcp/client/subscriptions.py +282 -0
- package/python/Lib/site-packages/mcp/os/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/os/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/os/posix/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/os/posix/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/os/posix/__pycache__/utilities.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/os/posix/utilities.py +63 -0
- package/python/Lib/site-packages/mcp/os/win32/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/os/win32/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/os/win32/__pycache__/utilities.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/os/win32/utilities.py +292 -0
- package/python/Lib/site-packages/mcp/py.typed +0 -0
- package/python/Lib/site-packages/mcp/server/__init__.py +7 -0
- package/python/Lib/site-packages/mcp/server/__main__.py +24 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/_otel.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/_streamable_http_modern.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/apps.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/caching.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/elicitation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/extension.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/fastmcp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/models.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/request_state.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/runner.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/session.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/sse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/stdio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/streamable_http.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/streamable_http_manager.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/subscriptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/transport_security.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/__pycache__/validation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/_otel.py +72 -0
- package/python/Lib/site-packages/mcp/server/_streamable_http_modern.py +526 -0
- package/python/Lib/site-packages/mcp/server/apps.py +241 -0
- package/python/Lib/site-packages/mcp/server/auth/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/json_response.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/provider.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/routes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/__pycache__/settings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/errors.py +5 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/authorize.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/metadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/register.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/revoke.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/__pycache__/token.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/authorize.py +221 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/metadata.py +29 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/register.py +154 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/revoke.py +87 -0
- package/python/Lib/site-packages/mcp/server/auth/handlers/token.py +275 -0
- package/python/Lib/site-packages/mcp/server/auth/json_response.py +10 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/__pycache__/auth_context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/__pycache__/bearer_auth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/__pycache__/client_auth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/auth_context.py +46 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/bearer_auth.py +165 -0
- package/python/Lib/site-packages/mcp/server/auth/middleware/client_auth.py +119 -0
- package/python/Lib/site-packages/mcp/server/auth/provider.py +380 -0
- package/python/Lib/site-packages/mcp/server/auth/routes.py +261 -0
- package/python/Lib/site-packages/mcp/server/auth/settings.py +70 -0
- package/python/Lib/site-packages/mcp/server/caching.py +85 -0
- package/python/Lib/site-packages/mcp/server/connection.py +493 -0
- package/python/Lib/site-packages/mcp/server/context.py +194 -0
- package/python/Lib/site-packages/mcp/server/elicitation.py +191 -0
- package/python/Lib/site-packages/mcp/server/extension.py +185 -0
- package/python/Lib/site-packages/mcp/server/fastmcp.py +16 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/__init__.py +3 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/__pycache__/helper_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/__pycache__/server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/helper_types.py +11 -0
- package/python/Lib/site-packages/mcp/server/lowlevel/server.py +852 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__init__.py +61 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__pycache__/context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__pycache__/resolve.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/__pycache__/server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/context.py +391 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/exceptions.py +76 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/__init__.py +4 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/__pycache__/manager.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/base.py +213 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/prompts/manager.py +67 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resolve.py +846 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__init__.py +26 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__pycache__/resource_manager.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__pycache__/templates.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/base.py +43 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/resource_manager.py +137 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/templates.py +248 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/resources/types.py +230 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/server.py +1418 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/__init__.py +4 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/__pycache__/tool_manager.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/base.py +213 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/tools/tool_manager.py +87 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__init__.py +1 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__pycache__/context_injection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__pycache__/func_metadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__pycache__/logging.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/context_injection.py +68 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/func_metadata.py +655 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/logging.py +39 -0
- package/python/Lib/site-packages/mcp/server/mcpserver/utilities/types.py +101 -0
- package/python/Lib/site-packages/mcp/server/models.py +17 -0
- package/python/Lib/site-packages/mcp/server/request_state.py +454 -0
- package/python/Lib/site-packages/mcp/server/runner.py +872 -0
- package/python/Lib/site-packages/mcp/server/session.py +489 -0
- package/python/Lib/site-packages/mcp/server/sse.py +287 -0
- package/python/Lib/site-packages/mcp/server/stdio.py +217 -0
- package/python/Lib/site-packages/mcp/server/streamable_http.py +1135 -0
- package/python/Lib/site-packages/mcp/server/streamable_http_manager.py +427 -0
- package/python/Lib/site-packages/mcp/server/subscriptions.py +254 -0
- package/python/Lib/site-packages/mcp/server/transport_security.py +183 -0
- package/python/Lib/site-packages/mcp/server/validation.py +93 -0
- package/python/Lib/site-packages/mcp/shared/__init__.py +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_callable_inspection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_context_streams.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_httpx_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_otel.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_request_clock.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/_stream_protocols.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/auth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/auth_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/direct_dispatcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/dispatcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/extension.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/inbound.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/jsonrpc_dispatcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/memory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/message.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/metadata_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/path_security.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/peer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/subscriptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/tool_name_validation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/transport_context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/__pycache__/uri_template.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/shared/_callable_inspection.py +33 -0
- package/python/Lib/site-packages/mcp/shared/_compat.py +19 -0
- package/python/Lib/site-packages/mcp/shared/_context_streams.py +119 -0
- package/python/Lib/site-packages/mcp/shared/_httpx_utils.py +222 -0
- package/python/Lib/site-packages/mcp/shared/_otel.py +60 -0
- package/python/Lib/site-packages/mcp/shared/_request_clock.py +81 -0
- package/python/Lib/site-packages/mcp/shared/_stream_protocols.py +49 -0
- package/python/Lib/site-packages/mcp/shared/auth.py +258 -0
- package/python/Lib/site-packages/mcp/shared/auth_utils.py +80 -0
- package/python/Lib/site-packages/mcp/shared/context.py +85 -0
- package/python/Lib/site-packages/mcp/shared/direct_dispatcher.py +337 -0
- package/python/Lib/site-packages/mcp/shared/dispatcher.py +283 -0
- package/python/Lib/site-packages/mcp/shared/exceptions.py +119 -0
- package/python/Lib/site-packages/mcp/shared/extension.py +28 -0
- package/python/Lib/site-packages/mcp/shared/inbound.py +595 -0
- package/python/Lib/site-packages/mcp/shared/jsonrpc_dispatcher.py +856 -0
- package/python/Lib/site-packages/mcp/shared/memory.py +33 -0
- package/python/Lib/site-packages/mcp/shared/message.py +63 -0
- package/python/Lib/site-packages/mcp/shared/metadata_utils.py +46 -0
- package/python/Lib/site-packages/mcp/shared/path_security.py +176 -0
- package/python/Lib/site-packages/mcp/shared/peer.py +240 -0
- package/python/Lib/site-packages/mcp/shared/subscriptions.py +111 -0
- package/python/Lib/site-packages/mcp/shared/tool_name_validation.py +129 -0
- package/python/Lib/site-packages/mcp/shared/transport_context.py +45 -0
- package/python/Lib/site-packages/mcp/shared/uri_template.py +1116 -0
- package/python/Lib/site-packages/mcp/types/__init__.py +31 -0
- package/python/Lib/site-packages/mcp/types/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/types/__pycache__/jsonrpc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/types/__pycache__/methods.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/types/__pycache__/version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp/types/jsonrpc.py +13 -0
- package/python/Lib/site-packages/mcp/types/methods.py +13 -0
- package/python/Lib/site-packages/mcp/types/version.py +13 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/METADATA +172 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/RECORD +132 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/mcp_types/__init__.py +453 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/_wire_base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/jsonrpc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/methods.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/__pycache__/version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/_types.py +2198 -0
- package/python/Lib/site-packages/mcp_types/_v2025_11_25/__init__.py +3391 -0
- package/python/Lib/site-packages/mcp_types/_v2025_11_25/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/_v2026_07_28/__init__.py +3617 -0
- package/python/Lib/site-packages/mcp_types/_v2026_07_28/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/mcp_types/_wire_base.py +9 -0
- package/python/Lib/site-packages/mcp_types/jsonrpc.py +148 -0
- package/python/Lib/site-packages/mcp_types/methods.py +746 -0
- package/python/Lib/site-packages/mcp_types/py.typed +0 -0
- package/python/Lib/site-packages/mcp_types/version.py +74 -0
- package/python/Lib/site-packages/mcp_types-2.3.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/mcp_types-2.3.0.dist-info/METADATA +43 -0
- package/python/Lib/site-packages/mcp_types-2.3.0.dist-info/RECORD +14 -0
- package/python/Lib/site-packages/mcp_types-2.3.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/multipart/__init__.py +38 -0
- package/python/Lib/site-packages/multipart/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/multipart/__pycache__/decoders.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/multipart/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/multipart/__pycache__/multipart.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/multipart/decoders.py +1 -0
- package/python/Lib/site-packages/multipart/exceptions.py +1 -0
- package/python/Lib/site-packages/multipart/multipart.py +1 -0
- package/python/Lib/site-packages/opentelemetry/_logs/__init__.py +47 -0
- package/python/Lib/site-packages/opentelemetry/_logs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/_logs/_internal/__init__.py +484 -0
- package/python/Lib/site-packages/opentelemetry/_logs/_internal/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/_logs/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/_logs/severity/__init__.py +44 -0
- package/python/Lib/site-packages/opentelemetry/_logs/severity/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/attributes/__init__.py +243 -0
- package/python/Lib/site-packages/opentelemetry/attributes/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/attributes/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/baggage/__init__.py +122 -0
- package/python/Lib/site-packages/opentelemetry/baggage/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/baggage/propagation/__init__.py +179 -0
- package/python/Lib/site-packages/opentelemetry/baggage/propagation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/baggage/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/context/__init__.py +147 -0
- package/python/Lib/site-packages/opentelemetry/context/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/context/__pycache__/context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/context/__pycache__/contextvars_context.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/context/context.py +65 -0
- package/python/Lib/site-packages/opentelemetry/context/contextvars_context.py +43 -0
- package/python/Lib/site-packages/opentelemetry/context/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/environment_variables/__init__.py +72 -0
- package/python/Lib/site-packages/opentelemetry/environment_variables/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/environment_variables/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/metrics/__init__.py +121 -0
- package/python/Lib/site-packages/opentelemetry/metrics/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/__init__.py +892 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/__pycache__/instrument.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/__pycache__/observation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/instrument.py +540 -0
- package/python/Lib/site-packages/opentelemetry/metrics/_internal/observation.py +51 -0
- package/python/Lib/site-packages/opentelemetry/metrics/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/propagate/__init__.py +171 -0
- package/python/Lib/site-packages/opentelemetry/propagate/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/propagate/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/propagators/__pycache__/_envcarrier.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/propagators/__pycache__/composite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/propagators/__pycache__/textmap.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/propagators/_envcarrier.py +94 -0
- package/python/Lib/site-packages/opentelemetry/propagators/composite.py +78 -0
- package/python/Lib/site-packages/opentelemetry/propagators/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/propagators/textmap.py +181 -0
- package/python/Lib/site-packages/opentelemetry/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/__init__.py +661 -0
- package/python/Lib/site-packages/opentelemetry/trace/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/__pycache__/span.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/__pycache__/status.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/propagation/__init__.py +37 -0
- package/python/Lib/site-packages/opentelemetry/trace/propagation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/propagation/__pycache__/tracecontext.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/propagation/tracecontext.py +126 -0
- package/python/Lib/site-packages/opentelemetry/trace/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/trace/span.py +616 -0
- package/python/Lib/site-packages/opentelemetry/trace/status.py +68 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/_decorator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/_importlib_metadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/_once.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/_providers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/re.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/util/_decorator.py +75 -0
- package/python/Lib/site-packages/opentelemetry/util/_importlib_metadata.py +61 -0
- package/python/Lib/site-packages/opentelemetry/util/_once.py +36 -0
- package/python/Lib/site-packages/opentelemetry/util/_providers.py +42 -0
- package/python/Lib/site-packages/opentelemetry/util/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry/util/re.py +93 -0
- package/python/Lib/site-packages/opentelemetry/util/types.py +28 -0
- package/python/Lib/site-packages/opentelemetry/version/__init__.py +4 -0
- package/python/Lib/site-packages/opentelemetry/version/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/opentelemetry/version/py.typed +0 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/RECORD +48 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/entry_points.txt +15 -0
- package/python/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/METADATA +182 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/RECORD +121 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/licenses/LICENSE +1629 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/sboms/pillow-13.0.0.cdx.json +721 -0
- package/python/Lib/site-packages/pillow-13.0.0.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/pycparser/__init__.py +98 -0
- package/python/Lib/site-packages/pycparser/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/_ast_gen.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/ast_transforms.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/c_ast.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/c_generator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/c_lexer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/__pycache__/c_parser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pycparser/_ast_gen.py +385 -0
- package/python/Lib/site-packages/pycparser/_c_ast.cfg +268 -0
- package/python/Lib/site-packages/pycparser/ast_transforms.py +201 -0
- package/python/Lib/site-packages/pycparser/c_ast.py +1670 -0
- package/python/Lib/site-packages/pycparser/c_generator.py +866 -0
- package/python/Lib/site-packages/pycparser/c_lexer.py +861 -0
- package/python/Lib/site-packages/pycparser/c_parser.py +2759 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/METADATA +286 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/RECORD +14 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/python/Lib/site-packages/pycparser-3.12.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/pydantic/__init__.py +461 -0
- package/python/Lib/site-packages/pydantic/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/_migration.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/alias_generators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/aliases.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/annotated_handlers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/class_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/color.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/dataclasses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/datetime_parse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/decorator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/env_settings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/error_wrappers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/fields.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/functional_serializers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/functional_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/generics.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/json.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/json_schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/main.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/mypy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/networks.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/parse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/root_model.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/tools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/type_adapter.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/typing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/validate_call_decorator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/__pycache__/warnings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__init__.py +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_contextlib.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_core_metadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_core_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_dataclasses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_decorators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_decorators_v1.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_discriminated_union.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_docs_extraction.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_fields.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_forward_ref.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_generate_schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_generics.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_git.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_import_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_mock_val_ser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_model_construction.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_namespace_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_repr.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_schema_gather.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_schema_generation_shared.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_serializers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_signature.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_type_refs.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_typing_extra.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_validate_call.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/__pycache__/_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/_internal/_config.py +408 -0
- package/python/Lib/site-packages/pydantic/_internal/_contextlib.py +84 -0
- package/python/Lib/site-packages/pydantic/_internal/_core_metadata.py +97 -0
- package/python/Lib/site-packages/pydantic/_internal/_core_utils.py +156 -0
- package/python/Lib/site-packages/pydantic/_internal/_dataclasses.py +327 -0
- package/python/Lib/site-packages/pydantic/_internal/_decorators.py +906 -0
- package/python/Lib/site-packages/pydantic/_internal/_decorators_v1.py +174 -0
- package/python/Lib/site-packages/pydantic/_internal/_discriminated_union.py +510 -0
- package/python/Lib/site-packages/pydantic/_internal/_docs_extraction.py +128 -0
- package/python/Lib/site-packages/pydantic/_internal/_fields.py +910 -0
- package/python/Lib/site-packages/pydantic/_internal/_forward_ref.py +23 -0
- package/python/Lib/site-packages/pydantic/_internal/_generate_schema.py +3053 -0
- package/python/Lib/site-packages/pydantic/_internal/_generics.py +572 -0
- package/python/Lib/site-packages/pydantic/_internal/_git.py +27 -0
- package/python/Lib/site-packages/pydantic/_internal/_import_utils.py +20 -0
- package/python/Lib/site-packages/pydantic/_internal/_known_annotated_metadata.py +412 -0
- package/python/Lib/site-packages/pydantic/_internal/_mock_val_ser.py +241 -0
- package/python/Lib/site-packages/pydantic/_internal/_model_construction.py +833 -0
- package/python/Lib/site-packages/pydantic/_internal/_namespace_utils.py +300 -0
- package/python/Lib/site-packages/pydantic/_internal/_repr.py +129 -0
- package/python/Lib/site-packages/pydantic/_internal/_schema_gather.py +49 -0
- package/python/Lib/site-packages/pydantic/_internal/_schema_generation_shared.py +126 -0
- package/python/Lib/site-packages/pydantic/_internal/_serializers.py +59 -0
- package/python/Lib/site-packages/pydantic/_internal/_signature.py +193 -0
- package/python/Lib/site-packages/pydantic/_internal/_type_refs.py +128 -0
- package/python/Lib/site-packages/pydantic/_internal/_typing_extra.py +506 -0
- package/python/Lib/site-packages/pydantic/_internal/_utils.py +433 -0
- package/python/Lib/site-packages/pydantic/_internal/_validate_call.py +141 -0
- package/python/Lib/site-packages/pydantic/_internal/_validators.py +541 -0
- package/python/Lib/site-packages/pydantic/_migration.py +317 -0
- package/python/Lib/site-packages/pydantic/alias_generators.py +62 -0
- package/python/Lib/site-packages/pydantic/aliases.py +136 -0
- package/python/Lib/site-packages/pydantic/annotated_handlers.py +123 -0
- package/python/Lib/site-packages/pydantic/class_validators.py +5 -0
- package/python/Lib/site-packages/pydantic/color.py +605 -0
- package/python/Lib/site-packages/pydantic/config.py +1295 -0
- package/python/Lib/site-packages/pydantic/dataclasses.py +385 -0
- package/python/Lib/site-packages/pydantic/datetime_parse.py +5 -0
- package/python/Lib/site-packages/pydantic/decorator.py +5 -0
- package/python/Lib/site-packages/pydantic/deprecated/__init__.py +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/class_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/copy_internals.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/decorator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/json.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/parse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/__pycache__/tools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/deprecated/class_validators.py +257 -0
- package/python/Lib/site-packages/pydantic/deprecated/config.py +72 -0
- package/python/Lib/site-packages/pydantic/deprecated/copy_internals.py +224 -0
- package/python/Lib/site-packages/pydantic/deprecated/decorator.py +286 -0
- package/python/Lib/site-packages/pydantic/deprecated/json.py +142 -0
- package/python/Lib/site-packages/pydantic/deprecated/parse.py +81 -0
- package/python/Lib/site-packages/pydantic/deprecated/tools.py +104 -0
- package/python/Lib/site-packages/pydantic/env_settings.py +5 -0
- package/python/Lib/site-packages/pydantic/error_wrappers.py +5 -0
- package/python/Lib/site-packages/pydantic/errors.py +185 -0
- package/python/Lib/site-packages/pydantic/experimental/__init__.py +1 -0
- package/python/Lib/site-packages/pydantic/experimental/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/experimental/__pycache__/arguments_schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/experimental/__pycache__/missing_sentinel.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/experimental/__pycache__/pipeline.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/experimental/arguments_schema.py +44 -0
- package/python/Lib/site-packages/pydantic/experimental/missing_sentinel.py +29 -0
- package/python/Lib/site-packages/pydantic/experimental/pipeline.py +684 -0
- package/python/Lib/site-packages/pydantic/fields.py +2065 -0
- package/python/Lib/site-packages/pydantic/functional_serializers.py +461 -0
- package/python/Lib/site-packages/pydantic/functional_validators.py +920 -0
- package/python/Lib/site-packages/pydantic/generics.py +5 -0
- package/python/Lib/site-packages/pydantic/json.py +5 -0
- package/python/Lib/site-packages/pydantic/json_schema.py +3283 -0
- package/python/Lib/site-packages/pydantic/main.py +1947 -0
- package/python/Lib/site-packages/pydantic/mypy.py +1469 -0
- package/python/Lib/site-packages/pydantic/networks.py +1417 -0
- package/python/Lib/site-packages/pydantic/parse.py +5 -0
- package/python/Lib/site-packages/pydantic/plugin/__init__.py +190 -0
- package/python/Lib/site-packages/pydantic/plugin/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/plugin/__pycache__/_loader.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/plugin/__pycache__/_schema_validator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/plugin/_loader.py +56 -0
- package/python/Lib/site-packages/pydantic/plugin/_schema_validator.py +152 -0
- package/python/Lib/site-packages/pydantic/py.typed +0 -0
- package/python/Lib/site-packages/pydantic/root_model.py +189 -0
- package/python/Lib/site-packages/pydantic/schema.py +5 -0
- package/python/Lib/site-packages/pydantic/tools.py +5 -0
- package/python/Lib/site-packages/pydantic/type_adapter.py +780 -0
- package/python/Lib/site-packages/pydantic/types.py +3405 -0
- package/python/Lib/site-packages/pydantic/typing.py +5 -0
- package/python/Lib/site-packages/pydantic/utils.py +5 -0
- package/python/Lib/site-packages/pydantic/v1/__init__.py +131 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/_hypothesis_plugin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/annotated_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/class_validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/color.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/dataclasses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/datetime_parse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/decorator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/env_settings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/error_wrappers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/fields.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/generics.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/json.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/main.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/mypy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/networks.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/parse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/tools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/typing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/validators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/__pycache__/version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic/v1/_hypothesis_plugin.py +391 -0
- package/python/Lib/site-packages/pydantic/v1/annotated_types.py +72 -0
- package/python/Lib/site-packages/pydantic/v1/class_validators.py +361 -0
- package/python/Lib/site-packages/pydantic/v1/color.py +494 -0
- package/python/Lib/site-packages/pydantic/v1/config.py +191 -0
- package/python/Lib/site-packages/pydantic/v1/dataclasses.py +503 -0
- package/python/Lib/site-packages/pydantic/v1/datetime_parse.py +248 -0
- package/python/Lib/site-packages/pydantic/v1/decorator.py +264 -0
- package/python/Lib/site-packages/pydantic/v1/env_settings.py +350 -0
- package/python/Lib/site-packages/pydantic/v1/error_wrappers.py +161 -0
- package/python/Lib/site-packages/pydantic/v1/errors.py +646 -0
- package/python/Lib/site-packages/pydantic/v1/fields.py +1253 -0
- package/python/Lib/site-packages/pydantic/v1/generics.py +400 -0
- package/python/Lib/site-packages/pydantic/v1/json.py +112 -0
- package/python/Lib/site-packages/pydantic/v1/main.py +1130 -0
- package/python/Lib/site-packages/pydantic/v1/mypy.py +950 -0
- package/python/Lib/site-packages/pydantic/v1/networks.py +747 -0
- package/python/Lib/site-packages/pydantic/v1/parse.py +66 -0
- package/python/Lib/site-packages/pydantic/v1/py.typed +0 -0
- package/python/Lib/site-packages/pydantic/v1/schema.py +1163 -0
- package/python/Lib/site-packages/pydantic/v1/tools.py +92 -0
- package/python/Lib/site-packages/pydantic/v1/types.py +1213 -0
- package/python/Lib/site-packages/pydantic/v1/typing.py +627 -0
- package/python/Lib/site-packages/pydantic/v1/utils.py +807 -0
- package/python/Lib/site-packages/pydantic/v1/validators.py +768 -0
- package/python/Lib/site-packages/pydantic/v1/version.py +38 -0
- package/python/Lib/site-packages/pydantic/validate_call_decorator.py +121 -0
- package/python/Lib/site-packages/pydantic/validators.py +5 -0
- package/python/Lib/site-packages/pydantic/version.py +113 -0
- package/python/Lib/site-packages/pydantic/warnings.py +130 -0
- package/python/Lib/site-packages/pydantic-2.14.4.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pydantic-2.14.4.dist-info/METADATA +1682 -0
- package/python/Lib/site-packages/pydantic-2.14.4.dist-info/RECORD +113 -0
- package/python/Lib/site-packages/pydantic-2.14.4.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/pydantic-2.14.4.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/pydantic_core/__init__.py +194 -0
- package/python/Lib/site-packages/pydantic_core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic_core/__pycache__/core_schema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pydantic_core/_pydantic_core/__init__.pyi +1114 -0
- package/python/Lib/site-packages/pydantic_core/_pydantic_core/_schema_gather.pyi +34 -0
- package/python/Lib/site-packages/pydantic_core/_pydantic_core.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/pydantic_core/core_schema.py +5093 -0
- package/python/Lib/site-packages/pydantic_core/py.typed +0 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/METADATA +172 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/RECORD +12 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/pydantic_core-2.50.5.dist-info/sboms/pydantic-core.cyclonedx.json +3889 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/RECORD +20 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/pyjwt-2.15.1.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/python_multipart/__init__.py +35 -0
- package/python/Lib/site-packages/python_multipart/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/python_multipart/__pycache__/decoders.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/python_multipart/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/python_multipart/__pycache__/multipart.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/python_multipart/decoders.py +185 -0
- package/python/Lib/site-packages/python_multipart/exceptions.py +34 -0
- package/python/Lib/site-packages/python_multipart/multipart.py +2048 -0
- package/python/Lib/site-packages/python_multipart/py.typed +0 -0
- package/python/Lib/site-packages/python_multipart-0.0.34.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/python_multipart-0.0.34.dist-info/METADATA +179 -0
- package/python/Lib/site-packages/python_multipart-0.0.34.dist-info/RECORD +14 -0
- package/python/Lib/site-packages/python_multipart-0.0.34.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/python_multipart-0.0.34.dist-info/licenses/LICENSE.txt +202 -0
- package/python/Lib/site-packages/pythoncom.py +29 -0
- package/python/Lib/site-packages/pythonwin/License.txt +30 -0
- package/python/Lib/site-packages/pythonwin/Pythonwin.exe +0 -0
- package/python/Lib/site-packages/pythonwin/Scintilla-License.txt +20 -0
- package/python/Lib/site-packages/pythonwin/dde.pyd +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/cmdserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/createwin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/demoutils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/dibdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/dlgtest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/dyndlg.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/fontdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/guidemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/hiertest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/menutest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/objdoc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/openGLDemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/progressbar.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/sliderdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/splittst.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/threadedgui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/__pycache__/toolbar.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/basictimerapp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/customprint.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/demoutils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/dlgappdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/dojobapp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/__pycache__/helloapp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +258 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +183 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +63 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +51 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +71 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +53 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +113 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +114 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +65 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +73 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +145 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +104 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +85 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +53 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +135 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +13 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +57 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/demoutils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/flash.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/msoffice.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/ocxserialtest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/ocxtest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/__pycache__/webbrowser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +63 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +95 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +159 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +132 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +243 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +72 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +415 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +105 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +76 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +78 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +189 -0
- package/python/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +105 -0
- package/python/Lib/site-packages/pythonwin/pywin/IDLE.cfg +28 -0
- package/python/Lib/site-packages/pythonwin/pywin/__init__.py +3 -0
- package/python/Lib/site-packages/pythonwin/pywin/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +133 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/configui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/dbgcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/dbgpyapp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/debugger.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/__pycache__/fail.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/configui.py +34 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +31 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +48 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +1097 -0
- package/python/Lib/site-packages/pythonwin/pywin/debugger/fail.py +54 -0
- package/python/Lib/site-packages/pythonwin/pywin/default.cfg +214 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__pycache__/ideoptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__pycache__/list.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__pycache__/login.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/__pycache__/status.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +136 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/list.py +146 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/login.py +155 -0
- package/python/Lib/site-packages/pythonwin/pywin/dialogs/status.py +242 -0
- package/python/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +676 -0
- package/python/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/docking/__pycache__/DockingBar.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/docking/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/app.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/bitmap.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/cmdline.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/dbgcommands.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/dlgappcore.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/help.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/interact.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/intpyapp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/intpydde.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/scriptutils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/sgrepmdi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/startup.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/stdin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/toolmenu.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/window.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/__pycache__/winout.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/app.py +407 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +168 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +54 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +190 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +75 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +235 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +105 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/ModuleBrowser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/configui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/document.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/editor.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/frame.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/template.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/__pycache__/vss.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/color/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/color/__pycache__/coloreditor.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +646 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +299 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +379 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +511 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +74 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +59 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +104 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/help.py +173 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/interact.py +995 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +553 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +65 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +677 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +749 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/startup.py +70 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/stdin.py +172 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +279 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/window.py +14 -0
- package/python/Lib/site-packages/pythonwin/pywin/framework/winout.py +589 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +95 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +536 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +214 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +166 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +87 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/LICENSE.txt +246 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +585 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__init__.py +1 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/AutoExpand.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/AutoIndent.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/CallTips.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/FormatParagraph.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/IdleHistory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/PyParse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/idle/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/activex.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/afxres.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/dialog.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/docview.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/object.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/thread.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/__pycache__/window.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/activex.py +79 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +501 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +277 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/docview.py +151 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/object.py +66 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/thread.py +25 -0
- package/python/Lib/site-packages/pythonwin/pywin/mfc/window.py +50 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +593 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +1 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/IDLEenvironment.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/bindings.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/configui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/control.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/document.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/find.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/formatter.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/keycodes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/scintillacon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/__pycache__/view.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +181 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/config.py +363 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +291 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/control.py +565 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/document.py +312 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/find.py +511 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +704 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +190 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +3083 -0
- package/python/Lib/site-packages/pythonwin/pywin/scintilla/view.py +840 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +79 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/TraceCollector.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/browseProjects.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/browser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/hierlist.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/regedit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/__pycache__/regpy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +323 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/browser.py +492 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +353 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/regedit.py +382 -0
- package/python/Lib/site-packages/pythonwin/pywin/tools/regpy.py +80 -0
- package/python/Lib/site-packages/pythonwin/scintilla.dll +0 -0
- package/python/Lib/site-packages/pythonwin/start_pythonwin.pyw +17 -0
- package/python/Lib/site-packages/pythonwin/win32ui.pyd +0 -0
- package/python/Lib/site-packages/pythonwin/win32uiole.pyd +0 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/METADATA +261 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/RECORD +614 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/entry_points.txt +3 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/adodbapi/license.txt +505 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/com/License.txt +30 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/com/win32comext/mapi/src/MAPIStubLibrary/LICENSE +21 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/isapi/README.txt +7 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/pythonwin/License.txt +30 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/pythonwin/Scintilla/License.txt +20 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/pythonwin/pywin/idle/LICENSE.txt +246 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/licenses/win32/License.txt +30 -0
- package/python/Lib/site-packages/pywin32-312.dist-info/top_level.txt +93 -0
- package/python/Lib/site-packages/pywin32.pth +7 -0
- package/python/Lib/site-packages/pywin32.version.txt +1 -0
- package/python/Lib/site-packages/pywin32_system32/pythoncom314.dll +0 -0
- package/python/Lib/site-packages/pywin32_system32/pywintypes314.dll +0 -0
- package/python/Lib/site-packages/referencing/__init__.py +7 -0
- package/python/Lib/site-packages/referencing/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/_attrs.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/_core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/jsonschema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/retrieval.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/__pycache__/typing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/_attrs.py +31 -0
- package/python/Lib/site-packages/referencing/_attrs.pyi +21 -0
- package/python/Lib/site-packages/referencing/_core.py +739 -0
- package/python/Lib/site-packages/referencing/exceptions.py +165 -0
- package/python/Lib/site-packages/referencing/jsonschema.py +642 -0
- package/python/Lib/site-packages/referencing/py.typed +0 -0
- package/python/Lib/site-packages/referencing/retrieval.py +94 -0
- package/python/Lib/site-packages/referencing/tests/__init__.py +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/test_core.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/test_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/test_jsonschema.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/test_referencing_suite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/__pycache__/test_retrieval.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/referencing/tests/test_core.py +1057 -0
- package/python/Lib/site-packages/referencing/tests/test_exceptions.py +34 -0
- package/python/Lib/site-packages/referencing/tests/test_jsonschema.py +382 -0
- package/python/Lib/site-packages/referencing/tests/test_referencing_suite.py +66 -0
- package/python/Lib/site-packages/referencing/tests/test_retrieval.py +106 -0
- package/python/Lib/site-packages/referencing/typing.py +61 -0
- package/python/Lib/site-packages/referencing-0.37.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/referencing-0.37.0.dist-info/METADATA +64 -0
- package/python/Lib/site-packages/referencing-0.37.0.dist-info/RECORD +20 -0
- package/python/Lib/site-packages/referencing-0.37.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/python/Lib/site-packages/rpds/__init__.py +5 -0
- package/python/Lib/site-packages/rpds/__init__.pyi +79 -0
- package/python/Lib/site-packages/rpds/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/rpds/py.typed +0 -0
- package/python/Lib/site-packages/rpds/rpds.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/RECORD +10 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/python/Lib/site-packages/rpds_py-2026.9.1.dist-info/sboms/rpds-py.cyclonedx.json +680 -0
- package/python/Lib/site-packages/sse_starlette/__init__.py +5 -0
- package/python/Lib/site-packages/sse_starlette/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/sse_starlette/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/sse_starlette/__pycache__/event.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/sse_starlette/__pycache__/sse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/sse_starlette/_utils.py +36 -0
- package/python/Lib/site-packages/sse_starlette/event.py +96 -0
- package/python/Lib/site-packages/sse_starlette/py.typed +0 -0
- package/python/Lib/site-packages/sse_starlette/sse.py +650 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/METADATA +493 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/RECORD +12 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/licenses/AUTHORS +10 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/licenses/LICENSE +27 -0
- package/python/Lib/site-packages/sse_starlette-3.7.1.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/starlette/__init__.py +1 -0
- package/python/Lib/site-packages/starlette/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/_exception_handler.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/applications.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/authentication.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/background.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/concurrency.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/convertors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/datastructures.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/endpoints.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/formparsers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/requests.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/responses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/routing.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/schemas.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/staticfiles.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/status.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/templating.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/testclient.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/__pycache__/websockets.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/_exception_handler.py +67 -0
- package/python/Lib/site-packages/starlette/_utils.py +152 -0
- package/python/Lib/site-packages/starlette/applications.py +124 -0
- package/python/Lib/site-packages/starlette/authentication.py +157 -0
- package/python/Lib/site-packages/starlette/background.py +36 -0
- package/python/Lib/site-packages/starlette/concurrency.py +59 -0
- package/python/Lib/site-packages/starlette/config.py +142 -0
- package/python/Lib/site-packages/starlette/convertors.py +89 -0
- package/python/Lib/site-packages/starlette/datastructures.py +717 -0
- package/python/Lib/site-packages/starlette/endpoints.py +128 -0
- package/python/Lib/site-packages/starlette/exceptions.py +43 -0
- package/python/Lib/site-packages/starlette/formparsers.py +289 -0
- package/python/Lib/site-packages/starlette/middleware/__init__.py +37 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/authentication.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/base.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/body_limit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/cors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/gzip.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/httpsredirect.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/opentelemetry.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/sessions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/trustedhost.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/__pycache__/wsgi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/starlette/middleware/authentication.py +52 -0
- package/python/Lib/site-packages/starlette/middleware/base.py +254 -0
- package/python/Lib/site-packages/starlette/middleware/body_limit.py +132 -0
- package/python/Lib/site-packages/starlette/middleware/cors.py +177 -0
- package/python/Lib/site-packages/starlette/middleware/errors.py +259 -0
- package/python/Lib/site-packages/starlette/middleware/exceptions.py +73 -0
- package/python/Lib/site-packages/starlette/middleware/gzip.py +230 -0
- package/python/Lib/site-packages/starlette/middleware/httpsredirect.py +22 -0
- package/python/Lib/site-packages/starlette/middleware/opentelemetry.py +126 -0
- package/python/Lib/site-packages/starlette/middleware/sessions.py +139 -0
- package/python/Lib/site-packages/starlette/middleware/trustedhost.py +66 -0
- package/python/Lib/site-packages/starlette/middleware/wsgi.py +157 -0
- package/python/Lib/site-packages/starlette/py.typed +0 -0
- package/python/Lib/site-packages/starlette/requests.py +357 -0
- package/python/Lib/site-packages/starlette/responses.py +616 -0
- package/python/Lib/site-packages/starlette/routing.py +772 -0
- package/python/Lib/site-packages/starlette/schemas.py +152 -0
- package/python/Lib/site-packages/starlette/staticfiles.py +231 -0
- package/python/Lib/site-packages/starlette/status.py +211 -0
- package/python/Lib/site-packages/starlette/templating.py +156 -0
- package/python/Lib/site-packages/starlette/testclient.py +624 -0
- package/python/Lib/site-packages/starlette/types.py +26 -0
- package/python/Lib/site-packages/starlette/websockets.py +202 -0
- package/python/Lib/site-packages/starlette-1.10.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/starlette-1.10.0.dist-info/METADATA +181 -0
- package/python/Lib/site-packages/starlette-1.10.0.dist-info/RECORD +42 -0
- package/python/Lib/site-packages/starlette-1.10.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/python/Lib/site-packages/truststore/__init__.py +36 -0
- package/python/Lib/site-packages/truststore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/__pycache__/_api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/__pycache__/_macos.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/__pycache__/_openssl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/__pycache__/_ssl_constants.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/__pycache__/_windows.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/truststore/_api.py +377 -0
- package/python/Lib/site-packages/truststore/_macos.py +571 -0
- package/python/Lib/site-packages/truststore/_openssl.py +65 -0
- package/python/Lib/site-packages/truststore/_ssl_constants.py +30 -0
- package/python/Lib/site-packages/truststore/_windows.py +567 -0
- package/python/Lib/site-packages/truststore/py.typed +0 -0
- package/python/Lib/site-packages/truststore-0.10.5.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/truststore-0.10.5.dist-info/METADATA +110 -0
- package/python/Lib/site-packages/truststore-0.10.5.dist-info/RECORD +12 -0
- package/python/Lib/site-packages/truststore-0.10.5.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/typing_extensions-4.16.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/python/Lib/site-packages/typing_extensions-4.16.0.dist-info/RECORD +6 -0
- package/python/Lib/site-packages/typing_extensions-4.16.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/python/Lib/site-packages/typing_extensions.py +4422 -0
- package/python/Lib/site-packages/typing_inspection/__init__.py +0 -0
- package/python/Lib/site-packages/typing_inspection/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/typing_inspection/__pycache__/introspection.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/typing_inspection/__pycache__/typing_objects.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/typing_inspection/introspection.py +604 -0
- package/python/Lib/site-packages/typing_inspection/py.typed +0 -0
- package/python/Lib/site-packages/typing_inspection/typing_objects.py +620 -0
- package/python/Lib/site-packages/typing_inspection/typing_objects.pyi +421 -0
- package/python/Lib/site-packages/typing_inspection-0.4.5.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/typing_inspection-0.4.5.dist-info/METADATA +49 -0
- package/python/Lib/site-packages/typing_inspection-0.4.5.dist-info/RECORD +10 -0
- package/python/Lib/site-packages/typing_inspection-0.4.5.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/typing_inspection-0.4.5.dist-info/licenses/LICENSE +21 -0
- package/python/Lib/site-packages/uvicorn/__init__.py +5 -0
- package/python/Lib/site-packages/uvicorn/__main__.py +4 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/_ansi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/_subprocess.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/_version.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/config.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/importer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/logging.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/main.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/__pycache__/workers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/_ansi.py +29 -0
- package/python/Lib/site-packages/uvicorn/_compat.py +30 -0
- package/python/Lib/site-packages/uvicorn/_subprocess.py +84 -0
- package/python/Lib/site-packages/uvicorn/_types.py +274 -0
- package/python/Lib/site-packages/uvicorn/_version.py +4 -0
- package/python/Lib/site-packages/uvicorn/config.py +617 -0
- package/python/Lib/site-packages/uvicorn/importer.py +34 -0
- package/python/Lib/site-packages/uvicorn/lifespan/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/lifespan/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/lifespan/__pycache__/off.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/lifespan/__pycache__/on.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/lifespan/off.py +17 -0
- package/python/Lib/site-packages/uvicorn/lifespan/on.py +137 -0
- package/python/Lib/site-packages/uvicorn/logging.py +117 -0
- package/python/Lib/site-packages/uvicorn/loops/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/loops/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/loops/__pycache__/asyncio.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/loops/__pycache__/auto.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/loops/__pycache__/uvloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/loops/__pycache__/zuvloop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/loops/asyncio.py +11 -0
- package/python/Lib/site-packages/uvicorn/loops/auto.py +17 -0
- package/python/Lib/site-packages/uvicorn/loops/uvloop.py +10 -0
- package/python/Lib/site-packages/uvicorn/loops/zuvloop.py +10 -0
- package/python/Lib/site-packages/uvicorn/main.py +667 -0
- package/python/Lib/site-packages/uvicorn/middleware/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/__pycache__/asgi2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/__pycache__/message_logger.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/__pycache__/proxy_headers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/__pycache__/wsgi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/middleware/asgi2.py +15 -0
- package/python/Lib/site-packages/uvicorn/middleware/message_logger.py +87 -0
- package/python/Lib/site-packages/uvicorn/middleware/proxy_headers.py +187 -0
- package/python/Lib/site-packages/uvicorn/middleware/wsgi.py +199 -0
- package/python/Lib/site-packages/uvicorn/protocols/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/auto.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/auto_zttp_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/flow_control.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/h11_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/httptools_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/zttp_h2_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/__pycache__/zttp_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/auto.py +15 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/auto_zttp_impl.py +89 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/flow_control.py +54 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/h11_impl.py +536 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/httptools_impl.py +579 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/zttp_h2_impl.py +561 -0
- package/python/Lib/site-packages/uvicorn/protocols/http/zttp_impl.py +536 -0
- package/python/Lib/site-packages/uvicorn/protocols/utils.py +61 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__init__.py +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__pycache__/auto.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__pycache__/websockets_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__pycache__/websockets_sansio_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/__pycache__/wsproto_impl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/auto.py +21 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/websockets_impl.py +390 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/websockets_sansio_impl.py +564 -0
- package/python/Lib/site-packages/uvicorn/protocols/websockets/wsproto_impl.py +500 -0
- package/python/Lib/site-packages/uvicorn/py.typed +1 -0
- package/python/Lib/site-packages/uvicorn/server.py +353 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__init__.py +16 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__pycache__/basereload.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__pycache__/multiprocess.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__pycache__/statreload.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/supervisors/__pycache__/watchfilesreload.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/uvicorn/supervisors/basereload.py +124 -0
- package/python/Lib/site-packages/uvicorn/supervisors/multiprocess.py +282 -0
- package/python/Lib/site-packages/uvicorn/supervisors/statreload.py +52 -0
- package/python/Lib/site-packages/uvicorn/supervisors/watchfilesreload.py +86 -0
- package/python/Lib/site-packages/uvicorn/workers.py +111 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/METADATA +194 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/RECORD +54 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/uvicorn-0.55.0.dist-info/licenses/LICENSE.md +27 -0
- package/python/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +119 -0
- package/python/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +137 -0
- package/python/Lib/site-packages/win32/Demos/CopyFileEx.py +57 -0
- package/python/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +122 -0
- package/python/Lib/site-packages/win32/Demos/EvtFormatMessage.py +83 -0
- package/python/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +28 -0
- package/python/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +32 -0
- package/python/Lib/site-packages/win32/Demos/FileSecurityTest.py +137 -0
- package/python/Lib/site-packages/win32/Demos/GetSaveFileName.py +43 -0
- package/python/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +124 -0
- package/python/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +66 -0
- package/python/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +60 -0
- package/python/Lib/site-packages/win32/Demos/RegRestoreKey.py +71 -0
- package/python/Lib/site-packages/win32/Demos/SystemParametersInfo.py +192 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/BackupRead_BackupWrite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/BackupSeek_streamheaders.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/CopyFileEx.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/CreateFileTransacted_MiniVersion.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/EvtFormatMessage.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/EvtSubscribe_pull.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/EvtSubscribe_push.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/FileSecurityTest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/GetSaveFileName.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/NetValidatePasswordPolicy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/OpenEncryptedFileRaw.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/RegCreateKeyTransacted.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/RegRestoreKey.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/SystemParametersInfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/desktopmanager.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/eventLogDemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/getfilever.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/mmapfile_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/print_desktop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/rastest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/timer_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32clipboardDemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32clipboard_bitmapdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32comport_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32console_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32cred_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32fileDemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32gui_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32gui_devicenotify.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32gui_dialog.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32gui_menu.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32gui_taskbar.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32netdemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32rcparser_demo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32servicedemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/win32ts_logoff_disconnected.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/__pycache__/winprocess.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/c_extension/__pycache__/setup.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/c_extension/setup.py +26 -0
- package/python/Lib/site-packages/win32/Demos/dde/__pycache__/ddeclient.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/dde/__pycache__/ddeserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/dde/ddeclient.py +18 -0
- package/python/Lib/site-packages/win32/Demos/dde/ddeserver.py +42 -0
- package/python/Lib/site-packages/win32/Demos/desktopmanager.py +246 -0
- package/python/Lib/site-packages/win32/Demos/eventLogDemo.py +138 -0
- package/python/Lib/site-packages/win32/Demos/getfilever.py +33 -0
- package/python/Lib/site-packages/win32/Demos/images/frowny.bmp +0 -0
- package/python/Lib/site-packages/win32/Demos/images/smiley.bmp +0 -0
- package/python/Lib/site-packages/win32/Demos/mmapfile_demo.py +101 -0
- package/python/Lib/site-packages/win32/Demos/pipes/__pycache__/cat.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/pipes/__pycache__/runproc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/pipes/cat.py +17 -0
- package/python/Lib/site-packages/win32/Demos/pipes/runproc.py +114 -0
- package/python/Lib/site-packages/win32/Demos/print_desktop.py +113 -0
- package/python/Lib/site-packages/win32/Demos/rastest.py +168 -0
- package/python/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +101 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/GetTokenInformation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/account_rights.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/explicit_entries.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/get_policy_info.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/list_rights.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/localized_names.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/lsaregevent.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/lsastore.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/query_information.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/regsave_sa.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/regsecurity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/sa_inherit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/security_enums.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/set_file_audit.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/set_file_owner.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/set_policy_info.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/setkernelobjectsecurity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/setnamedsecurityinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/setsecurityinfo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/__pycache__/setuserobjectsecurity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/account_rights.py +49 -0
- package/python/Lib/site-packages/win32/Demos/security/explicit_entries.py +170 -0
- package/python/Lib/site-packages/win32/Demos/security/get_policy_info.py +39 -0
- package/python/Lib/site-packages/win32/Demos/security/list_rights.py +35 -0
- package/python/Lib/site-packages/win32/Demos/security/localized_names.py +70 -0
- package/python/Lib/site-packages/win32/Demos/security/lsaregevent.py +14 -0
- package/python/Lib/site-packages/win32/Demos/security/lsastore.py +12 -0
- package/python/Lib/site-packages/win32/Demos/security/query_information.py +25 -0
- package/python/Lib/site-packages/win32/Demos/security/regsave_sa.py +61 -0
- package/python/Lib/site-packages/win32/Demos/security/regsecurity.py +36 -0
- package/python/Lib/site-packages/win32/Demos/security/sa_inherit.py +8 -0
- package/python/Lib/site-packages/win32/Demos/security/security_enums.py +336 -0
- package/python/Lib/site-packages/win32/Demos/security/set_file_audit.py +106 -0
- package/python/Lib/site-packages/win32/Demos/security/set_file_owner.py +73 -0
- package/python/Lib/site-packages/win32/Demos/security/set_policy_info.py +25 -0
- package/python/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +134 -0
- package/python/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +131 -0
- package/python/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +131 -0
- package/python/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +102 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/__pycache__/fetch_url.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/__pycache__/simple_auth.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/__pycache__/socket_server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/__pycache__/validate_password.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +158 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +72 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +199 -0
- package/python/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +41 -0
- package/python/Lib/site-packages/win32/Demos/service/__pycache__/nativePipeTestService.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/service/__pycache__/pipeTestService.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/service/__pycache__/pipeTestServiceClient.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/service/__pycache__/serviceEvents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +63 -0
- package/python/Lib/site-packages/win32/Demos/service/pipeTestService.py +185 -0
- package/python/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +158 -0
- package/python/Lib/site-packages/win32/Demos/service/serviceEvents.py +98 -0
- package/python/Lib/site-packages/win32/Demos/timer_demo.py +72 -0
- package/python/Lib/site-packages/win32/Demos/win32clipboardDemo.py +155 -0
- package/python/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +117 -0
- package/python/Lib/site-packages/win32/Demos/win32comport_demo.py +174 -0
- package/python/Lib/site-packages/win32/Demos/win32console_demo.py +132 -0
- package/python/Lib/site-packages/win32/Demos/win32cred_demo.py +82 -0
- package/python/Lib/site-packages/win32/Demos/win32fileDemo.py +41 -0
- package/python/Lib/site-packages/win32/Demos/win32gui_demo.py +177 -0
- package/python/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +106 -0
- package/python/Lib/site-packages/win32/Demos/win32gui_dialog.py +445 -0
- package/python/Lib/site-packages/win32/Demos/win32gui_menu.py +464 -0
- package/python/Lib/site-packages/win32/Demos/win32gui_taskbar.py +136 -0
- package/python/Lib/site-packages/win32/Demos/win32netdemo.py +271 -0
- package/python/Lib/site-packages/win32/Demos/win32rcparser_demo.py +86 -0
- package/python/Lib/site-packages/win32/Demos/win32servicedemo.py +23 -0
- package/python/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +25 -0
- package/python/Lib/site-packages/win32/Demos/win32wnet/__pycache__/testwnet.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/win32wnet/__pycache__/winnetwk.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +123 -0
- package/python/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +100 -0
- package/python/Lib/site-packages/win32/Demos/winprocess.py +230 -0
- package/python/Lib/site-packages/win32/License.txt +30 -0
- package/python/Lib/site-packages/win32/__pycache__/winxpgui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/_win32sysloader.pyd +0 -0
- package/python/Lib/site-packages/win32/_winxptheme.pyd +0 -0
- package/python/Lib/site-packages/win32/include/PyWinTypes.h +745 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/_win32verstamp_pywin32ctypes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/afxres.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/commctrl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/mmsystem.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/netbios.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/ntsecuritycon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/pywin32_bootstrap.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/pywin32_testutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/pywintypes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/rasutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/regcheck.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/regutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/sspi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/sspicon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win2kras.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32con.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32cryptcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32evtlogutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32gui_struct.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32inetcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32netcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32pdhquery.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32pdhutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32rcparser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32serviceutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32timezone.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32traceutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/win32verstamp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/winerror.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/winioctlcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/winnt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/winperf.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/__pycache__/winxptheme.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +163 -0
- package/python/Lib/site-packages/win32/lib/afxres.py +9 -0
- package/python/Lib/site-packages/win32/lib/commctrl.py +1551 -0
- package/python/Lib/site-packages/win32/lib/mmsystem.py +956 -0
- package/python/Lib/site-packages/win32/lib/netbios.py +293 -0
- package/python/Lib/site-packages/win32/lib/ntsecuritycon.py +731 -0
- package/python/Lib/site-packages/win32/lib/pywin32_bootstrap.py +21 -0
- package/python/Lib/site-packages/win32/lib/pywin32_testutil.py +255 -0
- package/python/Lib/site-packages/win32/lib/pywintypes.py +132 -0
- package/python/Lib/site-packages/win32/lib/rasutil.py +40 -0
- package/python/Lib/site-packages/win32/lib/regcheck.py +163 -0
- package/python/Lib/site-packages/win32/lib/regutil.py +385 -0
- package/python/Lib/site-packages/win32/lib/sspi.py +413 -0
- package/python/Lib/site-packages/win32/lib/sspicon.py +477 -0
- package/python/Lib/site-packages/win32/lib/win2kras.py +14 -0
- package/python/Lib/site-packages/win32/lib/win32con.py +5062 -0
- package/python/Lib/site-packages/win32/lib/win32cryptcon.py +1922 -0
- package/python/Lib/site-packages/win32/lib/win32evtlogutil.py +225 -0
- package/python/Lib/site-packages/win32/lib/win32gui_struct.py +962 -0
- package/python/Lib/site-packages/win32/lib/win32inetcon.py +1086 -0
- package/python/Lib/site-packages/win32/lib/win32netcon.py +627 -0
- package/python/Lib/site-packages/win32/lib/win32pdhquery.py +570 -0
- package/python/Lib/site-packages/win32/lib/win32pdhutil.py +212 -0
- package/python/Lib/site-packages/win32/lib/win32rcparser.py +674 -0
- package/python/Lib/site-packages/win32/lib/win32serviceutil.py +1066 -0
- package/python/Lib/site-packages/win32/lib/win32timezone.py +1198 -0
- package/python/Lib/site-packages/win32/lib/win32traceutil.py +59 -0
- package/python/Lib/site-packages/win32/lib/win32verstamp.py +235 -0
- package/python/Lib/site-packages/win32/lib/winerror.py +7361 -0
- package/python/Lib/site-packages/win32/lib/winioctlcon.py +1079 -0
- package/python/Lib/site-packages/win32/lib/winnt.py +1347 -0
- package/python/Lib/site-packages/win32/lib/winperf.py +236 -0
- package/python/Lib/site-packages/win32/lib/winxptheme.py +8 -0
- package/python/Lib/site-packages/win32/libs/pywintypes.lib +0 -0
- package/python/Lib/site-packages/win32/mmapfile.pyd +0 -0
- package/python/Lib/site-packages/win32/odbc.pyd +0 -0
- package/python/Lib/site-packages/win32/perfmon.pyd +0 -0
- package/python/Lib/site-packages/win32/perfmondata.dll +0 -0
- package/python/Lib/site-packages/win32/pythonservice.exe +0 -0
- package/python/Lib/site-packages/win32/scripts/ControlService.py +594 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +95 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/__pycache__/BrandProject.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/__pycache__/bulkstamp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/__pycache__/vssutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +157 -0
- package/python/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +201 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/ControlService.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/backupEventLog.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/h2py.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/killProcName.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/pywin32_postinstall.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/pywin32_testall.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/rasutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/regsetup.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/__pycache__/setup_d.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/scripts/backupEventLog.py +40 -0
- package/python/Lib/site-packages/win32/scripts/h2py.py +194 -0
- package/python/Lib/site-packages/win32/scripts/killProcName.py +62 -0
- package/python/Lib/site-packages/win32/scripts/pywin32_postinstall.py +729 -0
- package/python/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
- package/python/Lib/site-packages/win32/scripts/rasutil.py +98 -0
- package/python/Lib/site-packages/win32/scripts/regsetup.py +598 -0
- package/python/Lib/site-packages/win32/scripts/setup_d.py +111 -0
- package/python/Lib/site-packages/win32/servicemanager.pyd +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/handles.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_clipboard.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_exceptions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_odbc.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_pywintypes.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_security.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_sspi.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32api.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32clipboard.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32cred.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32crypt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32event.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32file.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32gui.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32guistruct.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32inet.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32net.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32pipe.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32print.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32profile.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32rcparser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32timezone.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32trace.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32ts.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/test_win32wnet.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/__pycache__/testall.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32/test/handles.py +175 -0
- package/python/Lib/site-packages/win32/test/test_clipboard.py +132 -0
- package/python/Lib/site-packages/win32/test/test_exceptions.py +213 -0
- package/python/Lib/site-packages/win32/test/test_odbc.py +263 -0
- package/python/Lib/site-packages/win32/test/test_pywintypes.py +111 -0
- package/python/Lib/site-packages/win32/test/test_security.py +166 -0
- package/python/Lib/site-packages/win32/test/test_sspi.py +229 -0
- package/python/Lib/site-packages/win32/test/test_win32api.py +338 -0
- package/python/Lib/site-packages/win32/test/test_win32clipboard.py +59 -0
- package/python/Lib/site-packages/win32/test/test_win32cred.py +97 -0
- package/python/Lib/site-packages/win32/test/test_win32crypt.py +144 -0
- package/python/Lib/site-packages/win32/test/test_win32event.py +119 -0
- package/python/Lib/site-packages/win32/test/test_win32file.py +1095 -0
- package/python/Lib/site-packages/win32/test/test_win32gui.py +188 -0
- package/python/Lib/site-packages/win32/test/test_win32guistruct.py +333 -0
- package/python/Lib/site-packages/win32/test/test_win32inet.py +108 -0
- package/python/Lib/site-packages/win32/test/test_win32net.py +23 -0
- package/python/Lib/site-packages/win32/test/test_win32pipe.py +148 -0
- package/python/Lib/site-packages/win32/test/test_win32print.py +24 -0
- package/python/Lib/site-packages/win32/test/test_win32profile.py +19 -0
- package/python/Lib/site-packages/win32/test/test_win32rcparser.py +70 -0
- package/python/Lib/site-packages/win32/test/test_win32timezone.py +16 -0
- package/python/Lib/site-packages/win32/test/test_win32trace.py +367 -0
- package/python/Lib/site-packages/win32/test/test_win32ts.py +19 -0
- package/python/Lib/site-packages/win32/test/test_win32wnet.py +174 -0
- package/python/Lib/site-packages/win32/test/testall.py +221 -0
- package/python/Lib/site-packages/win32/test/win32rcparser/python.bmp +0 -0
- package/python/Lib/site-packages/win32/test/win32rcparser/python.ico +0 -0
- package/python/Lib/site-packages/win32/test/win32rcparser/test.h +46 -0
- package/python/Lib/site-packages/win32/test/win32rcparser/test.rc +215 -0
- package/python/Lib/site-packages/win32/timer.pyd +0 -0
- package/python/Lib/site-packages/win32/win32api.pyd +0 -0
- package/python/Lib/site-packages/win32/win32clipboard.pyd +0 -0
- package/python/Lib/site-packages/win32/win32console.pyd +0 -0
- package/python/Lib/site-packages/win32/win32cred.pyd +0 -0
- package/python/Lib/site-packages/win32/win32crypt.pyd +0 -0
- package/python/Lib/site-packages/win32/win32event.pyd +0 -0
- package/python/Lib/site-packages/win32/win32evtlog.pyd +0 -0
- package/python/Lib/site-packages/win32/win32file.pyd +0 -0
- package/python/Lib/site-packages/win32/win32gui.pyd +0 -0
- package/python/Lib/site-packages/win32/win32help.pyd +0 -0
- package/python/Lib/site-packages/win32/win32inet.pyd +0 -0
- package/python/Lib/site-packages/win32/win32job.pyd +0 -0
- package/python/Lib/site-packages/win32/win32lz.pyd +0 -0
- package/python/Lib/site-packages/win32/win32net.pyd +0 -0
- package/python/Lib/site-packages/win32/win32pdh.pyd +0 -0
- package/python/Lib/site-packages/win32/win32pipe.pyd +0 -0
- package/python/Lib/site-packages/win32/win32print.pyd +0 -0
- package/python/Lib/site-packages/win32/win32process.pyd +0 -0
- package/python/Lib/site-packages/win32/win32profile.pyd +0 -0
- package/python/Lib/site-packages/win32/win32ras.pyd +0 -0
- package/python/Lib/site-packages/win32/win32security.pyd +0 -0
- package/python/Lib/site-packages/win32/win32service.pyd +0 -0
- package/python/Lib/site-packages/win32/win32trace.pyd +0 -0
- package/python/Lib/site-packages/win32/win32transaction.pyd +0 -0
- package/python/Lib/site-packages/win32/win32ts.pyd +0 -0
- package/python/Lib/site-packages/win32/win32wnet.pyd +0 -0
- package/python/Lib/site-packages/win32/winxpgui.py +13 -0
- package/python/Lib/site-packages/win32com/HTML/COM_Records.html +382 -0
- package/python/Lib/site-packages/win32com/HTML/GeneratedSupport.html +104 -0
- package/python/Lib/site-packages/win32com/HTML/PythonCOM.html +90 -0
- package/python/Lib/site-packages/win32com/HTML/QuickStartClientCom.html +82 -0
- package/python/Lib/site-packages/win32com/HTML/QuickStartServerCom.html +195 -0
- package/python/Lib/site-packages/win32com/HTML/docindex.html +23 -0
- package/python/Lib/site-packages/win32com/HTML/image/BTN_HomePage.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/BTN_ManualTop.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/BTN_NextPage.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/BTN_PrevPage.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/blank.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/pycom_blowing.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/pythoncom.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/image/www_icon.gif +0 -0
- package/python/Lib/site-packages/win32com/HTML/index.html +31 -0
- package/python/Lib/site-packages/win32com/HTML/misc.html +18 -0
- package/python/Lib/site-packages/win32com/HTML/package.html +37 -0
- package/python/Lib/site-packages/win32com/HTML/variant.html +162 -0
- package/python/Lib/site-packages/win32com/License.txt +30 -0
- package/python/Lib/site-packages/win32com/__init__.py +130 -0
- package/python/Lib/site-packages/win32com/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/__pycache__/olectl.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/__pycache__/storagecon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/__pycache__/universal.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/CLSIDToClass.py +60 -0
- package/python/Lib/site-packages/win32com/client/__init__.py +704 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/CLSIDToClass.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/build.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/combrowse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/connect.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/dynamic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/gencache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/genpy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/makepy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/selecttlb.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/tlbrowse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/client/build.py +790 -0
- package/python/Lib/site-packages/win32com/client/combrowse.py +603 -0
- package/python/Lib/site-packages/win32com/client/connect.py +48 -0
- package/python/Lib/site-packages/win32com/client/dynamic.py +699 -0
- package/python/Lib/site-packages/win32com/client/gencache.py +818 -0
- package/python/Lib/site-packages/win32com/client/genpy.py +1354 -0
- package/python/Lib/site-packages/win32com/client/makepy.py +452 -0
- package/python/Lib/site-packages/win32com/client/selecttlb.py +182 -0
- package/python/Lib/site-packages/win32com/client/tlbrowse.py +277 -0
- package/python/Lib/site-packages/win32com/client/util.py +103 -0
- package/python/Lib/site-packages/win32com/demos/__init__.py +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/connect.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/dump_clipboard.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/eventsApartmentThreaded.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/eventsFreeThreaded.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/excelAddin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/excelRTDServer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/iebutton.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/ietoolbar.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/outlookAddin.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/__pycache__/trybag.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/demos/connect.py +97 -0
- package/python/Lib/site-packages/win32com/demos/dump_clipboard.py +74 -0
- package/python/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +98 -0
- package/python/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +92 -0
- package/python/Lib/site-packages/win32com/demos/excelAddin.py +169 -0
- package/python/Lib/site-packages/win32com/demos/excelRTDServer.py +434 -0
- package/python/Lib/site-packages/win32com/demos/iebutton.py +212 -0
- package/python/Lib/site-packages/win32com/demos/ietoolbar.py +366 -0
- package/python/Lib/site-packages/win32com/demos/outlookAddin.py +135 -0
- package/python/Lib/site-packages/win32com/demos/trybag.py +78 -0
- package/python/Lib/site-packages/win32com/include/PythonCOM.h +730 -0
- package/python/Lib/site-packages/win32com/include/PythonCOMRegister.h +56 -0
- package/python/Lib/site-packages/win32com/include/PythonCOMServer.h +167 -0
- package/python/Lib/site-packages/win32com/libs/axscript.lib +0 -0
- package/python/Lib/site-packages/win32com/libs/pythoncom.lib +0 -0
- package/python/Lib/site-packages/win32com/makegw/__init__.py +1 -0
- package/python/Lib/site-packages/win32com/makegw/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/makegw/__pycache__/makegw.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/makegw/__pycache__/makegwenum.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/makegw/__pycache__/makegwparse.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/makegw/makegw.py +618 -0
- package/python/Lib/site-packages/win32com/makegw/makegwenum.py +331 -0
- package/python/Lib/site-packages/win32com/makegw/makegwparse.py +1017 -0
- package/python/Lib/site-packages/win32com/olectl.py +70 -0
- package/python/Lib/site-packages/win32com/readme.html +87 -0
- package/python/Lib/site-packages/win32com/server/__init__.py +1 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/connect.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/dispatcher.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/exception.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/factory.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/localserver.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/policy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/register.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/server/connect.py +85 -0
- package/python/Lib/site-packages/win32com/server/dispatcher.py +239 -0
- package/python/Lib/site-packages/win32com/server/exception.py +99 -0
- package/python/Lib/site-packages/win32com/server/factory.py +26 -0
- package/python/Lib/site-packages/win32com/server/localserver.py +53 -0
- package/python/Lib/site-packages/win32com/server/policy.py +803 -0
- package/python/Lib/site-packages/win32com/server/register.py +662 -0
- package/python/Lib/site-packages/win32com/server/util.py +229 -0
- package/python/Lib/site-packages/win32com/servers/PythonTools.py +47 -0
- package/python/Lib/site-packages/win32com/servers/__init__.py +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/PythonTools.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/dictionary.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/interp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/perfmon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/__pycache__/test_pycomtest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/servers/dictionary.py +133 -0
- package/python/Lib/site-packages/win32com/servers/interp.py +59 -0
- package/python/Lib/site-packages/win32com/servers/perfmon.py +36 -0
- package/python/Lib/site-packages/win32com/servers/test_pycomtest.py +181 -0
- package/python/Lib/site-packages/win32com/storagecon.py +142 -0
- package/python/Lib/site-packages/win32com/test/GenTestScripts.py +92 -0
- package/python/Lib/site-packages/win32com/test/Testpys.sct +63 -0
- package/python/Lib/site-packages/win32com/test/__init__.py +1 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/GenTestScripts.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/daodump.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/errorSemantics.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/pippo_server.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/policySemantics.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testADOEvents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testAXScript.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testAccess.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testArrays.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testClipboard.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testCollections.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testConversionErrors.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testDCOM.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testDates.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testDictionary.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testDynamic.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testExchange.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testExplorer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testGIT.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testGatewayAddresses.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testIterators.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testMSOffice.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testMSOfficeEvents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testMarshal.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testPersist.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testPippo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testPyComTest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testROT.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testServers.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testShell.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testStorage.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testStreams.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testWMI.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testall.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testmakepy.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testvb.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testvbscript_regexp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/testxslt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32com/test/daodump.py +88 -0
- package/python/Lib/site-packages/win32com/test/errorSemantics.py +243 -0
- package/python/Lib/site-packages/win32com/test/pippo.idl +66 -0
- package/python/Lib/site-packages/win32com/test/pippo_server.py +96 -0
- package/python/Lib/site-packages/win32com/test/policySemantics.py +115 -0
- package/python/Lib/site-packages/win32com/test/readme.txt +19 -0
- package/python/Lib/site-packages/win32com/test/testADOEvents.py +100 -0
- package/python/Lib/site-packages/win32com/test/testAXScript.py +44 -0
- package/python/Lib/site-packages/win32com/test/testAccess.py +185 -0
- package/python/Lib/site-packages/win32com/test/testArrays.py +109 -0
- package/python/Lib/site-packages/win32com/test/testClipboard.py +169 -0
- package/python/Lib/site-packages/win32com/test/testCollections.py +159 -0
- package/python/Lib/site-packages/win32com/test/testConversionErrors.py +35 -0
- package/python/Lib/site-packages/win32com/test/testDCOM.py +50 -0
- package/python/Lib/site-packages/win32com/test/testDates.py +74 -0
- package/python/Lib/site-packages/win32com/test/testDictionary.py +101 -0
- package/python/Lib/site-packages/win32com/test/testDictionary.vbs +24 -0
- package/python/Lib/site-packages/win32com/test/testDynamic.py +84 -0
- package/python/Lib/site-packages/win32com/test/testExchange.py +121 -0
- package/python/Lib/site-packages/win32com/test/testExplorer.py +139 -0
- package/python/Lib/site-packages/win32com/test/testGIT.py +142 -0
- package/python/Lib/site-packages/win32com/test/testGatewayAddresses.py +149 -0
- package/python/Lib/site-packages/win32com/test/testInterp.vbs +11 -0
- package/python/Lib/site-packages/win32com/test/testIterators.py +140 -0
- package/python/Lib/site-packages/win32com/test/testMSOffice.py +184 -0
- package/python/Lib/site-packages/win32com/test/testMSOfficeEvents.py +138 -0
- package/python/Lib/site-packages/win32com/test/testMarshal.py +164 -0
- package/python/Lib/site-packages/win32com/test/testPersist.py +227 -0
- package/python/Lib/site-packages/win32com/test/testPippo.py +80 -0
- package/python/Lib/site-packages/win32com/test/testPyComTest.py +1107 -0
- package/python/Lib/site-packages/win32com/test/testPyScriptlet.js +33 -0
- package/python/Lib/site-packages/win32com/test/testROT.py +29 -0
- package/python/Lib/site-packages/win32com/test/testServers.py +51 -0
- package/python/Lib/site-packages/win32com/test/testShell.py +272 -0
- package/python/Lib/site-packages/win32com/test/testStorage.py +88 -0
- package/python/Lib/site-packages/win32com/test/testStreams.py +147 -0
- package/python/Lib/site-packages/win32com/test/testWMI.py +18 -0
- package/python/Lib/site-packages/win32com/test/testall.py +332 -0
- package/python/Lib/site-packages/win32com/test/testmakepy.py +91 -0
- package/python/Lib/site-packages/win32com/test/testvb.py +578 -0
- package/python/Lib/site-packages/win32com/test/testvbscript_regexp.py +40 -0
- package/python/Lib/site-packages/win32com/test/testxslt.js +12 -0
- package/python/Lib/site-packages/win32com/test/testxslt.py +34 -0
- package/python/Lib/site-packages/win32com/test/testxslt.xsl +54 -0
- package/python/Lib/site-packages/win32com/test/util.py +252 -0
- package/python/Lib/site-packages/win32com/universal.py +224 -0
- package/python/Lib/site-packages/win32com/util.py +35 -0
- package/python/Lib/site-packages/win32comext/License.txt +30 -0
- package/python/Lib/site-packages/win32comext/adsi/__init__.py +113 -0
- package/python/Lib/site-packages/win32comext/adsi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/__pycache__/adsicon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/adsi.pyd +0 -0
- package/python/Lib/site-packages/win32comext/adsi/adsicon.py +340 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/__pycache__/objectPicker.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/__pycache__/scp.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/__pycache__/search.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/__pycache__/test.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +68 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/scp.py +565 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/search.py +151 -0
- package/python/Lib/site-packages/win32comext/adsi/demos/test.py +274 -0
- package/python/Lib/site-packages/win32comext/authorization/__init__.py +6 -0
- package/python/Lib/site-packages/win32comext/authorization/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/authorization/authorization.pyd +0 -0
- package/python/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +229 -0
- package/python/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +219 -0
- package/python/Lib/site-packages/win32comext/authorization/demos/__pycache__/EditSecurity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/authorization/demos/__pycache__/EditServiceSecurity.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axcontrol/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/axcontrol/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axcontrol/axcontrol.pyd +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/adb.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/codecontainer.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/contexts.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/debugger.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/documents.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/dump.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/expressions.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/gateways.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/stackframe.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/__pycache__/util.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/adb.py +480 -0
- package/python/Lib/site-packages/win32comext/axdebug/axdebug.pyd +0 -0
- package/python/Lib/site-packages/win32comext/axdebug/codecontainer.py +278 -0
- package/python/Lib/site-packages/win32comext/axdebug/contexts.py +58 -0
- package/python/Lib/site-packages/win32comext/axdebug/debugger.py +238 -0
- package/python/Lib/site-packages/win32comext/axdebug/documents.py +135 -0
- package/python/Lib/site-packages/win32comext/axdebug/dump.py +57 -0
- package/python/Lib/site-packages/win32comext/axdebug/expressions.py +212 -0
- package/python/Lib/site-packages/win32comext/axdebug/gateways.py +583 -0
- package/python/Lib/site-packages/win32comext/axdebug/stackframe.py +178 -0
- package/python/Lib/site-packages/win32comext/axdebug/util.py +98 -0
- package/python/Lib/site-packages/win32comext/axscript/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/axscript/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/__pycache__/asputil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/asputil.py +13 -0
- package/python/Lib/site-packages/win32comext/axscript/axscript.pyd +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__init__.py +1 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/debug.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/error.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/framework.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/pydumper.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/pyscript.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/pyscript_rexec.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/__pycache__/scriptdispatch.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/client/debug.py +223 -0
- package/python/Lib/site-packages/win32comext/axscript/client/error.py +260 -0
- package/python/Lib/site-packages/win32comext/axscript/client/framework.py +1291 -0
- package/python/Lib/site-packages/win32comext/axscript/client/pydumper.py +78 -0
- package/python/Lib/site-packages/win32comext/axscript/client/pyscript.py +438 -0
- package/python/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +54 -0
- package/python/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +103 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/CreateObject.asp +18 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/caps.asp +52 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/interrupt/test.asp +4 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/interrupt/test.html +10 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/interrupt/test1.asp +6 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/interrupt/test1.html +10 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/asp/tut1.asp +10 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/CHARTPY.HTM +179 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/FOO.HTM +46 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/MarqueeText1.htm +24 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/calc.htm +115 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/dbgtest.htm +16 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/demo.htm +25 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/demo_check.htm +39 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/demo_intro.htm +37 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/demo_menu.htm +14 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/docwrite.htm +25 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/foo2.htm +105 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/form.htm +25 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/marqueeDemo.htm +59 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/mousetrack.htm +82 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/ie/pycom_blowing.gif +0 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/wsh/blank.pys +0 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/wsh/excel.pys +31 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/wsh/registry.pys +44 -0
- package/python/Lib/site-packages/win32comext/axscript/demos/client/wsh/test.pys +14 -0
- package/python/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- package/python/Lib/site-packages/win32comext/axscript/server/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/server/__pycache__/axsite.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/server/axsite.py +145 -0
- package/python/Lib/site-packages/win32comext/axscript/test/__pycache__/leakTest.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/test/__pycache__/testHost.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/test/__pycache__/testHost4Dbg.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/axscript/test/debugTest.pys +16 -0
- package/python/Lib/site-packages/win32comext/axscript/test/debugTest.vbs +7 -0
- package/python/Lib/site-packages/win32comext/axscript/test/leakTest.py +186 -0
- package/python/Lib/site-packages/win32comext/axscript/test/testHost.py +241 -0
- package/python/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +83 -0
- package/python/Lib/site-packages/win32comext/bits/__init__.py +6 -0
- package/python/Lib/site-packages/win32comext/bits/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/bits/bits.pyd +0 -0
- package/python/Lib/site-packages/win32comext/bits/test/__pycache__/show_all_jobs.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/bits/test/__pycache__/test_bits.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +48 -0
- package/python/Lib/site-packages/win32comext/bits/test/test_bits.py +119 -0
- package/python/Lib/site-packages/win32comext/directsound/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/directsound/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/directsound/directsound.pyd +0 -0
- package/python/Lib/site-packages/win32comext/directsound/test/__init__.py +1 -0
- package/python/Lib/site-packages/win32comext/directsound/test/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/directsound/test/__pycache__/ds_record.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/directsound/test/__pycache__/ds_test.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/directsound/test/ds_record.py +60 -0
- package/python/Lib/site-packages/win32comext/directsound/test/ds_test.py +402 -0
- package/python/Lib/site-packages/win32comext/ifilter/__init__.py +1 -0
- package/python/Lib/site-packages/win32comext/ifilter/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/ifilter/__pycache__/ifiltercon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/ifilter/demos/__pycache__/filterDemo.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/ifilter/demos/filterDemo.py +296 -0
- package/python/Lib/site-packages/win32comext/ifilter/ifilter.pyd +0 -0
- package/python/Lib/site-packages/win32comext/ifilter/ifiltercon.py +110 -0
- package/python/Lib/site-packages/win32comext/internet/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/internet/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/internet/__pycache__/inetcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/internet/inetcon.py +261 -0
- package/python/Lib/site-packages/win32comext/internet/internet.pyd +0 -0
- package/python/Lib/site-packages/win32comext/mapi/MAPIStubLibrary-License.txt +21 -0
- package/python/Lib/site-packages/win32comext/mapi/NOTICE.md +6 -0
- package/python/Lib/site-packages/win32comext/mapi/__init__.py +21 -0
- package/python/Lib/site-packages/win32comext/mapi/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/mapi/__pycache__/emsabtags.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/mapi/__pycache__/mapitags.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/mapi/__pycache__/mapiutil.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/mapi/demos/__pycache__/mapisend.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/mapi/demos/mapisend.py +98 -0
- package/python/Lib/site-packages/win32comext/mapi/emsabtags.py +875 -0
- package/python/Lib/site-packages/win32comext/mapi/exchange.pyd +0 -0
- package/python/Lib/site-packages/win32comext/mapi/mapi.pyd +0 -0
- package/python/Lib/site-packages/win32comext/mapi/mapitags.py +1023 -0
- package/python/Lib/site-packages/win32comext/mapi/mapiutil.py +211 -0
- package/python/Lib/site-packages/win32comext/propsys/__init__.py +1 -0
- package/python/Lib/site-packages/win32comext/propsys/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/propsys/__pycache__/pscon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/propsys/propsys.pyd +0 -0
- package/python/Lib/site-packages/win32comext/propsys/pscon.py +839 -0
- package/python/Lib/site-packages/win32comext/propsys/test/__pycache__/testpropsys.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/propsys/test/testpropsys.py +5 -0
- package/python/Lib/site-packages/win32comext/shell/__init__.py +4 -0
- package/python/Lib/site-packages/win32comext/shell/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/__pycache__/shellcon.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +83 -0
- package/python/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +179 -0
- package/python/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +67 -0
- package/python/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +93 -0
- package/python/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +56 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/IActiveDesktop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/IFileOperationProgressSink.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/IShellLinkDataList.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/ITransferAdviseSink.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/IUniformResourceLocator.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/browse_for_folder.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/create_link.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/dump_link.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/explorer_browser.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/shellexecuteex.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/viewstate.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/__pycache__/walk_shell_folders.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +45 -0
- package/python/Lib/site-packages/win32comext/shell/demos/create_link.py +73 -0
- package/python/Lib/site-packages/win32comext/shell/demos/dump_link.py +58 -0
- package/python/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +143 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/column_provider.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/context_menu.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/copy_hook.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/empty_volume_cache.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/folder_view.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/icon_handler.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/__pycache__/shell_view.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +117 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +121 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +84 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +186 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +858 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +81 -0
- package/python/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +971 -0
- package/python/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +19 -0
- package/python/Lib/site-packages/win32comext/shell/demos/viewstate.py +68 -0
- package/python/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +24 -0
- package/python/Lib/site-packages/win32comext/shell/shell.pyd +0 -0
- package/python/Lib/site-packages/win32comext/shell/shellcon.py +1615 -0
- package/python/Lib/site-packages/win32comext/shell/test/__pycache__/testSHFileOperation.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/test/__pycache__/testShellFolder.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/test/__pycache__/testShellItem.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +75 -0
- package/python/Lib/site-packages/win32comext/shell/test/testShellFolder.py +21 -0
- package/python/Lib/site-packages/win32comext/shell/test/testShellItem.py +69 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/__init__.py +6 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/taskscheduler.pyd +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/__pycache__/test_addtask.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/__pycache__/test_addtask_1.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/__pycache__/test_addtask_2.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/__pycache__/test_localsystem.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +66 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +68 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +49 -0
- package/python/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +3 -0
- package/python/Lib/site-packages/winrt/__pyinstaller/__init__.py +13 -0
- package/python/Lib/site-packages/winrt/__pyinstaller/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/__pyinstaller/__pycache__/hook-winrt.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/__pyinstaller/hook-winrt.py +85 -0
- package/python/Lib/site-packages/winrt/_winrt.cp314-win_amd64.pyd +0 -0
- package/python/Lib/site-packages/winrt/_winrt.pyi +178 -0
- package/python/Lib/site-packages/winrt/py.typed +0 -0
- package/python/Lib/site-packages/winrt/runtime/__init__.py +28 -0
- package/python/Lib/site-packages/winrt/runtime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/runtime/__pycache__/_internals.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/runtime/__pycache__/interop.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/runtime/_internals.py +672 -0
- package/python/Lib/site-packages/winrt/runtime/interop.py +27 -0
- package/python/Lib/site-packages/winrt/runtime/py.typed +0 -0
- package/python/Lib/site-packages/winrt/system/__init__.py +191 -0
- package/python/Lib/site-packages/winrt/system/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/system/__pycache__/hresult.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/system/hresult.py +47 -0
- package/python/Lib/site-packages/winrt/system/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/__init__.py +65 -0
- package/python/Lib/site-packages/winrt/windows/foundation/__init__.pyi +689 -0
- package/python/Lib/site-packages/winrt/windows/foundation/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/collections/__init__.py +45 -0
- package/python/Lib/site-packages/winrt/windows/foundation/collections/__init__.pyi +332 -0
- package/python/Lib/site-packages/winrt/windows/foundation/collections/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/collections/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/collections/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/foundation/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/globalization/__init__.py +31 -0
- package/python/Lib/site-packages/winrt/windows/globalization/__init__.pyi +1196 -0
- package/python/Lib/site-packages/winrt/windows/globalization/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/globalization/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/globalization/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/graphics/imaging/__init__.py +60 -0
- package/python/Lib/site-packages/winrt/windows/graphics/imaging/__init__.pyi +780 -0
- package/python/Lib/site-packages/winrt/windows/graphics/imaging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/graphics/imaging/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/graphics/imaging/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/media/ocr/__init__.py +14 -0
- package/python/Lib/site-packages/winrt/windows/media/ocr/__init__.pyi +80 -0
- package/python/Lib/site-packages/winrt/windows/media/ocr/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/media/ocr/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/media/ocr/py.typed +0 -0
- package/python/Lib/site-packages/winrt/windows/storage/streams/__init__.py +48 -0
- package/python/Lib/site-packages/winrt/windows/storage/streams/__init__.pyi +805 -0
- package/python/Lib/site-packages/winrt/windows/storage/streams/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/Lib/site-packages/winrt/windows/storage/streams/_table.pywinrt +0 -0
- package/python/Lib/site-packages/winrt/windows/storage/streams/py.typed +0 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/METADATA +41 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/RECORD +19 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/WHEEL +5 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/entry_points.txt +2 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_runtime-4.2.1.dist-info/top_level.txt +1 -0
- package/python/Lib/site-packages/winrt_windows_foundation-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_foundation-4!10.0.28000.2957.dist-info/METADATA +44 -0
- package/python/Lib/site-packages/winrt_windows_foundation-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_foundation-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_foundation-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_windows_foundation_collections-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_foundation_collections-4!10.0.28000.2957.dist-info/METADATA +44 -0
- package/python/Lib/site-packages/winrt_windows_foundation_collections-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_foundation_collections-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_foundation_collections-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_windows_globalization-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_globalization-4!10.0.28000.2957.dist-info/METADATA +47 -0
- package/python/Lib/site-packages/winrt_windows_globalization-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_globalization-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_globalization-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_windows_graphics_imaging-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_graphics_imaging-4!10.0.28000.2957.dist-info/METADATA +49 -0
- package/python/Lib/site-packages/winrt_windows_graphics_imaging-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_graphics_imaging-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_graphics_imaging-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_windows_media_ocr-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_media_ocr-4!10.0.28000.2957.dist-info/METADATA +48 -0
- package/python/Lib/site-packages/winrt_windows_media_ocr-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_media_ocr-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_media_ocr-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/Lib/site-packages/winrt_windows_storage_streams-4!10.0.28000.2957.dist-info/INSTALLER +1 -0
- package/python/Lib/site-packages/winrt_windows_storage_streams-4!10.0.28000.2957.dist-info/METADATA +48 -0
- package/python/Lib/site-packages/winrt_windows_storage_streams-4!10.0.28000.2957.dist-info/RECORD +9 -0
- package/python/Lib/site-packages/winrt_windows_storage_streams-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- package/python/Lib/site-packages/winrt_windows_storage_streams-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
- package/python/_asyncio.pyd +0 -0
- package/python/_bz2.pyd +0 -0
- package/python/_ctypes.pyd +0 -0
- package/python/_decimal.pyd +0 -0
- package/python/_elementtree.pyd +0 -0
- package/python/_hashlib.pyd +0 -0
- package/python/_lzma.pyd +0 -0
- package/python/_multiprocessing.pyd +0 -0
- package/python/_overlapped.pyd +0 -0
- package/python/_queue.pyd +0 -0
- package/python/_remote_debugging.pyd +0 -0
- package/python/_socket.pyd +0 -0
- package/python/_sqlite3.pyd +0 -0
- package/python/_ssl.pyd +0 -0
- package/python/_uuid.pyd +0 -0
- package/python/_wmi.pyd +0 -0
- package/python/_zoneinfo.pyd +0 -0
- package/python/_zstd.pyd +0 -0
- package/python/libcrypto-3.dll +0 -0
- package/python/libffi-8.dll +0 -0
- package/python/libssl-3.dll +0 -0
- package/python/libtommath.dll +0 -0
- package/python/pyexpat.pyd +0 -0
- package/python/python.cat +0 -0
- package/python/python.exe +0 -0
- package/python/python3.dll +0 -0
- package/python/python314._pth +4 -0
- package/python/python314.dll +0 -0
- package/python/python314.zip +0 -0
- package/python/pythonw.exe +0 -0
- package/python/select.pyd +0 -0
- package/python/sqlite3.dll +0 -0
- package/python/unicodedata.pyd +0 -0
- package/python/vcruntime140.dll +0 -0
- package/python/vcruntime140_1.dll +0 -0
- package/python/winsound.pyd +0 -0
|
@@ -0,0 +1,3300 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import array
|
|
4
|
+
import asyncio
|
|
5
|
+
import concurrent.futures
|
|
6
|
+
import math
|
|
7
|
+
import os
|
|
8
|
+
import socket
|
|
9
|
+
import sys
|
|
10
|
+
import threading
|
|
11
|
+
import weakref
|
|
12
|
+
from asyncio import (
|
|
13
|
+
AbstractEventLoop,
|
|
14
|
+
CancelledError,
|
|
15
|
+
all_tasks,
|
|
16
|
+
create_task,
|
|
17
|
+
current_task,
|
|
18
|
+
get_running_loop,
|
|
19
|
+
sleep,
|
|
20
|
+
)
|
|
21
|
+
from asyncio.base_events import _run_until_complete_cb # type: ignore[attr-defined]
|
|
22
|
+
from collections import OrderedDict, deque
|
|
23
|
+
from collections.abc import (
|
|
24
|
+
AsyncGenerator,
|
|
25
|
+
AsyncIterator,
|
|
26
|
+
Awaitable,
|
|
27
|
+
Callable,
|
|
28
|
+
Collection,
|
|
29
|
+
Coroutine,
|
|
30
|
+
Iterable,
|
|
31
|
+
Sequence,
|
|
32
|
+
)
|
|
33
|
+
from concurrent.futures import Future
|
|
34
|
+
from contextlib import AbstractContextManager, suppress
|
|
35
|
+
from contextvars import Context, copy_context
|
|
36
|
+
from dataclasses import dataclass, field
|
|
37
|
+
from functools import partial, wraps
|
|
38
|
+
from inspect import (
|
|
39
|
+
CORO_RUNNING,
|
|
40
|
+
CORO_SUSPENDED,
|
|
41
|
+
getcoroutinestate,
|
|
42
|
+
)
|
|
43
|
+
from io import IOBase
|
|
44
|
+
from os import PathLike
|
|
45
|
+
from queue import Queue
|
|
46
|
+
from signal import Signals
|
|
47
|
+
from socket import AddressFamily, SocketKind
|
|
48
|
+
from threading import Thread
|
|
49
|
+
from types import CodeType, TracebackType
|
|
50
|
+
from typing import (
|
|
51
|
+
IO,
|
|
52
|
+
TYPE_CHECKING,
|
|
53
|
+
Any,
|
|
54
|
+
Literal,
|
|
55
|
+
ParamSpec,
|
|
56
|
+
TypeVar,
|
|
57
|
+
cast,
|
|
58
|
+
)
|
|
59
|
+
from weakref import WeakKeyDictionary
|
|
60
|
+
|
|
61
|
+
from .. import (
|
|
62
|
+
CapacityLimiterStatistics,
|
|
63
|
+
EventStatistics,
|
|
64
|
+
LockStatistics,
|
|
65
|
+
TaskInfo,
|
|
66
|
+
abc,
|
|
67
|
+
)
|
|
68
|
+
from .._core._eventloop import (
|
|
69
|
+
claim_worker_thread,
|
|
70
|
+
set_current_async_library,
|
|
71
|
+
threadlocals,
|
|
72
|
+
)
|
|
73
|
+
from .._core._exceptions import (
|
|
74
|
+
BrokenResourceError,
|
|
75
|
+
BusyResourceError,
|
|
76
|
+
ClosedResourceError,
|
|
77
|
+
EndOfStream,
|
|
78
|
+
RunFinishedError,
|
|
79
|
+
WouldBlock,
|
|
80
|
+
)
|
|
81
|
+
from .._core._sockets import convert_ipv6_sockaddr
|
|
82
|
+
from .._core._streams import create_memory_object_stream
|
|
83
|
+
from .._core._synchronization import (
|
|
84
|
+
CapacityLimiter as BaseCapacityLimiter,
|
|
85
|
+
)
|
|
86
|
+
from .._core._synchronization import Event as BaseEvent
|
|
87
|
+
from .._core._synchronization import Lock as BaseLock
|
|
88
|
+
from .._core._synchronization import (
|
|
89
|
+
ResourceGuard,
|
|
90
|
+
SemaphoreStatistics,
|
|
91
|
+
)
|
|
92
|
+
from .._core._synchronization import Semaphore as BaseSemaphore
|
|
93
|
+
from .._core._tasks import CancelScope as BaseCancelScope
|
|
94
|
+
from .._core._tasks import TaskHandle
|
|
95
|
+
from ..abc import (
|
|
96
|
+
AsyncBackend,
|
|
97
|
+
IPSockAddrType,
|
|
98
|
+
SocketListener,
|
|
99
|
+
UDPPacketType,
|
|
100
|
+
UNIXDatagramPacketType,
|
|
101
|
+
)
|
|
102
|
+
from ..abc._tasks import call_for_coroutine, get_callable_name, get_coro_name
|
|
103
|
+
from ..lowlevel import RunVar, _run_vars
|
|
104
|
+
|
|
105
|
+
if TYPE_CHECKING:
|
|
106
|
+
from _typeshed import FileDescriptorLike
|
|
107
|
+
|
|
108
|
+
from ..abc._eventloop import StrOrBytesPath
|
|
109
|
+
from ..streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream
|
|
110
|
+
else:
|
|
111
|
+
FileDescriptorLike = object
|
|
112
|
+
|
|
113
|
+
if sys.version_info >= (3, 11):
|
|
114
|
+
from asyncio import Runner
|
|
115
|
+
from typing import Self, TypeVarTuple, Unpack
|
|
116
|
+
else:
|
|
117
|
+
import contextvars
|
|
118
|
+
import enum
|
|
119
|
+
import signal
|
|
120
|
+
from asyncio import coroutines, events, exceptions, tasks
|
|
121
|
+
|
|
122
|
+
from exceptiongroup import BaseExceptionGroup
|
|
123
|
+
from typing_extensions import Self, TypeVarTuple, Unpack
|
|
124
|
+
|
|
125
|
+
class _State(enum.Enum):
|
|
126
|
+
CREATED = "created"
|
|
127
|
+
INITIALIZED = "initialized"
|
|
128
|
+
CLOSED = "closed"
|
|
129
|
+
|
|
130
|
+
class Runner:
|
|
131
|
+
# Copied from CPython 3.11
|
|
132
|
+
def __init__(
|
|
133
|
+
self,
|
|
134
|
+
*,
|
|
135
|
+
debug: bool | None = None,
|
|
136
|
+
loop_factory: Callable[[], AbstractEventLoop] | None = None,
|
|
137
|
+
):
|
|
138
|
+
self._state = _State.CREATED
|
|
139
|
+
self._debug = debug
|
|
140
|
+
self._loop_factory = loop_factory
|
|
141
|
+
self._loop: AbstractEventLoop | None = None
|
|
142
|
+
self._context = None
|
|
143
|
+
self._interrupt_count = 0
|
|
144
|
+
self._set_event_loop = False
|
|
145
|
+
|
|
146
|
+
def __enter__(self) -> Self:
|
|
147
|
+
self._lazy_init()
|
|
148
|
+
return self
|
|
149
|
+
|
|
150
|
+
def __exit__(
|
|
151
|
+
self,
|
|
152
|
+
exc_type: type[BaseException] | None,
|
|
153
|
+
exc_val: BaseException | None,
|
|
154
|
+
exc_tb: TracebackType | None,
|
|
155
|
+
) -> None:
|
|
156
|
+
self.close()
|
|
157
|
+
|
|
158
|
+
def close(self) -> None:
|
|
159
|
+
"""Shutdown and close event loop."""
|
|
160
|
+
loop = self._loop
|
|
161
|
+
if self._state is not _State.INITIALIZED or loop is None:
|
|
162
|
+
return
|
|
163
|
+
try:
|
|
164
|
+
_cancel_all_tasks(loop)
|
|
165
|
+
loop.run_until_complete(loop.shutdown_asyncgens())
|
|
166
|
+
if hasattr(loop, "shutdown_default_executor"):
|
|
167
|
+
loop.run_until_complete(loop.shutdown_default_executor())
|
|
168
|
+
else:
|
|
169
|
+
loop.run_until_complete(_shutdown_default_executor(loop))
|
|
170
|
+
finally:
|
|
171
|
+
if self._set_event_loop:
|
|
172
|
+
events.set_event_loop(None)
|
|
173
|
+
loop.close()
|
|
174
|
+
self._loop = None
|
|
175
|
+
self._state = _State.CLOSED
|
|
176
|
+
|
|
177
|
+
def get_loop(self) -> AbstractEventLoop:
|
|
178
|
+
"""Return embedded event loop."""
|
|
179
|
+
self._lazy_init()
|
|
180
|
+
return self._loop
|
|
181
|
+
|
|
182
|
+
def run(self, coro: Coroutine[T_Retval], *, context=None) -> T_Retval:
|
|
183
|
+
"""Run a coroutine inside the embedded event loop."""
|
|
184
|
+
if not coroutines.iscoroutine(coro):
|
|
185
|
+
raise ValueError(f"a coroutine was expected, got {coro!r}")
|
|
186
|
+
|
|
187
|
+
if events._get_running_loop() is not None:
|
|
188
|
+
# fail fast with short traceback
|
|
189
|
+
raise RuntimeError(
|
|
190
|
+
"Runner.run() cannot be called from a running event loop"
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
self._lazy_init()
|
|
194
|
+
|
|
195
|
+
if context is None:
|
|
196
|
+
context = self._context
|
|
197
|
+
task = context.run(self._loop.create_task, coro)
|
|
198
|
+
|
|
199
|
+
if (
|
|
200
|
+
threading.current_thread() is threading.main_thread()
|
|
201
|
+
and signal.getsignal(signal.SIGINT) is signal.default_int_handler
|
|
202
|
+
):
|
|
203
|
+
sigint_handler = partial(self._on_sigint, main_task=task)
|
|
204
|
+
try:
|
|
205
|
+
signal.signal(signal.SIGINT, sigint_handler)
|
|
206
|
+
except ValueError:
|
|
207
|
+
# `signal.signal` may throw if `threading.main_thread` does
|
|
208
|
+
# not support signals (e.g. embedded interpreter with signals
|
|
209
|
+
# not registered - see gh-91880)
|
|
210
|
+
sigint_handler = None
|
|
211
|
+
else:
|
|
212
|
+
sigint_handler = None
|
|
213
|
+
|
|
214
|
+
self._interrupt_count = 0
|
|
215
|
+
try:
|
|
216
|
+
return self._loop.run_until_complete(task)
|
|
217
|
+
except exceptions.CancelledError:
|
|
218
|
+
if self._interrupt_count > 0:
|
|
219
|
+
uncancel = getattr(task, "uncancel", None)
|
|
220
|
+
if uncancel is not None and uncancel() == 0:
|
|
221
|
+
raise KeyboardInterrupt # noqa: B904
|
|
222
|
+
raise # CancelledError
|
|
223
|
+
finally:
|
|
224
|
+
if (
|
|
225
|
+
sigint_handler is not None
|
|
226
|
+
and signal.getsignal(signal.SIGINT) is sigint_handler
|
|
227
|
+
):
|
|
228
|
+
signal.signal(signal.SIGINT, signal.default_int_handler)
|
|
229
|
+
|
|
230
|
+
def _lazy_init(self) -> None:
|
|
231
|
+
if self._state is _State.CLOSED:
|
|
232
|
+
raise RuntimeError("Runner is closed")
|
|
233
|
+
if self._state is _State.INITIALIZED:
|
|
234
|
+
return
|
|
235
|
+
if self._loop_factory is None:
|
|
236
|
+
self._loop = events.new_event_loop()
|
|
237
|
+
if not self._set_event_loop:
|
|
238
|
+
# Call set_event_loop only once to avoid calling
|
|
239
|
+
# attach_loop multiple times on child watchers
|
|
240
|
+
events.set_event_loop(self._loop)
|
|
241
|
+
self._set_event_loop = True
|
|
242
|
+
else:
|
|
243
|
+
self._loop = self._loop_factory()
|
|
244
|
+
if self._debug is not None:
|
|
245
|
+
self._loop.set_debug(self._debug)
|
|
246
|
+
self._context = contextvars.copy_context()
|
|
247
|
+
self._state = _State.INITIALIZED
|
|
248
|
+
|
|
249
|
+
def _on_sigint(self, signum, frame, main_task: asyncio.Task) -> None:
|
|
250
|
+
self._interrupt_count += 1
|
|
251
|
+
if self._interrupt_count == 1 and not main_task.done():
|
|
252
|
+
main_task.cancel()
|
|
253
|
+
# wakeup loop if it is blocked by select() with long timeout
|
|
254
|
+
self._loop.call_soon_threadsafe(lambda: None)
|
|
255
|
+
return
|
|
256
|
+
raise KeyboardInterrupt()
|
|
257
|
+
|
|
258
|
+
def _cancel_all_tasks(loop: AbstractEventLoop) -> None:
|
|
259
|
+
to_cancel = tasks.all_tasks(loop)
|
|
260
|
+
if not to_cancel:
|
|
261
|
+
return
|
|
262
|
+
|
|
263
|
+
for task in to_cancel:
|
|
264
|
+
task.cancel()
|
|
265
|
+
|
|
266
|
+
loop.run_until_complete(tasks.gather(*to_cancel, return_exceptions=True))
|
|
267
|
+
|
|
268
|
+
for task in to_cancel:
|
|
269
|
+
if task.cancelled():
|
|
270
|
+
continue
|
|
271
|
+
if task.exception() is not None:
|
|
272
|
+
loop.call_exception_handler(
|
|
273
|
+
{
|
|
274
|
+
"message": "unhandled exception during asyncio.run() shutdown",
|
|
275
|
+
"exception": task.exception(),
|
|
276
|
+
"task": task,
|
|
277
|
+
}
|
|
278
|
+
)
|
|
279
|
+
|
|
280
|
+
async def _shutdown_default_executor(loop: AbstractEventLoop) -> None:
|
|
281
|
+
"""Schedule the shutdown of the default executor."""
|
|
282
|
+
|
|
283
|
+
def _do_shutdown(future: asyncio.futures.Future) -> None:
|
|
284
|
+
try:
|
|
285
|
+
loop._default_executor.shutdown(wait=True) # type: ignore[attr-defined]
|
|
286
|
+
loop.call_soon_threadsafe(future.set_result, None)
|
|
287
|
+
except Exception as ex:
|
|
288
|
+
loop.call_soon_threadsafe(future.set_exception, ex)
|
|
289
|
+
|
|
290
|
+
loop._executor_shutdown_called = True
|
|
291
|
+
if loop._default_executor is None:
|
|
292
|
+
return
|
|
293
|
+
future = loop.create_future()
|
|
294
|
+
thread = threading.Thread(target=_do_shutdown, args=(future,))
|
|
295
|
+
thread.start()
|
|
296
|
+
try:
|
|
297
|
+
await future
|
|
298
|
+
finally:
|
|
299
|
+
thread.join()
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
T_Retval = TypeVar("T_Retval")
|
|
303
|
+
T_co = TypeVar("T_co", covariant=True)
|
|
304
|
+
T_contra = TypeVar("T_contra", contravariant=True)
|
|
305
|
+
PosArgsT = TypeVarTuple("PosArgsT")
|
|
306
|
+
P = ParamSpec("P")
|
|
307
|
+
|
|
308
|
+
_root_task: RunVar[asyncio.Task[Any] | None] = RunVar("_root_task")
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def find_root_task() -> asyncio.Task:
|
|
312
|
+
root_task = _root_task.get(None)
|
|
313
|
+
if root_task is not None and not root_task.done():
|
|
314
|
+
return root_task
|
|
315
|
+
|
|
316
|
+
# Look for a task that has been started via run_until_complete()
|
|
317
|
+
for task in all_tasks():
|
|
318
|
+
if task._callbacks and not task.done():
|
|
319
|
+
for cb, context in task._callbacks:
|
|
320
|
+
if (
|
|
321
|
+
cb is _run_until_complete_cb
|
|
322
|
+
or getattr(cb, "__module__", None) == "uvloop.loop"
|
|
323
|
+
):
|
|
324
|
+
_root_task.set(task)
|
|
325
|
+
|
|
326
|
+
def _unset(t: asyncio.Task[Any]) -> None:
|
|
327
|
+
if vars := _run_vars.get(t.get_loop()):
|
|
328
|
+
vars.pop(_root_task, None)
|
|
329
|
+
|
|
330
|
+
# Register a callback to break the task -> loop -> _run_var[loop][_root_task] -> task cycle
|
|
331
|
+
# Also run it in its own context to not create another reference.
|
|
332
|
+
# We can't use RunVar.reset() here since these are called synchronously
|
|
333
|
+
# and thus lowlevel.current_token() (which RunVar.reset() depends on) fails.
|
|
334
|
+
task.add_done_callback(_unset, context=context)
|
|
335
|
+
return task
|
|
336
|
+
|
|
337
|
+
# Look up the topmost task in the AnyIO task tree, if possible
|
|
338
|
+
task = cast(asyncio.Task, current_task())
|
|
339
|
+
state = _task_states.get(task)
|
|
340
|
+
if state:
|
|
341
|
+
cancel_scope = state.cancel_scope
|
|
342
|
+
while cancel_scope and cancel_scope._parent_scope is not None:
|
|
343
|
+
cancel_scope = cancel_scope._parent_scope
|
|
344
|
+
|
|
345
|
+
if cancel_scope is not None:
|
|
346
|
+
return cast(asyncio.Task, cancel_scope._host_task)
|
|
347
|
+
|
|
348
|
+
return task
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
def _task_started(task: asyncio.Task) -> bool:
|
|
352
|
+
"""Return ``True`` if the task has been started and has not finished."""
|
|
353
|
+
# The task coro should never be None here, as we never add finished tasks to the
|
|
354
|
+
# task list
|
|
355
|
+
coro = task.get_coro()
|
|
356
|
+
assert coro is not None
|
|
357
|
+
return getcoroutinestate(coro) in (CORO_RUNNING, CORO_SUSPENDED)
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
#
|
|
361
|
+
# Timeouts and cancellation
|
|
362
|
+
#
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
def is_anyio_cancellation(exc: CancelledError) -> bool:
|
|
366
|
+
# Sometimes third party frameworks catch a CancelledError and raise a new one, so as
|
|
367
|
+
# a workaround we have to look at the previous ones in __context__ too for a
|
|
368
|
+
# matching cancel message
|
|
369
|
+
while True:
|
|
370
|
+
if (
|
|
371
|
+
exc.args
|
|
372
|
+
and isinstance(exc.args[0], str)
|
|
373
|
+
and exc.args[0].startswith("Cancelled via cancel scope ")
|
|
374
|
+
):
|
|
375
|
+
return True
|
|
376
|
+
|
|
377
|
+
if isinstance(exc.__context__, CancelledError):
|
|
378
|
+
exc = exc.__context__
|
|
379
|
+
continue
|
|
380
|
+
|
|
381
|
+
return False
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
class CancelScope(BaseCancelScope):
|
|
385
|
+
__slots__ = (
|
|
386
|
+
"_active",
|
|
387
|
+
"_cancel_called",
|
|
388
|
+
"_cancel_handle",
|
|
389
|
+
"_cancel_reason",
|
|
390
|
+
"_cancelled_caught",
|
|
391
|
+
"_cancelling_at_enter",
|
|
392
|
+
"_child_scopes",
|
|
393
|
+
"_deadline",
|
|
394
|
+
"_host_task",
|
|
395
|
+
"_parent_scope",
|
|
396
|
+
"_pending_uncancellations",
|
|
397
|
+
"_shield",
|
|
398
|
+
"_tasks",
|
|
399
|
+
"_timeout_handle",
|
|
400
|
+
)
|
|
401
|
+
|
|
402
|
+
def __new__(cls, *, deadline: float = math.inf, shield: bool = False) -> Self:
|
|
403
|
+
return object.__new__(cls)
|
|
404
|
+
|
|
405
|
+
def __init__(self, deadline: float = math.inf, shield: bool = False):
|
|
406
|
+
if math.isnan(deadline):
|
|
407
|
+
raise ValueError("deadline must not be NaN")
|
|
408
|
+
|
|
409
|
+
self._deadline = deadline
|
|
410
|
+
self._shield = shield
|
|
411
|
+
self._parent_scope: CancelScope | None = None
|
|
412
|
+
self._child_scopes: set[CancelScope] = set()
|
|
413
|
+
self._cancel_called = False
|
|
414
|
+
self._cancel_reason: str | None = None
|
|
415
|
+
self._cancelled_caught = False
|
|
416
|
+
self._active = False
|
|
417
|
+
self._timeout_handle: asyncio.TimerHandle | None = None
|
|
418
|
+
self._cancel_handle: asyncio.Handle | None = None
|
|
419
|
+
self._tasks: set[asyncio.Task] = set()
|
|
420
|
+
self._host_task: asyncio.Task | None = None
|
|
421
|
+
# Value of Task.cancelling() on the host task when the scope was entered
|
|
422
|
+
self._cancelling_at_enter = 0
|
|
423
|
+
if sys.version_info >= (3, 11):
|
|
424
|
+
self._pending_uncancellations: int | None = 0
|
|
425
|
+
else:
|
|
426
|
+
self._pending_uncancellations = None
|
|
427
|
+
|
|
428
|
+
def __enter__(self) -> Self:
|
|
429
|
+
if self._active:
|
|
430
|
+
raise RuntimeError(
|
|
431
|
+
"Each CancelScope may only be used for a single 'with' block"
|
|
432
|
+
)
|
|
433
|
+
|
|
434
|
+
self._host_task = host_task = cast(asyncio.Task, current_task())
|
|
435
|
+
self._tasks.add(host_task)
|
|
436
|
+
try:
|
|
437
|
+
task_state = _task_states[host_task]
|
|
438
|
+
except KeyError:
|
|
439
|
+
task_state = TaskState(None, self)
|
|
440
|
+
_task_states[host_task] = task_state
|
|
441
|
+
else:
|
|
442
|
+
self._parent_scope = task_state.cancel_scope
|
|
443
|
+
task_state.cancel_scope = self
|
|
444
|
+
if self._parent_scope is not None:
|
|
445
|
+
# If using an eager task factory, the parent scope may not even contain
|
|
446
|
+
# the host task
|
|
447
|
+
self._parent_scope._child_scopes.add(self)
|
|
448
|
+
self._parent_scope._tasks.discard(host_task)
|
|
449
|
+
|
|
450
|
+
self._timeout()
|
|
451
|
+
self._active = True
|
|
452
|
+
if self._pending_uncancellations is not None:
|
|
453
|
+
self._cancelling_at_enter = host_task.cancelling()
|
|
454
|
+
|
|
455
|
+
# Start cancelling the host task if the scope was cancelled before entering
|
|
456
|
+
if self._cancel_called:
|
|
457
|
+
self._deliver_cancellation(self)
|
|
458
|
+
|
|
459
|
+
return self
|
|
460
|
+
|
|
461
|
+
def __exit__(
|
|
462
|
+
self,
|
|
463
|
+
exc_type: type[BaseException] | None,
|
|
464
|
+
exc_val: BaseException | None,
|
|
465
|
+
exc_tb: TracebackType | None,
|
|
466
|
+
) -> bool:
|
|
467
|
+
del exc_tb
|
|
468
|
+
|
|
469
|
+
if not self._active:
|
|
470
|
+
raise RuntimeError("This cancel scope is not active")
|
|
471
|
+
if current_task() is not self._host_task:
|
|
472
|
+
raise RuntimeError(
|
|
473
|
+
"Attempted to exit cancel scope in a different task than it was "
|
|
474
|
+
"entered in"
|
|
475
|
+
)
|
|
476
|
+
|
|
477
|
+
assert self._host_task is not None
|
|
478
|
+
host_task_state = _task_states.get(self._host_task)
|
|
479
|
+
if host_task_state is None or host_task_state.cancel_scope is not self:
|
|
480
|
+
raise RuntimeError(
|
|
481
|
+
"Attempted to exit a cancel scope that isn't the current tasks's "
|
|
482
|
+
"current cancel scope"
|
|
483
|
+
)
|
|
484
|
+
|
|
485
|
+
try:
|
|
486
|
+
self._active = False
|
|
487
|
+
if self._timeout_handle:
|
|
488
|
+
self._timeout_handle.cancel()
|
|
489
|
+
self._timeout_handle = None
|
|
490
|
+
|
|
491
|
+
self._tasks.remove(self._host_task)
|
|
492
|
+
if self._parent_scope is not None:
|
|
493
|
+
self._parent_scope._child_scopes.remove(self)
|
|
494
|
+
self._parent_scope._tasks.add(self._host_task)
|
|
495
|
+
|
|
496
|
+
host_task_state.cancel_scope = self._parent_scope
|
|
497
|
+
|
|
498
|
+
# Restart the cancellation effort in the closest visible, cancelled parent
|
|
499
|
+
# scope if necessary
|
|
500
|
+
self._restart_cancellation_in_parent()
|
|
501
|
+
|
|
502
|
+
# We only swallow the exception iff it was an AnyIO CancelledError, either
|
|
503
|
+
# directly as exc_val or inside an exception group and there are no cancelled
|
|
504
|
+
# parent cancel scopes visible to us here
|
|
505
|
+
if self._cancel_called and not self._parent_cancellation_is_visible_to_us:
|
|
506
|
+
# For each level-cancel() call made on the host task, call uncancel()
|
|
507
|
+
while self._pending_uncancellations:
|
|
508
|
+
self._host_task.uncancel()
|
|
509
|
+
self._pending_uncancellations -= 1
|
|
510
|
+
|
|
511
|
+
# If the host task still has more cancellation requests pending than it
|
|
512
|
+
# had when this scope was entered, a native Task.cancel() landed while
|
|
513
|
+
# the scope was active. If it arrived in the same event loop iteration
|
|
514
|
+
# as our own cancellation, asyncio folded the two requests into a
|
|
515
|
+
# single CancelledError carrying our cancellation message, so we must
|
|
516
|
+
# not swallow that exception even though it looks like ours (#1214).
|
|
517
|
+
if (
|
|
518
|
+
self._pending_uncancellations is not None
|
|
519
|
+
and self._host_task.cancelling() > self._cancelling_at_enter
|
|
520
|
+
):
|
|
521
|
+
return False
|
|
522
|
+
|
|
523
|
+
# Update cancelled_caught and check for exceptions we must not swallow
|
|
524
|
+
if isinstance(exc_val, BaseExceptionGroup):
|
|
525
|
+
cancelleds_caught, remaining = exc_val.split(
|
|
526
|
+
lambda exc: (
|
|
527
|
+
isinstance(exc, CancelledError)
|
|
528
|
+
and is_anyio_cancellation(exc)
|
|
529
|
+
)
|
|
530
|
+
)
|
|
531
|
+
|
|
532
|
+
if cancelleds_caught is None:
|
|
533
|
+
return False
|
|
534
|
+
|
|
535
|
+
self._cancelled_caught = True
|
|
536
|
+
|
|
537
|
+
if remaining is None:
|
|
538
|
+
return True
|
|
539
|
+
|
|
540
|
+
context = remaining.__context__
|
|
541
|
+
try:
|
|
542
|
+
# Preserve __cause__ and __suppress_context__ by avoiding `raise
|
|
543
|
+
# ... from ...`
|
|
544
|
+
raise remaining
|
|
545
|
+
finally:
|
|
546
|
+
# Preserve __context__
|
|
547
|
+
remaining.__context__ = context
|
|
548
|
+
del context
|
|
549
|
+
else:
|
|
550
|
+
if isinstance(exc_val, CancelledError) and is_anyio_cancellation(
|
|
551
|
+
exc_val
|
|
552
|
+
):
|
|
553
|
+
self._cancelled_caught = True
|
|
554
|
+
return True
|
|
555
|
+
else:
|
|
556
|
+
return False
|
|
557
|
+
else:
|
|
558
|
+
if self._pending_uncancellations:
|
|
559
|
+
assert self._parent_scope is not None
|
|
560
|
+
assert self._parent_scope._pending_uncancellations is not None
|
|
561
|
+
self._parent_scope._pending_uncancellations += (
|
|
562
|
+
self._pending_uncancellations
|
|
563
|
+
)
|
|
564
|
+
self._pending_uncancellations = 0
|
|
565
|
+
|
|
566
|
+
return False
|
|
567
|
+
finally:
|
|
568
|
+
self._host_task = None
|
|
569
|
+
del exc_val
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
def _effectively_cancelled(self) -> bool:
|
|
573
|
+
cancel_scope: CancelScope | None = self
|
|
574
|
+
while cancel_scope is not None:
|
|
575
|
+
if cancel_scope._cancel_called:
|
|
576
|
+
return True
|
|
577
|
+
|
|
578
|
+
if cancel_scope.shield:
|
|
579
|
+
return False
|
|
580
|
+
|
|
581
|
+
cancel_scope = cancel_scope._parent_scope
|
|
582
|
+
|
|
583
|
+
return False
|
|
584
|
+
|
|
585
|
+
@property
|
|
586
|
+
def _parent_cancellation_is_visible_to_us(self) -> bool:
|
|
587
|
+
return (
|
|
588
|
+
self._parent_scope is not None
|
|
589
|
+
and not self.shield
|
|
590
|
+
and self._parent_scope._effectively_cancelled
|
|
591
|
+
)
|
|
592
|
+
|
|
593
|
+
def _timeout(self) -> None:
|
|
594
|
+
if self._deadline != math.inf:
|
|
595
|
+
loop = get_running_loop()
|
|
596
|
+
if loop.time() >= self._deadline:
|
|
597
|
+
self.cancel("deadline exceeded")
|
|
598
|
+
else:
|
|
599
|
+
self._timeout_handle = loop.call_at(self._deadline, self._timeout)
|
|
600
|
+
|
|
601
|
+
def _deliver_cancellation(self, origin: CancelScope) -> bool:
|
|
602
|
+
"""
|
|
603
|
+
Deliver cancellation to directly contained tasks and nested cancel scopes.
|
|
604
|
+
|
|
605
|
+
Schedule another run at the end if we still have tasks eligible for
|
|
606
|
+
cancellation.
|
|
607
|
+
|
|
608
|
+
:param origin: the cancel scope that originated the cancellation
|
|
609
|
+
:return: ``True`` if the delivery needs to be retried on the next cycle
|
|
610
|
+
|
|
611
|
+
"""
|
|
612
|
+
should_retry = False
|
|
613
|
+
current = current_task()
|
|
614
|
+
for task in self._tasks:
|
|
615
|
+
# Always skip tasks that are already done (see issue #1111)
|
|
616
|
+
if task.done():
|
|
617
|
+
continue
|
|
618
|
+
|
|
619
|
+
should_retry = True
|
|
620
|
+
if task._must_cancel: # type: ignore[attr-defined]
|
|
621
|
+
continue
|
|
622
|
+
|
|
623
|
+
# The task is eligible for cancellation if it has started
|
|
624
|
+
if task is not current and (task is self._host_task or _task_started(task)):
|
|
625
|
+
waiter = task._fut_waiter # type: ignore[attr-defined]
|
|
626
|
+
if not isinstance(waiter, asyncio.Future) or not waiter.done():
|
|
627
|
+
task.cancel(origin._cancel_reason)
|
|
628
|
+
if (
|
|
629
|
+
task is origin._host_task
|
|
630
|
+
and origin._pending_uncancellations is not None
|
|
631
|
+
):
|
|
632
|
+
origin._pending_uncancellations += 1
|
|
633
|
+
|
|
634
|
+
# Deliver cancellation to child scopes that aren't shielded or running their own
|
|
635
|
+
# cancellation callbacks
|
|
636
|
+
for scope in self._child_scopes:
|
|
637
|
+
if not scope._shield and not scope.cancel_called:
|
|
638
|
+
should_retry = scope._deliver_cancellation(origin) or should_retry
|
|
639
|
+
|
|
640
|
+
# Schedule another callback if there are still tasks left
|
|
641
|
+
if origin is self:
|
|
642
|
+
if should_retry:
|
|
643
|
+
self._cancel_handle = get_running_loop().call_soon(
|
|
644
|
+
self._deliver_cancellation, origin
|
|
645
|
+
)
|
|
646
|
+
else:
|
|
647
|
+
self._cancel_handle = None
|
|
648
|
+
|
|
649
|
+
return should_retry
|
|
650
|
+
|
|
651
|
+
def _restart_cancellation_in_parent(self) -> None:
|
|
652
|
+
"""
|
|
653
|
+
Restart the cancellation effort in the closest directly cancelled parent scope.
|
|
654
|
+
|
|
655
|
+
"""
|
|
656
|
+
scope = self._parent_scope
|
|
657
|
+
while scope is not None:
|
|
658
|
+
if scope._cancel_called:
|
|
659
|
+
if scope._cancel_handle is None:
|
|
660
|
+
scope._deliver_cancellation(scope)
|
|
661
|
+
|
|
662
|
+
break
|
|
663
|
+
|
|
664
|
+
# No point in looking beyond any shielded scope
|
|
665
|
+
if scope._shield:
|
|
666
|
+
break
|
|
667
|
+
|
|
668
|
+
scope = scope._parent_scope
|
|
669
|
+
|
|
670
|
+
def _reparent(self, new_parent: CancelScope) -> None:
|
|
671
|
+
"""
|
|
672
|
+
Move this active scope from its current parent to ``new_parent``.
|
|
673
|
+
|
|
674
|
+
Used by :meth:`TaskGroup.start` to move a task that has just called
|
|
675
|
+
``task_status.started()`` into the target task group's cancel scope.
|
|
676
|
+
"""
|
|
677
|
+
if self._parent_scope is new_parent:
|
|
678
|
+
return
|
|
679
|
+
|
|
680
|
+
if self._parent_scope is not None:
|
|
681
|
+
self._parent_scope._child_scopes.discard(self)
|
|
682
|
+
|
|
683
|
+
self._parent_scope = new_parent
|
|
684
|
+
new_parent._child_scopes.add(self)
|
|
685
|
+
|
|
686
|
+
# If the new parent (or an ancestor) is already cancelled, (re)start the
|
|
687
|
+
# delivery loop to ensure we're cancelled at next checkpoint like Trio.
|
|
688
|
+
self._restart_cancellation_in_parent()
|
|
689
|
+
|
|
690
|
+
def cancel(self, reason: str | None = None) -> None:
|
|
691
|
+
if not self._cancel_called:
|
|
692
|
+
if self._timeout_handle:
|
|
693
|
+
self._timeout_handle.cancel()
|
|
694
|
+
self._timeout_handle = None
|
|
695
|
+
|
|
696
|
+
self._cancel_called = True
|
|
697
|
+
self._cancel_reason = f"Cancelled via cancel scope {id(self):x}"
|
|
698
|
+
if task := current_task():
|
|
699
|
+
self._cancel_reason += f" by {task}"
|
|
700
|
+
|
|
701
|
+
if reason:
|
|
702
|
+
self._cancel_reason += f"; reason: {reason}"
|
|
703
|
+
|
|
704
|
+
if self._host_task is not None:
|
|
705
|
+
self._deliver_cancellation(self)
|
|
706
|
+
|
|
707
|
+
@property
|
|
708
|
+
def deadline(self) -> float:
|
|
709
|
+
return self._deadline
|
|
710
|
+
|
|
711
|
+
@deadline.setter
|
|
712
|
+
def deadline(self, value: float) -> None:
|
|
713
|
+
value = float(value)
|
|
714
|
+
if math.isnan(value):
|
|
715
|
+
raise ValueError("deadline must not be NaN")
|
|
716
|
+
|
|
717
|
+
self._deadline = value
|
|
718
|
+
if self._timeout_handle is not None:
|
|
719
|
+
self._timeout_handle.cancel()
|
|
720
|
+
self._timeout_handle = None
|
|
721
|
+
|
|
722
|
+
if self._active and not self._cancel_called:
|
|
723
|
+
self._timeout()
|
|
724
|
+
|
|
725
|
+
@property
|
|
726
|
+
def cancel_called(self) -> bool:
|
|
727
|
+
return self._cancel_called
|
|
728
|
+
|
|
729
|
+
@property
|
|
730
|
+
def cancelled_caught(self) -> bool:
|
|
731
|
+
return self._cancelled_caught
|
|
732
|
+
|
|
733
|
+
@property
|
|
734
|
+
def shield(self) -> bool:
|
|
735
|
+
return self._shield
|
|
736
|
+
|
|
737
|
+
@shield.setter
|
|
738
|
+
def shield(self, value: bool) -> None:
|
|
739
|
+
if self._shield != value:
|
|
740
|
+
self._shield = value
|
|
741
|
+
if not value:
|
|
742
|
+
self._restart_cancellation_in_parent()
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
#
|
|
746
|
+
# Task states
|
|
747
|
+
#
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
class TaskState:
|
|
751
|
+
"""
|
|
752
|
+
Encapsulates auxiliary task information that cannot be added to the Task instance
|
|
753
|
+
itself because there are no guarantees about its implementation.
|
|
754
|
+
"""
|
|
755
|
+
|
|
756
|
+
__slots__ = "__weakref__", "cancel_scope", "parent_id"
|
|
757
|
+
|
|
758
|
+
def __init__(self, parent_id: int | None, cancel_scope: CancelScope | None):
|
|
759
|
+
self.parent_id = parent_id
|
|
760
|
+
self.cancel_scope = cancel_scope
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
_task_states: WeakKeyDictionary[asyncio.Task, TaskState] = WeakKeyDictionary()
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
#
|
|
767
|
+
# Task groups
|
|
768
|
+
#
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
class _AsyncioTaskStatus(abc.TaskStatus[T_contra]):
|
|
772
|
+
def __init__(
|
|
773
|
+
self,
|
|
774
|
+
future: asyncio.Future,
|
|
775
|
+
parent_id: int,
|
|
776
|
+
target_scope: CancelScope,
|
|
777
|
+
spawn_scope: CancelScope,
|
|
778
|
+
):
|
|
779
|
+
self._future = future
|
|
780
|
+
self._parent_id = parent_id
|
|
781
|
+
# The eventual parent scope for this spawn_scope
|
|
782
|
+
# (after task_status.started() has been called)
|
|
783
|
+
self._target_scope = target_scope
|
|
784
|
+
# The task's own cancel scope, also held by its TaskHandle
|
|
785
|
+
self._spawn_scope = spawn_scope
|
|
786
|
+
|
|
787
|
+
def started(self, value: T_contra | None = None) -> None:
|
|
788
|
+
task = cast(asyncio.Task, current_task())
|
|
789
|
+
_task_states[task].parent_id = self._parent_id
|
|
790
|
+
if self._future.done():
|
|
791
|
+
if not self._future.cancelled():
|
|
792
|
+
raise RuntimeError("called 'started' twice on the same task status")
|
|
793
|
+
else:
|
|
794
|
+
# Caller of start() was cancelled, nothing to reparent
|
|
795
|
+
return
|
|
796
|
+
|
|
797
|
+
self._future.set_result(value)
|
|
798
|
+
self._spawn_scope._reparent(self._target_scope)
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
if sys.version_info >= (3, 12):
|
|
802
|
+
_eager_task_factory_code: CodeType | None = asyncio.eager_task_factory.__code__
|
|
803
|
+
else:
|
|
804
|
+
_eager_task_factory_code = None
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
class TaskGroup(abc.TaskGroup):
|
|
808
|
+
def __init__(self) -> None:
|
|
809
|
+
self.cancel_scope: CancelScope = CancelScope()
|
|
810
|
+
self._entered = False
|
|
811
|
+
self._exceptions: list[BaseException] = []
|
|
812
|
+
self._tasks: set[asyncio.Task] = set()
|
|
813
|
+
self._on_completed_fut: asyncio.Future[None] | None = None
|
|
814
|
+
|
|
815
|
+
async def __aenter__(self) -> Self:
|
|
816
|
+
if self._entered:
|
|
817
|
+
raise RuntimeError("TaskGroup cannot be entered more than once")
|
|
818
|
+
|
|
819
|
+
self._entered = True
|
|
820
|
+
|
|
821
|
+
self.cancel_scope.__enter__()
|
|
822
|
+
return self
|
|
823
|
+
|
|
824
|
+
async def __aexit__(
|
|
825
|
+
self,
|
|
826
|
+
exc_type: type[BaseException] | None,
|
|
827
|
+
exc_val: BaseException | None,
|
|
828
|
+
exc_tb: TracebackType | None,
|
|
829
|
+
) -> bool:
|
|
830
|
+
try:
|
|
831
|
+
if exc_val is not None:
|
|
832
|
+
self.cancel_scope.cancel()
|
|
833
|
+
if not isinstance(exc_val, CancelledError):
|
|
834
|
+
self._exceptions.append(exc_val)
|
|
835
|
+
|
|
836
|
+
loop = get_running_loop()
|
|
837
|
+
try:
|
|
838
|
+
if self._tasks:
|
|
839
|
+
with CancelScope() as wait_scope:
|
|
840
|
+
while self._tasks:
|
|
841
|
+
self._on_completed_fut = loop.create_future()
|
|
842
|
+
|
|
843
|
+
try:
|
|
844
|
+
await self._on_completed_fut
|
|
845
|
+
except CancelledError as exc:
|
|
846
|
+
# Shield the scope against further cancellation attempts,
|
|
847
|
+
# as they're not productive (#695)
|
|
848
|
+
wait_scope.shield = True
|
|
849
|
+
self.cancel_scope.cancel()
|
|
850
|
+
|
|
851
|
+
# Set exc_val from the cancellation exception if it was
|
|
852
|
+
# previously unset. However, we should not replace a native
|
|
853
|
+
# cancellation exception with one raise by a cancel scope.
|
|
854
|
+
if exc_val is None or (
|
|
855
|
+
isinstance(exc_val, CancelledError)
|
|
856
|
+
and not is_anyio_cancellation(exc)
|
|
857
|
+
):
|
|
858
|
+
exc_val = exc
|
|
859
|
+
|
|
860
|
+
self._on_completed_fut = None
|
|
861
|
+
else:
|
|
862
|
+
# If there are no child tasks to wait on, run at least one checkpoint
|
|
863
|
+
# anyway
|
|
864
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
865
|
+
|
|
866
|
+
if self._exceptions:
|
|
867
|
+
# The exception that got us here should already have been
|
|
868
|
+
# added to self._exceptions so it's ok to break exception
|
|
869
|
+
# chaining and avoid adding a "During handling of above..."
|
|
870
|
+
# for each nesting level.
|
|
871
|
+
raise BaseExceptionGroup(
|
|
872
|
+
"unhandled errors in a TaskGroup", self._exceptions
|
|
873
|
+
) from None
|
|
874
|
+
elif exc_val:
|
|
875
|
+
raise exc_val
|
|
876
|
+
except BaseException as exc:
|
|
877
|
+
if self.cancel_scope.__exit__(type(exc), exc, exc.__traceback__):
|
|
878
|
+
return True
|
|
879
|
+
|
|
880
|
+
raise
|
|
881
|
+
|
|
882
|
+
return self.cancel_scope.__exit__(exc_type, exc_val, exc_tb)
|
|
883
|
+
finally:
|
|
884
|
+
del exc_val, exc_tb, self._exceptions
|
|
885
|
+
|
|
886
|
+
def _spawn(
|
|
887
|
+
self,
|
|
888
|
+
coro: Coroutine[Any, Any, T_co],
|
|
889
|
+
name: object,
|
|
890
|
+
task_status: _AsyncioTaskStatus | None = None,
|
|
891
|
+
) -> TaskHandle[T_co]:
|
|
892
|
+
task_status_future = task_status._future if task_status is not None else None
|
|
893
|
+
|
|
894
|
+
def task_done(_task: asyncio.Task) -> None:
|
|
895
|
+
if sys.version_info >= (3, 14) and self.cancel_scope._host_task is not None:
|
|
896
|
+
asyncio.future_discard_from_awaited_by(
|
|
897
|
+
_task, self.cancel_scope._host_task
|
|
898
|
+
)
|
|
899
|
+
|
|
900
|
+
task_state = _task_states[_task]
|
|
901
|
+
assert task_state.cancel_scope is not None
|
|
902
|
+
assert _task in task_state.cancel_scope._tasks
|
|
903
|
+
task_state.cancel_scope._tasks.remove(_task)
|
|
904
|
+
self._tasks.remove(task)
|
|
905
|
+
del _task_states[_task]
|
|
906
|
+
|
|
907
|
+
if self._on_completed_fut is not None and not self._tasks:
|
|
908
|
+
try:
|
|
909
|
+
self._on_completed_fut.set_result(None)
|
|
910
|
+
except asyncio.InvalidStateError:
|
|
911
|
+
pass
|
|
912
|
+
|
|
913
|
+
try:
|
|
914
|
+
exc = _task.exception()
|
|
915
|
+
except CancelledError as e:
|
|
916
|
+
while isinstance(e.__context__, CancelledError):
|
|
917
|
+
e = e.__context__
|
|
918
|
+
|
|
919
|
+
exc = e
|
|
920
|
+
|
|
921
|
+
if exc is not None:
|
|
922
|
+
# The future can only be in the cancelled state if the host task was
|
|
923
|
+
# cancelled, so return immediately instead of adding one more
|
|
924
|
+
# CancelledError to the exceptions list
|
|
925
|
+
if task_status_future is not None and task_status_future.cancelled():
|
|
926
|
+
return
|
|
927
|
+
|
|
928
|
+
if task_status_future is None or task_status_future.done():
|
|
929
|
+
if not isinstance(exc, CancelledError):
|
|
930
|
+
self._exceptions.append(exc)
|
|
931
|
+
|
|
932
|
+
if not self.cancel_scope._effectively_cancelled:
|
|
933
|
+
self.cancel_scope.cancel()
|
|
934
|
+
else:
|
|
935
|
+
task_status_future.set_exception(exc)
|
|
936
|
+
elif task_status_future is not None and not task_status_future.done():
|
|
937
|
+
task_status_future.set_exception(
|
|
938
|
+
RuntimeError("Child exited without calling task_status.started()")
|
|
939
|
+
)
|
|
940
|
+
|
|
941
|
+
if task_status_future is not None:
|
|
942
|
+
parent_id = id(current_task())
|
|
943
|
+
caller_state = _task_states.get(cast(asyncio.Task, current_task()))
|
|
944
|
+
if caller_state is not None and caller_state.cancel_scope is not None:
|
|
945
|
+
initial_scope = caller_state.cancel_scope
|
|
946
|
+
else:
|
|
947
|
+
# The caller is an unmanaged task (no task state)
|
|
948
|
+
initial_scope = self.cancel_scope
|
|
949
|
+
else:
|
|
950
|
+
parent_id = id(self.cancel_scope._host_task)
|
|
951
|
+
initial_scope = self.cancel_scope
|
|
952
|
+
|
|
953
|
+
spawn_scope = task_status._spawn_scope if task_status is not None else None
|
|
954
|
+
handle = TaskHandle(coro, name, cancel_scope=spawn_scope)
|
|
955
|
+
loop = asyncio.get_running_loop()
|
|
956
|
+
wrapper_coro = handle._run_coro()
|
|
957
|
+
try:
|
|
958
|
+
if (
|
|
959
|
+
(factory := loop.get_task_factory())
|
|
960
|
+
and getattr(factory, "__code__", None) is _eager_task_factory_code
|
|
961
|
+
and (closure := getattr(factory, "__closure__", None))
|
|
962
|
+
):
|
|
963
|
+
custom_task_constructor = closure[0].cell_contents
|
|
964
|
+
task = custom_task_constructor(
|
|
965
|
+
wrapper_coro, loop=loop, name=handle.name
|
|
966
|
+
)
|
|
967
|
+
else:
|
|
968
|
+
task = loop.create_task(wrapper_coro, name=handle.name)
|
|
969
|
+
except BaseException:
|
|
970
|
+
with suppress(BaseException):
|
|
971
|
+
wrapper_coro.close()
|
|
972
|
+
|
|
973
|
+
with suppress(BaseException):
|
|
974
|
+
coro.close()
|
|
975
|
+
|
|
976
|
+
raise
|
|
977
|
+
|
|
978
|
+
# Make the spawned task inherit the initial cancel scope
|
|
979
|
+
_task_states[task] = TaskState(parent_id=parent_id, cancel_scope=initial_scope)
|
|
980
|
+
initial_scope._tasks.add(task)
|
|
981
|
+
self._tasks.add(task)
|
|
982
|
+
if sys.version_info >= (3, 14) and self.cancel_scope._host_task is not None:
|
|
983
|
+
asyncio.future_add_to_awaited_by(task, self.cancel_scope._host_task)
|
|
984
|
+
|
|
985
|
+
task.add_done_callback(task_done)
|
|
986
|
+
return handle
|
|
987
|
+
|
|
988
|
+
def create_task(
|
|
989
|
+
self,
|
|
990
|
+
coro: Coroutine[Any, Any, T_co],
|
|
991
|
+
*,
|
|
992
|
+
name: object = None,
|
|
993
|
+
context: Context | None = None,
|
|
994
|
+
) -> TaskHandle[T_co]:
|
|
995
|
+
if not isinstance(coro, Coroutine):
|
|
996
|
+
raise TypeError(f"expected a coroutine, got {coro.__class__.__qualname__}")
|
|
997
|
+
|
|
998
|
+
if not self._entered or not self.cancel_scope._active:
|
|
999
|
+
coro.close()
|
|
1000
|
+
raise RuntimeError(
|
|
1001
|
+
"This task group is not active; no new tasks can be started."
|
|
1002
|
+
)
|
|
1003
|
+
|
|
1004
|
+
final_name = get_coro_name(coro, name)
|
|
1005
|
+
|
|
1006
|
+
if context is not None:
|
|
1007
|
+
return context.run(self._spawn, coro, name=final_name)
|
|
1008
|
+
else:
|
|
1009
|
+
return self._spawn(coro, name=final_name)
|
|
1010
|
+
|
|
1011
|
+
async def start(
|
|
1012
|
+
self,
|
|
1013
|
+
func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]],
|
|
1014
|
+
*args: Unpack[PosArgsT],
|
|
1015
|
+
name: object = None,
|
|
1016
|
+
return_handle: Literal[False, True] = False,
|
|
1017
|
+
) -> Any:
|
|
1018
|
+
if not self._entered or not self.cancel_scope._active:
|
|
1019
|
+
raise RuntimeError(
|
|
1020
|
+
"This task group is not active; no new tasks can be started."
|
|
1021
|
+
)
|
|
1022
|
+
|
|
1023
|
+
# Until task_status.started() is called, a task spawned via start() belongs to
|
|
1024
|
+
# the *caller's* cancel scope, not the target group's, so cancelling the group
|
|
1025
|
+
# does not cancel a task that hasn't reported startup yet. The
|
|
1026
|
+
# task_status.started() call moves the task's cancel scope to this task group's
|
|
1027
|
+
# cancel scope.
|
|
1028
|
+
#
|
|
1029
|
+
# The caller may be an unmanaged task (no _task_states entry), in which case
|
|
1030
|
+
# fall back to the group's own scope.
|
|
1031
|
+
future: asyncio.Future = asyncio.Future()
|
|
1032
|
+
final_name = get_callable_name(func, name)
|
|
1033
|
+
task_status: _AsyncioTaskStatus[Any] = _AsyncioTaskStatus(
|
|
1034
|
+
future, id(self.cancel_scope._host_task), self.cancel_scope, CancelScope()
|
|
1035
|
+
)
|
|
1036
|
+
coro = call_for_coroutine(func, args, task_status=task_status)
|
|
1037
|
+
handle = self._spawn(coro, final_name, task_status)
|
|
1038
|
+
|
|
1039
|
+
# If the task raises an exception after sending a start value without a switch
|
|
1040
|
+
# point between, the task group is cancelled and this method never proceeds to
|
|
1041
|
+
# process the completed future. That's why we have to have a shielded cancel
|
|
1042
|
+
# scope here.
|
|
1043
|
+
try:
|
|
1044
|
+
await future
|
|
1045
|
+
except BaseException:
|
|
1046
|
+
if handle.status is TaskHandle.Status.PENDING:
|
|
1047
|
+
# Cancel the task and wait for it to exit before returning
|
|
1048
|
+
handle.cancel()
|
|
1049
|
+
with CancelScope(shield=True):
|
|
1050
|
+
await handle.wait()
|
|
1051
|
+
|
|
1052
|
+
raise
|
|
1053
|
+
|
|
1054
|
+
if return_handle:
|
|
1055
|
+
handle._start_value = future.result()
|
|
1056
|
+
return handle
|
|
1057
|
+
else:
|
|
1058
|
+
return future.result()
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
#
|
|
1062
|
+
# Threads
|
|
1063
|
+
#
|
|
1064
|
+
|
|
1065
|
+
_Retval_Queue_Type = tuple[T_Retval | None, BaseException | None]
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
class WorkerThread(Thread):
|
|
1069
|
+
MAX_IDLE_TIME = 10 # seconds
|
|
1070
|
+
|
|
1071
|
+
def __init__(
|
|
1072
|
+
self,
|
|
1073
|
+
root_task: asyncio.Task,
|
|
1074
|
+
workers: set[WorkerThread],
|
|
1075
|
+
idle_workers: deque[WorkerThread],
|
|
1076
|
+
):
|
|
1077
|
+
kwargs: dict[str, Any] = {}
|
|
1078
|
+
if sys.version_info >= (3, 14):
|
|
1079
|
+
kwargs["context"] = Context()
|
|
1080
|
+
|
|
1081
|
+
super().__init__(name="AnyIO worker thread", **kwargs)
|
|
1082
|
+
self.root_task = root_task
|
|
1083
|
+
self.workers = workers
|
|
1084
|
+
self.idle_workers = idle_workers
|
|
1085
|
+
self.loop = root_task._loop
|
|
1086
|
+
self.queue: Queue[
|
|
1087
|
+
tuple[Context, Callable, tuple, asyncio.Future, CancelScope] | None
|
|
1088
|
+
] = Queue(2)
|
|
1089
|
+
self.idle_since = AsyncIOBackend.current_time()
|
|
1090
|
+
self.stopping = False
|
|
1091
|
+
|
|
1092
|
+
def _report_result(
|
|
1093
|
+
self, future: asyncio.Future, result: Any, exc: BaseException | None
|
|
1094
|
+
) -> None:
|
|
1095
|
+
self.idle_since = AsyncIOBackend.current_time()
|
|
1096
|
+
if not self.stopping:
|
|
1097
|
+
self.idle_workers.append(self)
|
|
1098
|
+
|
|
1099
|
+
if not future.cancelled():
|
|
1100
|
+
if exc is not None:
|
|
1101
|
+
if isinstance(exc, StopIteration):
|
|
1102
|
+
new_exc = RuntimeError("coroutine raised StopIteration")
|
|
1103
|
+
new_exc.__cause__ = exc
|
|
1104
|
+
exc = new_exc
|
|
1105
|
+
|
|
1106
|
+
future.set_exception(exc)
|
|
1107
|
+
else:
|
|
1108
|
+
future.set_result(result)
|
|
1109
|
+
|
|
1110
|
+
def run(self) -> None:
|
|
1111
|
+
with claim_worker_thread(AsyncIOBackend, self.loop):
|
|
1112
|
+
while True:
|
|
1113
|
+
item = self.queue.get()
|
|
1114
|
+
if item is None:
|
|
1115
|
+
# Shutdown command received
|
|
1116
|
+
return
|
|
1117
|
+
|
|
1118
|
+
context, func, args, future, cancel_scope = item
|
|
1119
|
+
result = None
|
|
1120
|
+
exception: BaseException | None = None
|
|
1121
|
+
if not future.cancelled():
|
|
1122
|
+
threadlocals.current_cancel_scope = cancel_scope
|
|
1123
|
+
try:
|
|
1124
|
+
result = context.run(func, *args)
|
|
1125
|
+
except BaseException as exc:
|
|
1126
|
+
exception = exc
|
|
1127
|
+
finally:
|
|
1128
|
+
del threadlocals.current_cancel_scope
|
|
1129
|
+
|
|
1130
|
+
# Report the result even if the future was cancelled before the call
|
|
1131
|
+
# was started, so that the worker is put back on the idle list
|
|
1132
|
+
try:
|
|
1133
|
+
self.loop.call_soon_threadsafe(
|
|
1134
|
+
self._report_result, future, result, exception
|
|
1135
|
+
)
|
|
1136
|
+
except RuntimeError:
|
|
1137
|
+
if not self.loop.is_closed():
|
|
1138
|
+
raise
|
|
1139
|
+
|
|
1140
|
+
del result, exception
|
|
1141
|
+
self.queue.task_done()
|
|
1142
|
+
del item, context, func, args, future, cancel_scope
|
|
1143
|
+
|
|
1144
|
+
def stop(self, f: asyncio.Task | None = None) -> None:
|
|
1145
|
+
self.stopping = True
|
|
1146
|
+
self.queue.put_nowait(None)
|
|
1147
|
+
self.workers.discard(self)
|
|
1148
|
+
try:
|
|
1149
|
+
self.idle_workers.remove(self)
|
|
1150
|
+
except ValueError:
|
|
1151
|
+
pass
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
_threadpool_idle_workers: RunVar[deque[WorkerThread]] = RunVar(
|
|
1155
|
+
"_threadpool_idle_workers"
|
|
1156
|
+
)
|
|
1157
|
+
_threadpool_workers: RunVar[set[WorkerThread]] = RunVar("_threadpool_workers")
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
#
|
|
1161
|
+
# Subprocesses
|
|
1162
|
+
#
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
@dataclass(eq=False)
|
|
1166
|
+
class StreamReaderWrapper(abc.ByteReceiveStream):
|
|
1167
|
+
_stream: asyncio.StreamReader
|
|
1168
|
+
|
|
1169
|
+
async def receive(self, max_bytes: int = 65536) -> bytes:
|
|
1170
|
+
if max_bytes < 1:
|
|
1171
|
+
raise ValueError("max_bytes must be a positive integer")
|
|
1172
|
+
|
|
1173
|
+
data = await self._stream.read(max_bytes)
|
|
1174
|
+
if data:
|
|
1175
|
+
return data
|
|
1176
|
+
else:
|
|
1177
|
+
raise EndOfStream
|
|
1178
|
+
|
|
1179
|
+
async def aclose(self) -> None:
|
|
1180
|
+
self._stream.set_exception(ClosedResourceError())
|
|
1181
|
+
await AsyncIOBackend.checkpoint()
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
@dataclass(eq=False)
|
|
1185
|
+
class StreamWriterWrapper(abc.ByteSendStream):
|
|
1186
|
+
_stream: asyncio.StreamWriter
|
|
1187
|
+
_closed: bool = field(init=False, default=False)
|
|
1188
|
+
|
|
1189
|
+
async def send(self, item: bytes) -> None:
|
|
1190
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
1191
|
+
stream_paused = self._stream._protocol._paused # type: ignore[attr-defined]
|
|
1192
|
+
try:
|
|
1193
|
+
self._stream.write(item)
|
|
1194
|
+
await self._stream.drain()
|
|
1195
|
+
except (ConnectionResetError, BrokenPipeError, RuntimeError) as exc:
|
|
1196
|
+
# If closed by us and/or the peer:
|
|
1197
|
+
# * on stdlib, drain() raises ConnectionResetError or BrokenPipeError
|
|
1198
|
+
# * on uvloop and Winloop, write() eventually starts raising RuntimeError
|
|
1199
|
+
if self._closed:
|
|
1200
|
+
raise ClosedResourceError from exc
|
|
1201
|
+
elif self._stream.is_closing():
|
|
1202
|
+
raise BrokenResourceError from exc
|
|
1203
|
+
|
|
1204
|
+
raise
|
|
1205
|
+
|
|
1206
|
+
if not stream_paused:
|
|
1207
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
1208
|
+
|
|
1209
|
+
async def aclose(self) -> None:
|
|
1210
|
+
self._closed = True
|
|
1211
|
+
self._stream.close()
|
|
1212
|
+
await AsyncIOBackend.checkpoint()
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
@dataclass(eq=False)
|
|
1216
|
+
class Process(abc.Process):
|
|
1217
|
+
_process: asyncio.subprocess.Process
|
|
1218
|
+
_stdin: StreamWriterWrapper | None
|
|
1219
|
+
_stdout: StreamReaderWrapper | None
|
|
1220
|
+
_stderr: StreamReaderWrapper | None
|
|
1221
|
+
_exited: asyncio.Event
|
|
1222
|
+
_transport: asyncio.SubprocessTransport
|
|
1223
|
+
|
|
1224
|
+
async def aclose(self) -> None:
|
|
1225
|
+
with CancelScope(shield=True) as scope:
|
|
1226
|
+
# We need to close the underlying pipe_transports as well to allow a
|
|
1227
|
+
# process blocking on full buffers to receive SIGPIPE and exit.
|
|
1228
|
+
if self._stdin:
|
|
1229
|
+
await self._stdin.aclose()
|
|
1230
|
+
if pipe := self._transport.get_pipe_transport(0):
|
|
1231
|
+
pipe.close()
|
|
1232
|
+
if self._stdout:
|
|
1233
|
+
await self._stdout.aclose()
|
|
1234
|
+
if pipe := self._transport.get_pipe_transport(1):
|
|
1235
|
+
pipe.close()
|
|
1236
|
+
if self._stderr:
|
|
1237
|
+
await self._stderr.aclose()
|
|
1238
|
+
if pipe := self._transport.get_pipe_transport(2):
|
|
1239
|
+
pipe.close()
|
|
1240
|
+
|
|
1241
|
+
scope.shield = False
|
|
1242
|
+
try:
|
|
1243
|
+
await self.wait()
|
|
1244
|
+
except BaseException:
|
|
1245
|
+
scope.shield = True
|
|
1246
|
+
# Closing the transport on asyncio also handles sending kill
|
|
1247
|
+
self._transport.close()
|
|
1248
|
+
await self.wait()
|
|
1249
|
+
raise
|
|
1250
|
+
|
|
1251
|
+
async def wait(self) -> int:
|
|
1252
|
+
await self._exited.wait()
|
|
1253
|
+
assert self._process.returncode is not None
|
|
1254
|
+
return self._process.returncode
|
|
1255
|
+
|
|
1256
|
+
def terminate(self) -> None:
|
|
1257
|
+
self._process.terminate()
|
|
1258
|
+
|
|
1259
|
+
def kill(self) -> None:
|
|
1260
|
+
self._process.kill()
|
|
1261
|
+
|
|
1262
|
+
def send_signal(self, signal: int) -> None:
|
|
1263
|
+
self._process.send_signal(signal)
|
|
1264
|
+
|
|
1265
|
+
@property
|
|
1266
|
+
def pid(self) -> int:
|
|
1267
|
+
return self._process.pid
|
|
1268
|
+
|
|
1269
|
+
@property
|
|
1270
|
+
def returncode(self) -> int | None:
|
|
1271
|
+
return self._process.returncode
|
|
1272
|
+
|
|
1273
|
+
@property
|
|
1274
|
+
def stdin(self) -> abc.ByteSendStream | None:
|
|
1275
|
+
return self._stdin
|
|
1276
|
+
|
|
1277
|
+
@property
|
|
1278
|
+
def stdout(self) -> abc.ByteReceiveStream | None:
|
|
1279
|
+
return self._stdout
|
|
1280
|
+
|
|
1281
|
+
@property
|
|
1282
|
+
def stderr(self) -> abc.ByteReceiveStream | None:
|
|
1283
|
+
return self._stderr
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
def _forcibly_shutdown_process_pool_on_exit(
|
|
1287
|
+
workers: set[Process], _task: object
|
|
1288
|
+
) -> None:
|
|
1289
|
+
"""
|
|
1290
|
+
Forcibly shuts down worker processes belonging to this event loop."""
|
|
1291
|
+
child_watcher: asyncio.AbstractChildWatcher | None = None # type: ignore[name-defined]
|
|
1292
|
+
if sys.version_info < (3, 12):
|
|
1293
|
+
try:
|
|
1294
|
+
child_watcher = asyncio.get_event_loop_policy().get_child_watcher()
|
|
1295
|
+
except NotImplementedError:
|
|
1296
|
+
pass
|
|
1297
|
+
|
|
1298
|
+
# Close as much as possible (w/o async/await) to avoid warnings
|
|
1299
|
+
for process in workers.copy():
|
|
1300
|
+
if process.returncode is not None:
|
|
1301
|
+
continue
|
|
1302
|
+
|
|
1303
|
+
process._stdin._stream._transport.close() # type: ignore[union-attr]
|
|
1304
|
+
process._stdout._stream._transport.close() # type: ignore[union-attr]
|
|
1305
|
+
process._stderr._stream._transport.close() # type: ignore[union-attr]
|
|
1306
|
+
process.kill()
|
|
1307
|
+
if child_watcher:
|
|
1308
|
+
child_watcher.remove_child_handler(process.pid)
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
async def _shutdown_process_pool_on_exit(workers: set[abc.Process]) -> None:
|
|
1312
|
+
"""
|
|
1313
|
+
Shuts down worker processes belonging to this event loop.
|
|
1314
|
+
|
|
1315
|
+
NOTE: this only works when the event loop was started using asyncio.run() or
|
|
1316
|
+
anyio.run().
|
|
1317
|
+
|
|
1318
|
+
"""
|
|
1319
|
+
process: abc.Process
|
|
1320
|
+
try:
|
|
1321
|
+
await sleep(math.inf)
|
|
1322
|
+
except asyncio.CancelledError:
|
|
1323
|
+
workers = workers.copy()
|
|
1324
|
+
for process in workers:
|
|
1325
|
+
if process.returncode is None:
|
|
1326
|
+
process.kill()
|
|
1327
|
+
|
|
1328
|
+
for process in workers:
|
|
1329
|
+
await process.aclose()
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
#
|
|
1333
|
+
# Sockets and networking
|
|
1334
|
+
#
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
class StreamProtocol(asyncio.Protocol):
|
|
1338
|
+
read_queue: deque[bytes]
|
|
1339
|
+
read_event: asyncio.Event
|
|
1340
|
+
write_event: asyncio.Event
|
|
1341
|
+
exception: Exception | None = None
|
|
1342
|
+
is_at_eof: bool = False
|
|
1343
|
+
|
|
1344
|
+
def connection_made(self, transport: asyncio.BaseTransport) -> None:
|
|
1345
|
+
self.read_queue = deque()
|
|
1346
|
+
self.read_event = asyncio.Event()
|
|
1347
|
+
self.write_event = asyncio.Event()
|
|
1348
|
+
self.write_event.set()
|
|
1349
|
+
cast(asyncio.Transport, transport).set_write_buffer_limits(0)
|
|
1350
|
+
|
|
1351
|
+
def connection_lost(self, exc: Exception | None) -> None:
|
|
1352
|
+
if exc:
|
|
1353
|
+
self.exception = exc
|
|
1354
|
+
|
|
1355
|
+
self.read_event.set()
|
|
1356
|
+
self.write_event.set()
|
|
1357
|
+
|
|
1358
|
+
def data_received(self, data: bytes) -> None:
|
|
1359
|
+
# ProactorEventloop sometimes sends bytearray instead of bytes
|
|
1360
|
+
self.read_queue.append(bytes(data))
|
|
1361
|
+
self.read_event.set()
|
|
1362
|
+
|
|
1363
|
+
def eof_received(self) -> bool | None:
|
|
1364
|
+
self.is_at_eof = True
|
|
1365
|
+
self.read_event.set()
|
|
1366
|
+
return True
|
|
1367
|
+
|
|
1368
|
+
def pause_writing(self) -> None:
|
|
1369
|
+
self.write_event = asyncio.Event()
|
|
1370
|
+
|
|
1371
|
+
def resume_writing(self) -> None:
|
|
1372
|
+
self.write_event.set()
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
class DatagramProtocol(asyncio.DatagramProtocol):
|
|
1376
|
+
read_queue: deque[tuple[bytes, IPSockAddrType]]
|
|
1377
|
+
read_event: asyncio.Event
|
|
1378
|
+
write_event: asyncio.Event
|
|
1379
|
+
exception: Exception | None = None
|
|
1380
|
+
|
|
1381
|
+
def connection_made(self, transport: asyncio.BaseTransport) -> None:
|
|
1382
|
+
self.read_queue = deque(maxlen=100) # arbitrary value
|
|
1383
|
+
self.read_event = asyncio.Event()
|
|
1384
|
+
self.write_event = asyncio.Event()
|
|
1385
|
+
self.write_event.set()
|
|
1386
|
+
cast(asyncio.WriteTransport, transport).set_write_buffer_limits(0)
|
|
1387
|
+
|
|
1388
|
+
def connection_lost(self, exc: Exception | None) -> None:
|
|
1389
|
+
self.read_event.set()
|
|
1390
|
+
self.write_event.set()
|
|
1391
|
+
|
|
1392
|
+
def datagram_received(self, data: bytes, addr: IPSockAddrType) -> None:
|
|
1393
|
+
addr = convert_ipv6_sockaddr(addr)
|
|
1394
|
+
self.read_queue.append((data, addr))
|
|
1395
|
+
self.read_event.set()
|
|
1396
|
+
|
|
1397
|
+
def error_received(self, exc: Exception) -> None:
|
|
1398
|
+
self.exception = exc
|
|
1399
|
+
|
|
1400
|
+
def pause_writing(self) -> None:
|
|
1401
|
+
self.write_event.clear()
|
|
1402
|
+
|
|
1403
|
+
def resume_writing(self) -> None:
|
|
1404
|
+
self.write_event.set()
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
class SocketStream(abc.SocketStream):
|
|
1408
|
+
def __init__(self, transport: asyncio.Transport, protocol: StreamProtocol):
|
|
1409
|
+
self._transport = transport
|
|
1410
|
+
self._protocol = protocol
|
|
1411
|
+
self._receive_guard = ResourceGuard("reading from")
|
|
1412
|
+
self._send_guard = ResourceGuard("writing to")
|
|
1413
|
+
self._closed = False
|
|
1414
|
+
|
|
1415
|
+
@property
|
|
1416
|
+
def _raw_socket(self) -> socket.socket:
|
|
1417
|
+
return self._transport.get_extra_info("socket")
|
|
1418
|
+
|
|
1419
|
+
async def receive(self, max_bytes: int = 65536) -> bytes:
|
|
1420
|
+
if max_bytes < 1:
|
|
1421
|
+
raise ValueError("max_bytes must be a positive integer")
|
|
1422
|
+
|
|
1423
|
+
with self._receive_guard:
|
|
1424
|
+
if (
|
|
1425
|
+
not self._protocol.read_event.is_set()
|
|
1426
|
+
and not self._transport.is_closing()
|
|
1427
|
+
and not self._protocol.is_at_eof
|
|
1428
|
+
):
|
|
1429
|
+
self._transport.resume_reading()
|
|
1430
|
+
try:
|
|
1431
|
+
await self._protocol.read_event.wait()
|
|
1432
|
+
finally:
|
|
1433
|
+
self._transport.pause_reading()
|
|
1434
|
+
else:
|
|
1435
|
+
await AsyncIOBackend.checkpoint()
|
|
1436
|
+
|
|
1437
|
+
try:
|
|
1438
|
+
chunk = self._protocol.read_queue.popleft()
|
|
1439
|
+
except IndexError:
|
|
1440
|
+
if self._closed:
|
|
1441
|
+
raise ClosedResourceError from None
|
|
1442
|
+
elif self._protocol.exception:
|
|
1443
|
+
raise BrokenResourceError from self._protocol.exception
|
|
1444
|
+
else:
|
|
1445
|
+
raise EndOfStream from None
|
|
1446
|
+
|
|
1447
|
+
if len(chunk) > max_bytes:
|
|
1448
|
+
# Split the oversized chunk
|
|
1449
|
+
chunk, leftover = chunk[:max_bytes], chunk[max_bytes:]
|
|
1450
|
+
self._protocol.read_queue.appendleft(leftover)
|
|
1451
|
+
|
|
1452
|
+
# If the read queue is empty, clear the flag so that the next call will
|
|
1453
|
+
# block until data is available
|
|
1454
|
+
if not self._protocol.read_queue:
|
|
1455
|
+
self._protocol.read_event.clear()
|
|
1456
|
+
|
|
1457
|
+
return chunk
|
|
1458
|
+
|
|
1459
|
+
async def send(self, item: bytes) -> None:
|
|
1460
|
+
with self._send_guard:
|
|
1461
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
1462
|
+
yielded = False
|
|
1463
|
+
|
|
1464
|
+
if not self._protocol.write_event.is_set():
|
|
1465
|
+
yielded = True
|
|
1466
|
+
await self._protocol.write_event.wait()
|
|
1467
|
+
|
|
1468
|
+
if self._closed:
|
|
1469
|
+
raise ClosedResourceError
|
|
1470
|
+
elif self._protocol.exception is not None:
|
|
1471
|
+
raise BrokenResourceError from self._protocol.exception
|
|
1472
|
+
|
|
1473
|
+
try:
|
|
1474
|
+
self._transport.write(item)
|
|
1475
|
+
except RuntimeError as exc:
|
|
1476
|
+
if self._transport.is_closing():
|
|
1477
|
+
raise BrokenResourceError from exc
|
|
1478
|
+
else:
|
|
1479
|
+
raise
|
|
1480
|
+
|
|
1481
|
+
if not self._protocol.write_event.is_set():
|
|
1482
|
+
await self._protocol.write_event.wait()
|
|
1483
|
+
if self._closed:
|
|
1484
|
+
# aclose() aborted the transport, discarding the unsent data
|
|
1485
|
+
raise ClosedResourceError
|
|
1486
|
+
elif self._protocol.exception is not None:
|
|
1487
|
+
raise BrokenResourceError from self._protocol.exception
|
|
1488
|
+
elif not yielded:
|
|
1489
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
1490
|
+
|
|
1491
|
+
async def send_eof(self) -> None:
|
|
1492
|
+
try:
|
|
1493
|
+
self._transport.write_eof()
|
|
1494
|
+
except OSError:
|
|
1495
|
+
pass
|
|
1496
|
+
|
|
1497
|
+
async def aclose(self) -> None:
|
|
1498
|
+
self._closed = True
|
|
1499
|
+
self._transport.abort()
|
|
1500
|
+
await AsyncIOBackend.checkpoint()
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
class _RawSocketMixin:
|
|
1504
|
+
_receive_future: asyncio.Future | None = None
|
|
1505
|
+
_send_future: asyncio.Future | None = None
|
|
1506
|
+
_closing = False
|
|
1507
|
+
|
|
1508
|
+
def __init__(self, raw_socket: socket.socket):
|
|
1509
|
+
self.__raw_socket = raw_socket
|
|
1510
|
+
self._receive_guard = ResourceGuard("reading from")
|
|
1511
|
+
self._send_guard = ResourceGuard("writing to")
|
|
1512
|
+
|
|
1513
|
+
@property
|
|
1514
|
+
def _raw_socket(self) -> socket.socket:
|
|
1515
|
+
return self.__raw_socket
|
|
1516
|
+
|
|
1517
|
+
def _wait_until_readable(self, loop: asyncio.AbstractEventLoop) -> asyncio.Future:
|
|
1518
|
+
def callback(f: object) -> None:
|
|
1519
|
+
del self._receive_future
|
|
1520
|
+
loop.remove_reader(self.__raw_socket)
|
|
1521
|
+
|
|
1522
|
+
f = self._receive_future = asyncio.Future()
|
|
1523
|
+
loop.add_reader(self.__raw_socket, f.set_result, None)
|
|
1524
|
+
f.add_done_callback(callback)
|
|
1525
|
+
return f
|
|
1526
|
+
|
|
1527
|
+
def _wait_until_writable(self, loop: asyncio.AbstractEventLoop) -> asyncio.Future:
|
|
1528
|
+
def callback(f: object) -> None:
|
|
1529
|
+
del self._send_future
|
|
1530
|
+
loop.remove_writer(self.__raw_socket)
|
|
1531
|
+
|
|
1532
|
+
f = self._send_future = asyncio.Future()
|
|
1533
|
+
loop.add_writer(self.__raw_socket, f.set_result, None)
|
|
1534
|
+
f.add_done_callback(callback)
|
|
1535
|
+
return f
|
|
1536
|
+
|
|
1537
|
+
async def aclose(self) -> None:
|
|
1538
|
+
closing = self._closing
|
|
1539
|
+
self._closing = True
|
|
1540
|
+
self.__raw_socket.close()
|
|
1541
|
+
if not closing:
|
|
1542
|
+
if self._receive_future and not self._receive_future.done():
|
|
1543
|
+
self._receive_future.set_result(None)
|
|
1544
|
+
if self._send_future and not self._send_future.done():
|
|
1545
|
+
self._send_future.set_result(None)
|
|
1546
|
+
|
|
1547
|
+
await AsyncIOBackend.checkpoint()
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
class UNIXSocketStream(_RawSocketMixin, abc.UNIXSocketStream):
|
|
1551
|
+
async def send_eof(self) -> None:
|
|
1552
|
+
with self._send_guard:
|
|
1553
|
+
self._raw_socket.shutdown(socket.SHUT_WR)
|
|
1554
|
+
|
|
1555
|
+
async def receive(self, max_bytes: int = 65536) -> bytes:
|
|
1556
|
+
if max_bytes < 1:
|
|
1557
|
+
raise ValueError("max_bytes must be a positive integer")
|
|
1558
|
+
|
|
1559
|
+
loop = get_running_loop()
|
|
1560
|
+
await AsyncIOBackend.checkpoint()
|
|
1561
|
+
with self._receive_guard:
|
|
1562
|
+
while True:
|
|
1563
|
+
try:
|
|
1564
|
+
data = self._raw_socket.recv(max_bytes)
|
|
1565
|
+
except BlockingIOError:
|
|
1566
|
+
await self._wait_until_readable(loop)
|
|
1567
|
+
except OSError as exc:
|
|
1568
|
+
if self._closing:
|
|
1569
|
+
raise ClosedResourceError from None
|
|
1570
|
+
else:
|
|
1571
|
+
raise BrokenResourceError from exc
|
|
1572
|
+
else:
|
|
1573
|
+
if not data:
|
|
1574
|
+
raise EndOfStream
|
|
1575
|
+
|
|
1576
|
+
return data
|
|
1577
|
+
|
|
1578
|
+
async def send(self, item: bytes) -> None:
|
|
1579
|
+
loop = get_running_loop()
|
|
1580
|
+
await AsyncIOBackend.checkpoint()
|
|
1581
|
+
with self._send_guard:
|
|
1582
|
+
view = memoryview(item)
|
|
1583
|
+
while view:
|
|
1584
|
+
try:
|
|
1585
|
+
bytes_sent = self._raw_socket.send(view)
|
|
1586
|
+
except BlockingIOError:
|
|
1587
|
+
await self._wait_until_writable(loop)
|
|
1588
|
+
except OSError as exc:
|
|
1589
|
+
if self._closing:
|
|
1590
|
+
raise ClosedResourceError from None
|
|
1591
|
+
else:
|
|
1592
|
+
raise BrokenResourceError from exc
|
|
1593
|
+
else:
|
|
1594
|
+
view = view[bytes_sent:]
|
|
1595
|
+
|
|
1596
|
+
async def receive_fds(self, msglen: int, maxfds: int) -> tuple[bytes, list[int]]:
|
|
1597
|
+
if not isinstance(msglen, int) or msglen < 0:
|
|
1598
|
+
raise ValueError("msglen must be a non-negative integer")
|
|
1599
|
+
if not isinstance(maxfds, int) or maxfds < 1:
|
|
1600
|
+
raise ValueError("maxfds must be a positive integer")
|
|
1601
|
+
|
|
1602
|
+
loop = get_running_loop()
|
|
1603
|
+
fds = array.array("i")
|
|
1604
|
+
await AsyncIOBackend.checkpoint()
|
|
1605
|
+
with self._receive_guard:
|
|
1606
|
+
while True:
|
|
1607
|
+
try:
|
|
1608
|
+
message, ancdata, _flags, _addr = self._raw_socket.recvmsg(
|
|
1609
|
+
msglen, socket.CMSG_LEN(maxfds * fds.itemsize)
|
|
1610
|
+
)
|
|
1611
|
+
except BlockingIOError:
|
|
1612
|
+
await self._wait_until_readable(loop)
|
|
1613
|
+
except OSError as exc:
|
|
1614
|
+
if self._closing:
|
|
1615
|
+
raise ClosedResourceError from None
|
|
1616
|
+
else:
|
|
1617
|
+
raise BrokenResourceError from exc
|
|
1618
|
+
else:
|
|
1619
|
+
if not message and not ancdata:
|
|
1620
|
+
raise EndOfStream
|
|
1621
|
+
|
|
1622
|
+
break
|
|
1623
|
+
|
|
1624
|
+
for cmsg_level, cmsg_type, cmsg_data in ancdata:
|
|
1625
|
+
if cmsg_level != socket.SOL_SOCKET or cmsg_type != socket.SCM_RIGHTS:
|
|
1626
|
+
raise RuntimeError(
|
|
1627
|
+
f"Received unexpected ancillary data; message = {message!r}, "
|
|
1628
|
+
f"cmsg_level = {cmsg_level}, cmsg_type = {cmsg_type}"
|
|
1629
|
+
)
|
|
1630
|
+
|
|
1631
|
+
fds.frombytes(cmsg_data[: len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
|
|
1632
|
+
|
|
1633
|
+
return message, list(fds)
|
|
1634
|
+
|
|
1635
|
+
async def send_fds(self, message: bytes, fds: Collection[int | IOBase]) -> None:
|
|
1636
|
+
if not message:
|
|
1637
|
+
raise ValueError("message must not be empty")
|
|
1638
|
+
if not fds:
|
|
1639
|
+
raise ValueError("fds must not be empty")
|
|
1640
|
+
|
|
1641
|
+
loop = get_running_loop()
|
|
1642
|
+
filenos: list[int] = []
|
|
1643
|
+
for fd in fds:
|
|
1644
|
+
if isinstance(fd, int):
|
|
1645
|
+
filenos.append(fd)
|
|
1646
|
+
elif isinstance(fd, IOBase):
|
|
1647
|
+
filenos.append(fd.fileno())
|
|
1648
|
+
|
|
1649
|
+
fdarray = array.array("i", filenos)
|
|
1650
|
+
ancdata = [(socket.SOL_SOCKET, socket.SCM_RIGHTS, fdarray)]
|
|
1651
|
+
view = memoryview(message)
|
|
1652
|
+
await AsyncIOBackend.checkpoint()
|
|
1653
|
+
with self._send_guard:
|
|
1654
|
+
while view:
|
|
1655
|
+
try:
|
|
1656
|
+
bytes_sent = self._raw_socket.sendmsg([view], ancdata)
|
|
1657
|
+
except BlockingIOError:
|
|
1658
|
+
await self._wait_until_writable(loop)
|
|
1659
|
+
except OSError as exc:
|
|
1660
|
+
if self._closing:
|
|
1661
|
+
raise ClosedResourceError from None
|
|
1662
|
+
else:
|
|
1663
|
+
raise BrokenResourceError from exc
|
|
1664
|
+
else:
|
|
1665
|
+
view = view[bytes_sent:]
|
|
1666
|
+
# The descriptors were sent with the first successful write.
|
|
1667
|
+
ancdata = []
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
class TCPSocketListener(abc.SocketListener):
|
|
1671
|
+
_accept_scope: CancelScope | None = None
|
|
1672
|
+
_closed = False
|
|
1673
|
+
|
|
1674
|
+
def __init__(self, raw_socket: socket.socket):
|
|
1675
|
+
self.__raw_socket = raw_socket
|
|
1676
|
+
self._loop = cast(asyncio.BaseEventLoop, get_running_loop())
|
|
1677
|
+
self._accept_guard = ResourceGuard("accepting connections from")
|
|
1678
|
+
|
|
1679
|
+
@property
|
|
1680
|
+
def _raw_socket(self) -> socket.socket:
|
|
1681
|
+
return self.__raw_socket
|
|
1682
|
+
|
|
1683
|
+
async def accept(self) -> abc.SocketStream:
|
|
1684
|
+
if self._closed:
|
|
1685
|
+
raise ClosedResourceError
|
|
1686
|
+
|
|
1687
|
+
with self._accept_guard:
|
|
1688
|
+
await AsyncIOBackend.checkpoint()
|
|
1689
|
+
with CancelScope() as self._accept_scope:
|
|
1690
|
+
try:
|
|
1691
|
+
client_sock, _addr = await self._loop.sock_accept(self._raw_socket)
|
|
1692
|
+
except asyncio.CancelledError:
|
|
1693
|
+
# Workaround for https://bugs.python.org/issue41317
|
|
1694
|
+
try:
|
|
1695
|
+
self._loop.remove_reader(self._raw_socket)
|
|
1696
|
+
except (ValueError, NotImplementedError):
|
|
1697
|
+
pass
|
|
1698
|
+
|
|
1699
|
+
if self._closed:
|
|
1700
|
+
raise ClosedResourceError from None
|
|
1701
|
+
|
|
1702
|
+
raise
|
|
1703
|
+
finally:
|
|
1704
|
+
self._accept_scope = None
|
|
1705
|
+
|
|
1706
|
+
client_sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
|
|
1707
|
+
transport, protocol = await self._loop.connect_accepted_socket(
|
|
1708
|
+
StreamProtocol, client_sock
|
|
1709
|
+
)
|
|
1710
|
+
return SocketStream(transport, protocol)
|
|
1711
|
+
|
|
1712
|
+
async def aclose(self) -> None:
|
|
1713
|
+
self._closed = True
|
|
1714
|
+
if self._accept_scope:
|
|
1715
|
+
# Workaround for https://bugs.python.org/issue41317
|
|
1716
|
+
try:
|
|
1717
|
+
self._loop.remove_reader(self._raw_socket)
|
|
1718
|
+
except (ValueError, NotImplementedError):
|
|
1719
|
+
pass
|
|
1720
|
+
|
|
1721
|
+
self._accept_scope.cancel()
|
|
1722
|
+
|
|
1723
|
+
try:
|
|
1724
|
+
# Lets a cancelled accept() unwind before the socket is closed
|
|
1725
|
+
await AsyncIOBackend.checkpoint()
|
|
1726
|
+
finally:
|
|
1727
|
+
self._raw_socket.close()
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
class UNIXSocketListener(abc.SocketListener):
|
|
1731
|
+
_accept_future: asyncio.Future | None = None
|
|
1732
|
+
|
|
1733
|
+
def __init__(self, raw_socket: socket.socket):
|
|
1734
|
+
self.__raw_socket = raw_socket
|
|
1735
|
+
self._loop = get_running_loop()
|
|
1736
|
+
self._accept_guard = ResourceGuard("accepting connections from")
|
|
1737
|
+
self._closed = False
|
|
1738
|
+
|
|
1739
|
+
async def accept(self) -> abc.SocketStream:
|
|
1740
|
+
await AsyncIOBackend.checkpoint()
|
|
1741
|
+
with self._accept_guard:
|
|
1742
|
+
while True:
|
|
1743
|
+
try:
|
|
1744
|
+
client_sock, _ = self.__raw_socket.accept()
|
|
1745
|
+
client_sock.setblocking(False)
|
|
1746
|
+
return UNIXSocketStream(client_sock)
|
|
1747
|
+
except BlockingIOError:
|
|
1748
|
+
f = self._accept_future = self._loop.create_future()
|
|
1749
|
+
self._loop.add_reader(self.__raw_socket, f.set_result, None)
|
|
1750
|
+
try:
|
|
1751
|
+
await f
|
|
1752
|
+
finally:
|
|
1753
|
+
if self._accept_future is f:
|
|
1754
|
+
self._accept_future = None
|
|
1755
|
+
self._loop.remove_reader(self.__raw_socket)
|
|
1756
|
+
except OSError as exc:
|
|
1757
|
+
if self._closed:
|
|
1758
|
+
raise ClosedResourceError from None
|
|
1759
|
+
else:
|
|
1760
|
+
raise BrokenResourceError from exc
|
|
1761
|
+
|
|
1762
|
+
async def aclose(self) -> None:
|
|
1763
|
+
self._closed = True
|
|
1764
|
+
if f := self._accept_future:
|
|
1765
|
+
# Deregister the reader before closing the socket so the selector isn't
|
|
1766
|
+
# left holding a closed fd, then wake accept() so it raises
|
|
1767
|
+
# ClosedResourceError
|
|
1768
|
+
self._accept_future = None
|
|
1769
|
+
self._loop.remove_reader(self.__raw_socket)
|
|
1770
|
+
if not f.done():
|
|
1771
|
+
f.set_result(None)
|
|
1772
|
+
|
|
1773
|
+
self.__raw_socket.close()
|
|
1774
|
+
await AsyncIOBackend.checkpoint()
|
|
1775
|
+
|
|
1776
|
+
@property
|
|
1777
|
+
def _raw_socket(self) -> socket.socket:
|
|
1778
|
+
return self.__raw_socket
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
class UDPSocket(abc.UDPSocket):
|
|
1782
|
+
def __init__(
|
|
1783
|
+
self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol
|
|
1784
|
+
):
|
|
1785
|
+
self._transport = transport
|
|
1786
|
+
self._protocol = protocol
|
|
1787
|
+
self._receive_guard = ResourceGuard("reading from")
|
|
1788
|
+
self._send_guard = ResourceGuard("writing to")
|
|
1789
|
+
self._closed = False
|
|
1790
|
+
|
|
1791
|
+
@property
|
|
1792
|
+
def _raw_socket(self) -> socket.socket:
|
|
1793
|
+
return self._transport.get_extra_info("socket")
|
|
1794
|
+
|
|
1795
|
+
async def aclose(self) -> None:
|
|
1796
|
+
self._closed = True
|
|
1797
|
+
self._transport.abort()
|
|
1798
|
+
await AsyncIOBackend.checkpoint()
|
|
1799
|
+
|
|
1800
|
+
async def receive(self) -> tuple[bytes, IPSockAddrType]:
|
|
1801
|
+
with self._receive_guard:
|
|
1802
|
+
await AsyncIOBackend.checkpoint()
|
|
1803
|
+
|
|
1804
|
+
# If the buffer is empty, ask for more data
|
|
1805
|
+
if not self._protocol.read_queue and not self._transport.is_closing():
|
|
1806
|
+
self._protocol.read_event.clear()
|
|
1807
|
+
await self._protocol.read_event.wait()
|
|
1808
|
+
|
|
1809
|
+
try:
|
|
1810
|
+
return self._protocol.read_queue.popleft()
|
|
1811
|
+
except IndexError:
|
|
1812
|
+
if self._closed:
|
|
1813
|
+
raise ClosedResourceError from None
|
|
1814
|
+
else:
|
|
1815
|
+
raise BrokenResourceError from None
|
|
1816
|
+
|
|
1817
|
+
async def send(self, item: UDPPacketType) -> None:
|
|
1818
|
+
with self._send_guard:
|
|
1819
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
1820
|
+
yielded = False
|
|
1821
|
+
|
|
1822
|
+
# Wait out any datagram the transport had to buffer
|
|
1823
|
+
if not self._protocol.write_event.is_set():
|
|
1824
|
+
yielded = True
|
|
1825
|
+
await self._protocol.write_event.wait()
|
|
1826
|
+
|
|
1827
|
+
if self._closed:
|
|
1828
|
+
raise ClosedResourceError
|
|
1829
|
+
elif self._transport.is_closing():
|
|
1830
|
+
raise BrokenResourceError
|
|
1831
|
+
|
|
1832
|
+
self._transport.sendto(*item)
|
|
1833
|
+
|
|
1834
|
+
# The high water mark is 0, so the event is clear if the OS refused it
|
|
1835
|
+
if not self._protocol.write_event.is_set():
|
|
1836
|
+
await self._protocol.write_event.wait()
|
|
1837
|
+
if self._closed:
|
|
1838
|
+
# aclose() aborted the transport, discarding the unsent data
|
|
1839
|
+
raise ClosedResourceError
|
|
1840
|
+
elif not yielded:
|
|
1841
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
class ConnectedUDPSocket(abc.ConnectedUDPSocket):
|
|
1845
|
+
def __init__(
|
|
1846
|
+
self, transport: asyncio.DatagramTransport, protocol: DatagramProtocol
|
|
1847
|
+
):
|
|
1848
|
+
self._transport = transport
|
|
1849
|
+
self._protocol = protocol
|
|
1850
|
+
self._receive_guard = ResourceGuard("reading from")
|
|
1851
|
+
self._send_guard = ResourceGuard("writing to")
|
|
1852
|
+
self._closed = False
|
|
1853
|
+
|
|
1854
|
+
@property
|
|
1855
|
+
def _raw_socket(self) -> socket.socket:
|
|
1856
|
+
return self._transport.get_extra_info("socket")
|
|
1857
|
+
|
|
1858
|
+
async def aclose(self) -> None:
|
|
1859
|
+
self._closed = True
|
|
1860
|
+
self._transport.abort()
|
|
1861
|
+
await AsyncIOBackend.checkpoint()
|
|
1862
|
+
|
|
1863
|
+
async def receive(self) -> bytes:
|
|
1864
|
+
with self._receive_guard:
|
|
1865
|
+
await AsyncIOBackend.checkpoint()
|
|
1866
|
+
|
|
1867
|
+
# If the buffer is empty, ask for more data
|
|
1868
|
+
if not self._protocol.read_queue and not self._transport.is_closing():
|
|
1869
|
+
self._protocol.read_event.clear()
|
|
1870
|
+
await self._protocol.read_event.wait()
|
|
1871
|
+
|
|
1872
|
+
try:
|
|
1873
|
+
packet = self._protocol.read_queue.popleft()
|
|
1874
|
+
except IndexError:
|
|
1875
|
+
if self._closed:
|
|
1876
|
+
raise ClosedResourceError from None
|
|
1877
|
+
else:
|
|
1878
|
+
raise BrokenResourceError from None
|
|
1879
|
+
|
|
1880
|
+
return packet[0]
|
|
1881
|
+
|
|
1882
|
+
async def send(self, item: bytes) -> None:
|
|
1883
|
+
with self._send_guard:
|
|
1884
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
1885
|
+
yielded = False
|
|
1886
|
+
|
|
1887
|
+
# Wait out any datagram the transport had to buffer
|
|
1888
|
+
if not self._protocol.write_event.is_set():
|
|
1889
|
+
yielded = True
|
|
1890
|
+
await self._protocol.write_event.wait()
|
|
1891
|
+
|
|
1892
|
+
if self._closed:
|
|
1893
|
+
raise ClosedResourceError
|
|
1894
|
+
elif self._transport.is_closing():
|
|
1895
|
+
raise BrokenResourceError
|
|
1896
|
+
|
|
1897
|
+
self._transport.sendto(item)
|
|
1898
|
+
|
|
1899
|
+
# The high water mark is 0, so the event is clear if the OS refused it
|
|
1900
|
+
if not self._protocol.write_event.is_set():
|
|
1901
|
+
await self._protocol.write_event.wait()
|
|
1902
|
+
if self._closed:
|
|
1903
|
+
# aclose() aborted the transport, discarding the unsent data
|
|
1904
|
+
raise ClosedResourceError
|
|
1905
|
+
elif not yielded:
|
|
1906
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
class UNIXDatagramSocket(_RawSocketMixin, abc.UNIXDatagramSocket):
|
|
1910
|
+
async def receive(self) -> UNIXDatagramPacketType:
|
|
1911
|
+
loop = get_running_loop()
|
|
1912
|
+
await AsyncIOBackend.checkpoint()
|
|
1913
|
+
with self._receive_guard:
|
|
1914
|
+
while True:
|
|
1915
|
+
try:
|
|
1916
|
+
data = self._raw_socket.recvfrom(65536)
|
|
1917
|
+
except BlockingIOError:
|
|
1918
|
+
await self._wait_until_readable(loop)
|
|
1919
|
+
except OSError as exc:
|
|
1920
|
+
if self._closing:
|
|
1921
|
+
raise ClosedResourceError from None
|
|
1922
|
+
else:
|
|
1923
|
+
raise BrokenResourceError from exc
|
|
1924
|
+
else:
|
|
1925
|
+
return data
|
|
1926
|
+
|
|
1927
|
+
async def send(self, item: UNIXDatagramPacketType) -> None:
|
|
1928
|
+
loop = get_running_loop()
|
|
1929
|
+
await AsyncIOBackend.checkpoint()
|
|
1930
|
+
with self._send_guard:
|
|
1931
|
+
while True:
|
|
1932
|
+
try:
|
|
1933
|
+
self._raw_socket.sendto(*item)
|
|
1934
|
+
except BlockingIOError:
|
|
1935
|
+
await self._wait_until_writable(loop)
|
|
1936
|
+
except OSError as exc:
|
|
1937
|
+
if self._closing:
|
|
1938
|
+
raise ClosedResourceError from None
|
|
1939
|
+
else:
|
|
1940
|
+
raise BrokenResourceError from exc
|
|
1941
|
+
else:
|
|
1942
|
+
return
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
class ConnectedUNIXDatagramSocket(_RawSocketMixin, abc.ConnectedUNIXDatagramSocket):
|
|
1946
|
+
async def receive(self) -> bytes:
|
|
1947
|
+
loop = get_running_loop()
|
|
1948
|
+
await AsyncIOBackend.checkpoint()
|
|
1949
|
+
with self._receive_guard:
|
|
1950
|
+
while True:
|
|
1951
|
+
try:
|
|
1952
|
+
data = self._raw_socket.recv(65536)
|
|
1953
|
+
except BlockingIOError:
|
|
1954
|
+
await self._wait_until_readable(loop)
|
|
1955
|
+
except OSError as exc:
|
|
1956
|
+
if self._closing:
|
|
1957
|
+
raise ClosedResourceError from None
|
|
1958
|
+
else:
|
|
1959
|
+
raise BrokenResourceError from exc
|
|
1960
|
+
else:
|
|
1961
|
+
return data
|
|
1962
|
+
|
|
1963
|
+
async def send(self, item: bytes) -> None:
|
|
1964
|
+
loop = get_running_loop()
|
|
1965
|
+
await AsyncIOBackend.checkpoint()
|
|
1966
|
+
with self._send_guard:
|
|
1967
|
+
while True:
|
|
1968
|
+
try:
|
|
1969
|
+
self._raw_socket.send(item)
|
|
1970
|
+
except BlockingIOError:
|
|
1971
|
+
await self._wait_until_writable(loop)
|
|
1972
|
+
except OSError as exc:
|
|
1973
|
+
if self._closing:
|
|
1974
|
+
raise ClosedResourceError from None
|
|
1975
|
+
else:
|
|
1976
|
+
raise BrokenResourceError from exc
|
|
1977
|
+
else:
|
|
1978
|
+
return
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
_read_events: RunVar[dict[int, asyncio.Future[bool]]] = RunVar("read_events")
|
|
1982
|
+
_write_events: RunVar[dict[int, asyncio.Future[bool]]] = RunVar("write_events")
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
#
|
|
1986
|
+
# Synchronization
|
|
1987
|
+
#
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
class Event(BaseEvent):
|
|
1991
|
+
__slots__ = ("_event",)
|
|
1992
|
+
|
|
1993
|
+
def __new__(cls) -> Self:
|
|
1994
|
+
return object.__new__(cls)
|
|
1995
|
+
|
|
1996
|
+
def __init__(self) -> None:
|
|
1997
|
+
self._event = asyncio.Event()
|
|
1998
|
+
|
|
1999
|
+
def set(self) -> None:
|
|
2000
|
+
self._event.set()
|
|
2001
|
+
|
|
2002
|
+
def is_set(self) -> bool:
|
|
2003
|
+
return self._event.is_set()
|
|
2004
|
+
|
|
2005
|
+
async def wait(self) -> None:
|
|
2006
|
+
if self.is_set():
|
|
2007
|
+
await AsyncIOBackend.checkpoint()
|
|
2008
|
+
else:
|
|
2009
|
+
await self._event.wait()
|
|
2010
|
+
|
|
2011
|
+
def statistics(self) -> EventStatistics:
|
|
2012
|
+
return EventStatistics(len(self._event._waiters))
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
class Lock(BaseLock):
|
|
2016
|
+
__slots__ = "_fast_acquire", "_owner_task", "_waiters"
|
|
2017
|
+
|
|
2018
|
+
def __new__(cls, *, fast_acquire: bool = False) -> Self:
|
|
2019
|
+
return object.__new__(cls)
|
|
2020
|
+
|
|
2021
|
+
def __init__(self, *, fast_acquire: bool = False) -> None:
|
|
2022
|
+
self._fast_acquire = fast_acquire
|
|
2023
|
+
self._owner_task: asyncio.Task | None = None
|
|
2024
|
+
self._waiters: deque[tuple[asyncio.Task, asyncio.Future]] = deque()
|
|
2025
|
+
|
|
2026
|
+
async def acquire(self) -> None:
|
|
2027
|
+
task = cast(asyncio.Task, current_task())
|
|
2028
|
+
if self._owner_task is None and not self._waiters:
|
|
2029
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
2030
|
+
self._owner_task = task
|
|
2031
|
+
|
|
2032
|
+
# Unless on the "fast path", yield control of the event loop so that other
|
|
2033
|
+
# tasks can run too
|
|
2034
|
+
if not self._fast_acquire:
|
|
2035
|
+
try:
|
|
2036
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
2037
|
+
except CancelledError:
|
|
2038
|
+
self.release()
|
|
2039
|
+
raise
|
|
2040
|
+
|
|
2041
|
+
return
|
|
2042
|
+
|
|
2043
|
+
if self._owner_task == task:
|
|
2044
|
+
raise RuntimeError("Attempted to acquire an already held Lock")
|
|
2045
|
+
|
|
2046
|
+
fut: asyncio.Future[None] = asyncio.Future()
|
|
2047
|
+
item = task, fut
|
|
2048
|
+
self._waiters.append(item)
|
|
2049
|
+
try:
|
|
2050
|
+
await fut
|
|
2051
|
+
except CancelledError:
|
|
2052
|
+
if fut.cancelled():
|
|
2053
|
+
try:
|
|
2054
|
+
self._waiters.remove(item)
|
|
2055
|
+
except ValueError:
|
|
2056
|
+
pass
|
|
2057
|
+
else:
|
|
2058
|
+
self.release()
|
|
2059
|
+
|
|
2060
|
+
raise
|
|
2061
|
+
|
|
2062
|
+
def acquire_nowait(self) -> None:
|
|
2063
|
+
task = cast(asyncio.Task, current_task())
|
|
2064
|
+
if self._owner_task is None and not self._waiters:
|
|
2065
|
+
self._owner_task = task
|
|
2066
|
+
return
|
|
2067
|
+
|
|
2068
|
+
if self._owner_task is task:
|
|
2069
|
+
raise RuntimeError("Attempted to acquire an already held Lock")
|
|
2070
|
+
|
|
2071
|
+
raise WouldBlock
|
|
2072
|
+
|
|
2073
|
+
def locked(self) -> bool:
|
|
2074
|
+
return self._owner_task is not None
|
|
2075
|
+
|
|
2076
|
+
def release(self) -> None:
|
|
2077
|
+
if self._owner_task != current_task():
|
|
2078
|
+
raise RuntimeError("The current task is not holding this lock")
|
|
2079
|
+
|
|
2080
|
+
# A cancelled waiter that already received ownership removes itself from
|
|
2081
|
+
# _waiters before calling release(); any cancelled waiter still queued here
|
|
2082
|
+
# was cancelled before being woken, so drop it.
|
|
2083
|
+
while self._waiters:
|
|
2084
|
+
task, fut = self._waiters.popleft()
|
|
2085
|
+
if fut.cancelled():
|
|
2086
|
+
continue
|
|
2087
|
+
|
|
2088
|
+
self._owner_task = task
|
|
2089
|
+
fut.set_result(None)
|
|
2090
|
+
return
|
|
2091
|
+
|
|
2092
|
+
self._owner_task = None
|
|
2093
|
+
|
|
2094
|
+
def statistics(self) -> LockStatistics:
|
|
2095
|
+
task_info = AsyncIOTaskInfo(self._owner_task) if self._owner_task else None
|
|
2096
|
+
return LockStatistics(self.locked(), task_info, len(self._waiters))
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
class Semaphore(BaseSemaphore):
|
|
2100
|
+
__slots__ = "_fast_acquire", "_max_value", "_value", "_waiters"
|
|
2101
|
+
|
|
2102
|
+
def __new__(
|
|
2103
|
+
cls,
|
|
2104
|
+
initial_value: int,
|
|
2105
|
+
*,
|
|
2106
|
+
max_value: int | None = None,
|
|
2107
|
+
fast_acquire: bool = False,
|
|
2108
|
+
) -> Self:
|
|
2109
|
+
return object.__new__(cls)
|
|
2110
|
+
|
|
2111
|
+
def __init__(
|
|
2112
|
+
self,
|
|
2113
|
+
initial_value: int,
|
|
2114
|
+
*,
|
|
2115
|
+
max_value: int | None = None,
|
|
2116
|
+
fast_acquire: bool = False,
|
|
2117
|
+
):
|
|
2118
|
+
super().__init__(initial_value, max_value=max_value)
|
|
2119
|
+
self._value = initial_value
|
|
2120
|
+
self._max_value = max_value
|
|
2121
|
+
self._fast_acquire = fast_acquire
|
|
2122
|
+
self._waiters: deque[asyncio.Future[None]] = deque()
|
|
2123
|
+
|
|
2124
|
+
async def acquire(self) -> None:
|
|
2125
|
+
if self._value > 0 and not self._waiters:
|
|
2126
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
2127
|
+
self._value -= 1
|
|
2128
|
+
|
|
2129
|
+
# Unless on the "fast path", yield control of the event loop so that other
|
|
2130
|
+
# tasks can run too
|
|
2131
|
+
if not self._fast_acquire:
|
|
2132
|
+
try:
|
|
2133
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
2134
|
+
except CancelledError:
|
|
2135
|
+
self.release()
|
|
2136
|
+
raise
|
|
2137
|
+
|
|
2138
|
+
return
|
|
2139
|
+
|
|
2140
|
+
fut: asyncio.Future[None] = asyncio.Future()
|
|
2141
|
+
self._waiters.append(fut)
|
|
2142
|
+
try:
|
|
2143
|
+
await fut
|
|
2144
|
+
except CancelledError:
|
|
2145
|
+
if fut.cancelled():
|
|
2146
|
+
try:
|
|
2147
|
+
self._waiters.remove(fut)
|
|
2148
|
+
except ValueError:
|
|
2149
|
+
pass
|
|
2150
|
+
else:
|
|
2151
|
+
self.release()
|
|
2152
|
+
|
|
2153
|
+
raise
|
|
2154
|
+
|
|
2155
|
+
def acquire_nowait(self) -> None:
|
|
2156
|
+
if self._value == 0:
|
|
2157
|
+
raise WouldBlock
|
|
2158
|
+
|
|
2159
|
+
self._value -= 1
|
|
2160
|
+
|
|
2161
|
+
def release(self) -> None:
|
|
2162
|
+
if self._max_value is not None and self._value == self._max_value:
|
|
2163
|
+
raise ValueError("semaphore released too many times")
|
|
2164
|
+
|
|
2165
|
+
while self._waiters:
|
|
2166
|
+
fut = self._waiters.popleft()
|
|
2167
|
+
if fut.cancelled():
|
|
2168
|
+
continue
|
|
2169
|
+
|
|
2170
|
+
fut.set_result(None)
|
|
2171
|
+
return
|
|
2172
|
+
|
|
2173
|
+
self._value += 1
|
|
2174
|
+
|
|
2175
|
+
@property
|
|
2176
|
+
def value(self) -> int:
|
|
2177
|
+
return self._value
|
|
2178
|
+
|
|
2179
|
+
@property
|
|
2180
|
+
def max_value(self) -> int | None:
|
|
2181
|
+
return self._max_value
|
|
2182
|
+
|
|
2183
|
+
def statistics(self) -> SemaphoreStatistics:
|
|
2184
|
+
return SemaphoreStatistics(len(self._waiters))
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
class CapacityLimiter(BaseCapacityLimiter):
|
|
2188
|
+
__slots__ = "_borrowers", "_total_tokens", "_wait_queue"
|
|
2189
|
+
|
|
2190
|
+
def __new__(cls, total_tokens: float) -> Self:
|
|
2191
|
+
return object.__new__(cls)
|
|
2192
|
+
|
|
2193
|
+
def __init__(self, total_tokens: float):
|
|
2194
|
+
self._total_tokens: float = 0
|
|
2195
|
+
self._borrowers: set[Any] = set()
|
|
2196
|
+
self._wait_queue: OrderedDict[Any, asyncio.Event] = OrderedDict()
|
|
2197
|
+
self.total_tokens = total_tokens
|
|
2198
|
+
|
|
2199
|
+
async def __aenter__(self) -> None:
|
|
2200
|
+
await self.acquire()
|
|
2201
|
+
|
|
2202
|
+
async def __aexit__(
|
|
2203
|
+
self,
|
|
2204
|
+
exc_type: type[BaseException] | None,
|
|
2205
|
+
exc_val: BaseException | None,
|
|
2206
|
+
exc_tb: TracebackType | None,
|
|
2207
|
+
) -> None:
|
|
2208
|
+
self.release()
|
|
2209
|
+
|
|
2210
|
+
@property
|
|
2211
|
+
def total_tokens(self) -> float:
|
|
2212
|
+
return self._total_tokens
|
|
2213
|
+
|
|
2214
|
+
@total_tokens.setter
|
|
2215
|
+
def total_tokens(self, value: float) -> None:
|
|
2216
|
+
if not isinstance(value, int) and not math.isinf(value):
|
|
2217
|
+
raise TypeError("total_tokens must be an int or math.inf")
|
|
2218
|
+
|
|
2219
|
+
if value < 0:
|
|
2220
|
+
raise ValueError("total_tokens must be >= 0")
|
|
2221
|
+
|
|
2222
|
+
self._total_tokens = value
|
|
2223
|
+
|
|
2224
|
+
# Notify waiting tasks that they have acquired the limiter while
|
|
2225
|
+
# there is spare capacity.
|
|
2226
|
+
while self._wait_queue and len(self._borrowers) < self._total_tokens:
|
|
2227
|
+
borrower, event = self._wait_queue.popitem(last=False)
|
|
2228
|
+
self._borrowers.add(borrower)
|
|
2229
|
+
event.set()
|
|
2230
|
+
|
|
2231
|
+
@property
|
|
2232
|
+
def borrowed_tokens(self) -> int:
|
|
2233
|
+
return len(self._borrowers)
|
|
2234
|
+
|
|
2235
|
+
@property
|
|
2236
|
+
def available_tokens(self) -> float:
|
|
2237
|
+
return self._total_tokens - len(self._borrowers)
|
|
2238
|
+
|
|
2239
|
+
def _notify_next_waiter(self) -> None:
|
|
2240
|
+
"""Hand a free token to the next task in line, if any."""
|
|
2241
|
+
if self._wait_queue and len(self._borrowers) < self._total_tokens:
|
|
2242
|
+
borrower, event = self._wait_queue.popitem(last=False)
|
|
2243
|
+
self._borrowers.add(borrower)
|
|
2244
|
+
event.set()
|
|
2245
|
+
|
|
2246
|
+
def acquire_nowait(self) -> None:
|
|
2247
|
+
self.acquire_on_behalf_of_nowait(current_task())
|
|
2248
|
+
|
|
2249
|
+
def acquire_on_behalf_of_nowait(self, borrower: object) -> None:
|
|
2250
|
+
if borrower in self._borrowers:
|
|
2251
|
+
raise RuntimeError(
|
|
2252
|
+
"this borrower is already holding one of this CapacityLimiter's tokens"
|
|
2253
|
+
)
|
|
2254
|
+
|
|
2255
|
+
if self._wait_queue or len(self._borrowers) >= self._total_tokens:
|
|
2256
|
+
raise WouldBlock
|
|
2257
|
+
|
|
2258
|
+
self._borrowers.add(borrower)
|
|
2259
|
+
|
|
2260
|
+
async def acquire(self) -> None:
|
|
2261
|
+
return await self.acquire_on_behalf_of(current_task())
|
|
2262
|
+
|
|
2263
|
+
async def acquire_on_behalf_of(self, borrower: object) -> None:
|
|
2264
|
+
await AsyncIOBackend.checkpoint_if_cancelled()
|
|
2265
|
+
try:
|
|
2266
|
+
self.acquire_on_behalf_of_nowait(borrower)
|
|
2267
|
+
except WouldBlock:
|
|
2268
|
+
event = asyncio.Event()
|
|
2269
|
+
self._wait_queue[borrower] = event
|
|
2270
|
+
try:
|
|
2271
|
+
await event.wait()
|
|
2272
|
+
except BaseException:
|
|
2273
|
+
self._wait_queue.pop(borrower, None)
|
|
2274
|
+
if event.is_set():
|
|
2275
|
+
self._borrowers.discard(borrower)
|
|
2276
|
+
self._notify_next_waiter()
|
|
2277
|
+
|
|
2278
|
+
raise
|
|
2279
|
+
else:
|
|
2280
|
+
try:
|
|
2281
|
+
await AsyncIOBackend.cancel_shielded_checkpoint()
|
|
2282
|
+
except BaseException:
|
|
2283
|
+
self.release_on_behalf_of(borrower)
|
|
2284
|
+
raise
|
|
2285
|
+
|
|
2286
|
+
def release(self) -> None:
|
|
2287
|
+
self.release_on_behalf_of(current_task())
|
|
2288
|
+
|
|
2289
|
+
def release_on_behalf_of(self, borrower: object) -> None:
|
|
2290
|
+
try:
|
|
2291
|
+
self._borrowers.remove(borrower)
|
|
2292
|
+
except KeyError:
|
|
2293
|
+
raise RuntimeError(
|
|
2294
|
+
"this borrower isn't holding any of this CapacityLimiter's tokens"
|
|
2295
|
+
) from None
|
|
2296
|
+
|
|
2297
|
+
self._notify_next_waiter()
|
|
2298
|
+
|
|
2299
|
+
def statistics(self) -> CapacityLimiterStatistics:
|
|
2300
|
+
return CapacityLimiterStatistics(
|
|
2301
|
+
self.borrowed_tokens,
|
|
2302
|
+
self.total_tokens,
|
|
2303
|
+
tuple(self._borrowers),
|
|
2304
|
+
len(self._wait_queue),
|
|
2305
|
+
)
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
_default_thread_limiter: RunVar[CapacityLimiter] = RunVar("_default_thread_limiter")
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
#
|
|
2312
|
+
# Operating system signals
|
|
2313
|
+
#
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
class _SignalReceiver:
|
|
2317
|
+
def __init__(self, signals: tuple[Signals, ...]):
|
|
2318
|
+
self._signals = signals
|
|
2319
|
+
self._loop = get_running_loop()
|
|
2320
|
+
self._signal_queue: deque[Signals] = deque()
|
|
2321
|
+
self._future: asyncio.Future = asyncio.Future()
|
|
2322
|
+
self._handled_signals: set[Signals] = set()
|
|
2323
|
+
|
|
2324
|
+
def _deliver(self, signum: Signals) -> None:
|
|
2325
|
+
self._signal_queue.append(signum)
|
|
2326
|
+
if not self._future.done():
|
|
2327
|
+
self._future.set_result(None)
|
|
2328
|
+
|
|
2329
|
+
def __enter__(self) -> Self:
|
|
2330
|
+
for sig in set(self._signals):
|
|
2331
|
+
self._loop.add_signal_handler(sig, self._deliver, sig)
|
|
2332
|
+
self._handled_signals.add(sig)
|
|
2333
|
+
|
|
2334
|
+
return self
|
|
2335
|
+
|
|
2336
|
+
def __exit__(
|
|
2337
|
+
self,
|
|
2338
|
+
exc_type: type[BaseException] | None,
|
|
2339
|
+
exc_val: BaseException | None,
|
|
2340
|
+
exc_tb: TracebackType | None,
|
|
2341
|
+
) -> None:
|
|
2342
|
+
for sig in self._handled_signals:
|
|
2343
|
+
self._loop.remove_signal_handler(sig)
|
|
2344
|
+
|
|
2345
|
+
def __aiter__(self) -> _SignalReceiver:
|
|
2346
|
+
return self
|
|
2347
|
+
|
|
2348
|
+
async def __anext__(self) -> Signals:
|
|
2349
|
+
await AsyncIOBackend.checkpoint()
|
|
2350
|
+
if not self._signal_queue:
|
|
2351
|
+
self._future = asyncio.Future()
|
|
2352
|
+
await self._future
|
|
2353
|
+
|
|
2354
|
+
return self._signal_queue.popleft()
|
|
2355
|
+
|
|
2356
|
+
|
|
2357
|
+
#
|
|
2358
|
+
# Testing and debugging
|
|
2359
|
+
#
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
class AsyncIOTaskInfo(TaskInfo):
|
|
2363
|
+
def __init__(self, task: asyncio.Task):
|
|
2364
|
+
task_state = _task_states.get(task)
|
|
2365
|
+
if task_state is None:
|
|
2366
|
+
parent_id = None
|
|
2367
|
+
else:
|
|
2368
|
+
parent_id = task_state.parent_id
|
|
2369
|
+
|
|
2370
|
+
coro = task.get_coro()
|
|
2371
|
+
assert coro is not None, "created TaskInfo from a completed Task"
|
|
2372
|
+
super().__init__(id(task), parent_id, task.get_name(), coro)
|
|
2373
|
+
self._task = weakref.ref(task)
|
|
2374
|
+
|
|
2375
|
+
def has_pending_cancellation(self) -> bool:
|
|
2376
|
+
if not (task := self._task()):
|
|
2377
|
+
# If the task isn't around anymore, it won't have a pending cancellation
|
|
2378
|
+
return False
|
|
2379
|
+
|
|
2380
|
+
if task._must_cancel or ( # type: ignore[attr-defined]
|
|
2381
|
+
isinstance(task._fut_waiter, asyncio.Future) # type: ignore[attr-defined]
|
|
2382
|
+
and task._fut_waiter.cancelled() # type: ignore[attr-defined]
|
|
2383
|
+
):
|
|
2384
|
+
return True
|
|
2385
|
+
|
|
2386
|
+
if task_state := _task_states.get(task):
|
|
2387
|
+
if cancel_scope := task_state.cancel_scope:
|
|
2388
|
+
return cancel_scope._effectively_cancelled
|
|
2389
|
+
|
|
2390
|
+
return False
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
class TestRunner(abc.TestRunner):
|
|
2394
|
+
_send_stream: MemoryObjectSendStream[tuple[Awaitable[Any], asyncio.Future[Any]]]
|
|
2395
|
+
|
|
2396
|
+
def __init__(
|
|
2397
|
+
self,
|
|
2398
|
+
*,
|
|
2399
|
+
debug: bool | None = None,
|
|
2400
|
+
use_uvloop: bool = False,
|
|
2401
|
+
loop_factory: Callable[[], AbstractEventLoop] | None = None,
|
|
2402
|
+
) -> None:
|
|
2403
|
+
if use_uvloop and loop_factory is None:
|
|
2404
|
+
if sys.platform != "win32":
|
|
2405
|
+
import uvloop
|
|
2406
|
+
|
|
2407
|
+
loop_factory = uvloop.new_event_loop
|
|
2408
|
+
else:
|
|
2409
|
+
import winloop
|
|
2410
|
+
|
|
2411
|
+
loop_factory = winloop.new_event_loop
|
|
2412
|
+
|
|
2413
|
+
self._runner = Runner(debug=debug, loop_factory=loop_factory)
|
|
2414
|
+
self._exceptions: list[BaseException] = []
|
|
2415
|
+
self._runner_task: asyncio.Task | None = None
|
|
2416
|
+
|
|
2417
|
+
def __enter__(self) -> Self:
|
|
2418
|
+
self._runner.__enter__()
|
|
2419
|
+
self.get_loop().set_exception_handler(self._exception_handler)
|
|
2420
|
+
return self
|
|
2421
|
+
|
|
2422
|
+
def __exit__(
|
|
2423
|
+
self,
|
|
2424
|
+
exc_type: type[BaseException] | None,
|
|
2425
|
+
exc_val: BaseException | None,
|
|
2426
|
+
exc_tb: TracebackType | None,
|
|
2427
|
+
) -> None:
|
|
2428
|
+
self._runner.__exit__(exc_type, exc_val, exc_tb)
|
|
2429
|
+
|
|
2430
|
+
def get_loop(self) -> AbstractEventLoop:
|
|
2431
|
+
return self._runner.get_loop()
|
|
2432
|
+
|
|
2433
|
+
def is_running(self) -> bool:
|
|
2434
|
+
try:
|
|
2435
|
+
asyncio.get_running_loop()
|
|
2436
|
+
return True
|
|
2437
|
+
except RuntimeError:
|
|
2438
|
+
return False
|
|
2439
|
+
|
|
2440
|
+
def _exception_handler(
|
|
2441
|
+
self, loop: asyncio.AbstractEventLoop, context: dict[str, Any]
|
|
2442
|
+
) -> None:
|
|
2443
|
+
if isinstance(context.get("exception"), Exception):
|
|
2444
|
+
self._exceptions.append(context["exception"])
|
|
2445
|
+
else:
|
|
2446
|
+
loop.default_exception_handler(context)
|
|
2447
|
+
|
|
2448
|
+
def _raise_async_exceptions(self) -> None:
|
|
2449
|
+
# Re-raise any exceptions raised in asynchronous callbacks
|
|
2450
|
+
if self._exceptions:
|
|
2451
|
+
exceptions, self._exceptions = self._exceptions, []
|
|
2452
|
+
if len(exceptions) == 1:
|
|
2453
|
+
raise exceptions[0]
|
|
2454
|
+
elif exceptions:
|
|
2455
|
+
raise BaseExceptionGroup(
|
|
2456
|
+
"Multiple exceptions occurred in asynchronous callbacks", exceptions
|
|
2457
|
+
)
|
|
2458
|
+
|
|
2459
|
+
async def _run_tests_and_fixtures(
|
|
2460
|
+
self,
|
|
2461
|
+
receive_stream: MemoryObjectReceiveStream[
|
|
2462
|
+
tuple[Awaitable[T_Retval], asyncio.Future[T_Retval]]
|
|
2463
|
+
],
|
|
2464
|
+
) -> None:
|
|
2465
|
+
from _pytest.outcomes import OutcomeException
|
|
2466
|
+
|
|
2467
|
+
with receive_stream, self._send_stream:
|
|
2468
|
+
async for coro, future in receive_stream:
|
|
2469
|
+
try:
|
|
2470
|
+
retval = await coro
|
|
2471
|
+
except CancelledError as exc:
|
|
2472
|
+
if not future.cancelled():
|
|
2473
|
+
future.cancel(*exc.args)
|
|
2474
|
+
|
|
2475
|
+
raise
|
|
2476
|
+
except BaseException as exc:
|
|
2477
|
+
if not future.cancelled():
|
|
2478
|
+
future.set_exception(exc)
|
|
2479
|
+
|
|
2480
|
+
if not isinstance(exc, (Exception, OutcomeException)):
|
|
2481
|
+
raise
|
|
2482
|
+
else:
|
|
2483
|
+
if not future.cancelled():
|
|
2484
|
+
future.set_result(retval)
|
|
2485
|
+
|
|
2486
|
+
async def _call_in_runner_task(
|
|
2487
|
+
self,
|
|
2488
|
+
func: Callable[P, Awaitable[T_Retval]],
|
|
2489
|
+
/,
|
|
2490
|
+
*args: P.args,
|
|
2491
|
+
**kwargs: P.kwargs,
|
|
2492
|
+
) -> T_Retval:
|
|
2493
|
+
if not self._runner_task:
|
|
2494
|
+
self._send_stream, receive_stream = create_memory_object_stream[
|
|
2495
|
+
tuple[Awaitable[Any], asyncio.Future]
|
|
2496
|
+
](1)
|
|
2497
|
+
self._runner_task = self.get_loop().create_task(
|
|
2498
|
+
self._run_tests_and_fixtures(receive_stream)
|
|
2499
|
+
)
|
|
2500
|
+
|
|
2501
|
+
coro = func(*args, **kwargs)
|
|
2502
|
+
future: asyncio.Future[T_Retval] = self.get_loop().create_future()
|
|
2503
|
+
self._send_stream.send_nowait((coro, future))
|
|
2504
|
+
return await future
|
|
2505
|
+
|
|
2506
|
+
def run_asyncgen_fixture(
|
|
2507
|
+
self,
|
|
2508
|
+
fixture_func: Callable[..., AsyncGenerator[T_Retval, Any]],
|
|
2509
|
+
kwargs: dict[str, Any],
|
|
2510
|
+
) -> Iterable[T_Retval]:
|
|
2511
|
+
asyncgen = fixture_func(**kwargs)
|
|
2512
|
+
fixturevalue: T_Retval = self.get_loop().run_until_complete(
|
|
2513
|
+
self._call_in_runner_task(asyncgen.asend, None)
|
|
2514
|
+
)
|
|
2515
|
+
self._raise_async_exceptions()
|
|
2516
|
+
|
|
2517
|
+
yield fixturevalue
|
|
2518
|
+
|
|
2519
|
+
try:
|
|
2520
|
+
self.get_loop().run_until_complete(
|
|
2521
|
+
self._call_in_runner_task(asyncgen.asend, None)
|
|
2522
|
+
)
|
|
2523
|
+
except StopAsyncIteration:
|
|
2524
|
+
self._raise_async_exceptions()
|
|
2525
|
+
else:
|
|
2526
|
+
self.get_loop().run_until_complete(asyncgen.aclose())
|
|
2527
|
+
raise RuntimeError("Async generator fixture did not stop")
|
|
2528
|
+
|
|
2529
|
+
def run_fixture(
|
|
2530
|
+
self,
|
|
2531
|
+
fixture_func: Callable[..., Coroutine[Any, Any, T_Retval]],
|
|
2532
|
+
kwargs: dict[str, Any],
|
|
2533
|
+
) -> T_Retval:
|
|
2534
|
+
retval = self.get_loop().run_until_complete(
|
|
2535
|
+
self._call_in_runner_task(fixture_func, **kwargs)
|
|
2536
|
+
)
|
|
2537
|
+
self._raise_async_exceptions()
|
|
2538
|
+
return retval
|
|
2539
|
+
|
|
2540
|
+
def run_test(
|
|
2541
|
+
self, test_func: Callable[..., Coroutine[Any, Any, Any]], kwargs: dict[str, Any]
|
|
2542
|
+
) -> None:
|
|
2543
|
+
from _pytest.outcomes import OutcomeException
|
|
2544
|
+
|
|
2545
|
+
try:
|
|
2546
|
+
self.get_loop().run_until_complete(
|
|
2547
|
+
self._call_in_runner_task(test_func, **kwargs)
|
|
2548
|
+
)
|
|
2549
|
+
except Exception as exc:
|
|
2550
|
+
self._exceptions.append(exc)
|
|
2551
|
+
except OutcomeException:
|
|
2552
|
+
raise
|
|
2553
|
+
except BaseException:
|
|
2554
|
+
# A BaseException (e.g. KeyboardInterrupt, SystemExit) interrupted the event loop before
|
|
2555
|
+
# the test completed. Cancel _runner_task so it does not resume when the event
|
|
2556
|
+
# loop is re-entered during async generator fixture teardown.
|
|
2557
|
+
if self._runner_task is not None and not self._runner_task.done():
|
|
2558
|
+
self._runner_task.cancel()
|
|
2559
|
+
self._send_stream.close()
|
|
2560
|
+
try:
|
|
2561
|
+
self.get_loop().run_until_complete(self._runner_task)
|
|
2562
|
+
except CancelledError:
|
|
2563
|
+
pass
|
|
2564
|
+
finally:
|
|
2565
|
+
self._runner_task = None
|
|
2566
|
+
raise
|
|
2567
|
+
self._raise_async_exceptions()
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
class _ProcessStreamProtocol(asyncio.subprocess.SubprocessStreamProtocol):
|
|
2571
|
+
"""
|
|
2572
|
+
A subprocess protocol that allows us to be notified of ``process_exited``
|
|
2573
|
+
|
|
2574
|
+
asyncio's own ``Process.wait()`` only resolves once every pipe transport has
|
|
2575
|
+
disconnected so to get same semantics as on trio and uvloop we need this.
|
|
2576
|
+
"""
|
|
2577
|
+
|
|
2578
|
+
def __init__(self) -> None:
|
|
2579
|
+
# Match the standard factory for asyncio.create_process
|
|
2580
|
+
super().__init__(limit=2**16, loop=asyncio.get_running_loop())
|
|
2581
|
+
self.exited = asyncio.Event()
|
|
2582
|
+
|
|
2583
|
+
def process_exited(self) -> None:
|
|
2584
|
+
super().process_exited()
|
|
2585
|
+
self.exited.set()
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
class AsyncIOBackend(AsyncBackend):
|
|
2589
|
+
@classmethod
|
|
2590
|
+
def run(
|
|
2591
|
+
cls,
|
|
2592
|
+
func: Callable[[Unpack[PosArgsT]], Awaitable[T_Retval]],
|
|
2593
|
+
args: tuple[Unpack[PosArgsT]],
|
|
2594
|
+
kwargs: dict[str, Any],
|
|
2595
|
+
options: dict[str, Any],
|
|
2596
|
+
) -> T_Retval:
|
|
2597
|
+
@wraps(func)
|
|
2598
|
+
async def wrapper() -> T_Retval:
|
|
2599
|
+
task = cast(asyncio.Task, current_task())
|
|
2600
|
+
task.set_name(get_callable_name(func))
|
|
2601
|
+
_task_states[task] = TaskState(None, None)
|
|
2602
|
+
|
|
2603
|
+
try:
|
|
2604
|
+
return await func(*args)
|
|
2605
|
+
finally:
|
|
2606
|
+
del _task_states[task]
|
|
2607
|
+
|
|
2608
|
+
debug = options.get("debug", None)
|
|
2609
|
+
loop_factory = options.get("loop_factory", None)
|
|
2610
|
+
if loop_factory is None and options.get("use_uvloop", False):
|
|
2611
|
+
if sys.platform != "win32":
|
|
2612
|
+
import uvloop
|
|
2613
|
+
|
|
2614
|
+
loop_factory = uvloop.new_event_loop
|
|
2615
|
+
else:
|
|
2616
|
+
import winloop
|
|
2617
|
+
|
|
2618
|
+
loop_factory = winloop.new_event_loop
|
|
2619
|
+
|
|
2620
|
+
with Runner(debug=debug, loop_factory=loop_factory) as runner:
|
|
2621
|
+
return runner.run(wrapper())
|
|
2622
|
+
|
|
2623
|
+
@classmethod
|
|
2624
|
+
def current_token(cls) -> object:
|
|
2625
|
+
return get_running_loop()
|
|
2626
|
+
|
|
2627
|
+
@classmethod
|
|
2628
|
+
def current_time(cls) -> float:
|
|
2629
|
+
return get_running_loop().time()
|
|
2630
|
+
|
|
2631
|
+
@classmethod
|
|
2632
|
+
def cancelled_exception_class(cls) -> type[BaseException]:
|
|
2633
|
+
return CancelledError
|
|
2634
|
+
|
|
2635
|
+
@classmethod
|
|
2636
|
+
async def checkpoint(cls) -> None:
|
|
2637
|
+
await sleep(0)
|
|
2638
|
+
|
|
2639
|
+
@classmethod
|
|
2640
|
+
async def checkpoint_if_cancelled(cls) -> None:
|
|
2641
|
+
task = current_task()
|
|
2642
|
+
if task is None:
|
|
2643
|
+
return
|
|
2644
|
+
|
|
2645
|
+
try:
|
|
2646
|
+
cancel_scope = _task_states[task].cancel_scope
|
|
2647
|
+
except KeyError:
|
|
2648
|
+
return
|
|
2649
|
+
|
|
2650
|
+
while cancel_scope:
|
|
2651
|
+
if cancel_scope.cancel_called:
|
|
2652
|
+
await sleep(0)
|
|
2653
|
+
elif cancel_scope.shield:
|
|
2654
|
+
break
|
|
2655
|
+
else:
|
|
2656
|
+
cancel_scope = cancel_scope._parent_scope
|
|
2657
|
+
|
|
2658
|
+
@classmethod
|
|
2659
|
+
async def cancel_shielded_checkpoint(cls) -> None:
|
|
2660
|
+
with CancelScope(shield=True):
|
|
2661
|
+
await sleep(0)
|
|
2662
|
+
|
|
2663
|
+
@classmethod
|
|
2664
|
+
async def sleep(cls, delay: float) -> None:
|
|
2665
|
+
await sleep(delay)
|
|
2666
|
+
|
|
2667
|
+
@classmethod
|
|
2668
|
+
def create_cancel_scope(
|
|
2669
|
+
cls, *, deadline: float = math.inf, shield: bool = False
|
|
2670
|
+
) -> CancelScope:
|
|
2671
|
+
return CancelScope(deadline=deadline, shield=shield)
|
|
2672
|
+
|
|
2673
|
+
@classmethod
|
|
2674
|
+
def current_effective_deadline(cls) -> float:
|
|
2675
|
+
if (task := current_task()) is None:
|
|
2676
|
+
return math.inf
|
|
2677
|
+
|
|
2678
|
+
try:
|
|
2679
|
+
cancel_scope = _task_states[task].cancel_scope
|
|
2680
|
+
except KeyError:
|
|
2681
|
+
return math.inf
|
|
2682
|
+
|
|
2683
|
+
deadline = math.inf
|
|
2684
|
+
while cancel_scope:
|
|
2685
|
+
deadline = min(deadline, cancel_scope.deadline)
|
|
2686
|
+
if cancel_scope._cancel_called:
|
|
2687
|
+
deadline = -math.inf
|
|
2688
|
+
break
|
|
2689
|
+
elif cancel_scope.shield:
|
|
2690
|
+
break
|
|
2691
|
+
else:
|
|
2692
|
+
cancel_scope = cancel_scope._parent_scope
|
|
2693
|
+
|
|
2694
|
+
return deadline
|
|
2695
|
+
|
|
2696
|
+
@classmethod
|
|
2697
|
+
def create_task_group(cls) -> abc.TaskGroup:
|
|
2698
|
+
return TaskGroup()
|
|
2699
|
+
|
|
2700
|
+
@classmethod
|
|
2701
|
+
def create_event(cls) -> BaseEvent:
|
|
2702
|
+
return Event()
|
|
2703
|
+
|
|
2704
|
+
@classmethod
|
|
2705
|
+
def create_lock(cls, *, fast_acquire: bool) -> BaseLock:
|
|
2706
|
+
return Lock(fast_acquire=fast_acquire)
|
|
2707
|
+
|
|
2708
|
+
@classmethod
|
|
2709
|
+
def create_semaphore(
|
|
2710
|
+
cls,
|
|
2711
|
+
initial_value: int,
|
|
2712
|
+
*,
|
|
2713
|
+
max_value: int | None = None,
|
|
2714
|
+
fast_acquire: bool = False,
|
|
2715
|
+
) -> BaseSemaphore:
|
|
2716
|
+
return Semaphore(initial_value, max_value=max_value, fast_acquire=fast_acquire)
|
|
2717
|
+
|
|
2718
|
+
@classmethod
|
|
2719
|
+
def create_capacity_limiter(cls, total_tokens: float) -> BaseCapacityLimiter:
|
|
2720
|
+
return CapacityLimiter(total_tokens)
|
|
2721
|
+
|
|
2722
|
+
@classmethod
|
|
2723
|
+
async def run_sync_in_worker_thread( # type: ignore[return]
|
|
2724
|
+
cls,
|
|
2725
|
+
func: Callable[[Unpack[PosArgsT]], T_Retval],
|
|
2726
|
+
args: tuple[Unpack[PosArgsT]],
|
|
2727
|
+
abandon_on_cancel: bool = False,
|
|
2728
|
+
limiter: BaseCapacityLimiter | None = None,
|
|
2729
|
+
) -> T_Retval:
|
|
2730
|
+
await cls.checkpoint()
|
|
2731
|
+
|
|
2732
|
+
# If this is the first run in this event loop thread, set up the necessary
|
|
2733
|
+
# variables
|
|
2734
|
+
try:
|
|
2735
|
+
idle_workers = _threadpool_idle_workers.get()
|
|
2736
|
+
workers = _threadpool_workers.get()
|
|
2737
|
+
except LookupError:
|
|
2738
|
+
idle_workers = deque()
|
|
2739
|
+
workers = set()
|
|
2740
|
+
_threadpool_idle_workers.set(idle_workers)
|
|
2741
|
+
_threadpool_workers.set(workers)
|
|
2742
|
+
|
|
2743
|
+
async with limiter or cls.current_default_thread_limiter():
|
|
2744
|
+
with CancelScope(shield=not abandon_on_cancel) as scope:
|
|
2745
|
+
future = asyncio.Future[T_Retval]()
|
|
2746
|
+
root_task = find_root_task()
|
|
2747
|
+
if not idle_workers:
|
|
2748
|
+
worker = WorkerThread(root_task, workers, idle_workers)
|
|
2749
|
+
worker.start()
|
|
2750
|
+
workers.add(worker)
|
|
2751
|
+
root_task.add_done_callback(worker.stop, context=Context())
|
|
2752
|
+
else:
|
|
2753
|
+
worker = idle_workers.pop()
|
|
2754
|
+
|
|
2755
|
+
# Prune any other workers that have been idle for MAX_IDLE_TIME
|
|
2756
|
+
# seconds or longer
|
|
2757
|
+
now = cls.current_time()
|
|
2758
|
+
while idle_workers:
|
|
2759
|
+
if (
|
|
2760
|
+
now - idle_workers[0].idle_since
|
|
2761
|
+
< WorkerThread.MAX_IDLE_TIME
|
|
2762
|
+
):
|
|
2763
|
+
break
|
|
2764
|
+
|
|
2765
|
+
expired_worker = idle_workers.popleft()
|
|
2766
|
+
expired_worker.root_task.remove_done_callback(
|
|
2767
|
+
expired_worker.stop
|
|
2768
|
+
)
|
|
2769
|
+
expired_worker.stop()
|
|
2770
|
+
|
|
2771
|
+
context = copy_context()
|
|
2772
|
+
context.run(set_current_async_library, None)
|
|
2773
|
+
if abandon_on_cancel or scope._parent_scope is None:
|
|
2774
|
+
worker_scope = scope
|
|
2775
|
+
else:
|
|
2776
|
+
worker_scope = scope._parent_scope
|
|
2777
|
+
|
|
2778
|
+
worker.queue.put_nowait((context, func, args, future, worker_scope))
|
|
2779
|
+
return await future
|
|
2780
|
+
|
|
2781
|
+
@classmethod
|
|
2782
|
+
def check_cancelled(cls) -> None:
|
|
2783
|
+
scope: CancelScope | None = threadlocals.current_cancel_scope
|
|
2784
|
+
while scope is not None:
|
|
2785
|
+
if scope.cancel_called:
|
|
2786
|
+
raise CancelledError(f"Cancelled via cancel scope {id(scope):x}")
|
|
2787
|
+
|
|
2788
|
+
if scope.shield:
|
|
2789
|
+
return
|
|
2790
|
+
|
|
2791
|
+
scope = scope._parent_scope
|
|
2792
|
+
|
|
2793
|
+
@classmethod
|
|
2794
|
+
def run_async_from_thread(
|
|
2795
|
+
cls,
|
|
2796
|
+
func: Callable[[Unpack[PosArgsT]], Coroutine[Any, Any, T_co]],
|
|
2797
|
+
args: tuple[Unpack[PosArgsT]],
|
|
2798
|
+
token: object,
|
|
2799
|
+
) -> T_co:
|
|
2800
|
+
async def task_wrapper() -> T_co:
|
|
2801
|
+
__tracebackhide__ = True
|
|
2802
|
+
if scope is not None:
|
|
2803
|
+
task = cast(asyncio.Task, current_task())
|
|
2804
|
+
_task_states[task] = TaskState(None, scope)
|
|
2805
|
+
scope._tasks.add(task)
|
|
2806
|
+
try:
|
|
2807
|
+
return await func(*args)
|
|
2808
|
+
except CancelledError as exc:
|
|
2809
|
+
raise concurrent.futures.CancelledError(str(exc)) from None
|
|
2810
|
+
finally:
|
|
2811
|
+
if scope is not None:
|
|
2812
|
+
scope._tasks.discard(task)
|
|
2813
|
+
|
|
2814
|
+
loop = cast(
|
|
2815
|
+
"AbstractEventLoop", token or threadlocals.current_token.native_token
|
|
2816
|
+
)
|
|
2817
|
+
if loop.is_closed():
|
|
2818
|
+
raise RunFinishedError
|
|
2819
|
+
|
|
2820
|
+
context = copy_context()
|
|
2821
|
+
context.run(set_current_async_library, "asyncio")
|
|
2822
|
+
scope = getattr(threadlocals, "current_cancel_scope", None)
|
|
2823
|
+
f: concurrent.futures.Future[T_co] = context.run(
|
|
2824
|
+
asyncio.run_coroutine_threadsafe, task_wrapper(), loop=loop
|
|
2825
|
+
)
|
|
2826
|
+
return f.result()
|
|
2827
|
+
|
|
2828
|
+
@classmethod
|
|
2829
|
+
def run_sync_from_thread(
|
|
2830
|
+
cls,
|
|
2831
|
+
func: Callable[[Unpack[PosArgsT]], T_Retval],
|
|
2832
|
+
args: tuple[Unpack[PosArgsT]],
|
|
2833
|
+
token: object,
|
|
2834
|
+
) -> T_Retval:
|
|
2835
|
+
@wraps(func)
|
|
2836
|
+
def wrapper() -> None:
|
|
2837
|
+
try:
|
|
2838
|
+
set_current_async_library("asyncio")
|
|
2839
|
+
f.set_result(func(*args))
|
|
2840
|
+
except BaseException as exc:
|
|
2841
|
+
f.set_exception(exc)
|
|
2842
|
+
if not isinstance(exc, Exception):
|
|
2843
|
+
raise
|
|
2844
|
+
|
|
2845
|
+
loop = cast(
|
|
2846
|
+
"AbstractEventLoop", token or threadlocals.current_token.native_token
|
|
2847
|
+
)
|
|
2848
|
+
if loop.is_closed():
|
|
2849
|
+
raise RunFinishedError
|
|
2850
|
+
|
|
2851
|
+
f: concurrent.futures.Future[T_Retval] = Future()
|
|
2852
|
+
loop.call_soon_threadsafe(wrapper)
|
|
2853
|
+
return f.result()
|
|
2854
|
+
|
|
2855
|
+
@classmethod
|
|
2856
|
+
def run_sync_soon(
|
|
2857
|
+
cls,
|
|
2858
|
+
func: Callable[[Unpack[PosArgsT]], object],
|
|
2859
|
+
args: tuple[Unpack[PosArgsT]],
|
|
2860
|
+
token: object,
|
|
2861
|
+
) -> None:
|
|
2862
|
+
loop = cast("AbstractEventLoop", token)
|
|
2863
|
+
context = copy_context()
|
|
2864
|
+
context.run(set_current_async_library, "asyncio")
|
|
2865
|
+
try:
|
|
2866
|
+
loop.call_soon_threadsafe(context.run, func, *args)
|
|
2867
|
+
except RuntimeError:
|
|
2868
|
+
if loop.is_closed():
|
|
2869
|
+
raise RunFinishedError from None
|
|
2870
|
+
|
|
2871
|
+
raise
|
|
2872
|
+
|
|
2873
|
+
@classmethod
|
|
2874
|
+
async def open_process(
|
|
2875
|
+
cls,
|
|
2876
|
+
command: StrOrBytesPath | Sequence[StrOrBytesPath],
|
|
2877
|
+
*,
|
|
2878
|
+
stdin: int | IO[Any] | None,
|
|
2879
|
+
stdout: int | IO[Any] | None,
|
|
2880
|
+
stderr: int | IO[Any] | None,
|
|
2881
|
+
**kwargs: Any,
|
|
2882
|
+
) -> Process:
|
|
2883
|
+
await cls.checkpoint()
|
|
2884
|
+
if isinstance(command, PathLike):
|
|
2885
|
+
command = os.fspath(command)
|
|
2886
|
+
|
|
2887
|
+
# Use loop.subprocess_shell()/subprocess_exec() rather than their
|
|
2888
|
+
# asyncio.create_subprocess_*() counterparts to get access to
|
|
2889
|
+
# transport/protocol.
|
|
2890
|
+
loop = asyncio.get_running_loop()
|
|
2891
|
+
if isinstance(command, (str, bytes)):
|
|
2892
|
+
transport, protocol = await loop.subprocess_shell(
|
|
2893
|
+
_ProcessStreamProtocol,
|
|
2894
|
+
command,
|
|
2895
|
+
stdin=stdin,
|
|
2896
|
+
stdout=stdout,
|
|
2897
|
+
stderr=stderr,
|
|
2898
|
+
**kwargs,
|
|
2899
|
+
)
|
|
2900
|
+
else:
|
|
2901
|
+
transport, protocol = await loop.subprocess_exec(
|
|
2902
|
+
_ProcessStreamProtocol,
|
|
2903
|
+
*command,
|
|
2904
|
+
stdin=stdin,
|
|
2905
|
+
stdout=stdout,
|
|
2906
|
+
stderr=stderr,
|
|
2907
|
+
**kwargs,
|
|
2908
|
+
)
|
|
2909
|
+
|
|
2910
|
+
process = asyncio.subprocess.Process(transport, protocol, loop)
|
|
2911
|
+
stdin_stream = StreamWriterWrapper(process.stdin) if process.stdin else None
|
|
2912
|
+
stdout_stream = StreamReaderWrapper(process.stdout) if process.stdout else None
|
|
2913
|
+
stderr_stream = StreamReaderWrapper(process.stderr) if process.stderr else None
|
|
2914
|
+
return Process(
|
|
2915
|
+
process,
|
|
2916
|
+
stdin_stream,
|
|
2917
|
+
stdout_stream,
|
|
2918
|
+
stderr_stream,
|
|
2919
|
+
protocol.exited,
|
|
2920
|
+
transport,
|
|
2921
|
+
)
|
|
2922
|
+
|
|
2923
|
+
@classmethod
|
|
2924
|
+
def setup_process_pool_exit_at_shutdown(cls, workers: set[abc.Process]) -> None:
|
|
2925
|
+
create_task(
|
|
2926
|
+
_shutdown_process_pool_on_exit(workers),
|
|
2927
|
+
name="AnyIO process pool shutdown task",
|
|
2928
|
+
)
|
|
2929
|
+
find_root_task().add_done_callback(
|
|
2930
|
+
partial(_forcibly_shutdown_process_pool_on_exit, workers) # type:ignore[arg-type]
|
|
2931
|
+
)
|
|
2932
|
+
|
|
2933
|
+
@classmethod
|
|
2934
|
+
async def connect_tcp(
|
|
2935
|
+
cls, host: str, port: int, local_address: IPSockAddrType | None = None
|
|
2936
|
+
) -> abc.SocketStream:
|
|
2937
|
+
transport, protocol = cast(
|
|
2938
|
+
tuple[asyncio.Transport, StreamProtocol],
|
|
2939
|
+
await get_running_loop().create_connection(
|
|
2940
|
+
StreamProtocol, host, port, local_addr=local_address
|
|
2941
|
+
),
|
|
2942
|
+
)
|
|
2943
|
+
transport.pause_reading()
|
|
2944
|
+
return SocketStream(transport, protocol)
|
|
2945
|
+
|
|
2946
|
+
@classmethod
|
|
2947
|
+
async def connect_unix(
|
|
2948
|
+
cls,
|
|
2949
|
+
path: str | bytes,
|
|
2950
|
+
kind: Literal[SocketKind.SOCK_STREAM, SocketKind.SOCK_SEQPACKET],
|
|
2951
|
+
) -> abc.UNIXSocketStream:
|
|
2952
|
+
await cls.checkpoint()
|
|
2953
|
+
loop = get_running_loop()
|
|
2954
|
+
raw_socket = socket.socket(socket.AF_UNIX, kind)
|
|
2955
|
+
raw_socket.setblocking(False)
|
|
2956
|
+
while True:
|
|
2957
|
+
try:
|
|
2958
|
+
raw_socket.connect(path)
|
|
2959
|
+
except BlockingIOError:
|
|
2960
|
+
f: asyncio.Future = asyncio.Future()
|
|
2961
|
+
loop.add_writer(raw_socket, f.set_result, None)
|
|
2962
|
+
f.add_done_callback(lambda _: loop.remove_writer(raw_socket))
|
|
2963
|
+
await f
|
|
2964
|
+
except BaseException:
|
|
2965
|
+
raw_socket.close()
|
|
2966
|
+
raise
|
|
2967
|
+
else:
|
|
2968
|
+
return UNIXSocketStream(raw_socket)
|
|
2969
|
+
|
|
2970
|
+
@classmethod
|
|
2971
|
+
def create_tcp_listener(cls, sock: socket.socket) -> SocketListener:
|
|
2972
|
+
return TCPSocketListener(sock)
|
|
2973
|
+
|
|
2974
|
+
@classmethod
|
|
2975
|
+
def create_unix_listener(cls, sock: socket.socket) -> SocketListener:
|
|
2976
|
+
return UNIXSocketListener(sock)
|
|
2977
|
+
|
|
2978
|
+
@classmethod
|
|
2979
|
+
async def create_udp_socket(
|
|
2980
|
+
cls,
|
|
2981
|
+
family: AddressFamily,
|
|
2982
|
+
local_address: IPSockAddrType | None,
|
|
2983
|
+
remote_address: IPSockAddrType | None,
|
|
2984
|
+
reuse_port: bool,
|
|
2985
|
+
) -> UDPSocket | ConnectedUDPSocket:
|
|
2986
|
+
transport, protocol = await get_running_loop().create_datagram_endpoint(
|
|
2987
|
+
DatagramProtocol,
|
|
2988
|
+
local_addr=local_address,
|
|
2989
|
+
remote_addr=remote_address,
|
|
2990
|
+
family=family,
|
|
2991
|
+
reuse_port=reuse_port,
|
|
2992
|
+
)
|
|
2993
|
+
if protocol.exception:
|
|
2994
|
+
transport.close()
|
|
2995
|
+
raise protocol.exception
|
|
2996
|
+
|
|
2997
|
+
if not remote_address:
|
|
2998
|
+
return UDPSocket(transport, protocol)
|
|
2999
|
+
else:
|
|
3000
|
+
return ConnectedUDPSocket(transport, protocol)
|
|
3001
|
+
|
|
3002
|
+
@classmethod
|
|
3003
|
+
async def create_unix_datagram_socket( # type: ignore[override]
|
|
3004
|
+
cls, raw_socket: socket.socket, remote_path: str | bytes | None
|
|
3005
|
+
) -> abc.UNIXDatagramSocket | abc.ConnectedUNIXDatagramSocket:
|
|
3006
|
+
await cls.checkpoint()
|
|
3007
|
+
loop = get_running_loop()
|
|
3008
|
+
|
|
3009
|
+
if remote_path:
|
|
3010
|
+
while True:
|
|
3011
|
+
try:
|
|
3012
|
+
raw_socket.connect(remote_path)
|
|
3013
|
+
except BlockingIOError:
|
|
3014
|
+
f: asyncio.Future = asyncio.Future()
|
|
3015
|
+
loop.add_writer(raw_socket, f.set_result, None)
|
|
3016
|
+
f.add_done_callback(lambda _: loop.remove_writer(raw_socket))
|
|
3017
|
+
await f
|
|
3018
|
+
except BaseException:
|
|
3019
|
+
raw_socket.close()
|
|
3020
|
+
raise
|
|
3021
|
+
else:
|
|
3022
|
+
return ConnectedUNIXDatagramSocket(raw_socket)
|
|
3023
|
+
else:
|
|
3024
|
+
return UNIXDatagramSocket(raw_socket)
|
|
3025
|
+
|
|
3026
|
+
@classmethod
|
|
3027
|
+
async def getaddrinfo(
|
|
3028
|
+
cls,
|
|
3029
|
+
host: bytes | str | None,
|
|
3030
|
+
port: str | int | None,
|
|
3031
|
+
*,
|
|
3032
|
+
family: int | AddressFamily = 0,
|
|
3033
|
+
type: int | SocketKind = 0,
|
|
3034
|
+
proto: int = 0,
|
|
3035
|
+
flags: int = 0,
|
|
3036
|
+
) -> Sequence[
|
|
3037
|
+
tuple[
|
|
3038
|
+
AddressFamily,
|
|
3039
|
+
SocketKind,
|
|
3040
|
+
int,
|
|
3041
|
+
str,
|
|
3042
|
+
tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes],
|
|
3043
|
+
]
|
|
3044
|
+
]:
|
|
3045
|
+
return await get_running_loop().getaddrinfo(
|
|
3046
|
+
host, port, family=family, type=type, proto=proto, flags=flags
|
|
3047
|
+
)
|
|
3048
|
+
|
|
3049
|
+
@classmethod
|
|
3050
|
+
async def getnameinfo(
|
|
3051
|
+
cls, sockaddr: IPSockAddrType, flags: int = 0
|
|
3052
|
+
) -> tuple[str, str]:
|
|
3053
|
+
return await get_running_loop().getnameinfo(sockaddr, flags)
|
|
3054
|
+
|
|
3055
|
+
@classmethod
|
|
3056
|
+
async def wait_readable(cls, obj: FileDescriptorLike) -> None:
|
|
3057
|
+
try:
|
|
3058
|
+
read_events = _read_events.get()
|
|
3059
|
+
except LookupError:
|
|
3060
|
+
read_events = {}
|
|
3061
|
+
_read_events.set(read_events)
|
|
3062
|
+
|
|
3063
|
+
fd = obj if isinstance(obj, int) else obj.fileno()
|
|
3064
|
+
if read_events.get(fd):
|
|
3065
|
+
raise BusyResourceError("reading from")
|
|
3066
|
+
|
|
3067
|
+
loop = get_running_loop()
|
|
3068
|
+
fut: asyncio.Future[bool] = loop.create_future()
|
|
3069
|
+
|
|
3070
|
+
def cb() -> None:
|
|
3071
|
+
try:
|
|
3072
|
+
del read_events[fd]
|
|
3073
|
+
except KeyError:
|
|
3074
|
+
pass
|
|
3075
|
+
else:
|
|
3076
|
+
remove_reader(fd)
|
|
3077
|
+
|
|
3078
|
+
try:
|
|
3079
|
+
fut.set_result(True)
|
|
3080
|
+
except asyncio.InvalidStateError:
|
|
3081
|
+
pass
|
|
3082
|
+
|
|
3083
|
+
try:
|
|
3084
|
+
loop.add_reader(fd, cb)
|
|
3085
|
+
except NotImplementedError:
|
|
3086
|
+
from anyio._core._asyncio_selector_thread import get_selector
|
|
3087
|
+
|
|
3088
|
+
selector = get_selector()
|
|
3089
|
+
selector.add_reader(fd, cb)
|
|
3090
|
+
remove_reader = selector.remove_reader
|
|
3091
|
+
else:
|
|
3092
|
+
remove_reader = loop.remove_reader
|
|
3093
|
+
|
|
3094
|
+
read_events[fd] = fut
|
|
3095
|
+
try:
|
|
3096
|
+
success = await fut
|
|
3097
|
+
finally:
|
|
3098
|
+
try:
|
|
3099
|
+
del read_events[fd]
|
|
3100
|
+
except KeyError:
|
|
3101
|
+
pass
|
|
3102
|
+
else:
|
|
3103
|
+
remove_reader(fd)
|
|
3104
|
+
|
|
3105
|
+
if not success:
|
|
3106
|
+
raise ClosedResourceError
|
|
3107
|
+
|
|
3108
|
+
@classmethod
|
|
3109
|
+
async def wait_writable(cls, obj: FileDescriptorLike) -> None:
|
|
3110
|
+
try:
|
|
3111
|
+
write_events = _write_events.get()
|
|
3112
|
+
except LookupError:
|
|
3113
|
+
write_events = {}
|
|
3114
|
+
_write_events.set(write_events)
|
|
3115
|
+
|
|
3116
|
+
fd = obj if isinstance(obj, int) else obj.fileno()
|
|
3117
|
+
if write_events.get(fd):
|
|
3118
|
+
raise BusyResourceError("writing to")
|
|
3119
|
+
|
|
3120
|
+
loop = get_running_loop()
|
|
3121
|
+
fut: asyncio.Future[bool] = loop.create_future()
|
|
3122
|
+
|
|
3123
|
+
def cb() -> None:
|
|
3124
|
+
try:
|
|
3125
|
+
del write_events[fd]
|
|
3126
|
+
except KeyError:
|
|
3127
|
+
pass
|
|
3128
|
+
else:
|
|
3129
|
+
remove_writer(fd)
|
|
3130
|
+
|
|
3131
|
+
try:
|
|
3132
|
+
fut.set_result(True)
|
|
3133
|
+
except asyncio.InvalidStateError:
|
|
3134
|
+
pass
|
|
3135
|
+
|
|
3136
|
+
try:
|
|
3137
|
+
loop.add_writer(fd, cb)
|
|
3138
|
+
except NotImplementedError:
|
|
3139
|
+
from anyio._core._asyncio_selector_thread import get_selector
|
|
3140
|
+
|
|
3141
|
+
selector = get_selector()
|
|
3142
|
+
selector.add_writer(fd, cb)
|
|
3143
|
+
remove_writer = selector.remove_writer
|
|
3144
|
+
else:
|
|
3145
|
+
remove_writer = loop.remove_writer
|
|
3146
|
+
|
|
3147
|
+
write_events[fd] = fut
|
|
3148
|
+
try:
|
|
3149
|
+
success = await fut
|
|
3150
|
+
finally:
|
|
3151
|
+
try:
|
|
3152
|
+
del write_events[fd]
|
|
3153
|
+
except KeyError:
|
|
3154
|
+
pass
|
|
3155
|
+
else:
|
|
3156
|
+
remove_writer(fd)
|
|
3157
|
+
|
|
3158
|
+
if not success:
|
|
3159
|
+
raise ClosedResourceError
|
|
3160
|
+
|
|
3161
|
+
@classmethod
|
|
3162
|
+
def notify_closing(cls, obj: FileDescriptorLike) -> None:
|
|
3163
|
+
fd = obj if isinstance(obj, int) else obj.fileno()
|
|
3164
|
+
loop = get_running_loop()
|
|
3165
|
+
|
|
3166
|
+
try:
|
|
3167
|
+
write_events = _write_events.get()
|
|
3168
|
+
except LookupError:
|
|
3169
|
+
pass
|
|
3170
|
+
else:
|
|
3171
|
+
try:
|
|
3172
|
+
fut = write_events.pop(fd)
|
|
3173
|
+
except KeyError:
|
|
3174
|
+
pass
|
|
3175
|
+
else:
|
|
3176
|
+
try:
|
|
3177
|
+
fut.set_result(False)
|
|
3178
|
+
except asyncio.InvalidStateError:
|
|
3179
|
+
pass
|
|
3180
|
+
|
|
3181
|
+
try:
|
|
3182
|
+
loop.remove_writer(fd)
|
|
3183
|
+
except NotImplementedError:
|
|
3184
|
+
from anyio._core._asyncio_selector_thread import get_selector
|
|
3185
|
+
|
|
3186
|
+
get_selector().remove_writer(fd)
|
|
3187
|
+
|
|
3188
|
+
try:
|
|
3189
|
+
read_events = _read_events.get()
|
|
3190
|
+
except LookupError:
|
|
3191
|
+
pass
|
|
3192
|
+
else:
|
|
3193
|
+
try:
|
|
3194
|
+
fut = read_events.pop(fd)
|
|
3195
|
+
except KeyError:
|
|
3196
|
+
pass
|
|
3197
|
+
else:
|
|
3198
|
+
try:
|
|
3199
|
+
fut.set_result(False)
|
|
3200
|
+
except asyncio.InvalidStateError:
|
|
3201
|
+
pass
|
|
3202
|
+
|
|
3203
|
+
try:
|
|
3204
|
+
loop.remove_reader(fd)
|
|
3205
|
+
except NotImplementedError:
|
|
3206
|
+
from anyio._core._asyncio_selector_thread import get_selector
|
|
3207
|
+
|
|
3208
|
+
get_selector().remove_reader(fd)
|
|
3209
|
+
|
|
3210
|
+
@classmethod
|
|
3211
|
+
async def wrap_listener_socket(cls, sock: socket.socket) -> SocketListener:
|
|
3212
|
+
if hasattr(socket, "AF_UNIX") and sock.family == socket.AF_UNIX:
|
|
3213
|
+
return UNIXSocketListener(sock)
|
|
3214
|
+
|
|
3215
|
+
return TCPSocketListener(sock)
|
|
3216
|
+
|
|
3217
|
+
@classmethod
|
|
3218
|
+
async def wrap_stream_socket(cls, sock: socket.socket) -> SocketStream:
|
|
3219
|
+
transport, protocol = await get_running_loop().create_connection(
|
|
3220
|
+
StreamProtocol, sock=sock
|
|
3221
|
+
)
|
|
3222
|
+
return SocketStream(transport, protocol)
|
|
3223
|
+
|
|
3224
|
+
@classmethod
|
|
3225
|
+
async def wrap_unix_stream_socket(cls, sock: socket.socket) -> UNIXSocketStream:
|
|
3226
|
+
return UNIXSocketStream(sock)
|
|
3227
|
+
|
|
3228
|
+
@classmethod
|
|
3229
|
+
async def wrap_udp_socket(cls, sock: socket.socket) -> UDPSocket:
|
|
3230
|
+
transport, protocol = await get_running_loop().create_datagram_endpoint(
|
|
3231
|
+
DatagramProtocol, sock=sock
|
|
3232
|
+
)
|
|
3233
|
+
return UDPSocket(transport, protocol)
|
|
3234
|
+
|
|
3235
|
+
@classmethod
|
|
3236
|
+
async def wrap_connected_udp_socket(cls, sock: socket.socket) -> ConnectedUDPSocket:
|
|
3237
|
+
transport, protocol = await get_running_loop().create_datagram_endpoint(
|
|
3238
|
+
DatagramProtocol, sock=sock
|
|
3239
|
+
)
|
|
3240
|
+
return ConnectedUDPSocket(transport, protocol)
|
|
3241
|
+
|
|
3242
|
+
@classmethod
|
|
3243
|
+
async def wrap_unix_datagram_socket(cls, sock: socket.socket) -> UNIXDatagramSocket:
|
|
3244
|
+
return UNIXDatagramSocket(sock)
|
|
3245
|
+
|
|
3246
|
+
@classmethod
|
|
3247
|
+
async def wrap_connected_unix_datagram_socket(
|
|
3248
|
+
cls, sock: socket.socket
|
|
3249
|
+
) -> ConnectedUNIXDatagramSocket:
|
|
3250
|
+
return ConnectedUNIXDatagramSocket(sock)
|
|
3251
|
+
|
|
3252
|
+
@classmethod
|
|
3253
|
+
def current_default_thread_limiter(cls) -> CapacityLimiter:
|
|
3254
|
+
try:
|
|
3255
|
+
return _default_thread_limiter.get()
|
|
3256
|
+
except LookupError:
|
|
3257
|
+
limiter = CapacityLimiter(40)
|
|
3258
|
+
_default_thread_limiter.set(limiter)
|
|
3259
|
+
return limiter
|
|
3260
|
+
|
|
3261
|
+
@classmethod
|
|
3262
|
+
def open_signal_receiver(
|
|
3263
|
+
cls, *signals: Signals
|
|
3264
|
+
) -> AbstractContextManager[AsyncIterator[Signals]]:
|
|
3265
|
+
return _SignalReceiver(signals)
|
|
3266
|
+
|
|
3267
|
+
@classmethod
|
|
3268
|
+
def get_current_task(cls) -> TaskInfo:
|
|
3269
|
+
task = current_task()
|
|
3270
|
+
if task is None:
|
|
3271
|
+
raise RuntimeError("There is no task currently running")
|
|
3272
|
+
|
|
3273
|
+
return AsyncIOTaskInfo(task)
|
|
3274
|
+
|
|
3275
|
+
@classmethod
|
|
3276
|
+
def get_running_tasks(cls) -> Sequence[TaskInfo]:
|
|
3277
|
+
return [AsyncIOTaskInfo(task) for task in all_tasks() if not task.done()]
|
|
3278
|
+
|
|
3279
|
+
@classmethod
|
|
3280
|
+
async def wait_all_tasks_blocked(cls) -> None:
|
|
3281
|
+
await cls.checkpoint()
|
|
3282
|
+
this_task = current_task()
|
|
3283
|
+
while True:
|
|
3284
|
+
for task in all_tasks():
|
|
3285
|
+
if task is this_task:
|
|
3286
|
+
continue
|
|
3287
|
+
|
|
3288
|
+
waiter = task._fut_waiter # type: ignore[attr-defined]
|
|
3289
|
+
if waiter is None or waiter.done():
|
|
3290
|
+
await sleep(0.1)
|
|
3291
|
+
break
|
|
3292
|
+
else:
|
|
3293
|
+
return
|
|
3294
|
+
|
|
3295
|
+
@classmethod
|
|
3296
|
+
def create_test_runner(cls, options: dict[str, Any]) -> TestRunner:
|
|
3297
|
+
return TestRunner(**options)
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
backend_class = AsyncIOBackend
|