Skip to main content

Record screen with python

Project description

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] [-d DELAY] [-dur DURATION]
              [--bbox BBOX [BBOX ...]] [-f] [-aw]
              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
  -d DELAY, --delay DELAY
                        Delay between frames in seconds, default 0.5 s
  -dur DURATION, --duration DURATION
                        Duration of capture, default 20 s
  --bbox BBOX [BBOX ...]
                        Bounding box, default (0, 0, 50, 50)
  -f, --fullscreen
  -aw, --activewindow

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

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

screenrecord-1.1.3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

screenrecord-1.1.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file screenrecord-1.1.3.tar.gz.

File metadata

  • Download URL: screenrecord-1.1.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for screenrecord-1.1.3.tar.gz
Algorithm Hash digest
SHA256 14e6467479a655a974ab44679a6cf47c5d8a37f2cc6383e1ce910540b0fcd9d3
MD5 99bb6d9d62f9c23f4a48457305fcfa4d
BLAKE2b-256 b1e7435ad6465caca96bfc4a450e99e5a2eaae4c1ec12b9d47bf27f51ab549c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for screenrecord-1.1.3.tar.gz:

Publisher: publish.yml on sukhbinder/screenrecord

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file screenrecord-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: screenrecord-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for screenrecord-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e6e3484cefd700874dd40ce9aaafa18a972c693330c9272166223a1dfe27b3
MD5 02cd1e08edbdfa6639f707e6e3d0f34f
BLAKE2b-256 040a92665de7e35292fb6f4f9e24e41e6a6589e5f148a6fba2a6ff8456d8f67b

See more details on using hashes here.

Provenance

The following attestation bundles were made for screenrecord-1.1.3-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/screenrecord

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page