Sen descrición

dependabot[bot] ff978bc3a9 build(deps-dev): bump black from 23.1.0 to 23.3.0 (#96) hai 1 ano
.github cccadb4597 build(deps): bump actions/setup-python from 3 to 4 hai 1 ano
acpi_backlight f77ef28641 re-format code after upgrade of black to v23.1.0 hai 1 ano
tests a5525dd265 make module `acpi_backlight.evaluate` private hai 1 ano
.gitignore 289980b1a6 pipeline: run mypy %!s(int64=3) %!d(string=hai) anos
.pylintrc 0f400d406e pylint: enable various optional checks/extensions hai 1 ano
CHANGELOG.md 808f905cf6 `_evaluate._evaluate` & indirectly `backlight_eval`: raise `ValueError` instead of `Exception` when expression contains prohibited specifier or operator (fixing pylint's `broad-exception-raised` warning) hai 1 ano
LICENSE 80571b57ed init %!s(int64=5) %!d(string=hai) anos
Pipfile b258a2a893 dev env: add upper version constraint for isort to keep compatibility with python3.7 (has not reached end-of-life yet) hai 1 ano
Pipfile.lock ff978bc3a9 build(deps-dev): bump black from 23.1.0 to 23.3.0 (#96) hai 1 ano
README.md a6257d32af pipeline: check test coverage %!s(int64=3) %!d(string=hai) anos
mypy.ini 289980b1a6 pipeline: run mypy %!s(int64=3) %!d(string=hai) anos
setup.py 6bcb9e76e4 drop compatibility with python3.6 %!s(int64=2) %!d(string=hai) anos

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'