Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/engelmi/screenshooter
Handy little screen capturing utility
https://github.com/engelmi/screenshooter
python python3 screen-capture screenshot screenshots utility
Last synced: 16 days ago
JSON representation
Handy little screen capturing utility
- Host: GitHub
- URL: https://github.com/engelmi/screenshooter
- Owner: engelmi
- License: mit
- Created: 2019-07-10T07:54:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T10:20:55.000Z (over 5 years ago)
- Last Synced: 2024-10-18T23:18:20.698Z (19 days ago)
- Topics: python, python3, screen-capture, screenshot, screenshots, utility
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI version](https://badge.fury.io/py/ScreenShooter.svg)](https://badge.fury.io/py/screenshooter)
[![Python Support](https://img.shields.io/pypi/pyversions/screenshooter.svg)](https://pypi.org/project/screenshooter/)# ScreenShooter
ScreenShooter provides a simple way of generating a screen shots via customizable keyboard shortcuts.## Installation
```bash
$ pip install screenshooter
```## Usage
The ScreenShooter is easy to use:
```python
from screenshooter import Screenshooter, ImageSaver
s = Screenshooter(ImageSaver())
```
This creates a ScreenShooter that sends grabbed images to the default ImageSaver. The images are saved in ``./screenshots*.png``.It is possible to customize the ScreenShooter as well as the ImageSaver:
```python
from screenshooter import Screenshooter, ImageSavercustom_saver_config = {
"output_dir_parts" : ["screenshots"],
"image_extension" : ".png",
"image_start_index" : 1
}
custom_shooter_config = {
"shortcut" : "ctrl+shift",
"monitor" : {
"monitor_number" : 1,
"offset_x" : "*",
"offset_y" : 200,
"width" : "*",
"height": "*"
}
}s = Screenshooter(ImageSaver(config_dict=custom_saver_config), config_dict=custom_shooter_config)
```