$npx skillfedfor your agent

types-pywin32

Typing stubs for pywin32

With conditionsPyPI Software DevelopmentReleased Jul 2026536.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_pywin32-312.0.0.20260724-py3-none-any.whl
v312.0.0.20260724 · released 2026-07-24 · Python >=3.10

Yes, if you use pywin32 and run static type checking. Install it alongside pywin32 to get accurate type information for Windows API calls. No downside: it has no dependencies, installs instantly, and is actively maintained. Skip it only if you don't use type checkers or don't use pywin32.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10; intended for use alongside pywin32 itself.
  • Low install friction with no runtime dependencies.
  • Actively maintained as part of typeshed, with a recent release 21 days old and tested against mypy 2.3.0 and pyright 1.1.411.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.

last release 2026-07-24 (21 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 536,719 downloads/mo, #6,123 on PyPI

Verify before relying

pip install types-pywin32

import pywin32  # Now type checkers understand pywin32's types
# Run mypy or pyright on your code
  • Whether this stub package covers all pywin32 312.* APIs or only a subset of the surface.
  • How closely the stubs track pywin32 releases and whether version mismatches cause type-checking issues.
Same gist for agents: .md · .json

What it is and what it does

types-pywin32 is a type stub package that provides type information for the pywin32 library, which binds Python to Windows APIs. When installed alongside pywin32, it allows static type checkers like mypy and pyright to understand the types and signatures of Windows API calls, catching type errors at check time rather than runtime. This is particularly useful for developers working with Windows-specific functionality who want the safety of static type checking.

The package is generated from and maintained as part of the typeshed project, the canonical repository of type stubs for third-party Python libraries. It targets pywin32 version 312.* and has been tested with mypy 2.3.0 and pyright 1.1.411. Since it contains only type information and no runtime code, it has zero runtime dependencies and installs quickly.

Use it for

  • Enable mypy or pyright to type-check Windows API code that uses pywin32 without false positives.
  • Catch type errors in Windows system calls (registry, COM, Win32 API) before runtime.
  • Provide IDE autocomplete and inline documentation for pywin32 functions in editors that support type stubs.
  • Validate code that wraps or extends pywin32 functionality with proper type safety.

Worth the install?

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

With conditions

Yes, if you use pywin32 and run static type checking.

Install it alongside pywin32 to get accurate type information for Windows API calls. No downside: it has no dependencies, installs instantly, and is actively maintained. Skip it only if you don't use type checkers or don't use pywin32.

Install

types-pywin32 on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as part of typeshed, with a recent release 21 days old and tested against mypy 2.3.0 and pyright 1.1.411.

Requires Python >=3.10; intended for use alongside pywin32 itself.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.

Quickstart

pip install types-pywin32

import pywin32  # Now type checkers understand pywin32's types
# Run mypy or pyright on your code

Verify before relying

  • Whether this stub package covers all pywin32 312.* APIs or only a subset of the surface.
  • How closely the stubs track pywin32 releases and whether version mismatches cause type-checking issues.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 21 days since the last release
Last repo commit
First released
Downloads536,719 / month, #6,123 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_pywin32-312.0.0.20260724-py3-none-any.whl

Tags

Capabilities
pywin32 type stubstype checking windows apimypy pywin32 annotationspyright windows bindingstyping stubs pywin32
Topics
type-stubswindows-api

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 › “pywin32 type stubs”

  • types-pywin32Provides type stubs for pywin32, enabling type checkers like mypy and…
  • pypiwin32Installs pywin32 as a dependency, providing access to…
  • pywin32-ctypesA pure-Python reimplementation of pywin32 that wraps Windows APIs…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also pywin32 · types-pyflakes · types-mypy-extensions · types-boltons · pywin32-ctypes · pypiwin32 · types-six · types-shapely · types-Markdown · types-pyinstaller