skillfed

winrt-Windows.Storage.Streams

Python projection of Windows Runtime (WinRT) APIs

winrt-windows-storage-streams v3.2.1 329.4K downloads/30d#7,545 on PyPI196
Permissive license MIT AGING released

What it is and what it does

This package is a Python projection of the Windows Runtime Storage.Streams namespace, part of the modular PyWinRT ecosystem. It exposes WinRT stream classes and interfaces for reading and writing data to storage, allowing Python developers to work with Windows stream-based I/O directly. The package depends on winrt-runtime and is designed for Windows platforms only, with pre-built wheels for Python 3.9 through 3.14 across 32-bit, 64-bit, and ARM64 architectures.

It is typically used as a building block within larger WinRT applications—for instance, when working with file operations, network streams, or memory buffers through the Windows Runtime. The modular design means you install only the specific WinRT namespaces you need, rather than a monolithic package. The project is community-maintained as a fork of Microsoft's original xlang tool, with bindings generated and published separately per Windows SDK namespace.

Use it for:

  • Building Windows desktop or UWP applications in Python that need to read or write data to streams via WinRT APIs.
  • Integrating Python code with Windows system features that expose stream-based I/O through the Windows Runtime.
  • Developing Python tools that interact with Windows storage or networking APIs requiring stream manipulation.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Windows Runtime (WinRT) storage stream APIs, enabling direct access to stream-based I/O operations on Windows from Python code.

Yes, if you are developing on Windows and need WinRT stream I/O bindings. The MIT license and active modular architecture make it a straightforward choice for Windows-targeted Python projects. However, this is a Windows-only package with medium install friction (platform-specific wheels), so it is only relevant for Windows development. The aging maintenance status suggests slower updates, but no known vulnerabilities and recent commits indicate the project remains functional.

Install

winrt-windows-storage-streams on PyPI

pip

pip install winrt-windows-storage-streams

uv

uv add winrt-windows-storage-streams

poetry

poetry add winrt-windows-storage-streams

Installing winrt-Windows.Storage.Streams

Before you install

Medium install friction due to platform-specific wheels (Windows only, multiple architectures). The package is part of a modular ecosystem with a single runtime dependency (winrt-runtime). Maintenance status is aging—last commit was recent but the project shows slower activity patterns.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install winrt-Windows.Storage.Streams

from winrt.windows.storage.streams import DataWriter, DataReader
# Use stream classes for I/O operations

Windows operating system required; wheels available only for Windows (32-bit, 64-bit, ARM64) on Python 3.9–3.14.

Verify before relying

  • Whether this package is typically installed as a direct dependency or primarily as a transitive dependency of higher-level WinRT namespace packages.
  • Specific stream I/O scenarios or patterns this binding is most commonly used for in practice.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — winrt-runtime
Maintenance aging — 434 days since the last release
Last repo commit
First released
Downloads 329,447/month — #7,545 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: winrt_windows_storage_streams-3.2.1-cp310-cp310-win32.whl; winrt_windows_storage_streams-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_storage_streams-3.2.1-cp311-cp311-win32.whl; winrt_windows_storage_streams-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_storage_streams-3.2.1-cp312-cp312-win32.whl; winrt_windows_storage_streams-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_storage_streams-3.2.1-cp313-cp313-win32.whl; winrt_windows_storage_streams-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_storage_streams-3.2.1-cp314-cp314-win32.whl; winrt_windows_storage_streams-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_storage_streams-3.2.1-cp39-cp39-win32.whl; winrt_windows_storage_streams-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_storage_streams-3.2.1-cp39-cp39-win_arm64.whl

Intended Audience :: DevelopersOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPython

Tags

winrt storage streams pythonwindows runtime stream bindingspython winrt file streamswindows storage io pythonwinrt stream operations
windows-onlywinrt-bindingsstream-io

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

winrt-runtime

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Foundation

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Media.Ocr

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Radios

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Graphics.Imaging

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth.Advertisement

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Globalization

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Foundation.Collections

Provides Python bindings for Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Enumeration

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI