Skip to main content

Python bindings for Windows API

Project description

Python bindings for Windows API

Generated from

https://github.com/microsoft/win32metadata
https://www.nuget.org/packages/Microsoft.Windows.SDK.Contracts
https://github.com/microsoft/WindowsAppSDK


Usage:

> py -m win32generator

# Generate one file module for specific api set.
> py -m win32generator -s selector.txt -o win32.py

selector.txt format is:

# namespace
Windows.Win32.System.Com
# fullname
Windows.Win32.UI.WindowsAndMessaging.MessageBoxW
# just name
CreateFileW
MB_OK


How to get latest metadata:

# Download Windows.Win32.winmd
> nuget install -ExcludeVersion -Prerelease Microsoft.Windows.SDK.Win32Metadata

# Generate Windows.Win32.json
> git clone https://github.com/ynkdir/winmd-printer.git
> cd winmd-printer
> dotnet run ..\Microsoft.Windows.SDK.Win32Metadata\Windows.Win32.winmd > ..\Windows.Win32.json
> cd ..

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

win32more-0.5.1.tar.gz (14.4 MB view hashes)

Uploaded Source

Built Distribution

win32more-0.5.1-py3-none-any.whl (15.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page