Skip to main content

comtypes

PyPI version PyPI - Python Version PyPI - License PyPI - Downloads GitHub Repo stars GitHub forks

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.

Available on Python 2.7 and 3.3-3.11.

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's ndarray
  • type hints be interpreted by mypy or 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

Ongoing plans

For the time being, the development target branch of this package will be the drop_py2 branch and the master branch will be in maintenance-only-mode.

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.

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.
Until then, no changes will be made to the master branch except in the case of corresponding to regressions.

Please see the GitHub issue for policy and progress.

Documentation:

The documentation is currently hosted on pythonhosted at: https://pythonhosted.org/comtypes

Metadata

Release files for comtypes 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comtypes 1.2.1
File Size Uploaded
comtypes-1.2.1.zip 204.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comtypes 1.2.1
File Interpreter ABI Platform
comtypes-1.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 389.8 kB

Release files / comtypes-1.2.1.zip

Download URL comtypes-1.2.1.zip
Size 204.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7284c781ace845daa1fa0a28c5f702e51982002ac12d27a2b8862d4f21f52f8e
BLAKE2b-256 checksum
How to use checksums
34b8f83b497b91872796f1b038e86e759c4bc2fefcb992e320b24f3988e6f914
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

Release files / comtypes-1.2.1-py2.py3-none-any.whl

Download URL comtypes-1.2.1-py2.py3-none-any.whl
Size 184.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fe1f10126d623ffd8075a9c926e7c5b3b5e9249a2e8674f772d5d4e2c8f33d63
BLAKE2b-256 checksum
How to use checksums
6e15b4a1ea2d5e31052f56283b21089b574f5f05bdc9f27f6afad6c5f47903c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

Release history Release notifications | RSS feed

1.4.17

2 release files

1.4.15

2 release files

1.4.14

2 release files

1.4.13

2 release files

1.4.12

2 release files

1.4.11

2 release files

1.4.9

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.14

2 release files

1.1.11

2 release files

1.1.10

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.6.4

1 release file

0.6.2

0.6.1

0.6.0

0.5.3

0.5.2

0.5.1

0.4.2

0.4.1

0.4.0

0.3.3

0.3.2

0.2.1

0.2

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page