Module for managing power (Raritan, APC, Digital Loggers, ipmi, etc.)
Project description
[!IMPORTANT] This project is under development. All source code and features on the main branch are for the purpose of testing or evaluation and not production ready.
PowerManagement
Module for managing power (Raritan, APC, Digital Loggers, ipmi, etc. [powercycle, power off, reset])
How to use
Install module and from module import eg.Ipmi
Initialization:
PowerManagement(connection, host, ip, username, password)
host and ip can be used interchangeably.
connection is an object from mfd_connect and is used for remote execution
Attributes:
States - enums are defined for every tool, so IpmiStates
Implemented tools:
Ipmi - implemented controlling via IPMITool and IPMIUtil
PDU - controlling power switch devices via SNMP
DLI - controlling Digital Loggers power switch devices
CCSG - controlling power switch devices via CCSG
SYSTEM - controlling power via system calls
Implemented methods
Every class that inherits from PowerManagement (IPMI, PDU, CCSG) overrides this abstract method:
set_state(**kwargs) -> bool - setting wanted state from available states
Methods are described for each implemented tool individually in theirs README.
OS supported:
- WINDOWS
- LNX
- FREEBSD
- ESXI
Issue reporting
If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mfd_powermanagement-1.12.1-py3-none-any.whl.
File metadata
- Download URL: mfd_powermanagement-1.12.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ed21a0e288d64faa206759e7be111948554d95738d7e7b8c428af0fa5c78524
|
|
| MD5 |
c11e1cb16e53a1c82d8e2084694b4061
|
|
| BLAKE2b-256 |
aed6f6df7e074c867ac3cf6b25932528238dd780b29432cc1f719929bb231e8e
|