Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sukhbinder/winzy-screenshot
Screenshot using python
https://github.com/sukhbinder/winzy-screenshot
Last synced: about 2 months ago
JSON representation
Screenshot using python
- Host: GitHub
- URL: https://github.com/sukhbinder/winzy-screenshot
- Owner: sukhbinder
- License: apache-2.0
- Created: 2024-11-17T10:02:39.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T11:05:51.000Z (about 2 months ago)
- Last Synced: 2024-11-17T11:20:04.030Z (about 2 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# winzy-screenshot
[![PyPI](https://img.shields.io/pypi/v/winzy-screenshot.svg)](https://pypi.org/project/winzy-screenshot/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/winzy-screenshot?include_prereleases&label=changelog)](https://github.com/sukhbinder/winzy-screenshot/releases)
[![Tests](https://github.com/sukhbinder/winzy-screenshot/workflows/Test/badge.svg)](https://github.com/sukhbinder/winzy-screenshot/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/winzy-screenshot/blob/main/LICENSE)Screenshot using python
## Installation
First configure your Winzy project [to use Winzy](https://github.com/sukhbinder/winzy).
Then install this plugin in the same environment as your Winzy application.
```bash
pip install winzy-screenshot
```
## UsageTo use
```bash
winzy screenshot -b 7.57 8.11 70.14 51.0
```Press `Right shift` to take a screenshot. Esc twice to end.
![winzy screenshot demo](https://raw.githubusercontent.com/sukhbinder/winzy-screenshot/main/winzy-screenshot-demo.gif)
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd winzy-screenshot
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```