winrt-Windows.Web.UI.Interop

Python projection of Windows Runtime (WinRT) APIs


License
MIT
Install
pip install winrt-Windows.Web.UI.Interop==2.0.0b2

Documentation

PyWinRT

Access Windows Runtime (WinRT) APIs directly from Python!

Documentation

https://pywinrt.readthedocs.io

History

PyWinRT is a community-supported fork of the pywinrt tool from the Microsoft xlang project.

This repository contains both the code generation tool (PyWinRT.exe) and the Python bindings for the Windows SDK generated by this tool.

Prior to September 2023, the Windows SDK bindings were generated in a single monolithic package at https://pypi.org/project/winsdk. Moving forward, the bindings will be generated in a modular fashion and published as separate packages, one per Windows SDK namespace. The top level namespace has been changed back from winsdk to the original winrt.

PyWinRT.exe

This tool is used in conjunction with cppwinrt to generate Python bindings for Windows Runtime APIs. It can be used with the Windows SDK and with custom components.

A pre-compiled binary version of the PyWinRT tool is available via nuget.