/comtypes

A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.

Primary LanguagePythonOtherNOASSERTION

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.

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

Documentation:

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