APC Switched Rack PDU Control Panel
A Python/Flask based reimplementation of disisto's Control Panel to control multiple APC Switched Rack PDUs via SNMPv3. A single panel to switch (on, off, restart) the attached devices between different states.
Check https://github.com/disisto/apc-switched-rack-pdu-control-panel/wiki for details on how to configure the PDU
Requirements
- APC Switched Rack PDU(s) with enabled SNMPv3
Quick Install
Run locally
pip install apc_switched_rack_pdu_control_panel
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
APC_PDU_SETTINGS=/absolute/path/to/config.py flask --app apc_switched_rack_pdu_control_panel run
Run as WSGI app
pip install apc_switched_rack_pdu_control_panel
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
APC_PDU_SETTINGS=/absolute/path/to/config.py gunicorn 'apc_switched_rack_pdu_control_panel:app'
Supplying configuration data via flask instance folder
Alternatively, loading configuration settings from a flask instance folder is supported as well:
mkdir -p $PREFIX/var/apc_switched_rack_pdu_control_panel-instance
cd $PREFIX/var/apc_switched_rack_pdu_control_panel-instance
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
In an activated virtualenv $PREFIX is equivalent to $VIRTUAL_ENV.
Configuration settings supplied via an instance folder always take precedence over configuration data supplied via the APC_PDU_SETTINGS environment variable.
This project is not affiliated with APC by Schneider Electric.
All mentioned trademarks are the property of their respective owners.
Metadata
Release files for apc-switched-rack-pdu-control-panel 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apc_switched_rack_pdu_control_panel-0.2.4.tar.gz | 79.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apc_switched_rack_pdu_control_panel-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 157.9 kB
Release files / apc_switched_rack_pdu_control_panel-0.2.4.tar.gz
| Download URL | apc_switched_rack_pdu_control_panel-0.2.4.tar.gz |
|---|---|
| Size | 79.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d514fd827a8fc2ca62b8d5925e130ec8d60b757b437f18553ec2f05be785d988
|
|
BLAKE2b-256 checksum How to use checksums |
db021ffc0c7b5077d97f49e2b42fb582754b69b85e585116b6ea2ddca8907d2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / apc_switched_rack_pdu_control_panel-0.2.4-py3-none-any.whl
| Download URL | apc_switched_rack_pdu_control_panel-0.2.4-py3-none-any.whl |
|---|---|
| Size | 78.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a49691c9a35b2a380178b2bf7ede11b23d5705a41f811a5130660302baff36e0
|
|
BLAKE2b-256 checksum How to use checksums |
b3f824e427a6978c8630ee0363a6272132a6833628322a829bd2f12874940501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|