Geometry of a rectangular screen region
Project description
python-xrectsel
Geometry of a rectangular screen region
Installation:
pip3 install python-xrectsel --user
Usage:
- Shell
$ xrectsel
$ # select rectangle on sreen
127 172 862 465 #(x-coordinate, y-coordinate, width, height)
- Python
❯❯❯ cat test.py
from xrectsel import XRectSel
print(XRectSel().select())
❯❯❯ python3 test.py
{'start': {'x': 102, 'y': 218}, 'end': {'x': 1170, 'y': 476}, 'width': 1068, 'height': 258}
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
python-xrectsel-1.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for python_xrectsel-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43f19cd55555384596d8a9326bb00264a9ec56dda5d9c83d65259c9121a5d3e |
|
MD5 | 7381618113ef967855fac45eae712fb2 |
|
BLAKE2b-256 | f4976243386554010dbd450432271855cdbcfcfc001705f5645e32aba21f3cfe |