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

Uploaded Python 3

File details

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

File metadata

  • Download URL: screenrecord-1.1.2.tar.gz
  • Upload date:
  • Size: 8.8 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.2.tar.gz
Algorithm Hash digest
SHA256 290e593c7f0b69cccd9c7964aaa3b9f956a6f8451648f06599bc6e12945e8729
MD5 91b41013204a3c63061a2bed884f92ea
BLAKE2b-256 64f0d13259533bdddf609765240a38e6756900867e1f70d19816560736d45e78

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: screenrecord-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a288e46de2da1fdef8184ddb1d9280162630e3cc0d6f08a54476a326972274
MD5 252f9c5493c29385945be0647c821135
BLAKE2b-256 c625629da86c8169c56c5c807e3db90733b20a8a3e34cf84fb8523b20455b063

See more details on using hashes here.

Provenance

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