暂无描述

dependabot[bot] 9e04f5e3f0 build(deps-dev): bump wrapt from 1.14.1 to 1.15.0 (#91) 1 年之前
.github cccadb4597 build(deps): bump actions/setup-python from 3 to 4 2 年之前
acpi_backlight f77ef28641 re-format code after upgrade of black to v23.1.0 1 年之前
tests a5525dd265 make module `acpi_backlight.evaluate` private 1 年之前
.gitignore 289980b1a6 pipeline: run mypy 4 年之前
.pylintrc 0f400d406e pylint: enable various optional checks/extensions 2 年之前
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) 1 年之前
LICENSE 80571b57ed init 6 年之前
Pipfile b258a2a893 dev env: add upper version constraint for isort to keep compatibility with python3.7 (has not reached end-of-life yet) 1 年之前
Pipfile.lock 9e04f5e3f0 build(deps-dev): bump wrapt from 1.14.1 to 1.15.0 (#91) 1 年之前
README.md a6257d32af pipeline: check test coverage 4 年之前
mypy.ini 289980b1a6 pipeline: run mypy 4 年之前
setup.py 6bcb9e76e4 drop compatibility with python3.6 2 年之前

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'