skillfed

winrt-Windows.Globalization

Python projection of Windows Runtime (WinRT) APIs

winrt-windows-globalization v3.2.1 104.0K downloads/30d#12,775 on PyPI196
Permissive license MIT AGING released

What it is and what it does

winrt-Windows.Globalization is a Python projection of Microsoft's Windows Runtime Globalization namespace, part of the modular PyWinRT bindings released since September 2023. It exposes Windows SDK globalization APIs—language, region, calendar, and text processing features—directly to Python code running on Windows. The package is generated by the PyWinRT code generation tool and depends on winrt-runtime.

Developers use this package to access Windows-native globalization functionality without calling into C++ or COM directly. It is one of many modular winrt-* packages, each corresponding to a single Windows SDK namespace. Installation requires Windows and is limited to CPython 3.9+; wheels are pre-built for win32, win_amd64, and win_arm64 platforms.

Use it for:

  • Build Windows desktop or UWP applications in Python that need locale-aware language, calendar, or date formatting.
  • Access Windows globalization APIs for text collation, script detection, or region-specific string handling.
  • Integrate Python scripts with Windows system features that depend on globalization settings.
  • Write cross-language or multi-region applications that rely on Windows SDK globalization primitives.

Worth the install?

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

Provides Python bindings to Windows Runtime (WinRT) Globalization APIs, enabling access to language, region, and text processing features from the Windows SDK.

Yes, if you are building Python applications on Windows that require native globalization features (language, region, calendar, text processing) and want to avoid C++ interop. The MIT license is permissive, maintenance is aging but the repository is active, and there are no known vulnerabilities. Install friction is moderate due to Windows-only wheels and the winrt-runtime dependency, but straightforward on supported platforms.

Install

winrt-windows-globalization on PyPI

pip

pip install winrt-windows-globalization

uv

uv add winrt-windows-globalization

poetry

poetry add winrt-windows-globalization

Installing winrt-Windows.Globalization

Before you install

Medium install friction: platform-specific wheels for Windows only (win32, win_amd64, win_arm64) across Python 3.9–3.14. Requires winrt-runtime as a runtime dependency. Last commit 2025-12-11 with aging maintenance status (434 days since release), but repository is active and not archived.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install winrt-Windows.Globalization

from winrt.windows.globalization import Language

lang = Language("en-US")

Windows operating system required; wheels available only for win32, win_amd64, and win_arm64 architectures. Python 3.9 or later.

Verify before relying

  • Specific globalization features and API surface exposed by this binding (e.g., calendar, collation, date formatting capabilities).
  • Performance characteristics or overhead of the WinRT projection layer compared to direct Windows API calls.
  • Compatibility with non-CPython implementations or Windows subsystems (WSL, Wine).

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 104,012/month — #12,775 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

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

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

Tags

windows runtime globalization pythonwinrt language region apispython windows sdk bindingswinrt text processingwindows globalization from python
windows-apiglobalizationwinrt-binding

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.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.Storage.Streams

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.Media.Ocr

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Enumeration

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