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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

screencolor-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

screencolor-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file screencolor-1.0.1.tar.gz.

File metadata

  • Download URL: screencolor-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for screencolor-1.0.1.tar.gz
Algorithm Hash digest
SHA256 473fd45d07ab6015c05cee56433a52bb74d0f6d5c1ce594313a8e64965a17814
MD5 3d48a1ed90b502cff8a01f39a7f0b59a
BLAKE2b-256 6f0d31f5fb8fc8d3631c7698db9a710552f2e5bd33de12ff71989ccc47a8cebe

See more details on using hashes here.

File details

Details for the file screencolor-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: screencolor-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for screencolor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c6f108e95e010a0686596d805afc9fddef12f3f520d873619bbd06cd3f8bbc0
MD5 966119e86320c852288619a18b1b1f9e
BLAKE2b-256 99ee4dcb7584c859e98cd58f6ba4fb96ca29aa7cb5578552821bdd76310c053a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page