Skip to main content

Record screen with python

Project description

screenrecord

PyPI Changelog Tests License

Record screen with python

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.1.tar.gz (8.5 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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: screenrecord-1.1.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for screenrecord-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8520a352067d25d7029a40fae8b2eb5a2797ff596089361180a7fb18bba790da
MD5 de54a7d795a5846131d5b08963a7338d
BLAKE2b-256 eef8ac824b5206a5cee8cd5265fa48413d7e3f1089814962cee5fc1e1a73ede8

See more details on using hashes here.

Provenance

The following attestation bundles were made for screenrecord-1.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: screenrecord-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for screenrecord-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56b8b8af354c43f77230e06ab44509904061ac42ae53eef4005a2589f8e37e69
MD5 ffcd7a48dea598eb42a5b45571f91299
BLAKE2b-256 7c7cfcfc711135fd5c0183721faf33c0ebf1756c4c4f1e1408bcfadcbc1dca25

See more details on using hashes here.

Provenance

The following attestation bundles were made for screenrecord-1.1.1-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