purebox

Utility to draw rectangles on programs using Xlib to get x, y, width, height coordinates


Keywords
python, python-xlib, x11
License
Other
Install
pip install purebox==0.1.1

Documentation

PureBox

Originally written for PureMPV, with this utility it is possible to get the relative x, y, height, width coordinates of a drawn rectangle inside an X11 application given its PID. It uses the Python X library to communicate with the X server.