Нема описа

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'