Skip to main content

pductl - Control outlets of ATEN PE PDUs

Installation

pip install atenpdu

Example configuration [~/.pductl]

{
  "format": 1,
  "pdus": {
    "pdu1": {
      "node": "pdu1",
      "service": "snmp",
      "username": "administrator",
      "authkey": "AAAAAAAAAAAAAA",
      "privkey": "BBBBBBBBBBBBBB"
    },
    "pdu2": {
      "authkey": "CCCCCCCCCCCCCC",
      "privkey": "DDDDDDDDDDDDDD"
    },
    "pdu3": {
      "node": "192.168.21.19",
      "service": "16161",
      "username": "joe",
      "authkey": "EEEEEEEEEEEEEE",
      "privkey": "FFFFFFFFFFFFFF"
    },
    "pdu4": {
      "community": "private"
    },
    "pdu5": {
    }
  }
}
  • authkey and privkey are required for SNMPv3. On absence, SNMPv2c gets used.
  • community defaults to private for SNMPv2c.
  • node defaults to PDU entry's name.
  • service defaults to snmp, i.e. port 161.
  • username defaults to administrator for SNMPv3.

Usage

pductl [-p <PDU>] list
pductl [-p <PDU>] <on|off|reboot|status> <OUTLET> [<OUTLET> ...]

Use ALL to select all outlets.

Metadata

Release files for atenpdu 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atenpdu 0.8.0
File Size Uploaded Provenance
atenpdu-0.8.0.tar.gz 24.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for atenpdu 0.8.0
File Interpreter ABI Platform
atenpdu-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 50.8 kB

Release files / atenpdu-0.8.0.tar.gz

Download URL atenpdu-0.8.0.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cd542631d597d2b3c0ae6e6ebd2b006ef8a8abf52266ac636465b60d35473418
BLAKE2b-256 checksum
How to use checksums
d78a1d690388acd7b15f7e1990147f8120eb19486e75955c7ac558954dd35e80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.2 Linux/6.19.5-1.qubes.fc37.x86_64

Release files / atenpdu-0.8.0-py3-none-any.whl

Download URL atenpdu-0.8.0-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71d0699e1c0c487f643934ef206a2fb0471dda03d2fe890be75478bd36add76c
BLAKE2b-256 checksum
How to use checksums
52c86403636df88df3d0081ed77fcbfbe937e6e93565ed550d16ec38cab1126d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.2 Linux/6.19.5-1.qubes.fc37.x86_64

Security for atenpdu 0.8.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page