winrt-Windows.Foundation.Collections
Python projection of Windows Runtime (WinRT) APIs
Decision gist · record as of 2026-08-14
Yes, if you are developing on Windows and need access to WinRT collection types as part of a larger WinRT-based project. The MIT license and active (though aging) maintenance make it safe to use. However, this is primarily a dependency package rather than a standalone tool—install it only if another WinRT package or your own Windows SDK integration requires it. Not applicable on non-Windows platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Windows operating system required; wheels are only available for Windows platforms (win32, win_amd64, win_arm64).
- Python 3.9 or later required.
- Medium install friction: platform-specific wheels only for Windows (win32, win_amd64, win_arm64) across Python 3.9–3.14.
License · maintenance · safety
MIT (permissive) — MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects.
last release 2025-06-06 (434 days) · last repo commit 2025-12-11 · 196 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 342,439 downloads/mo, #7,398 on PyPI
Alternatives
Verify before relying
pip install winrt-windows-foundation-collections
from winrt.windows.foundation.collections import IVector
# Use WinRT collection types from Python- Specific collection types and APIs exposed by this namespace beyond the generic Windows.Foundation.Collections interface
- Whether this package is typically used standalone or as a dependency of higher-level WinRT namespace packages
- Performance characteristics or known limitations when working with large collections through the Python projection
What it is and what it does
This package is a Python projection of the Windows Runtime (WinRT) Windows.Foundation.Collections namespace, part of the modular PyWinRT bindings generated from the Windows SDK. It exposes collection types and utilities that are part of the WinRT type system, allowing Python code running on Windows to work with WinRT collection abstractions directly.
The package is one of many modular namespace packages in the PyWinRT ecosystem, each providing bindings for a specific Windows SDK namespace. It depends on winrt-runtime and is typically used as a dependency when other WinRT packages need collection types, or when developers need direct access to foundation collection APIs from Python. Installation is limited to Windows platforms and requires Python 3.9 or later.
Use it for
- Building WinUI 2 or WinUI 3 applications in Python that rely on collection types from the Windows SDK
- Accessing hardware or OS features through higher-level WinRT packages that depend on foundation collections
- Developing Windows system utilities in Python that need to work with WinRT collection abstractions
- Integrating Python code with Windows Runtime components that expose collection-based APIs
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing on Windows and need access to WinRT collection types as part of a larger WinRT-based project.
The MIT license and active (though aging) maintenance make it safe to use. However, this is primarily a dependency package rather than a standalone tool—install it only if another WinRT package or your own Windows SDK integration requires it. Not applicable on non-Windows platforms.
Install
winrt-windows-foundation-collections on PyPI
Before you install
Medium install friction: platform-specific wheels only for Windows (win32, win_amd64, win_arm64) across Python 3.9–3.14. Maintenance status is aging—last commit was 2025-12-11 and the package has not been updated since 2025-06-06, though the repository remains active and not archived.
Windows operating system required; wheels are only available for Windows platforms (win32, win_amd64, win_arm64). Python 3.9 or later required.
License in practice
MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install winrt-windows-foundation-collections
from winrt.windows.foundation.collections import IVector
# Use WinRT collection types from Python
Verify before relying
- Specific collection types and APIs exposed by this namespace beyond the generic Windows.Foundation.Collections interface
- Whether this package is typically used standalone or as a dependency of higher-level WinRT namespace packages
- Performance characteristics or known limitations when working with large collections through the Python projection
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagewinrt-runtime |
| Maintenance | Aging 434 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 342,439 / month, #7,398 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPython |
Evidence: winrt_windows_foundation_collections-3.2.1-cp310-cp310-win32.whl; winrt_windows_foundation_collections-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_foundation_collections-3.2.1-cp311-cp311-win32.whl; winrt_windows_foundation_collections-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_foundation_collections-3.2.1-cp312-cp312-win32.whl; winrt_windows_foundation_collections-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_foundation_collections-3.2.1-cp313-cp313-win32.whl; winrt_windows_foundation_collections-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_foundation_collections-3.2.1-cp314-cp314-win32.whl; winrt_windows_foundation_collections-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_foundation_collections-3.2.1-cp39-cp39-win32.whl; winrt_windows_foundation_collections-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_foundation_collections-3.2.1-cp39-cp39-win_arm64.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 runtime collections python”
- winrt-Windows.Foundation.CollectionsProvides Python bindings for Windows Runtime (WinRT) APIs in the…
- jaraco.windowsProvides a pure-Python interface to Windows APIs via ctypes, allowing…
- igwn-segmentsProvides segment, segmentlist, and segmentlistdict objects for…
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 winrt-Windows.Foundation · winrt-runtime · winrt-Windows.Devices.Bluetooth · winrt-Windows.Devices.Radios · winrt-Windows.Storage.Streams · winrt-Windows.Devices.Bluetooth.Advertisement · winrt-Windows.Devices.Enumeration · winrt-Windows.Globalization · winrt-Windows.Graphics.Imaging · winrt-Windows.Devices.Bluetooth.GenericAttributeProfile