A Python tool to control monitor brightness on Windows and Linux
Project description
# screen_brightness_control A Python tool for controlling the brightness of your monitor
### How to install: * Clone/download the repository * Enter the folder it has been cloned to and run “pip3 install .” * That should be all
- ### How to use:
import screen_brightness_control as sbc current_brightness = sbc.get_brightnness() sbc.set_brightness(current_brightness+5)
The module has 2 basic functions: set_brightness and get_brightness. On Windows these use the WMI module, which is nice and simple. On Linux, however, they use a variety of methods. They will try to run light and xbacklight commands and if that does not work they will edit the /sys/class/backlight files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for screen_brightness_control-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de04cf08c43ca7c0feb56dfb5271048c5d8c84b3087b64ebd6df912edee60cb |
|
MD5 | db9588fd1703affdd65250f36513fb91 |
|
BLAKE2b-256 | ee67a49891f5db38e31b870777ab465c419b9f7d98cbb4eb7cd01f539d81e7bb |
Hashes for screen_brightness_control-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86eb3de1537334d6492ae3c41708622ad9a4f57ccb1f3d27b0f02fa4cc693abb |
|
MD5 | b4dce82eb98b5b8c5792de45dfd008d4 |
|
BLAKE2b-256 | 46085e55df960f185677c1e7cb8c4787a6ef20968058acbf18fccf37832a0675 |