{"id":19164936,"url":"https://github.com/bobotig/python-mss","last_synced_at":"2025-05-13T19:13:16.558Z","repository":{"id":9271092,"uuid":"11100375","full_name":"BoboTiG/python-mss","owner":"BoboTiG","description":"An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.","archived":false,"fork":false,"pushed_at":"2025-05-05T16:41:47.000Z","size":1299,"stargazers_count":1101,"open_issues_count":41,"forks_count":103,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-05-05T17:58:17.070Z","etag":null,"topics":["cli","cross-platform","ctypes","efficiency","gnu-linux","macos","monitor","mss","python","python-library","python-mss","screenshot","windows"],"latest_commit_sha":null,"homepage":"https://python-mss.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BoboTiG.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"BoboTiG","polar":"tiger-222","issuehunt":"BoboTiG"}},"created_at":"2013-07-01T16:14:08.000Z","updated_at":"2025-05-05T16:41:50.000Z","dependencies_parsed_at":"2024-01-14T01:23:29.518Z","dependency_job_id":"c39366ef-881d-4b0a-b5c9-25b6fedc1773","html_url":"https://github.com/BoboTiG/python-mss","commit_stats":{"total_commits":737,"total_committers":24,"mean_commits":"30.708333333333332","dds":0.4898236092265943,"last_synced_commit":"5e029a25ef5c75aacce57eadd64af96f03b43f2d"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoboTiG%2Fpython-mss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoboTiG%2Fpython-mss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoboTiG%2Fpython-mss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoboTiG%2Fpython-mss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BoboTiG","download_url":"https://codeload.github.com/BoboTiG/python-mss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010814,"owners_count":21998994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cross-platform","ctypes","efficiency","gnu-linux","macos","monitor","mss","python","python-library","python-mss","screenshot","windows"],"created_at":"2024-11-09T09:25:45.750Z","updated_at":"2025-05-13T19:13:16.541Z","avatar_url":"https://github.com/BoboTiG.png","language":"Python","readme":"# Python MSS\n\n[![PyPI version](https://badge.fury.io/py/mss.svg)](https://badge.fury.io/py/mss)\n[![Anaconda version](https://anaconda.org/conda-forge/python-mss/badges/version.svg)](https://anaconda.org/conda-forge/python-mss)\n[![Tests workflow](https://github.com/BoboTiG/python-mss/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/BoboTiG/python-mss/actions/workflows/tests.yml)\n[![Downloads](https://static.pepy.tech/personalized-badge/mss?period=total\u0026units=international_system\u0026left_color=black\u0026right_color=orange\u0026left_text=Downloads)](https://pepy.tech/project/mss)\n\n\u003e [!TIP]\n\u003e Become **my boss** to help me work on this awesome software, and make the world better:\n\u003e \n\u003e [![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge\u0026logo=patreon\u0026logoColor=white)](https://www.patreon.com/mschoentgen)\n\n```python\nfrom mss import mss\n\n# The simplest use, save a screenshot of the 1st monitor\nwith mss() as sct:\n    sct.shot()\n```\n\nAn ultra-fast cross-platform multiple screenshots module in pure python using ctypes.\n\n- **Python 3.9+**, PEP8 compliant, no dependency, thread-safe;\n- very basic, it will grab one screenshot by monitor or a screenshot of all monitors and save it to a PNG file;\n- but you can use PIL and benefit from all its formats (or add yours directly);\n- integrate well with Numpy and OpenCV;\n- it could be easily embedded into games and other software which require fast and platform optimized methods to grab screenshots (like AI, Computer Vision);\n- get the [source code on GitHub](https://github.com/BoboTiG/python-mss);\n- learn with a [bunch of examples](https://python-mss.readthedocs.io/examples.html);\n- you can [report a bug](https://github.com/BoboTiG/python-mss/issues);\n- need some help? Use the tag *python-mss* on [Stack Overflow](https://stackoverflow.com/questions/tagged/python-mss);\n- and there is a [complete, and beautiful, documentation](https://python-mss.readthedocs.io) :)\n- **MSS** stands for Multiple ScreenShots;\n\n\n## Installation\n\nYou can install it with pip:\n\n```shell\npython -m pip install -U --user mss\n```\n\nOr you can install it with Conda:\n\n```shell\nconda install -c conda-forge python-mss\n```\n","funding_links":["https://github.com/sponsors/BoboTiG","https://polar.sh/tiger-222","https://issuehunt.io/r/BoboTiG","https://www.patreon.com/mschoentgen"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobotig%2Fpython-mss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobotig%2Fpython-mss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobotig%2Fpython-mss/lists"}