Няма описание

dependabot[bot] 9f5b6b6560 build(deps-dev): bump pylint from 2.16.1 to 2.16.2 (#89) преди 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 9f5b6b6560 build(deps-dev): bump pylint from 2.16.1 to 2.16.2 (#89) преди 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'