All Projects → Crozzers → screen_brightness_control

Crozzers / screen_brightness_control

Licence: MIT license
A Python tool for controlling the brightness of your monitor

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to screen brightness control

Menubar Brightness
MacOS app to change the screen brightness on the menubar.
Stars: ✭ 77 (+165.52%)
Mutual labels:  brightness
Mac Keyboard Brightness
🔆 Programmatically get & set the keyboard & display backlight brightness on Macs. Flash your keyboard to the music! (only works on <2015 Macs)
Stars: ✭ 185 (+537.93%)
Mutual labels:  brightness
BetterDummy
Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more!
Stars: ✭ 9,601 (+33006.9%)
Mutual labels:  brightness
Processing Imageprocessing
Collection of basic image processing algorithms for processing
Stars: ✭ 87 (+200%)
Mutual labels:  brightness
Brightness Cli
Change the screen brightness
Stars: ✭ 182 (+527.59%)
Mutual labels:  brightness
Nocturnal
A Dimness and Night Shift menu bar app for macOS 🌙
Stars: ✭ 199 (+586.21%)
Mutual labels:  brightness
Lightbulb
Reduces eye strain by adjusting gamma based on the current time
Stars: ✭ 1,153 (+3875.86%)
Mutual labels:  brightness
canvas-plus
A universal Node/browser library for manipulating images, built on canvas.
Stars: ✭ 84 (+189.66%)
Mutual labels:  brightness
Brightness
Change screen brightness
Stars: ✭ 184 (+534.48%)
Mutual labels:  brightness
wluma
Automatic brightness adjustment based on screen contents and ALS
Stars: ✭ 290 (+900%)
Mutual labels:  brightness
Display manager
An open-source Python library which can modify your Mac's display settings manually or automatically.
Stars: ✭ 109 (+275.86%)
Mutual labels:  brightness
Lunar
Intelligent adaptive brightness for your external monitors
Stars: ✭ 2,712 (+9251.72%)
Mutual labels:  brightness
Gammy
Adaptive screen brightness/temperature for Windows, Linux, FreeBSD
Stars: ✭ 220 (+658.62%)
Mutual labels:  brightness
Night Shift On Unsupported Macs
Enable Night Shift on older Unsupported Macs
Stars: ✭ 86 (+196.55%)
Mutual labels:  brightness
soft-brightness
Gnome-shell extension to manage your display brightness via an alpha overlay (instead of the backlight).
Stars: ✭ 99 (+241.38%)
Mutual labels:  brightness
Modernflyouts
A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.
Stars: ✭ 1,173 (+3944.83%)
Mutual labels:  brightness
Rpi Backlight
🔆 A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display
Stars: ✭ 190 (+555.17%)
Mutual labels:  brightness
metal camera
iOS metal camera with GPU shaders.
Stars: ✭ 68 (+134.48%)
Mutual labels:  brightness
funcd
Daemon for functional keys (works without X11)
Stars: ✭ 14 (-51.72%)
Mutual labels:  brightness
Ailight
AiLight is a custom firmware for the esp8266 based Ai-Thinker (or equivalent) RGBW WiFi light bulbs
Stars: ✭ 248 (+755.17%)
Mutual labels:  brightness

screen_brightness_control

A Python tool for controlling the brightness of your monitor. Supports Windows and most flavours of Linux.

Installation

Pip:

pip install screen-brightness-control

GitHub:

git clone https://github.com/Crozzers/screen_brightness_control
cd screen_brightness_control
pip install .

Linux:

Installing on Linux usually requires some extra work after installing the module. Please see the installing on Linux documentation for more details.

Usage

API

import screen_brightness_control as sbc

# get the brightness
brightness = sbc.get_brightness()
# get the brightness for the primary monitor
primary = sbc.get_brightness(display=0)

# set the brightness to 100%
sbc.set_brightness(100)
# set the brightness to 100% for the primary monitor
sbc.get_brightness(100, display=0)

# show the current brightness for each detected monitor
for monitor in sbc.list_monitors():
    print(monitor, ':', sbc.get_brightness(display=monitor), '%')

Check out the quick start guide for more details on each of these functions.

Full documentation for the project is also available here.

Command Line

python -m screen_brightness_control --help
> usage: screen_brightness_control [-h] [-d DISPLAY] [-s VALUE] [-g] [-f VALUE] [-v]
>
> optional arguments:
>   -h, --help                         show this help message and exit
>   -d DISPLAY, --display DISPLAY      the display to be used
>   -s VALUE, --set VALUE              set the brightness to this value
>   -g, --get                          get the current screen brightness
>   -f VALUE, --fade VALUE             fade the brightness to this value
>   -m METHOD, --method METHOD         specify which method to use
>   -l, --list                         list all monitors
>   -v, --verbose                      some messages will be more detailed
>   -V, --version                      print the current version

See Also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].