Нет описания

Fabian Peter Hammerle 858dfee530 refactor: use `pathlib.Path` instances instead of `os.path.*`; increase test coverage 3 лет назад
.github 858dfee530 refactor: use `pathlib.Path` instances instead of `os.path.*`; increase test coverage 3 лет назад
acpi_backlight 858dfee530 refactor: use `pathlib.Path` instances instead of `os.path.*`; increase test coverage 3 лет назад
tests 858dfee530 refactor: use `pathlib.Path` instances instead of `os.path.*`; increase test coverage 3 лет назад
.gitignore 289980b1a6 pipeline: run mypy 4 лет назад
.pylintrc 858dfee530 refactor: use `pathlib.Path` instances instead of `os.path.*`; increase test coverage 3 лет назад
LICENSE 80571b57ed init 6 лет назад
Pipfile c01f22ad3a dev env: add upper version constraint for `click` to keep compatibility with python3.5 3 лет назад
Pipfile.lock 403deaa65f build(deps-dev): bump pathlib2 from 2.3.5 to 2.3.6 3 лет назад
README.md a6257d32af pipeline: check test coverage 4 лет назад
mypy.ini 289980b1a6 pipeline: run mypy 4 лет назад
setup.py 36a3ebf181 test against python3.9 4 лет назад

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'