Skip to content

py-win32more would get rid of pycaw.api #96

Open
@KubaO

Description

This is a proposal, not a bug report.

Pycaw.api is a hand-crafted ctypes interface to Windows APIs used in pycaw.

There's a machine-generated projection of Windows API (the whole thing) to Python at https://github.com/ynkdir/py-win32more. Removing Pycaw.api and using win32more as a dependency would get rid of a lot of code that has to be maintained. win32more also has an easy-to-use COM wrapper system, so comtypes also wouldn't be needed. It also interfaces with winrt and cleanly handles winrt inheritance should that be needed for any newer APIs.

py-win32more is self-contained and is pure Python. It has no dependencies besides Python itself.

If this would be of interest, I can follow up with a pull request.


I am not associated with the win32more project, just a very happy user.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions