screencolor


Namescreencolor JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/nichind/ScreenColor
SummarySimple Python library to get average color of monitor(s)
upload_time2024-03-25 12:10:17
maintainerNone
docs_urlNone
authornichind
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# ScreenColor

Simple Python library to get average color of monitor(s)




## Usage/Examples

Get average screen color every 5 seconds

```python
from screencolor import ScreenColor
import threading
import time


sc = ScreenColor(monitor_id=-1)
# Start refresh color loop
threading.Thread(target=sc.start_loop).start()

# Print monitor color every 5 seconds
while True:
    print(sc.get(rgb=False))
    time.sleep(5)
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nichind/ScreenColor",
    "name": "screencolor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "nichind",
    "author_email": "nichinddev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6f/0d/31f5fb8fc8d3631c7698db9a710552f2e5bd33de12ff71989ccc47a8cebe/screencolor-1.0.1.tar.gz",
    "platform": null,
    "description": "\n# ScreenColor\n\nSimple Python library to get average color of monitor(s)\n\n\n\n\n## Usage/Examples\n\nGet average screen color every 5 seconds\n\n```python\nfrom screencolor import ScreenColor\nimport threading\nimport time\n\n\nsc = ScreenColor(monitor_id=-1)\n# Start refresh color loop\nthreading.Thread(target=sc.start_loop).start()\n\n# Print monitor color every 5 seconds\nwhile True:\n    print(sc.get(rgb=False))\n    time.sleep(5)\n```\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Simple Python library to get average color of monitor(s)",
    "version": "1.0.1",
    "project_urls": {
        "Documentation": "https://github.com/nichind/ScreenColor",
        "Homepage": "https://github.com/nichind/ScreenColor"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99ee4dcb7584c859e98cd58f6ba4fb96ca29aa7cb5578552821bdd76310c053a",
                "md5": "966119e86320c852288619a18b1b1f9e",
                "sha256": "1c6f108e95e010a0686596d805afc9fddef12f3f520d873619bbd06cd3f8bbc0"
            },
            "downloads": -1,
            "filename": "screencolor-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "966119e86320c852288619a18b1b1f9e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3421,
            "upload_time": "2024-03-25T12:10:15",
            "upload_time_iso_8601": "2024-03-25T12:10:15.799943Z",
            "url": "https://files.pythonhosted.org/packages/99/ee/4dcb7584c859e98cd58f6ba4fb96ca29aa7cb5578552821bdd76310c053a/screencolor-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f0d31f5fb8fc8d3631c7698db9a710552f2e5bd33de12ff71989ccc47a8cebe",
                "md5": "3d48a1ed90b502cff8a01f39a7f0b59a",
                "sha256": "473fd45d07ab6015c05cee56433a52bb74d0f6d5c1ce594313a8e64965a17814"
            },
            "downloads": -1,
            "filename": "screencolor-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3d48a1ed90b502cff8a01f39a7f0b59a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3153,
            "upload_time": "2024-03-25T12:10:17",
            "upload_time_iso_8601": "2024-03-25T12:10:17.731478Z",
            "url": "https://files.pythonhosted.org/packages/6f/0d/31f5fb8fc8d3631c7698db9a710552f2e5bd33de12ff71989ccc47a8cebe/screencolor-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-25 12:10:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nichind",
    "github_project": "ScreenColor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "screencolor"
}
        
Elapsed time: 0.33390s