Python MSS
from mss import mss
# The simplest use, save a screenshot of the 1st monitor
with mss() as sct:
sct.shot()
An ultra fast cross-platform multiple screenshots module in pure python using ctypes.
Python 2 & 3 and PEP8 compliant, no dependency;
very basic, it will grab one screen shot by monitor or a screen shot of all monitors and save it to a PNG file;
but you can use PIL and benefit from all its formats (or add yours directly);
integrate well with Numpy and OpenCV;
it could be easily embedded into games and other softwares which require fast and plateforme optimized methods to grab screenshots;
get the source code on GitHub;
learn with a bunch of examples;
you can report a bug;
need some help? Use the tag python-mss on StackOverflow;
and there is a complete, and beautiful, documentation :)
MSS stands for Multiple ScreenShots;
Installation
You can install it with pip:
pip install --upgrade mss
Metadata
Release files for mss 3.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mss-3.1.1.tar.gz | 12.6 kB | Without provenance | Details for mss-3.1.1.tar.gz |
Release files / mss-3.1.1.tar.gz
| Download URL | mss-3.1.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5af263dc0e6a542ab514988ea788dc0214357d81a8f6c58ed5102e65193c1256
|
|
BLAKE2b-256 checksum How to use checksums |
e6a05e32aad07567e553c326e469d10f91096d88cc5bafcfbb9c80b474387809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mss 3.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.