--- id: winrt-windows-globalization version: "3.2.1" license: MIT license_treatment: permissive maintenance: aging --- # winrt-Windows.Globalization — Python projection of Windows Runtime (WinRT) APIs License: permissive · Maintenance: aging · Downloads: 104.0K/mo ## 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 above — 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 pip install winrt-windows-globalization uv add winrt-windows-globalization 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_current - Install friction: medium - Maintenance: aging - Downloads: 104.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags windows runtime globalization python, winrt language region apis, python windows sdk bindings, winrt text processing, windows globalization from python, windows-api, globalization, winrt-binding [View on SkillFed](https://skillfed.io/packages/winrt-windows-globalization) · [View on PyPI](https://pypi.org/project/winrt-windows-globalization/)