No Description

Fabian Peter Hammerle 1c9245e43f pipeline: authenticate at coveralls.io via GITHUB_TOKEN instead of COVERALLS_REPO_TOKEN to no longer require manual configuration of secret 3 years ago
.github 1c9245e43f pipeline: authenticate at coveralls.io via GITHUB_TOKEN instead of COVERALLS_REPO_TOKEN to no longer require manual configuration of secret 3 years ago
acpi_backlight 36d947e22b added argument & return type hints 3 years ago
test 43ce2c0d98 added unit test for backlight_eval 3 years ago
tests 6145e6ae2a format code via black 3 years ago
.gitignore 289980b1a6 pipeline: run mypy 3 years ago
LICENSE 80571b57ed init 5 years ago
Pipfile 9f512d9e9a dev env: added upper version constraints for astroid & pylint to keep compatibility with python3.5 3 years ago
Pipfile.lock 9f512d9e9a dev env: added upper version constraints for astroid & pylint to keep compatibility with python3.5 3 years ago
README.md a6257d32af pipeline: check test coverage 3 years ago
mypy.ini 289980b1a6 pipeline: run mypy 3 years ago
setup.py 36a3ebf181 test against python3.9 3 years ago

README.md

acpi-backlight

CI Pipeline Status Coverage Status

setup

pip3 install --user --upgrade acpi-backlight

usage

acpi-backlight-eval 1  # max brightness
acpi-backlight-eval 0.5  # 50% brightness
acpi-backlight-eval 1/4  # 25% brightness
acpi-backlight-eval 'b + 0.1'
acpi-backlight-eval 'b - 1/20'
acpi-backlight-eval 'b * 1.1'