BoboTiG/python-mss
BoboTiG/python-mss has 1,290 GitHub stars and 117 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -1 in 15 days. Last checked 2026-11-22 16:43 UTC. Last push 2026-11-16.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
Ein ultraschnelles, plattformübergreifendes Modul für Screenshots mehrerer Bildschirme, vollständig in Python mit ctypes entwickelt.
EntwicklerwerkzeugeREADME.md
OriginalPython MSS
[!TIP] Become my boss to help me work on this awesome software, and make the world better:
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 3.10+, PEP8 compliant, no dependency, 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 screenshots (like AI, Computer Vision);
- 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 Stack Overflow;
- and there is a complete, and beautiful, documentation :)
- MSS stands for Multiple ScreenShots;
Installation
You can install it with pip:
python -m pip install -U --user mss
Or you can install it with Conda:
conda install -c conda-forge python-mss
In case of scaling and high DPI issues for external monitors: some packages (e.g. mouseinfo / pyautogui / pyscreeze) incorrectly call SetProcessDpiAware() during import process. To prevent that, import mss first.
Ähnliche Projekte entdecken
Wird geladen…