Screenshot using python
Project description
winzy-screenshot
Screenshot using python
Installation
First configure your Winzy project to use Winzy.
Then install this plugin in the same environment as your Winzy application.
pip install winzy-screenshot
Usage
To use
winzy screenshot -b 7.57 8.11 70.14 51.0
Press Right shift to take a screenshot. Esc twice to end.
To Get help, type.
winzy screenshot -h
usage: winzy screenshot [-h] [-b BBOX BBOX BBOX BBOX] [-ut] [-t TITLE] [-aw]
Screenshot using python
optional arguments:
-h, --help show this help message and exit
-b BBOX BBOX BBOX BBOX, --bbox BBOX BBOX BBOX BBOX
Bounding box as left,top,width,height in percentages
(can be specified multiple times)
-ut, --use-tempdir Use tempdir to save the screenshots
-t TITLE, --title TITLE
Create BBOX for the windows whose title is given. type
'none' to choose window
-aw, --activewindow Capture the active window
Features
- Bounding Box Capture: Define regions of interest using percentages (left, top, width, height)
- Multiple Regions: Specify multiple
-bflags to capture several areas at once - Active Window Mode: Use
--activewindowto automatically capture the currently active window - Window Title Targeting: Use
--titleto capture specific windows by their title - Temporary Directory: Save screenshots to system temp directory with
--use-tempdir - Keyboard Controls: Press
Right Shiftto capture,Esctwice to exit
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd winzy-screenshot
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winzy_screenshot-0.0.6.tar.gz.
File metadata
- Download URL: winzy_screenshot-0.0.6.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
870978729f41eab12bea37da809b541fdf95917277306892b30159413c80ddff
|
|
| MD5 |
3c17e2d3cfdfc18d782f80a7dd4e93e5
|
|
| BLAKE2b-256 |
5d8080c8af8a1a228173eeea42608a8001d3bbcb65a0d6377e39563af076cf03
|
Provenance
The following attestation bundles were made for winzy_screenshot-0.0.6.tar.gz:
Publisher:
publish.yml on sukhbinder/winzy-screenshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winzy_screenshot-0.0.6.tar.gz -
Subject digest:
870978729f41eab12bea37da809b541fdf95917277306892b30159413c80ddff - Sigstore transparency entry: 1262407956
- Sigstore integration time:
-
Permalink:
sukhbinder/winzy-screenshot@b771c48b46a053162f5875ede77cd6f51127cf09 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b771c48b46a053162f5875ede77cd6f51127cf09 -
Trigger Event:
release
-
Statement type:
File details
Details for the file winzy_screenshot-0.0.6-py3-none-any.whl.
File metadata
- Download URL: winzy_screenshot-0.0.6-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
284142a3d0421e2d27187c77c0d89167e74ac7e0624ac06769206ded1f7fe045
|
|
| MD5 |
b856bfed24962e0a344dca3455e904db
|
|
| BLAKE2b-256 |
a041c7b795816f89ec1228f0b9f7fc4af55de53cfd001ab0081adcb0660bf07a
|
Provenance
The following attestation bundles were made for winzy_screenshot-0.0.6-py3-none-any.whl:
Publisher:
publish.yml on sukhbinder/winzy-screenshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winzy_screenshot-0.0.6-py3-none-any.whl -
Subject digest:
284142a3d0421e2d27187c77c0d89167e74ac7e0624ac06769206ded1f7fe045 - Sigstore transparency entry: 1262407957
- Sigstore integration time:
-
Permalink:
sukhbinder/winzy-screenshot@b771c48b46a053162f5875ede77cd6f51127cf09 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b771c48b46a053162f5875ede77cd6f51127cf09 -
Trigger Event:
release
-
Statement type: