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.0.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.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: screenrecord-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d0d8e1063a3b1543a94d664d5431f7d20ae56e970ab156d4908bae8d454b5a2b
MD5 d90c37dc026d71eff1bcb2def7019d71
BLAKE2b-256 6a761f5fd9f6915d04b49dc25eba6b9d50de7ba97f3297bb5fe9bddbc5a6850d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: screenrecord-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbdbc6193b96d0e52bd38bfae52ddb37fdfaac48eda6f2540e597520ba182e89
MD5 1af54331b13d3cef4153f652b46b0301
BLAKE2b-256 d8e26f84a6dc8cafe0b9aef183b405fcac58c910d8afbb59ac29d30d15efcda1

See more details on using hashes here.

Provenance

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