Requirements
- A yoctopuce light sensor (https://www.yoctopuce.com)
- ddcutil
Setup
A udev rule is likely required to allow the tool to run as non-root. The
following can be added as the file /etc/udev/rules.d/50-yoctopuce.rules:
# udev rules to allow write access to all users for Yoctopuce USB devices
SUBSYSTEM=="usb", ATTR{idVendor}=="24e0", MODE="0666"
Additionally, udev rules must be configured for ddcutil to operate without root permissions:
https://www.ddcutil.com/i2c_permissions/
Then a daemon should be setup:
ddcrelight.service:
[Unit]
Description=Update monitor brightness intelligently using light sensors.
[Service]
ExecStart=<path-to-script>/ddcrelight daemon
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target
Metadata
Release files for ddcrelight 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ddcrelight-0.0.1.tar.gz | 17.9 kB | Without provenance | Details for ddcrelight-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ddcrelight-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for ddcrelight-0.0.1-py3-none-any.whl |
Total release size: 39.1 kB
Release files / ddcrelight-0.0.1.tar.gz
| Download URL | ddcrelight-0.0.1.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70375935e082632618166ee2fd4a9a2f1c2097d060d65a371d52fdb7f566acfb
|
|
BLAKE2b-256 checksum How to use checksums |
bd284f7ab62feff559d14c2d8e1a7510959980b1f3f9bbaffeeefca9ecc8a72d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6
|
Release files / ddcrelight-0.0.1-py3-none-any.whl
| Download URL | ddcrelight-0.0.1-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4d63f9cf92deb98012cdc16d58326a35833d679c3b5d5dbc091db77431fce57
|
|
BLAKE2b-256 checksum How to use checksums |
73a181c914f8cebd095ce99ae868cdadc2ce938bf7a2da38520379afc78acebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6
|
Security for ddcrelight 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.