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 details)
Built Distribution
File details
Details for the file python-xrectsel-1.1.tar.gz
.
File metadata
- Download URL: python-xrectsel-1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36de9bbc24f981f370fb657815db0c070dca748b29f7e900e5ea5cc65fc9fbe |
|
MD5 | f43e23240539e31f5143463978fe94c4 |
|
BLAKE2b-256 | 15a1450d0dd5fdfcf95a0e7adf9f95954c1dc481a1d81bc3adf7c8ede301bb60 |
File details
Details for the file python_xrectsel-1.1-py3-none-any.whl
.
File metadata
- Download URL: python_xrectsel-1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43f19cd55555384596d8a9326bb00264a9ec56dda5d9c83d65259c9121a5d3e |
|
MD5 | 7381618113ef967855fac45eae712fb2 |
|
BLAKE2b-256 | f4976243386554010dbd450432271855cdbcfcfc001705f5645e32aba21f3cfe |