winrt-Microsoft.Graphics.Display

Python projection of Windows Runtime (WinRT) APIs


License
MIT
Install
pip install winrt-Microsoft.Graphics.Display==2.0.1

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.

pywirnt.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.