python-nut - network UPS tools - Python bindings for NUT server

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-nut
Package version: 2.7.2
Package release: 4ubuntu1
Package architecture: all
Package type: deb
Installed size: 159 B
Download size: 43.31 KB
Official Mirror:
Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware. Clients access the hardware through the server, and are notified whenever the power status changes. This package provides Python bindings to connect to NUT server.



    Source package: nut

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-nut deb package:
      # sudo apt-get install python-nut


    • /usr/lib/python2.7/dist-packages/
    • /usr/share/doc/python-nut/AUTHORS.gz
    • /usr/share/doc/python-nut/NEWS.Debian.gz
    • /usr/share/doc/python-nut/NEWS.gz
    • /usr/share/doc/python-nut/README.gz
    • /usr/share/doc/python-nut/TODO.gz
    • /usr/share/doc/python-nut/changelog.Debian.gz
    • /usr/share/doc/python-nut/copyright
    • /usr/share/pyshared/


    2015-12-03 - Louis Bouchard <> nut (2.7.2-4ubuntu1) xenial; urgency=low * Merge with Debian; remaining changes (LP: #1522346) : - debian/control: + remove Build-Depends on libpowerman0-dev + remove nut-powerman-pdu - debian/nut-powerman-pdu.{install,manpages}: dropped for now - debian/{nut-cgi,nut-server}.postinst: add nut to the group unconditonally, for compatibility with UPSes connected by serial port. - debian/, debian/{nut,nut-server,nut-client}.install, debian/rules: Install apport hooks for all top-level nut packages. - Patch libtool.m4 and configure to support ppc64le. - Disable systemd unit; it does not check nut.conf whether nut is configured, and thus fails to start (and the package install). The init.d script works well enough for the time being. - debian/tests/ in the CVE_2012_2944 test, give nut at most + 5 seconds to shut down, instead of expecting it to be shut down immediately after sending the killall. + Additional indication on how to run tests for oneiric, precise to vivid and wily+ - debian/patches/0006-ups-conf-reorder.patch: Move maxretry setting above Examples section. - debian/tests/control : Fix dep8 test failures: + Drop python-unit from dep8 dependencies since the python-test package has now been removed. The unittest module has shipped with Python since 2.1. + Add dep8 test dependency on python, since Python 2 is required and is not necessarily installed by default any more. * Dropped changes: - Fix linking libupsclient : Superseded upstream - debian/patches/backport-fix-lp753661.patch: extraneous end-of-line now fixed differently upstream. - debian/rules: Use udev version for Ubuntu; delta no longer needed as both versions are earlier than the earliest supported udev in Ubuntu. [ Steve Langasek ] * debian/nut-{cgi,server}.postinst: fix 'adduser' logic to be unconditional, since adduser is guaranteed to be idempotent.

    2015-03-20 - Laurent Bigonville <> nut (2.7.2-4) unstable; urgency=medium * Really fix package initial installation when PID1 is systemd (Closes: #747863)

    2015-02-17 - Laurent Bigonville <> nut (2.7.2-3) unstable; urgency=medium * debian/NEWS: Fix NEWS file syntax

    2015-02-17 - Laurent Bigonville <> nut (2.7.2-2) unstable; urgency=medium [ Laurent Bigonville ] * debian/gbp.conf: Switch to debian-jessie branch * debian/rules: Revert the changes made in the previous NMU, I don't think that dropping the .service file that late in the release cycle is a good idea and anyway this was causing left-over files on upgrade. * Add wrappers that check the MODE in /etc/nut/nut.conf to avoid starting the daemons if nut is not configured (Closes: #747863). [ Michael Fincham ] * Add patch that detects and corrects unsafe permissions on ~/.nut-monitor left over from old installations during NUT-Monitor startup. (Closes: #777706)

    2015-01-17 - Neil Williams <> nut (2.7.2-1.1) unstable; urgency=medium * Non-maintainer upload. * Port Ubuntu change to drop upstream systemd unit files to allow sysvinit files for Jessie. (Closes: #747863)