# pywin32

> Python extensions for calling Windows APIs and COM from Python

Source: https://talira.ai/catalog/pywin32-138h1xs1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / system bindings](https://talira.ai/categories/libraries/system-bindings), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: windows[^2]
- Licence: PSF-2.0 AND BSD-3-Clause AND (PSF-2.0 OR BSD-3-Clause) AND Python-2.0.1 AND MIT AND LGPL-2.1-or-later[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Mark Hammond](https://talira.ai/orgs/mark-hammond.md)

pywin32, the Python for Windows extensions, gives Python code access to many of the Windows APIs, including COM, and code that uses it can run as a Windows service. It also includes the Pythonwin editor, adodbapi for databases over ADO and isapi for IIS extensions. Install it from PyPI as pywin32; its post-install script is for global installs, not virtual environments.

## Links

- GitHub: https://github.com/mhammond/pywin32
- Docs: https://mhammond.github.io/pywin32/

## Problems it solves

- automate Excel or Outlook from a Python script on Windows
- call Windows APIs and COM objects from Python
- run my Python script as a Windows service

## Features

- access to the Win32 APIs from Python
- COM support
- running Python code as a Windows service
- the Pythonwin editor
- adodbapi, a DB-API module over ADO
- isapi for IIS extensions

## Limitations

- Windows only[^1]
- Any version increase may include a breaking interface change, so its makers recommend pinning a specific version[^1]

## Trust

Overall: 0.59 out of 1.
Signals: maintenance 0.75, adoption 0.75, momentum 0.52, community 0.83, backing 0.30, extensibility 0.00.

- last commit yesterday
- 23 commits in the last 90 days
- latest release b312 5 months ago
- 5.6k GitHub stars
- 121 contributors
- backed by Mark Hammond

## Sources

[^1]: https://github.com/mhammond/pywin32/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/mhammond/pywin32/blob/main/setup.py (checked 29 Nov 2026)
[^3]: https://github.com/mhammond/pywin32/blob/main/win32/License.txt (checked 29 Nov 2026)
