pywin32
Python for Windows Extensions
Decision gist · record as of 2026-08-14
Yes, if you are on Windows and need to interact with Windows APIs or COM objects. The package is actively maintained, widely used (top 1000 on PyPI), has no known vulnerabilities, and carries a permissive license. Install friction is moderate due to platform specificity and the post-install registration step, but this is a one-time cost. Not applicable on non-Windows platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Windows-only; requires Python 3.9 or later.
- Post-install script needed for COM object registration outside virtual environments.
- Medium install friction: platform-specific wheels for Windows only across multiple architectures (win32, win_amd64, win_arm64) and Python versions (3.9–3.15).
License · maintenance · safety
PSF (permissive) — Licensed under the Python Software Foundation License (permissive). No restrictions on commercial or private use.
last release 2026-06-04 (71 days) · last repo commit 2026-07-15 · 5,596 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 48,831,718 downloads/mo, #587 on PyPI
Alternatives
Verify before relying
pip install pywin32
python -m pywin32_postinstall -install
import pywin32- Specific Windows API modules and functions exposed by the package beyond COM support.
- Current state of documentation quality (readme indicates docs are mixed old and auto-generated content).
- Whether ARM64 support is production-ready or primarily for future compatibility.
What it is and what it does
pywin32 is a bridge between Python and the Windows operating system, exposing Windows APIs and COM (Component Object Model) interfaces that would otherwise be inaccessible from pure Python. It allows interaction with Windows system services, registry, file systems, and integration with COM-based applications like Microsoft Office and other Windows software.
The package is Windows-only and requires a post-install registration step for global use outside virtual environments to properly register COM objects and system services. It supports Python 3.9 through 3.15 across multiple Windows architectures (win32, win_amd64, win_arm64). No external runtime dependencies are needed beyond the Windows platform itself, though elevated permissions may be required for system-wide registration.
Use it for
- Automate Windows applications via COM from Python scripts.
- Build Windows services or system daemons that interact with Windows APIs.
- Access Windows registry and process management from Python.
- Integrate Python with legacy Windows COM-based software or databases.
- Develop Windows system utilities requiring native API calls.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are on Windows and need to interact with Windows APIs or COM objects.
The package is actively maintained, widely used (top 1000 on PyPI), has no known vulnerabilities, and carries a permissive license. Install friction is moderate due to platform specificity and the post-install registration step, but this is a one-time cost. Not applicable on non-Windows platforms.
Install
pywin32 on PyPI
Before you install
Medium install friction: platform-specific wheels for Windows only across multiple architectures (win32, win_amd64, win_arm64) and Python versions (3.9–3.15). Requires a post-install script for global COM object registration outside virtual environments. Active maintenance with recent releases.
Windows-only; requires Python 3.9 or later. Post-install script needed for COM object registration outside virtual environments.
License in practice
Licensed under the Python Software Foundation License (permissive). No restrictions on commercial or private use.
Quickstart
pip install pywin32
python -m pywin32_postinstall -install
import pywin32
Verify before relying
- Specific Windows API modules and functions exposed by the package beyond COM support.
- Current state of documentation quality (readme indicates docs are mixed old and auto-generated content).
- Whether ARM64 support is production-ready or primarily for future compatibility.
Package facts
| License | PSF permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 48,831,718 / month, #587 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Win32 (MS Windows)Intended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython |
Evidence: pywin32-312-cp310-cp310-win32.whl; pywin32-312-cp310-cp310-win_amd64.whl; pywin32-312-cp310-cp310-win_arm64.whl; pywin32-312-cp311-cp311-win32.whl; pywin32-312-cp311-cp311-win_amd64.whl; pywin32-312-cp311-cp311-win_arm64.whl; pywin32-312-cp312-cp312-win32.whl; pywin32-312-cp312-cp312-win_amd64.whl; pywin32-312-cp312-cp312-win_arm64.whl; pywin32-312-cp313-cp313-win32.whl; pywin32-312-cp313-cp313-win_amd64.whl; pywin32-312-cp313-cp313-win_arm64.whl; pywin32-312-cp314-cp314-win32.whl; pywin32-312-cp314-cp314-win_amd64.whl; pywin32-312-cp314-cp314-win_arm64.whl; pywin32-312-cp315-cp315-win32.whl; pywin32-312-cp315-cp315-win_amd64.whl; pywin32-312-cp315-cp315-win_arm64.whl; pywin32-312-cp39-cp39-win32.whl; pywin32-312-cp39-cp39-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “windows system integration”
- pywin32Provides Python access to Windows APIs and COM interfaces for…
- jaraco.windowsProvides a pure-Python interface to Windows APIs via ctypes, allowing…
- python-certifi-win32Patches certifi at runtime to include certificates from the Windows…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-pywin32 · WMI · pypiwin32 · pywinauto · pywin32-ctypes · pyhwpx · comtypes · pefile · win32-setctime · auto-py-to-exe