py3status-ups-battery-status
Python module for py3status to monitor my UPS battery status
Screenshot
Installation
With Pip
pip install py3status-ups-battery-status
From Git
git clone https://github.com/mcgillij/py3status-ups-battery-status.git
mkdir -p ~/.i3/py3status && cd ~/.i3/py3status
ln -s <PATH_TO_CLONED_REPO>/src/py3status-ups-battery-status/ups-battery-status.py ./
Installing with yay
yay -S py3status-ups-battery-status
Building From AUR (Arch)
git clone https://aur.archlinux.org/py3status-ups-battery-status.git
cd py3status-ups-battery-status
makechrootpkg -c -r $HOME/$CHROOT
Installing Arch package
sudo pacman -U --asdeps py3status-ups-battery-status-*-any.pkg.tar.zst
Dependencies
This module depends on the Network UPS Tools(nut) package. And having already configured your battery with it. It assumes that you've named your battery battery. If you've named it something else you can change it in the module itself.
Dependency installation on Arch:
pacman -S nut
Dependency installation on Debian:
apt install nut
Usage
Add the module to your list of configured py3status modules
~/.config/i3status.conf
...
order += "arch_updates"
order += "volume_status"
order += "ups_battery_status"
...
And then just restart your i3 session.
Metadata
Release files for py3status-ups-battery-status 0.1.3
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 |
|---|---|---|---|---|
| py3status-ups-battery-status-0.1.3.tar.gz | 3.6 kB | Without provenance | Details for py3status-ups-battery-status-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py3status_ups_battery_status-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for py3status_ups_battery_status-0.1.3-py3-none-any.whl |
Total release size: 8.3 kB
Release files / py3status-ups-battery-status-0.1.3.tar.gz
| Download URL | py3status-ups-battery-status-0.1.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e71368f84c355156d2aaf75d18bdb9fdab6f2a33ce703234ed329a8092ecde64
|
|
BLAKE2b-256 checksum How to use checksums |
0149e2d135aaa6f716229bff1c37204775c8f9a4da9dd9ca90389f9cd257e287
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.15.7-zen1-1-zen
|
Release files / py3status_ups_battery_status-0.1.3-py3-none-any.whl
| Download URL | py3status_ups_battery_status-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0a7fda907ad63f4d5b6e1b52025ff3c264c1bbf59c18bcc05e890a008b27ede
|
|
BLAKE2b-256 checksum How to use checksums |
c7f739d1fcab14da9f1c0072280f2ee3ddbce02c7e909b5849b87c373d93a8c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.15.7-zen1-1-zen
|
Security for py3status-ups-battery-status 0.1.3
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.