Skip to main content

screenrecord

PyPI Changelog Tests License

Record screen with python

The backstory for this tool is here

Installation

Install this tool using pip:

pip install screenrecord

Usage

For help, run:

record --help

You can also use:

python -m record --help

Shows

usage: record [-h] [-i INITDELAY] [-l LOOP] [--fps FPS] [-d DELAY]
              [-dur DURATION] [--bbox BBOX [BBOX ...]] [-f] [-aw] [-s]
              filename

Screen Recording with python

positional arguments:
  filename              filename can be mp4 or gif or mov

optional arguments:
  -h, --help            show this help message and exit
  -i INITDELAY, --initdelay INITDELAY
                        Initial delay in seconds, default 5 s
  -l LOOP, --loop LOOP  No of loops for GIF, default 5 (0 = infinite loop)
  --fps FPS             FPS, default is 10
  -d DELAY, --delay DELAY
                        Delay between frames in seconds, default 0.1 s
  -dur DURATION, --duration DURATION
                        Duration of capture, default 20s
  --bbox BBOX [BBOX ...]
                        Bounding box, default (0, 0, 50, 50)
  -f, --fullscreen      Record fullscreen
  -aw, --activewindow   Allows user to select an active window to record.
  -s, --save            Save frames used for creating the gif/mp4

demo usage of screenrecord

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd screenrecord
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

Metadata

Release files for screenrecord 1.2.0

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

Source distribution (sdist)

Source distribution for screenrecord 1.2.0
File Size Uploaded Provenance
screenrecord-1.2.0.tar.gz 10.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 20.5 kB

Release files / screenrecord-1.2.0.tar.gz

Download URL screenrecord-1.2.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d42d86ff3da0afe5a846e34a7d31df77da6513fd71eac71dc548a3ae0685a3e5
BLAKE2b-256 checksum
How to use checksums
4d3299d0ebe9c6960f06864c452b69abc55b2b0d9a59bb62e1a7fa81c31b0f4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release files / screenrecord-1.2.0-py3-none-any.whl

Download URL screenrecord-1.2.0-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8d5aa78ddcdddf45c5de4008ec09916a6e916ef8d8aa835a6ea9cc873bbce86
BLAKE2b-256 checksum
How to use checksums
cd51769beb30bef0e731185856c8be495e1706cecc199a63bb621cde9eb9f2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Security for screenrecord 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for screenrecord-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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