Pure Python COM package
Project description
comtypes
About
comtypes is a lightweight Python COM package, based on the ctypes FFI library.
comtypes allows to define, call, and implement custom and dispatch-based COM interfaces in pure Python.
This package works on Windows only.
comtypes==1.1.7is the last version supporting Windows CE.
Available on Python 3.7-3.12.
comtypes==1.2.1is the last version supportingPython2.7 and 3.3-3.6.- In
Python3.7.6 and 3.8.1,comtypeswould not work as reported in GH-202.
This bug has been fixed inPython>= 3.7.7 and >= 3.8.2. - In
Python3.8 and 3.9, some ofcomtypesfunctionalities may not work correctly as reported in GH-212.
This bug has been fixed inPython>= 3.10.10 and >= 3.11.2.
Where to get it
The source code is currently hosted on GitHub at: https://github.com/enthought/comtypes
An installer for the latest released version is available at the Python Package Index (PyPI).
# PyPI
pip install comtypes
Dependencies
comtypes requires no third-party packages to run - this is truly pure Python package.
Optional features include the follows...
- to process arrays as
numpy'sndarray - type hints be interpreted by
mypyor several static type checkers
But these third-parties are not required as a prerequisite for runtime.
Community of the developers
Tracking issues, reporting bugs and contributing to the codebase and documentation are on GitHub at: https://github.com/enthought/comtypes
For Enterprise
Available as part of the Tidelift Subscription.
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
Documentation:
The documentation is currently hosted on pythonhosted at: https://pythonhosted.org/comtypes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comtypes-1.4.2.zip.
File metadata
- Download URL: comtypes-1.4.2.zip
- Upload date:
- Size: 222.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb72473b0dea9495e84c79e340c239012e8572f51dedf726a9dfd7aeaf2a1ffb
|
|
| MD5 |
3d08f964d8f22b47f09a13b484501d65
|
|
| BLAKE2b-256 |
98257ee077ebd229e79bc59fe22633f0f4e0c872149735f04b23c87f6ccd05dc
|
File details
Details for the file comtypes-1.4.2-py3-none-any.whl.
File metadata
- Download URL: comtypes-1.4.2-py3-none-any.whl
- Upload date:
- Size: 201.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5f9ae2ca9e02b38d790cfd04271c234e12ed44056d0f979e7b7f587c963fe0
|
|
| MD5 |
2bc6d0f33e5db67ce328a26e58ec7754
|
|
| BLAKE2b-256 |
3ce06164ef8362e06562d132028611b3e1d3026497042e5d72de64e3ce03a42f
|