pywinput

A wrapper for pywin32 that adds some extra functionality and solves common issues.


Keywords
python, pywin32, keyboard, mouse, windows
License
CNRI-Python-GPL-Compatible
Install
pip install pywinput==0.1.0

Documentation

Pywinput

A wrapper for pywin32 that allows for simulating keyboard and mouse input within background windows

Installation

Pip

pip install pywinput

Poetry

poetry add pywinput

Usage

from pywinput import Window, Key, Button

if __name__ == '__main__':
    win = Window.create(
        title='My Test Window',
        x=400,
        y=400,
        width=200,
        height=200,
    )
    win.show()
    win.text = 'My new window title'