Skip to main content

To take and save screenshot.

Project description

Savescreen

PyPI Pypi - License PyPI - Python Version

To take and save screenshot.

Installation

pip install -U savescreen

Usage

usage: savescreen [options]

optional arguments:
  -h, --help       show this help message and exit
  -v, --version    show version number and exit

to take screenshot:
  -n , --name      name to screenshot
  -p , --path      path to save screenshot (default : path)
  -f , --format    image format to save screenshot (default : png)
  -t , --timeout   timeout period before taking screenshot in secs (default : 5s)
  -d , --display   to display the screenshot (default : False)

Python Script

To encrypt/decrypt message using rsa.

from savescreen import Screenshot

screenshot = Screenshot(name='shot', img_format='png')
screenshot.take() # to take screenshot
screenshot.save() # to save the screenshot
screenshot.display() # to display screenshot

Command Line

To take and save screenshot in png format.

$ savescreen --name shot --format png
Screenshot saved in '.../shot.png'.

To take and save screenshot after 30 secs.

$ savescreen --name shot --format png --timeout 30
Screenshot saved in '.../shot.png'.

Issues:

If you encounter any problems, please file an issue along with a detailed description.

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

savescreen-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

savescreen-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file savescreen-1.0.0.tar.gz.

File metadata

  • Download URL: savescreen-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for savescreen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 114da475eeb631dd93d746f1e77e2cfc0c87e9a4564dbf25e855d92f237bdc63
MD5 2cf7951f2e20febcef82c86fb5ce1946
BLAKE2b-256 b9fb27e92c3d83b115bc13b1732281257f1313d75cc1e3d267ffc52dfba32d80

See more details on using hashes here.

File details

Details for the file savescreen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: savescreen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for savescreen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b55c9a71cf59471a7ed3a5164ca0041014b721e2008a9a2f629faf2fb77f70e
MD5 b214925610c8c1d7ea8eb0ac4fdf32bd
BLAKE2b-256 eb95b33d0f8f6d9aa63853331be56714800f0390097fe1420e585cda9c99f46e

See more details on using hashes here.

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