Skip to main content

ScreenColor

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

Usage/Examples

Get average screen color every 5 seconds

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)

Metadata

Release files for screencolor 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for screencolor 1.0.1
File Size Uploaded
screencolor-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for screencolor 1.0.1
File Interpreter ABI Platform
screencolor-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / screencolor-1.0.1.tar.gz

Download URL screencolor-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
473fd45d07ab6015c05cee56433a52bb74d0f6d5c1ce594313a8e64965a17814
BLAKE2b-256 checksum
How to use checksums
6f0d31f5fb8fc8d3631c7698db9a710552f2e5bd33de12ff71989ccc47a8cebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.6

Release files / screencolor-1.0.1-py3-none-any.whl

Download URL screencolor-1.0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c6f108e95e010a0686596d805afc9fddef12f3f520d873619bbd06cd3f8bbc0
BLAKE2b-256 checksum
How to use checksums
99ee4dcb7584c859e98cd58f6ba4fb96ca29aa7cb5578552821bdd76310c053a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page