Skip to main content

Geometry of a rectangular screen region

Project description

python-xrectsel

Geometry of a rectangular screen region

Python Versions PyPI version License: GPLV3 Code style: black

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)

Uploaded Source

Built Distribution

python_xrectsel-1.1-py3-none-any.whl (4.4 kB 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