py2docfx 0.1.15.dev2025736__py3-none-any.whl → 0.1.15.dev2038808__py3-none-any.whl
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.
- py2docfx/docfx_yaml/process_doctree.py +34 -21
- py2docfx/docfx_yaml/tests/test_method_arguments.py +7 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/RECORD +136 -593
- py2docfx/docfx_yaml/tests/test_process_doctree.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/top_level.txt +0 -0
@@ -1,411 +0,0 @@
|
|
1
|
-
# Application stuff.
|
2
|
-
# The application is responsible for managing the main frame window.
|
3
|
-
#
|
4
|
-
# We also grab the FileOpen command, to invoke our Python editor
|
5
|
-
"The PythonWin application code. Manages most aspects of MDI, etc"
|
6
|
-
|
7
|
-
from __future__ import annotations
|
8
|
-
|
9
|
-
import builtins
|
10
|
-
import os
|
11
|
-
import sys
|
12
|
-
import traceback
|
13
|
-
import warnings
|
14
|
-
from typing import TYPE_CHECKING
|
15
|
-
|
16
|
-
import regutil
|
17
|
-
import win32api
|
18
|
-
import win32con
|
19
|
-
import win32ui
|
20
|
-
from pywin.mfc import afxres, dialog, window
|
21
|
-
from pywin.mfc.thread import WinApp
|
22
|
-
|
23
|
-
from . import scriptutils
|
24
|
-
|
25
|
-
if TYPE_CHECKING:
|
26
|
-
from typing_extensions import Literal
|
27
|
-
|
28
|
-
|
29
|
-
# Helper for writing a Window position by name, and later loading it.
|
30
|
-
def SaveWindowSize(section, rect, state=""):
|
31
|
-
"""Writes a rectangle to an INI file
|
32
|
-
Args: section = section name in the applications INI file
|
33
|
-
rect = a rectangle in a (cy, cx, y, x) tuple
|
34
|
-
(same format as CREATESTRUCT position tuples)."""
|
35
|
-
left, top, right, bottom = rect
|
36
|
-
if state:
|
37
|
-
state += " "
|
38
|
-
win32ui.WriteProfileVal(section, state + "left", left)
|
39
|
-
win32ui.WriteProfileVal(section, state + "top", top)
|
40
|
-
win32ui.WriteProfileVal(section, state + "right", right)
|
41
|
-
win32ui.WriteProfileVal(section, state + "bottom", bottom)
|
42
|
-
|
43
|
-
|
44
|
-
def LoadWindowSize(section, state=""):
|
45
|
-
"""Loads a section from an INI file, and returns a rect in a tuple (see SaveWindowSize)"""
|
46
|
-
if state:
|
47
|
-
state += " "
|
48
|
-
left = win32ui.GetProfileVal(section, state + "left", 0)
|
49
|
-
top = win32ui.GetProfileVal(section, state + "top", 0)
|
50
|
-
right = win32ui.GetProfileVal(section, state + "right", 0)
|
51
|
-
bottom = win32ui.GetProfileVal(section, state + "bottom", 0)
|
52
|
-
return (left, top, right, bottom)
|
53
|
-
|
54
|
-
|
55
|
-
def RectToCreateStructRect(rect):
|
56
|
-
return (rect[3] - rect[1], rect[2] - rect[0], rect[1], rect[0])
|
57
|
-
|
58
|
-
|
59
|
-
# Define FrameWindow and Application objects
|
60
|
-
#
|
61
|
-
# The Main Frame of the application.
|
62
|
-
class MainFrame(window.MDIFrameWnd):
|
63
|
-
sectionPos = "Main Window"
|
64
|
-
statusBarIndicators = (
|
65
|
-
afxres.ID_SEPARATOR, # // status line indicator
|
66
|
-
afxres.ID_INDICATOR_CAPS,
|
67
|
-
afxres.ID_INDICATOR_NUM,
|
68
|
-
afxres.ID_INDICATOR_SCRL,
|
69
|
-
win32ui.ID_INDICATOR_LINENUM,
|
70
|
-
win32ui.ID_INDICATOR_COLNUM,
|
71
|
-
)
|
72
|
-
|
73
|
-
def OnCreate(self, cs) -> Literal[-1, 0, 1]:
|
74
|
-
self._CreateStatusBar()
|
75
|
-
return 0
|
76
|
-
|
77
|
-
def _CreateStatusBar(self):
|
78
|
-
self.statusBar = win32ui.CreateStatusBar(self)
|
79
|
-
self.statusBar.SetIndicators(self.statusBarIndicators)
|
80
|
-
self.HookCommandUpdate(self.OnUpdatePosIndicator, win32ui.ID_INDICATOR_LINENUM)
|
81
|
-
self.HookCommandUpdate(self.OnUpdatePosIndicator, win32ui.ID_INDICATOR_COLNUM)
|
82
|
-
|
83
|
-
def OnUpdatePosIndicator(self, cmdui):
|
84
|
-
editControl = scriptutils.GetActiveEditControl()
|
85
|
-
value = " " * 5
|
86
|
-
if editControl is not None:
|
87
|
-
try:
|
88
|
-
startChar, endChar = editControl.GetSel()
|
89
|
-
lineNo = editControl.LineFromChar(startChar)
|
90
|
-
colNo = endChar - editControl.LineIndex(lineNo)
|
91
|
-
|
92
|
-
if cmdui.m_nID == win32ui.ID_INDICATOR_LINENUM:
|
93
|
-
value = "%0*d" % (5, lineNo + 1)
|
94
|
-
else:
|
95
|
-
value = "%0*d" % (3, colNo + 1)
|
96
|
-
except win32ui.error:
|
97
|
-
pass
|
98
|
-
cmdui.SetText(value)
|
99
|
-
cmdui.Enable()
|
100
|
-
|
101
|
-
def PreCreateWindow(self, cc):
|
102
|
-
cc = self._obj_.PreCreateWindow(cc)
|
103
|
-
pos = LoadWindowSize(self.sectionPos)
|
104
|
-
self.startRect = pos
|
105
|
-
if pos[2] - pos[0]:
|
106
|
-
rect = RectToCreateStructRect(pos)
|
107
|
-
cc = cc[0], cc[1], cc[2], cc[3], rect, cc[5], cc[6], cc[7], cc[8]
|
108
|
-
return cc
|
109
|
-
|
110
|
-
def OnDestroy(self, msg):
|
111
|
-
# use GetWindowPlacement(), as it works even when min'd or max'd
|
112
|
-
rectNow = self.GetWindowPlacement()[4]
|
113
|
-
if rectNow != self.startRect:
|
114
|
-
SaveWindowSize(self.sectionPos, rectNow)
|
115
|
-
return 0
|
116
|
-
|
117
|
-
|
118
|
-
class CApp(WinApp):
|
119
|
-
"A class for the application"
|
120
|
-
|
121
|
-
def __init__(self):
|
122
|
-
self.oldCallbackCaller = None
|
123
|
-
WinApp.__init__(self, win32ui.GetApp())
|
124
|
-
self.idleHandlers = []
|
125
|
-
|
126
|
-
def InitInstance(self):
|
127
|
-
"Called to crank up the app"
|
128
|
-
HookInput()
|
129
|
-
numMRU = win32ui.GetProfileVal("Settings", "Recent File List Size", 10)
|
130
|
-
win32ui.LoadStdProfileSettings(numMRU)
|
131
|
-
# self._obj_.InitMDIInstance()
|
132
|
-
if win32api.GetVersionEx()[0] < 4:
|
133
|
-
win32ui.SetDialogBkColor()
|
134
|
-
win32ui.Enable3dControls()
|
135
|
-
|
136
|
-
# install a "callback caller" - a manager for the callbacks
|
137
|
-
# self.oldCallbackCaller = win32ui.InstallCallbackCaller(self.CallbackManager)
|
138
|
-
self.LoadMainFrame()
|
139
|
-
self.SetApplicationPaths()
|
140
|
-
|
141
|
-
def ExitInstance(self):
|
142
|
-
"Called as the app dies - too late to prevent it here!"
|
143
|
-
win32ui.OutputDebug("Application shutdown\n")
|
144
|
-
# Restore the callback manager, if any.
|
145
|
-
try:
|
146
|
-
win32ui.InstallCallbackCaller(self.oldCallbackCaller)
|
147
|
-
except AttributeError:
|
148
|
-
pass
|
149
|
-
if self.oldCallbackCaller:
|
150
|
-
del self.oldCallbackCaller
|
151
|
-
self.frame = None # clean Python references to the now destroyed window object.
|
152
|
-
self.idleHandlers = []
|
153
|
-
# Attempt cleanup if not already done!
|
154
|
-
if self._obj_:
|
155
|
-
self._obj_.AttachObject(None)
|
156
|
-
self._obj_ = None
|
157
|
-
return 0
|
158
|
-
|
159
|
-
def HaveIdleHandler(self, handler):
|
160
|
-
return handler in self.idleHandlers
|
161
|
-
|
162
|
-
def AddIdleHandler(self, handler):
|
163
|
-
self.idleHandlers.append(handler)
|
164
|
-
|
165
|
-
def DeleteIdleHandler(self, handler):
|
166
|
-
self.idleHandlers.remove(handler)
|
167
|
-
|
168
|
-
def OnIdle(self, count):
|
169
|
-
try:
|
170
|
-
ret = 0
|
171
|
-
handlers = self.idleHandlers[:] # copy list, as may be modified during loop
|
172
|
-
for handler in handlers:
|
173
|
-
try:
|
174
|
-
thisRet = handler(handler, count)
|
175
|
-
except:
|
176
|
-
print(f"Idle handler {handler!r} failed")
|
177
|
-
traceback.print_exc()
|
178
|
-
print("Idle handler removed from list")
|
179
|
-
try:
|
180
|
-
self.DeleteIdleHandler(handler)
|
181
|
-
except ValueError: # Item not in list.
|
182
|
-
pass
|
183
|
-
thisRet = 0
|
184
|
-
ret = ret or thisRet
|
185
|
-
return ret
|
186
|
-
except KeyboardInterrupt:
|
187
|
-
pass
|
188
|
-
|
189
|
-
def CreateMainFrame(self):
|
190
|
-
return MainFrame()
|
191
|
-
|
192
|
-
def LoadMainFrame(self):
|
193
|
-
"Create the main applications frame"
|
194
|
-
self.frame = self.CreateMainFrame()
|
195
|
-
self.SetMainFrame(self.frame)
|
196
|
-
self.frame.LoadFrame(win32ui.IDR_MAINFRAME, win32con.WS_OVERLAPPEDWINDOW)
|
197
|
-
self.frame.DragAcceptFiles() # we can accept these.
|
198
|
-
self.frame.ShowWindow(win32ui.GetInitialStateRequest())
|
199
|
-
self.frame.UpdateWindow()
|
200
|
-
self.HookCommands()
|
201
|
-
|
202
|
-
def OnHelp(self, id, code):
|
203
|
-
try:
|
204
|
-
if id == win32ui.ID_HELP_GUI_REF:
|
205
|
-
helpFile = regutil.GetRegisteredHelpFile("Pythonwin Reference")
|
206
|
-
helpCmd = win32con.HELP_CONTENTS
|
207
|
-
else:
|
208
|
-
helpFile = regutil.GetRegisteredHelpFile("Main Python Documentation")
|
209
|
-
helpCmd = win32con.HELP_FINDER
|
210
|
-
if helpFile is None:
|
211
|
-
win32ui.MessageBox("The help file is not registered!")
|
212
|
-
else:
|
213
|
-
from . import help
|
214
|
-
|
215
|
-
help.OpenHelpFile(helpFile, helpCmd)
|
216
|
-
except:
|
217
|
-
t, v, tb = sys.exc_info()
|
218
|
-
win32ui.MessageBox(f"Internal error in help file processing\r\n{t}: {v}")
|
219
|
-
tb = None # Prevent a cycle
|
220
|
-
|
221
|
-
def DoLoadModules(self, modules):
|
222
|
-
# XXX - this should go, but the debugger uses it :-(
|
223
|
-
# don't do much checking!
|
224
|
-
for module in modules:
|
225
|
-
__import__(module)
|
226
|
-
|
227
|
-
def HookCommands(self):
|
228
|
-
self.frame.HookMessage(self.OnDropFiles, win32con.WM_DROPFILES)
|
229
|
-
self.HookCommand(self.HandleOnFileOpen, win32ui.ID_FILE_OPEN)
|
230
|
-
self.HookCommand(self.HandleOnFileNew, win32ui.ID_FILE_NEW)
|
231
|
-
self.HookCommand(self.OnFileMRU, win32ui.ID_FILE_MRU_FILE1)
|
232
|
-
self.HookCommand(self.OnHelpAbout, win32ui.ID_APP_ABOUT)
|
233
|
-
self.HookCommand(self.OnHelp, win32ui.ID_HELP_PYTHON)
|
234
|
-
self.HookCommand(self.OnHelp, win32ui.ID_HELP_GUI_REF)
|
235
|
-
# Hook for the right-click menu.
|
236
|
-
self.frame.GetWindow(win32con.GW_CHILD).HookMessage(
|
237
|
-
self.OnRClick, win32con.WM_RBUTTONDOWN
|
238
|
-
)
|
239
|
-
|
240
|
-
def SetApplicationPaths(self):
|
241
|
-
# Load the users/application paths
|
242
|
-
new_path = []
|
243
|
-
apppath = win32ui.GetProfileVal("Python", "Application Path", "").split(";")
|
244
|
-
for path in apppath:
|
245
|
-
if len(path) > 0:
|
246
|
-
new_path.append(win32ui.FullPath(path))
|
247
|
-
for extra_num in range(1, 11):
|
248
|
-
apppath = win32ui.GetProfileVal(
|
249
|
-
"Python", "Application Path %d" % extra_num, ""
|
250
|
-
).split(";")
|
251
|
-
if len(apppath) == 0:
|
252
|
-
break
|
253
|
-
for path in apppath:
|
254
|
-
if len(path) > 0:
|
255
|
-
new_path.append(win32ui.FullPath(path))
|
256
|
-
sys.path = new_path + sys.path
|
257
|
-
|
258
|
-
def OnRClick(self, params):
|
259
|
-
"Handle right click message"
|
260
|
-
# put up the entire FILE menu!
|
261
|
-
menu = win32ui.LoadMenu(win32ui.IDR_TEXTTYPE).GetSubMenu(0)
|
262
|
-
menu.TrackPopupMenu(params[5]) # track at mouse position.
|
263
|
-
return 0
|
264
|
-
|
265
|
-
def OnDropFiles(self, msg):
|
266
|
-
"Handle a file being dropped from file manager"
|
267
|
-
hDropInfo = msg[2]
|
268
|
-
self.frame.SetActiveWindow() # active us
|
269
|
-
nFiles = win32api.DragQueryFile(hDropInfo)
|
270
|
-
try:
|
271
|
-
for iFile in range(0, nFiles):
|
272
|
-
fileName = win32api.DragQueryFile(hDropInfo, iFile)
|
273
|
-
win32ui.GetApp().OpenDocumentFile(fileName)
|
274
|
-
finally:
|
275
|
-
win32api.DragFinish(hDropInfo)
|
276
|
-
|
277
|
-
return 0
|
278
|
-
|
279
|
-
# No longer used by Pythonwin, as the C++ code has this same basic functionality
|
280
|
-
# but handles errors slightly better.
|
281
|
-
# It all still works, tho, so if you need similar functionality, you can use it.
|
282
|
-
# Therefore I haven't deleted this code completely!
|
283
|
-
# def CallbackManager( self, ob, args = () ):
|
284
|
-
# """Manage win32 callbacks. Trap exceptions, report on them, then return 'All OK'
|
285
|
-
# to the frame-work. """
|
286
|
-
# import traceback
|
287
|
-
# try:
|
288
|
-
# ret = apply(ob, args)
|
289
|
-
# return ret
|
290
|
-
# except:
|
291
|
-
# # take copies of the exception values, else other (handled) exceptions may get
|
292
|
-
# # copied over by the other fns called.
|
293
|
-
# win32ui.SetStatusText('An exception occured in a windows command handler.')
|
294
|
-
# t, v, tb = sys.exc_info()
|
295
|
-
# traceback.print_exception(t, v, tb.tb_next)
|
296
|
-
# try:
|
297
|
-
# sys.stdout.flush()
|
298
|
-
# except (NameError, AttributeError):
|
299
|
-
# pass
|
300
|
-
|
301
|
-
# Command handlers.
|
302
|
-
def OnFileMRU(self, id, code):
|
303
|
-
"Called when a File 1-n message is recieved"
|
304
|
-
fileName = win32ui.GetRecentFileList()[id - win32ui.ID_FILE_MRU_FILE1]
|
305
|
-
win32ui.GetApp().OpenDocumentFile(fileName)
|
306
|
-
|
307
|
-
def HandleOnFileOpen(self, id, code):
|
308
|
-
"Called when FileOpen message is received"
|
309
|
-
win32ui.GetApp().OnFileOpen()
|
310
|
-
|
311
|
-
def HandleOnFileNew(self, id, code):
|
312
|
-
"Called when FileNew message is received"
|
313
|
-
win32ui.GetApp().OnFileNew()
|
314
|
-
|
315
|
-
def OnHelpAbout(self, id, code):
|
316
|
-
"Called when HelpAbout message is received. Displays the About dialog."
|
317
|
-
win32ui.InitRichEdit()
|
318
|
-
dlg = AboutBox()
|
319
|
-
dlg.DoModal()
|
320
|
-
|
321
|
-
|
322
|
-
def _GetRegistryValue(key, val, default=None):
|
323
|
-
# val is registry value - None for default val.
|
324
|
-
try:
|
325
|
-
hkey = win32api.RegOpenKey(win32con.HKEY_CURRENT_USER, key)
|
326
|
-
return win32api.RegQueryValueEx(hkey, val)[0]
|
327
|
-
except win32api.error:
|
328
|
-
try:
|
329
|
-
hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, key)
|
330
|
-
return win32api.RegQueryValueEx(hkey, val)[0]
|
331
|
-
except win32api.error:
|
332
|
-
return default
|
333
|
-
|
334
|
-
|
335
|
-
scintilla = "Scintilla is Copyright 1998-2020 Neil Hodgson (https://www.scintilla.org)"
|
336
|
-
idle = "This program uses IDLE extensions by Guido van Rossum, Tim Peters and others."
|
337
|
-
contributors = "Thanks to the following people for making significant contributions: Roger Upole, Sidnei da Silva, Sam Rushing, Curt Hagenlocher, Dave Brennan, Roger Burnham, Gordon McMillan, Neil Hodgson, Laramie Leavitt. (let me know if I have forgotten you!)"
|
338
|
-
|
339
|
-
|
340
|
-
# The About Box
|
341
|
-
class AboutBox(dialog.Dialog):
|
342
|
-
def __init__(self, idd=win32ui.IDD_ABOUTBOX):
|
343
|
-
dialog.Dialog.__init__(self, idd)
|
344
|
-
|
345
|
-
def OnInitDialog(self):
|
346
|
-
text = "Pythonwin - Python IDE and GUI Framework for Windows.\n\n{}\n\nPython is {}\n\n{}\n\n{}\n\n{}".format(
|
347
|
-
win32ui.copyright, sys.copyright, scintilla, idle, contributors
|
348
|
-
)
|
349
|
-
self.SetDlgItemText(win32ui.IDC_EDIT1, text)
|
350
|
-
import sysconfig
|
351
|
-
|
352
|
-
site_packages = sysconfig.get_paths()["platlib"]
|
353
|
-
version_path = os.path.join(site_packages, "pywin32.version.txt")
|
354
|
-
try:
|
355
|
-
with open(version_path) as f:
|
356
|
-
ver = "pywin32 build %s" % f.read().strip()
|
357
|
-
except OSError:
|
358
|
-
ver = None
|
359
|
-
if not ver:
|
360
|
-
warnings.warn(f"Could not read pywin32's version from '{version_path}'")
|
361
|
-
self.SetDlgItemText(win32ui.IDC_ABOUT_VERSION, ver)
|
362
|
-
self.HookCommand(self.OnButHomePage, win32ui.IDC_BUTTON1)
|
363
|
-
|
364
|
-
def OnButHomePage(self, id, code):
|
365
|
-
if code == win32con.BN_CLICKED:
|
366
|
-
win32api.ShellExecute(
|
367
|
-
0, "open", "https://github.com/mhammond/pywin32", None, "", 1
|
368
|
-
)
|
369
|
-
|
370
|
-
|
371
|
-
def Win32Input(prompt=None):
|
372
|
-
"Provide input() for gui apps"
|
373
|
-
# flush stderr/out first.
|
374
|
-
try:
|
375
|
-
sys.stdout.flush()
|
376
|
-
sys.stderr.flush()
|
377
|
-
except:
|
378
|
-
pass
|
379
|
-
if prompt is None:
|
380
|
-
prompt = ""
|
381
|
-
ret = dialog.GetSimpleInput(prompt)
|
382
|
-
if ret is None:
|
383
|
-
raise KeyboardInterrupt("operation cancelled")
|
384
|
-
return ret
|
385
|
-
|
386
|
-
|
387
|
-
def HookInput():
|
388
|
-
builtins.input = Win32Input
|
389
|
-
|
390
|
-
|
391
|
-
def HaveGoodGUI():
|
392
|
-
"""Returns true if we currently have a good gui available."""
|
393
|
-
return "pywin.framework.startup" in sys.modules
|
394
|
-
|
395
|
-
|
396
|
-
def CreateDefaultGUI(appClass=None):
|
397
|
-
"""Creates a default GUI environment"""
|
398
|
-
if appClass is None:
|
399
|
-
from . import intpyapp # Bring in the default app - could be param'd later.
|
400
|
-
|
401
|
-
appClass = intpyapp.InteractivePythonApp
|
402
|
-
# Create and init the app.
|
403
|
-
appClass().InitInstance()
|
404
|
-
|
405
|
-
|
406
|
-
def CheckCreateDefaultGUI():
|
407
|
-
"""Checks and creates if necessary a default GUI environment."""
|
408
|
-
rc = HaveGoodGUI()
|
409
|
-
if not rc:
|
410
|
-
CreateDefaultGUI()
|
411
|
-
return rc
|
@@ -1,168 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
import sys
|
3
|
-
|
4
|
-
import win32api
|
5
|
-
import win32con
|
6
|
-
import win32ui
|
7
|
-
from pywin.mfc import docview, window
|
8
|
-
|
9
|
-
bStretch = 1
|
10
|
-
|
11
|
-
|
12
|
-
class BitmapDocument(docview.Document):
|
13
|
-
"A bitmap document. Holds the bitmap data itself."
|
14
|
-
|
15
|
-
def __init__(self, template):
|
16
|
-
docview.Document.__init__(self, template)
|
17
|
-
self.bitmap = None
|
18
|
-
|
19
|
-
def OnNewDocument(self):
|
20
|
-
# I can not create new bitmaps.
|
21
|
-
win32ui.MessageBox("Bitmaps can not be created.")
|
22
|
-
|
23
|
-
def OnOpenDocument(self, filename):
|
24
|
-
self.bitmap = win32ui.CreateBitmap()
|
25
|
-
# init data members
|
26
|
-
f = open(filename, "rb")
|
27
|
-
try:
|
28
|
-
try:
|
29
|
-
self.bitmap.LoadBitmapFile(f)
|
30
|
-
except OSError:
|
31
|
-
win32ui.MessageBox("Could not load the bitmap from %s" % filename)
|
32
|
-
return 0
|
33
|
-
finally:
|
34
|
-
f.close()
|
35
|
-
self.size = self.bitmap.GetSize()
|
36
|
-
return 1
|
37
|
-
|
38
|
-
def DeleteContents(self):
|
39
|
-
self.bitmap = None
|
40
|
-
|
41
|
-
|
42
|
-
class BitmapView(docview.ScrollView):
|
43
|
-
"A view of a bitmap. Obtains data from document."
|
44
|
-
|
45
|
-
def __init__(self, doc):
|
46
|
-
docview.ScrollView.__init__(self, doc)
|
47
|
-
self.width = self.height = 0
|
48
|
-
# set up message handlers
|
49
|
-
self.HookMessage(self.OnSize, win32con.WM_SIZE)
|
50
|
-
|
51
|
-
def OnInitialUpdate(self):
|
52
|
-
doc = self.GetDocument()
|
53
|
-
if doc.bitmap:
|
54
|
-
bitmapSize = doc.bitmap.GetSize()
|
55
|
-
self.SetScrollSizes(win32con.MM_TEXT, bitmapSize)
|
56
|
-
|
57
|
-
def OnSize(self, params):
|
58
|
-
lParam = params[3]
|
59
|
-
self.width = win32api.LOWORD(lParam)
|
60
|
-
self.height = win32api.HIWORD(lParam)
|
61
|
-
|
62
|
-
def OnDraw(self, dc):
|
63
|
-
# set sizes used for "non stretch" mode.
|
64
|
-
doc = self.GetDocument()
|
65
|
-
if doc.bitmap is None:
|
66
|
-
return
|
67
|
-
bitmapSize = doc.bitmap.GetSize()
|
68
|
-
if bStretch:
|
69
|
-
# stretch BMP.
|
70
|
-
viewRect = (0, 0, self.width, self.height)
|
71
|
-
bitmapRect = (0, 0, bitmapSize[0], bitmapSize[1])
|
72
|
-
doc.bitmap.Paint(dc, viewRect, bitmapRect)
|
73
|
-
else:
|
74
|
-
# non stretch.
|
75
|
-
doc.bitmap.Paint(dc)
|
76
|
-
|
77
|
-
|
78
|
-
class BitmapFrame(window.MDIChildWnd):
|
79
|
-
def OnCreateClient(self, createparams, context):
|
80
|
-
borderX = win32api.GetSystemMetrics(win32con.SM_CXFRAME)
|
81
|
-
borderY = win32api.GetSystemMetrics(win32con.SM_CYFRAME)
|
82
|
-
titleY = win32api.GetSystemMetrics(win32con.SM_CYCAPTION) # includes border
|
83
|
-
# try and maintain default window pos, else adjust if can't fit
|
84
|
-
# get the main client window dimensions.
|
85
|
-
mdiClient = win32ui.GetMainFrame().GetWindow(win32con.GW_CHILD)
|
86
|
-
clientWindowRect = mdiClient.ScreenToClient(mdiClient.GetWindowRect())
|
87
|
-
clientWindowSize = (
|
88
|
-
clientWindowRect[2] - clientWindowRect[0],
|
89
|
-
clientWindowRect[3] - clientWindowRect[1],
|
90
|
-
)
|
91
|
-
left, top, right, bottom = mdiClient.ScreenToClient(self.GetWindowRect())
|
92
|
-
# width, height=context.doc.size[0], context.doc.size[1]
|
93
|
-
# width = width+borderX*2
|
94
|
-
# height= height+titleY+borderY*2-1
|
95
|
-
# if (left+width)>clientWindowSize[0]:
|
96
|
-
# left = clientWindowSize[0] - width
|
97
|
-
# if left<0:
|
98
|
-
# left = 0
|
99
|
-
# width = clientWindowSize[0]
|
100
|
-
# if (top+height)>clientWindowSize[1]:
|
101
|
-
# top = clientWindowSize[1] - height
|
102
|
-
# if top<0:
|
103
|
-
# top = 0
|
104
|
-
# height = clientWindowSize[1]
|
105
|
-
# self.frame.MoveWindow((left, top, left+width, top+height),0)
|
106
|
-
window.MDIChildWnd.OnCreateClient(self, createparams, context)
|
107
|
-
return 1
|
108
|
-
|
109
|
-
|
110
|
-
class BitmapTemplate(docview.DocTemplate):
|
111
|
-
def __init__(self):
|
112
|
-
docview.DocTemplate.__init__(
|
113
|
-
self, win32ui.IDR_PYTHONTYPE, BitmapDocument, BitmapFrame, BitmapView
|
114
|
-
)
|
115
|
-
|
116
|
-
def MatchDocType(self, fileName, fileType):
|
117
|
-
doc = self.FindOpenDocument(fileName)
|
118
|
-
if doc:
|
119
|
-
return doc
|
120
|
-
ext = os.path.splitext(fileName)[1].lower()
|
121
|
-
if ext == ".bmp": # removed due to PIL! or ext=='.ppm':
|
122
|
-
return win32ui.CDocTemplate_Confidence_yesAttemptNative
|
123
|
-
return win32ui.CDocTemplate_Confidence_maybeAttemptForeign
|
124
|
-
|
125
|
-
|
126
|
-
# return win32ui.CDocTemplate_Confidence_noAttempt
|
127
|
-
|
128
|
-
# For debugging purposes, when this module may be reloaded many times.
|
129
|
-
try:
|
130
|
-
win32ui.GetApp().RemoveDocTemplate(bitmapTemplate) # type: ignore[has-type, used-before-def]
|
131
|
-
except NameError:
|
132
|
-
pass
|
133
|
-
|
134
|
-
bitmapTemplate = BitmapTemplate()
|
135
|
-
bitmapTemplate.SetDocStrings(
|
136
|
-
"\nBitmap\nBitmap\nBitmap (*.bmp)\n.bmp\nPythonBitmapFileType\nPython Bitmap File"
|
137
|
-
)
|
138
|
-
win32ui.GetApp().AddDocTemplate(bitmapTemplate)
|
139
|
-
|
140
|
-
# This works, but just didn't make it through the code reorg.
|
141
|
-
# class PPMBitmap(Bitmap):
|
142
|
-
# def LoadBitmapFile(self, file ):
|
143
|
-
# magic=file.readline()
|
144
|
-
# if magic <> "P6\n":
|
145
|
-
# raise TypeError, "The file is not a PPM format file"
|
146
|
-
# rowcollist=file.readline().split()
|
147
|
-
# cols=int(rowcollist[0])
|
148
|
-
# rows=int(rowcollist[1])
|
149
|
-
# file.readline() # what's this one?
|
150
|
-
# self.bitmap.LoadPPMFile(file,(cols,rows))
|
151
|
-
|
152
|
-
|
153
|
-
def t():
|
154
|
-
bitmapTemplate.OpenDocumentFile("d:\\winnt\\arcade.bmp")
|
155
|
-
# OpenBMPFile( 'd:\\winnt\\arcade.bmp')
|
156
|
-
|
157
|
-
|
158
|
-
def demo():
|
159
|
-
import glob
|
160
|
-
|
161
|
-
winDir = win32api.GetWindowsDirectory()
|
162
|
-
if sys.version_info >= (3, 10):
|
163
|
-
fileNames = glob.glob("*.bmp", root_dir=winDir)[:2]
|
164
|
-
else:
|
165
|
-
fileNames = glob.glob1(winDir, "*.bmp")[:2]
|
166
|
-
|
167
|
-
for fileName in fileNames:
|
168
|
-
bitmapTemplate.OpenDocumentFile(os.path.join(winDir, fileName))
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# cmdline - command line utilities.
|
2
|
-
import string
|
3
|
-
import sys
|
4
|
-
|
5
|
-
import win32ui
|
6
|
-
|
7
|
-
|
8
|
-
def ParseArgs(str):
|
9
|
-
ret = []
|
10
|
-
pos = 0
|
11
|
-
length = len(str)
|
12
|
-
while pos < length:
|
13
|
-
try:
|
14
|
-
while str[pos] in string.whitespace:
|
15
|
-
pos += 1
|
16
|
-
except IndexError:
|
17
|
-
break
|
18
|
-
if pos >= length:
|
19
|
-
break
|
20
|
-
if str[pos] == '"':
|
21
|
-
pos += 1
|
22
|
-
try:
|
23
|
-
endPos = str.index('"', pos) - 1
|
24
|
-
nextPos = endPos + 2
|
25
|
-
except ValueError:
|
26
|
-
endPos = length
|
27
|
-
nextPos = endPos + 1
|
28
|
-
else:
|
29
|
-
endPos = pos
|
30
|
-
while endPos < length and not str[endPos] in string.whitespace:
|
31
|
-
endPos += 1
|
32
|
-
nextPos = endPos + 1
|
33
|
-
ret.append(str[pos : endPos + 1].strip())
|
34
|
-
pos = nextPos
|
35
|
-
return ret
|
36
|
-
|
37
|
-
|
38
|
-
def FixArgFileName(fileName):
|
39
|
-
"""Convert a filename on the commandline to something useful.
|
40
|
-
Given an automatic filename on the commandline, turn it a python module name,
|
41
|
-
with the path added to sys.path."""
|
42
|
-
import os
|
43
|
-
|
44
|
-
path, fname = os.path.split(fileName)
|
45
|
-
if len(path) == 0:
|
46
|
-
path = os.curdir
|
47
|
-
path = os.path.abspath(path)
|
48
|
-
# must check that the command line arg's path is in sys.path
|
49
|
-
for syspath in sys.path:
|
50
|
-
if os.path.abspath(syspath) == path:
|
51
|
-
break
|
52
|
-
else:
|
53
|
-
sys.path.append(path)
|
54
|
-
return os.path.splitext(fname)[0]
|