Metadata-Version: 2.1
Name: screencolor
Version: 1.0.1
Summary: Simple Python library to get average color of monitor(s)
Home-page: https://github.com/nichind/ScreenColor
Author: nichind
Author-email: nichinddev@gmail.com
Project-URL: Documentation, https://github.com/nichind/ScreenColor
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: colorthief
Requires-Dist: mss


# 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)
```

