python-mss
An ultra fast cross-platform multiple screenshots module in pure python using ctypes.
An ultra fast cross-platform multiple screenshots module in pure python using ctypes.
To install this package, run one of the following:
Python 3.9+, PEP8 compliant, no dependency, and thread-safe. Very basic, it will grab one screenshot by monitor or a screenshot 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 software which require fast and platform optimized methods to grab screen shots (like AI, Computer Vision). MSS stands for Multiple ScreenShots.
Summary
An ultra fast cross-platform multiple screenshots module in pure python using ctypes.
Information Last Updated
Aug 16, 2025 at 15:48
License
MIT
Total Downloads
87.1K
Platforms
GitHub Repository
https://github.com/BoboTiG/python-mssDocumentation
https://python-mss.readthedocs.io