No Description

dependabot[bot] fb259701e5 build(deps-dev): bump mypy from 0.800 to 0.812 3 years ago
.github 36a3ebf181 test against python3.9 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 8227dfe8bd env: add upper version constraint for pytest to keep compatibility with python3.5 3 years ago
Pipfile.lock fb259701e5 build(deps-dev): bump mypy from 0.800 to 0.812 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'