$npx skillfedfor your agent

pywinauto

A set of Python modules to automate the Microsoft Windows GUI

With conditionsPyPI Python ModulesReleased Jan 20253.1M downloads / moBSD 3-clausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pywinauto-0.6.9-py2.py3-none-any.whl
v0.6.9 · released 2025-01-06 · 4 runtime deps: six, python-xlib, comtypes, pywin32

Yes, if you need to automate Windows GUI interactions or test Windows desktop applications. The library is mature, actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is low and dependencies are standard. The main constraint is that it is Windows-specific for core functionality, so it is only suitable for Windows automation tasks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Windows-only for most functionality; Win32 API backend requires Windows.
  • User input emulation modules (mouse, keyboard) work on Windows and Linux, but core GUI automation is Windows-specific.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

BSD 3-clause (permissive) — Distributed under BSD 3-clause (permissive), allowing commercial and private use with minimal restrictions. No licensing friction for most use cases.

last release 2025-01-06 (585 days) · last repo commit 2026-05-23 · 6,144 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,060,852 downloads/mo, #2,770 on PyPI

Verify before relying

pip install pywinauto

from pywinauto.application import Application
app = Application().start("notepad.exe")
app.UntitledNotepad.Edit.type_keys("Hello World", with_spaces=True)
  • Current Python version support beyond the classifiers listed (2.7, 3.5, 3.6, 3.7)
  • Whether the cross-platform roadmap mentioned (Linux in 2018, macOS in 2019) has been realized
  • Status of the record-replay generator feature mentioned as under development
Same gist for agents: .md · .json

What it is and what it does

Pywinauto is a Python library for automating the Microsoft Windows graphical user interface. It lets you programmatically control windows, dialogs, and UI controls by sending mouse clicks and keyboard input, and extracting text data from controls. The library supports two backends: Win32 API (the default, lower-level) and MS UI Automation (higher-level, for modern Windows applications). It's commonly used for GUI testing, repetitive task automation, and integration testing of Windows desktop applications.

The package depends on pywin32 and comtypes for Windows-specific functionality, python-xlib for Linux support, and six for Python 2/3 compatibility. Installation is straightforward via pip with low friction. The codebase is stable and actively maintained, with a long history dating back to 2006 and a permissive BSD 3-clause license.

Use it for

  • Automate repetitive Windows desktop tasks like form filling, menu navigation, and dialog interaction in legacy or custom applications.
  • Write integration tests for Windows GUI applications that verify UI behavior, control state, and user workflows.
  • Build test automation scripts for quality assurance of Windows desktop software without modifying the application code.
  • Extract data from Windows applications by automating navigation and reading control text and properties.
  • Create end-to-end test suites for Windows-based business applications as part of continuous integration pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to automate Windows GUI interactions or test Windows desktop applications.

The library is mature, actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is low and dependencies are standard. The main constraint is that it is Windows-specific for core functionality, so it is only suitable for Windows automation tasks.

Install

pywinauto on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits and a large user base (6144 stars); last release was recent, though the repository shows 585 days since the most recent release, suggesting a stable but not rapidly-iterated codebase.

Windows-only for most functionality; Win32 API backend requires Windows. User input emulation modules (mouse, keyboard) work on Windows and Linux, but core GUI automation is Windows-specific.

License in practice

Distributed under BSD 3-clause (permissive), allowing commercial and private use with minimal restrictions. No licensing friction for most use cases.

Quickstart

pip install pywinauto

from pywinauto.application import Application
app = Application().start("notepad.exe")
app.UntitledNotepad.Edit.type_keys("Hello World", with_spaces=True)

Verify before relying

  • Current Python version support beyond the classifiers listed (2.7, 3.5, 3.6, 3.7)
  • Whether the cross-platform roadmap mentioned (Linux in 2018, macOS in 2019) has been realized
  • Status of the record-replay generator feature mentioned as under development

Package facts

LicenseBSD 3-clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
sixpython-xlibcomtypespywin32
MaintenanceActively maintained 585 days since the last release
Last repo commit
First released
Downloads3,060,852 / month, #2,770 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: Microsoft :: WindowsProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Software Development :: User Interfaces

Evidence: pywinauto-0.6.9-py2.py3-none-any.whl

Tags

Capabilities
windows gui automationautomate windows dialogswindows ui testingmouse keyboard automation windowswin32 gui controlwindows application testingdesktop automation python
Topics
windows-automationgui-testingtest-automation
PyPI keywords
windowsguiautomationGuiAutotestingtestdesktopmousekeyboard

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 › “automate windows dialogs”

  • pywinautoAutomate Microsoft Windows GUI interactions by sending mouse and…
  • PyMsgBoxPyMsgBox provides JavaScript-like message box functions (alert,…
  • easyguiEasyGUI provides simple, non-event-driven GUI dialogs for Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also PyAutoIt · uiautomation · PyAutoGUI · pywin32 · pypiwin32 · PyDirectInput · PyGetWindow · pywin32-ctypes · robotframework-whitelibrary · easygui