comtypes 1.1.14__zip → 1.2.1__zip
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.
- {comtypes-1.1.14 → comtypes-1.2.1}/CHANGES.txt +37 -0
- comtypes-1.2.1/PKG-INFO +79 -0
- comtypes-1.2.1/README.md +59 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/__init__.py +302 -555
- comtypes-1.2.1/comtypes/_memberspec.py +520 -0
- comtypes-1.2.1/comtypes/_npsupport.py +143 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/automation.py +99 -11
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/__init__.py +80 -26
- comtypes-1.2.1/comtypes/client/_generate.py +274 -0
- comtypes-1.2.1/comtypes/hints.pyi +26 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/persist.py +14 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/safearray.py +22 -21
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/__init__.py +0 -7
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_client.py +35 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_dict.py +0 -4
- comtypes-1.2.1/comtypes/test/test_npsupport.py +343 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_safearray.py +2 -235
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_variant.py +6 -59
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/tools/codegenerator.py +454 -337
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/tools/tlbparser.py +56 -75
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/tools/typedesc.py +31 -3
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/tools/typedesc_base.py +28 -1
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/typeinfo.py +291 -121
- comtypes-1.2.1/comtypes.egg-info/PKG-INFO +79 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes.egg-info/SOURCES.txt +4 -1
- {comtypes-1.1.14 → comtypes-1.2.1}/setup.cfg +0 -1
- {comtypes-1.1.14 → comtypes-1.2.1}/setup.py +15 -8
- comtypes-1.1.14/PKG-INFO +0 -50
- comtypes-1.1.14/README.md +0 -31
- comtypes-1.1.14/comtypes/client/_generate.py +0 -257
- comtypes-1.1.14/comtypes/npsupport.py +0 -125
- comtypes-1.1.14/comtypes.egg-info/PKG-INFO +0 -50
- {comtypes-1.1.14 → comtypes-1.2.1}/LICENSE.txt +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/MANIFEST.in +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/clear_comtypes_cache.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/GUID.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/_comobject.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/_meta.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/_safearray.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/_code_cache.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/_constants.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/_events.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/dynamic.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/client/lazybind.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/connectionpoints.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/errorinfo.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/git.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/hresult.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/logutil.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/messageloop.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/patcher.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/__init__.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/automation.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/connectionpoints.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/inprocserver.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/localserver.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/register.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/server/w_getopt.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/shelllink.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestComServer.idl +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestComServer.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestComServer.tlb +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestDispServer.idl +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestDispServer.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/TestDispServer.tlb +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/find_memleak.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/mylib.idl +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/mytypelib.idl +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/runtests.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/setup.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_BSTR.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_DISPPARAMS.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_GUID.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_QueryService.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_agilent.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_avmc.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_basic.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_casesensitivity.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_collections.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_comserver.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_createwrappers.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_dispinterface.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_dyndispatch.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_excel.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_findgendir.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_getactiveobj.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_ie.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_jscript.js +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_msscript.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_outparam.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_propputref.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_pump_events.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_sapi.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_server.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_showevents.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_subinterface.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_typeinfo.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_urlhistory.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_win32com_interop.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_wmi.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/test/test_word.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/tools/__init__.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/util.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes/viewobject.py +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes.egg-info/dependency_links.txt +0 -0
- {comtypes-1.1.14 → comtypes-1.2.1}/comtypes.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
Comtypes CHANGELOG
|
|
2
2
|
==================
|
|
3
3
|
|
|
4
|
+
Release 1.2.1
|
|
5
|
+
--------------
|
|
6
|
+
* Replace ``distutils`` with ``setuptools``. By @junkmd.
|
|
7
|
+
* Add Python 3.12 testing into CI pipeline. By @junkmd.
|
|
8
|
+
* Set long description type to "markdown" to fix PyPI description rendering. By @junkmd.
|
|
9
|
+
* Add ``hints.pyi`` to ``package_data`` in ``setup.py`` which copies ``hints.pyi`` to correct install location. By @junkmd.
|
|
10
|
+
* Remove Python >=3.3, <=3.6 from CI pipeline. By @vasily-v-ryabov.
|
|
11
|
+
|
|
12
|
+
Release 1.2.0
|
|
13
|
+
--------------
|
|
14
|
+
* Remove all automatic imports of ``numpy``, and make ``numpy`` interop opt-in. By @bennyrowland.
|
|
15
|
+
* Move and redefine generating module functions for fixing cross imports. By @junkmd.
|
|
16
|
+
* Refactor creating ``__all__`` part in ``codegenerator.Generator.generate_code``. By @junkmd.
|
|
17
|
+
* Quit calling ``GetModule`` from ``tools.codegenerator``. By @junkmd.
|
|
18
|
+
* Commonize module-creating functions. By @junkmd.
|
|
19
|
+
* Shorten the lifetime of ``io.StringIO`` used for code generation. By @junkmd.
|
|
20
|
+
* Fix import source of ``Array`` from ``_ctypes`` to ``ctypes``. By @junkmd.
|
|
21
|
+
* Add ``for_stub`` mode to ``ImportedNamespaces.getvalue``. By @junkmd.
|
|
22
|
+
* Remove ``monkeypatch_COMError``. By @junkmd.
|
|
23
|
+
* Remove ``CodeGenerator.need_GUID``. By @junkmd.
|
|
24
|
+
* Carve out ``CodeGenerator.type_name`` method to ``TypeNamer`` class. By @junkmd.
|
|
25
|
+
* Add ``__known_symbols__`` attributes. By @junkmd.
|
|
26
|
+
* Remove ``CodeGenerator.type_name`` calls no longer needed and rename to ``_to_type_name``. By @junkmd.
|
|
27
|
+
* Change ``_fix_inout_args`` to module-level top level function. By @junkmd.
|
|
28
|
+
* Fix docstring from ``DispInterfaceHead``. By @junkmd.
|
|
29
|
+
* ``...METHOD`` and ``...PROPERTY`` return ``_MemberSpec``s instead of ``tuple``s. By @junkmd.
|
|
30
|
+
* Make generating ``...property`` DRY. By @junkmd.
|
|
31
|
+
* Refactor ``_MemberSpec`` stuffs and separate modules. By @junkmd.
|
|
32
|
+
* Carve out ``make_...Method`` and ``make_...Property`` of ``codegenerator``. By @junkmd.
|
|
33
|
+
* Removed extra space in ``typeinfo.IRecordInfo._methods_``. By @j0ker70.
|
|
34
|
+
* Add type annotations to many modules. By @junkmd.
|
|
35
|
+
* Fix type annotations in many modules. By @j0ker70, @muddi900, and @junkmd.
|
|
36
|
+
* Delint ``setup.py``. By @jaraco.
|
|
37
|
+
* Add ``CONTRIBUTING.md``. By @junkmd.
|
|
38
|
+
* Modernize ``README.md`` style. By @junkmd.
|
|
39
|
+
* Add announcements of plan for renaming ``master`` branch to ``main`` and dropping Python2 to ``README.md``. By @junkmd.
|
|
40
|
+
|
|
4
41
|
Release 1.1.14
|
|
5
42
|
--------------
|
|
6
43
|
* Fix ``SyntaxError`` in generated docstring. Thanks @junkmd.
|
comtypes-1.2.1/PKG-INFO
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: comtypes
|
|
3
|
+
Version: 1.2.1
|
|
4
|
+
Summary: Pure Python COM package
|
|
5
|
+
Home-page: https://github.com/enthought/comtypes
|
|
6
|
+
Author: Thomas Heller
|
|
7
|
+
Author-email: theller@python.net
|
|
8
|
+
License: MIT License
|
|
9
|
+
Download-URL: https://github.com/enthought/comtypes/releases
|
|
10
|
+
Description: # comtypes
|
|
11
|
+
|
|
12
|
+
[](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/)
|
|
13
|
+
[](https://github.com/enthought/comtypes/stargazers) [](https://github.com/enthought/comtypes/network/members)
|
|
14
|
+
|
|
15
|
+
## About
|
|
16
|
+
|
|
17
|
+
`comtypes` is a lightweight `Python` COM package, based on the [`ctypes`](https://docs.python.org/library/ctypes.html) FFI library.
|
|
18
|
+
|
|
19
|
+
`comtypes` allows to define, call, and implement custom and dispatch-based COM interfaces in pure `Python`.
|
|
20
|
+
|
|
21
|
+
This package works on Windows only.
|
|
22
|
+
- [`comtypes==1.1.7`](https://pypi.org/project/comtypes/1.1.7/) is the last version supporting Windows CE.
|
|
23
|
+
|
|
24
|
+
Available on `Python` 2.7 and 3.3-3.11.
|
|
25
|
+
- [Supporting `Python` 2.7 will be dropped](#ongoing-plans).
|
|
26
|
+
|
|
27
|
+
## Where to get it
|
|
28
|
+
|
|
29
|
+
The source code is currently hosted on GitHub at:
|
|
30
|
+
https://github.com/enthought/comtypes
|
|
31
|
+
|
|
32
|
+
An installer for the latest released version is available at the [Python Package Index (PyPI)](https://pypi.org/project/comtypes).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
# PyPI
|
|
36
|
+
pip install comtypes
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Dependencies
|
|
40
|
+
|
|
41
|
+
`comtypes` requires no third-party packages to run - this is truly **pure** `Python` package.
|
|
42
|
+
|
|
43
|
+
Optional features include the follows...
|
|
44
|
+
- to process arrays as `numpy`'s `ndarray`
|
|
45
|
+
- type hints be interpreted by `mypy` or several static type checkers
|
|
46
|
+
|
|
47
|
+
But these third-parties are not required as a prerequisite for runtime.
|
|
48
|
+
|
|
49
|
+
## Community of the developers
|
|
50
|
+
|
|
51
|
+
Tracking issues, reporting bugs and contributing to the codebase and documentation are on GitHub at:
|
|
52
|
+
https://github.com/enthought/comtypes
|
|
53
|
+
|
|
54
|
+
<a id="ongoing-plans"></a>
|
|
55
|
+
### Ongoing plans
|
|
56
|
+
For the time being, the development target branch of this package will be the [`drop_py2` branch](https://github.com/enthought/comtypes/tree/drop_py2) and the [`master` branch](https://github.com/enthought/comtypes/tree/master) will be in maintenance-only-mode.
|
|
57
|
+
|
|
58
|
+
As the name suggests, `drop_py2` is a mid-term-planning branch to drop supporting `Python` 2.x from this package, and start supporting `Python` 3.x only.
|
|
59
|
+
|
|
60
|
+
The `drop_py2` branch will be merged into the `master` branch in the future, and the `master` branch will back to the development target branch and be renamed to `main`.
|
|
61
|
+
Until then, no changes will be made to the `master` branch except in the case of corresponding to regressions.
|
|
62
|
+
|
|
63
|
+
Please see [the GitHub issue](https://github.com/enthought/comtypes/issues/392) for policy and progress.
|
|
64
|
+
|
|
65
|
+
## Documentation:
|
|
66
|
+
|
|
67
|
+
The documentation is currently hosted on pythonhosted at:
|
|
68
|
+
https://pythonhosted.org/comtypes
|
|
69
|
+
|
|
70
|
+
Platform: UNKNOWN
|
|
71
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
72
|
+
Classifier: Intended Audience :: Developers
|
|
73
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
74
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
75
|
+
Classifier: Programming Language :: Python
|
|
76
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
77
|
+
Classifier: Programming Language :: Python :: 3
|
|
78
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
79
|
+
Description-Content-Type: text/markdown
|
comtypes-1.2.1/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# comtypes
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/) [](https://pypi.org/project/comtypes/)
|
|
4
|
+
[](https://github.com/enthought/comtypes/stargazers) [](https://github.com/enthought/comtypes/network/members)
|
|
5
|
+
|
|
6
|
+
## About
|
|
7
|
+
|
|
8
|
+
`comtypes` is a lightweight `Python` COM package, based on the [`ctypes`](https://docs.python.org/library/ctypes.html) FFI library.
|
|
9
|
+
|
|
10
|
+
`comtypes` allows to define, call, and implement custom and dispatch-based COM interfaces in pure `Python`.
|
|
11
|
+
|
|
12
|
+
This package works on Windows only.
|
|
13
|
+
- [`comtypes==1.1.7`](https://pypi.org/project/comtypes/1.1.7/) is the last version supporting Windows CE.
|
|
14
|
+
|
|
15
|
+
Available on `Python` 2.7 and 3.3-3.11.
|
|
16
|
+
- [Supporting `Python` 2.7 will be dropped](#ongoing-plans).
|
|
17
|
+
|
|
18
|
+
## Where to get it
|
|
19
|
+
|
|
20
|
+
The source code is currently hosted on GitHub at:
|
|
21
|
+
https://github.com/enthought/comtypes
|
|
22
|
+
|
|
23
|
+
An installer for the latest released version is available at the [Python Package Index (PyPI)](https://pypi.org/project/comtypes).
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
# PyPI
|
|
27
|
+
pip install comtypes
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Dependencies
|
|
31
|
+
|
|
32
|
+
`comtypes` requires no third-party packages to run - this is truly **pure** `Python` package.
|
|
33
|
+
|
|
34
|
+
Optional features include the follows...
|
|
35
|
+
- to process arrays as `numpy`'s `ndarray`
|
|
36
|
+
- type hints be interpreted by `mypy` or several static type checkers
|
|
37
|
+
|
|
38
|
+
But these third-parties are not required as a prerequisite for runtime.
|
|
39
|
+
|
|
40
|
+
## Community of the developers
|
|
41
|
+
|
|
42
|
+
Tracking issues, reporting bugs and contributing to the codebase and documentation are on GitHub at:
|
|
43
|
+
https://github.com/enthought/comtypes
|
|
44
|
+
|
|
45
|
+
<a id="ongoing-plans"></a>
|
|
46
|
+
### Ongoing plans
|
|
47
|
+
For the time being, the development target branch of this package will be the [`drop_py2` branch](https://github.com/enthought/comtypes/tree/drop_py2) and the [`master` branch](https://github.com/enthought/comtypes/tree/master) will be in maintenance-only-mode.
|
|
48
|
+
|
|
49
|
+
As the name suggests, `drop_py2` is a mid-term-planning branch to drop supporting `Python` 2.x from this package, and start supporting `Python` 3.x only.
|
|
50
|
+
|
|
51
|
+
The `drop_py2` branch will be merged into the `master` branch in the future, and the `master` branch will back to the development target branch and be renamed to `main`.
|
|
52
|
+
Until then, no changes will be made to the `master` branch except in the case of corresponding to regressions.
|
|
53
|
+
|
|
54
|
+
Please see [the GitHub issue](https://github.com/enthought/comtypes/issues/392) for policy and progress.
|
|
55
|
+
|
|
56
|
+
## Documentation:
|
|
57
|
+
|
|
58
|
+
The documentation is currently hosted on pythonhosted at:
|
|
59
|
+
https://pythonhosted.org/comtypes
|