Skip to main content

scapr

PyPI - Version

Screen Capture in Python

A script that uses Pillow's ImageGrab to capture screenshots.

Usage

usage: scapr [-h] [--auto] [--seconds SLEEP_SEC] [--count STOP_COUNT]
             [--folder OUTPUT_DIR] [--region REGION_BOX] [--flat]

Command-line utility to capture screenshots.

options:
  -h, --help           show this help message and exit
  --auto               Do not prompt to start capturing screenshots. Begin
                       right away.
  --seconds SLEEP_SEC  Number of seconds to pause between screenshots.
  --count STOP_COUNT   Number of screenshots to take before stopping.
  --folder OUTPUT_DIR  Name of folder for saving captured screenshots.
  --region REGION_BOX  Region to capture (instead of full screen). Specify box
                       coordinates, separated by commas (no spaces between),
                       as 'x1,y1,x2,y2' where x1 and y1 are the left-top pixel
                       coordinates, and x2 and y2 are the right-bottom pixel
                       coordinates. Example: '--region 100,100,600,600' to
                       capture a 500 x 500 image starting at 100 pixels from
                       top and left.
  --flat               Do not create a sub-folder for each capture session (a
                       'flat' output folder structure).

Reference

Pillow

Pillow - ImageGrab

Python - KeyboardInterrupt

Release files for scapr 2025.12.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scapr 2025.12.2
File Size Uploaded
scapr-2025.12.2.tar.gz 36.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scapr 2025.12.2
File Interpreter ABI Platform
scapr-2025.12.2-py3-none-any.whl Python 3 none any Details

Total release size:42.1 kB

Release files / scapr-2025.12.2.tar.gz

Download URL scapr-2025.12.2.tar.gz
Size 36.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e3cb34bd27e7066b2c89944becdcd57c13589a11b5345c3e5d4926794ab7d1f1
BLAKE2b-256 checksum
How to use checksums
215e29655735ea21a7d5b8d68fe3639b5ade756e62d35955ab91b5df0e99abc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / scapr-2025.12.2-py3-none-any.whl

Download URL scapr-2025.12.2-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a8a6e96f45525181f9d59cd8624f8a8d566d80152088022b4e32ef9f68eff7f
BLAKE2b-256 checksum
How to use checksums
6b8143e9474054b1a3433e8f580f92584519a7f4fb06368af8c8ab21636910a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page