Skip to main content

Python module to modify screen brightness on Linux, Windows and macOS

Project description

Platform Supported

Generic badge

Deployments

pages-build-deployment pypi-publish

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

pypi-module

https://pypi.org/project/pybrightness/

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/pybrightness/

License & copyright

© Vignesh Rao

Licensed under the MIT License

Project details


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

pybrightness-0.0.0a0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page