The effortless solution for managing screen brightness in Python.
Project description
The effortless solution for managing screen brightness in Python.
Linux support coming soon.
Installing
pip install brightness
to test:
python -m brightness
set()
def set(value: int | float) -> None
Sets the screen brightness to the entered value.
get()
def get() -> (int | None)
Returns the screen brightness.
increase()
def increase(value: int) -> None
Increases the screen brightness by the entered value.
decrease()
def decrease(value: int) -> None
Decreases the screen brightness by the entered value.
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
brightness-0.0.1.tar.gz
(2.7 kB
view details)
File details
Details for the file brightness-0.0.1.tar.gz
.
File metadata
- Download URL: brightness-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a0b85a4065158e61d5470821c0cf74f6732b2058fe79610f8d0ad700f3aeba |
|
MD5 | e1b8021ba75b5a8e05d061a9eb7fc4c4 |
|
BLAKE2b-256 | e3f34cfd1e5b7acfd4f9b7391021aea2e04c2dacc3abceff57f9642ee1beb867 |