Python module to modify screen brightness on Linux, Windows and macOS
Project description
Platform Supported
Deployments
PyBrightness
Python module to modify screen brightness on Linux, Windows and macOS
Installation
python -m pip install pybrightness
Usage
import pybrightness
pybrightness.increase() # Increase to 100%
pybrightness.decrease() # Decrease to 100%
pybrightness.custom(percent=72) # Set to a custom level
Coding Standards
Docstring format: Google
Styling conventions: PEP 8
Clean code with pre-commit hooks: flake8
and
isort
Release Notes
Requirement
python -m pip install changelog-generator
Usage
changelog reverse -f release_notes.rst -t 'Release Notes'
Linting
PreCommit
will ensure linting, and the doc creation are run on every commit.
Requirement
pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
Pypi Package
https://pypi.org/project/pybrightness/
Runbook
https://thevickypedia.github.io/pybrightness/
License & copyright
© Vignesh Rao
Licensed under the MIT License
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pybrightness-0.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0067a7e789466e50dd385763ea24c78361c53cc32a7bfe00e7a39d62da11cc83 |
|
MD5 | 4d2398dbb99564bffb5a8ba9045a102e |
|
BLAKE2b-256 | 36ed9b69c2c182e165c4833adfdb64ef47e934db4d90e64b3ca6ed32bc5c058e |