skillfed

dlipower

Control digital loggers web power switch

dlipower v1.0.176 232.7K downloads/30d#9,058 on PyPI57
Permissive license BSD DORMANT released

What it is and what it does

dlipower is a Python module for controlling Digital Loggers web-based network power switches—devices that manage electrical outlets remotely over a network. It provides a PowerSwitch class that wraps the device's HTTP API, letting you turn outlets on and off, query their state, and rename them programmatically. The module also includes a command-line script for manual management. It targets legacy hardware: ProSwitch, WebPowerSwitch II through V, and Ethernet Power Controller III.

The package has no external runtime dependencies and works on macOS, Linux, BSD, and Solaris. However, it is dormant—the last release was in 2018 and the repository shows no active development. It is suitable only if you operate legacy Digital Loggers hardware and need Python integration; for newer power management solutions or actively maintained alternatives, look elsewhere.

Use it for:

  • Automate power cycling of lab equipment or servers during testing by scripting outlet control.
  • Build monitoring dashboards that query and display the state of networked power outlets.
  • Integrate outlet management into infrastructure automation workflows for legacy Digital Loggers devices.
  • Rename and manage outlet labels programmatically to keep device configuration in sync with your inventory.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Digital Loggers web-based network power switches through a Python class and command-line interface, allowing remote control of outlet power states and configuration.

Yes, but only if you operate Digital Loggers hardware and need Python control. The package is stable and license-permissive, but dormant since 2018—no active maintenance, high install friction (source distribution only), and uncertain compatibility with modern Python versions. Verify device compatibility and Python version support before committing.

Install

dlipower on PyPI

pip

pip install dlipower

uv

uv add dlipower

poetry

poetry add dlipower

Installing dlipower

Before you install

High install friction due to source distribution only. Maintenance is dormant—last release was in 2018 and last commit in 2024, with no active development signals. Use only if you need to manage legacy Digital Loggers hardware.

License in practice

BSD license is permissive; you can use, modify, and redistribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

import dlipower

switch = dlipower.PowerSwitch(hostname="lpc.digital-loggers.com", userid="admin")
switch.off(1)
print(switch[0].state)

Requires a reachable Digital Loggers power switch device on the network; no runtime dependencies but network connectivity and device availability are prerequisites.

Verify before relying

  • Whether the package works with modern Python versions beyond 3.5, given classifiers list only up to 3.5 but last release was 2018.
  • Current compatibility with Digital Loggers hardware models released after 2018.
  • Whether authentication credentials are transmitted securely or if the device uses unencrypted HTTP.

Package facts

License BSD (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance dormant — 2,981 days since the last release
Last repo commit
First released
Downloads 232,677/month — #9,058 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dlipower-1.0.176.tar.gz

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: POSIXOperating System :: POSIX :: BSD :: FreeBSDOperating System :: POSIX :: LinuxOperating System :: POSIX :: SunOS/SolarisProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Hardware :: Hardware DriversTopic :: System :: Power (UPS)Topic :: System :: Systems AdministrationTopic :: Utilities

Tags

digital loggers power switch controlnetwork power switch managementremote outlet power controlweb power switch pythonDLI power switch APIoutlet on/off automationpower distribution unit control
hardware-controllegacy-devicenetwork-management

More Python Modules packages