PyNUTClient


NamePyNUTClient JSON
Version 2.8.2 PyPI version JSON
download
home_pagehttps://github.com/networkupstools/nut/tree/master/scripts/python/module
SummaryPython client bindings for NUT
upload_time2024-04-01 16:51:46
maintainerNone
docs_urlNone
authorThe Network UPS Tools project
requires_python>=2.6
licenseNone
keywords pypi cicd python nut network ups tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            
Introduction
============

The PyNUT module provides an abstraction class `PyNUTClient` written in
Python, which allows to connect to a NUT (Network UPS Tools) server and
execute different commands without an application developer needing to
know the NUT communication protocol. It also includes a small self-test
application as a consumer of the module.

The project was originally started in 2008 by David Goncalves <david@lestat.st>
at https://www.lestat.st/informatique/projets/pynut and was soon added to
the main NUT codebase and further evolved there.

The `PyNUTClient` class was born from another project the original author
had -- a graphical application to monitor and manage the UPSes connected
to a NUT server. It is now known as `NUT-Monitor` and is also provided
along with NUT sources.

With that GUI application being written in Python too, it was decided
to split the project in two parts (the PyNUT class + GUI application,
serving as model + view) in order to keep the two parts independent.
That class was subsequently renamed to `PyNUTClient` since version 1.1
of the original project, allowing to develop other classes nearby later.

It is published to PyPI repository as
link:https://pypi.org/project/PyNUTClient/[PyNUTClient]
and so should be installable with `pip` tooling.

Currently the module is regularly tested to work with Python interpreter
versions 2.7, 3.4, 3.5 and 3.7.

[NOTE]
======
Text fields returned by methods are byte sequences (not locale-aware
strings), except NUT protocol error codes quoted into `PyNUTError`
exceptions which are decoded into strings as originally `ascii` text.
This is of little concern for Python 2, but is important in Python 3.

The `ups` argument to methods is handled as a string, so conversion may
be needed to compare with names returned in the lists and dictionaries,
e.g.:
----
strUps = bUps.decode('ascii')
bUps = strUps.encode('ascii')
----

Only the names returned by `GetUPSNames()` method specifically are
converted into string type.

Since Python 3 support was added just recently, module code may later be
converted to use string types like `str` or `unicode` in the returned
dictionaries and sets instead, if the community deems this to be more
idiomatic.

Examples below *do not* specify the `b'some text'` markup that would be
pedantically correct (for Python 3 at least).
======

.List of methods in the class
------
class PyNUTClient :
  def __init__( self, host='127.0.0.1', port=3493,
    login=None, password=None, debug=False, timeout=5 ) :

  def help( self ) :

  def ver( self ) :

  def DeviceLogin( self, ups="" ) :

  def FSD( self, ups="" ) :

  def CheckUPSAvailable( self, ups="" ) :

  def GetRWVars( self, ups='' ) :

  def GetUPSCommands( self, ups='' ) :

  def GetUPSList( self ) :

  def GetUPSNames( self ) :

  def GetUPSVars( self, ups='' ) :

  def ListClients( self, ups = None ) :

  def RunUPSCommand( self, ups='', command='' ) :

  def SetRWVar( self, ups='', var='', value='' ) :
------

The module also provides the `PyNUTError` class to represent any exceptions
raised by `PyNUTClient` logic.

Documentation
-------------

Although the original project was written in French, for the reasons of general
distribution with NUT, all of its code is commented in English. While this file
contains the description from https://www.lestat.st/informatique/projets/pynut
the class `PyNUTClient` is compatible with the Python module PyDOC, so you can
type `pydoc PyNUT` to obtain succinct documentation on your current version of
the module.

For more examples see the provided test script and the NUT-Monitor application
in the NUT sources.

Commands below are listed in alphabetic order.

__init__
~~~~~~~~

When you initialize the class instance, it performs the connection to the NUT
data server or raises a Python exception from the `__connect()` method called
internally.


help
~~~~

Sends the `HELP` command to the NUT data server and returns whatever bits of
wisdom it has to offer.


ver
~~~

Sends the `VER` command to the NUT data server and returns its self-reported
identification such as version, product or distribution it may be bundled with.

Note that the NUT client interactions should not rely on reported versions,
but follow the protocol as defined.


DeviceLogin
~~~~~~~~~~~

Establish a "client" session with the specified UPS. This uses credentials
specified earlier to `__init__()` this class instance, and on server side
(in `upsd.users` file) these credentials must have one of `upsmon` roles.

The command should return `OK` if everything went well, or raise an exception
in case of failure, such as invalid or insufficiently privileged credentials.

Note there is no `DeviceLogout()`, just the general connection termination.


FSD
~~~

Send the FSD (Forced ShutDown) command to the specified UPS.

The command should return `OK` if everything went well, or raise an exception
in case of failure, such as that this server does not allow to manage that UPS
as a "primary" (or "master" before NUT 2.8.0).


CheckUPSAvailable
~~~~~~~~~~~~~~~~~

Returns a boolean state whether the specified UPS is recognized and available
(`True`), or is not (`False`).

Internally, requests a listing of commands supported by the device name, and
evaluates the server response.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )
    result = ups.CheckUPSAvailable( ups='ups1' )
    print( result )

    >> True
-----

See also: `GetUPSCommands()`


GetRWVars
~~~~~~~~~

Returns a list of modifiable variables on the specified UPS, as a dictionary
of "variable"-"current value" pairs.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )
    result = ups.GetRWVars( ups='ups1' )
    print( result )

    >> {'battery.date': '10/25/07', 'ups.id': 'test'}
-----

See also: `GetUPSVars()`, `SetRWVar()`


GetUPSCommands
~~~~~~~~~~~~~~

Returns a list of commands supported by the specified UPS.

Note that certain commands are not usable without first getting necessary
rights on the NUT data server.

The result is presented as a dictionary of "command"-"English description"
pairs.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )
    result = ups.GetRWVars( ups='ups1' )
    print( result )

    >> {'test.battery.start' : 'Start a battery test',
        'calibrate.stop'     : 'Stop run time calibration',
        'shutdown.stayoff'   : 'Turn off the load and remain off',
        'test.battery.stop'  : 'Stop the battery test',
        'test.panel.start'   : 'Start testing the UPS panel',
        'calibrate.start'    : 'Start run time calibration',
        'load.off'           : 'Turn off the load immediately',
        'test.failure.start' : 'Start a simulated power failure',
        'shutdown.return'    : 'Turn off the load and return when power is back'}
-----

See also: `RunUPSCommand()`


GetUPSList
~~~~~~~~~~

Returns the list of UPSes represented by the NUT server, as a dictionary of
"name"-"description" pairs.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )
    result = ups.GetUPSList()
    print( result )

    >> {'UPS1': 'Smart UPS 3000 File server',
        'UPS2': 'Smart UPS 1000 Serveur de mail'}
-----


GetUPSNames
~~~~~~~~~~~

Returns just the list of available UPS names from the NUT server.

The result is a set of `str` objects (comparable with `ups="somename"` and
useful as arguments to other methods). Helps work around Python2/Python3
string API changes (where `b'string' != 'string'` and not even a type
comparable to it), and is primarily used as a helper internally in some
methods.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )
    result = ups.GetUPSNames()
    print( result )

    >> ['UPS1', 'UPS2']
-----


GetUPSVars
~~~~~~~~~~

Returns a list of all variables on the specified UPS, as a dictionary
of "variable"-"current value" pairs.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )
    result = ups.GetUPSVars( ups='UPS1' )
    print( result )

    >> {'input.transfer.high'           : '253',
        'battery.charge'                : '100.0',
        'ups.mfr'                       : 'APC',
        'battery.voltage.nominal'       : '024',
        'input.transfer.reason'         : 'S',
        'ups.test.interval'             : '1209600',
        'input.transfer.low'            : '208',
        'output.voltage'                : '234.0',
        'driver.version'                : '2.2.1-',
        'battery.charge.restart'        : '00',
        'ups.id'                        : 'test',
        'driver.parameter.pollinterval' : '2',
        'driver.parameter.port'         : '/dev/ttyS0',
        'battery.voltage'               : '27.10',
        'ups.test.result'               : 'NO',
        'ups.status'                    : 'OL',
        'battery.date'                  : '10/25/07',
        'ups.model'                     : 'Smart-UPS SC1000',
        'ups.serial'                    : 'XXXXXXXXXXXX',
        'output.voltage.nominal'        : '230',
        'ups.mfr.date'                  : '10/25/07',
        'driver.version.internal'       : '1.99.8',
        'input.voltage'                 : '234.0',
        'battery.runtime.low'           : '120',
        'input.sensitivity'             : 'H',
        'ups.load'                      : '001.9',
        'driver.name'                   : 'apcsmart',
        'input.voltage.maximum'         : '234.0',
        'input.frequency'               : '50.00',
        'ups.delay.shutdown'            : '060',
        'ups.delay.start'               : '000',
        'input.voltage.minimum'         : '232.0',
        'input.quality'                 : 'FF',
        'battery.runtime'               : '29040',
        'ups.firmware'                  : '737.3.I',
        'battery.alarm.threshold'       : '0'}
-----

See also: `GetRWVars()`


ListClients
~~~~~~~~~~~

Returns the list of connected clients (such as the `NUT-Monitor` application
or an `upsmon` service) from the NUT server, for a particular UPS or all of
them by default.

The result is a dictionary containing "upsname"-"client list" pairing 'UPSName'
and a list of clients for each device if the information was retrieved from
the NUT data server successfully, or an exception is raised otherwise.


RunUPSCommand
~~~~~~~~~~~~~

Executes the specified command on the specified UPS. It should be one of the
commands returned by the `GetUPSCommands()` function.

Note that certain commands are not usable without first getting necessary
rights on the NUT data server.

The command should return `OK` if everything went well, or raise an exception
in case of failure.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )
    result = ups.RunUPSCommand( ups='UPS1', command='test.panel.start' )
    print( result )

    >> OK
-----

See also: `GetUPSCommands()`


SetRWVar
~~~~~~~~

This method adjusts the value of a writable NUT variable on the specified UPS.
It should be one of the variables listed by the `GetRWVars()` method.

Note that you may need to first get necessary rights on the NUT data server.

The command should return `OK` if everything went well, or raise an exception
in case of failure.

.Example
-----
    import PyNUT

    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )
    result = ups.SetRWVar( ups='UPS1', var='battery.date', value='06/17/08' )
    print( result )

    >> OK
-----

See also: `GetRWVars()`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/networkupstools/nut/tree/master/scripts/python/module",
    "name": "PyNUTClient",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=2.6",
    "maintainer_email": null,
    "keywords": "pypi, cicd, python, nut, Network UPS Tools",
    "author": "The Network UPS Tools project",
    "author_email": "jimklimov+nut@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/23/f4/3f73f2c094fc7bb4aadb6fb987f43cd578e424edcede27ea6c3686e3d1b3/PyNUTClient-2.8.2.tar.gz",
    "platform": null,
    "description": "\nIntroduction\n============\n\nThe PyNUT module provides an abstraction class `PyNUTClient` written in\nPython, which allows to connect to a NUT (Network UPS Tools) server and\nexecute different commands without an application developer needing to\nknow the NUT communication protocol. It also includes a small self-test\napplication as a consumer of the module.\n\nThe project was originally started in 2008 by David Goncalves <david@lestat.st>\nat https://www.lestat.st/informatique/projets/pynut and was soon added to\nthe main NUT codebase and further evolved there.\n\nThe `PyNUTClient` class was born from another project the original author\nhad -- a graphical application to monitor and manage the UPSes connected\nto a NUT server. It is now known as `NUT-Monitor` and is also provided\nalong with NUT sources.\n\nWith that GUI application being written in Python too, it was decided\nto split the project in two parts (the PyNUT class + GUI application,\nserving as model + view) in order to keep the two parts independent.\nThat class was subsequently renamed to `PyNUTClient` since version 1.1\nof the original project, allowing to develop other classes nearby later.\n\nIt is published to PyPI repository as\nlink:https://pypi.org/project/PyNUTClient/[PyNUTClient]\nand so should be installable with `pip` tooling.\n\nCurrently the module is regularly tested to work with Python interpreter\nversions 2.7, 3.4, 3.5 and 3.7.\n\n[NOTE]\n======\nText fields returned by methods are byte sequences (not locale-aware\nstrings), except NUT protocol error codes quoted into `PyNUTError`\nexceptions which are decoded into strings as originally `ascii` text.\nThis is of little concern for Python 2, but is important in Python 3.\n\nThe `ups` argument to methods is handled as a string, so conversion may\nbe needed to compare with names returned in the lists and dictionaries,\ne.g.:\n----\nstrUps = bUps.decode('ascii')\nbUps = strUps.encode('ascii')\n----\n\nOnly the names returned by `GetUPSNames()` method specifically are\nconverted into string type.\n\nSince Python 3 support was added just recently, module code may later be\nconverted to use string types like `str` or `unicode` in the returned\ndictionaries and sets instead, if the community deems this to be more\nidiomatic.\n\nExamples below *do not* specify the `b'some text'` markup that would be\npedantically correct (for Python 3 at least).\n======\n\n.List of methods in the class\n------\nclass PyNUTClient :\n  def __init__( self, host='127.0.0.1', port=3493,\n    login=None, password=None, debug=False, timeout=5 ) :\n\n  def help( self ) :\n\n  def ver( self ) :\n\n  def DeviceLogin( self, ups=\"\" ) :\n\n  def FSD( self, ups=\"\" ) :\n\n  def CheckUPSAvailable( self, ups=\"\" ) :\n\n  def GetRWVars( self, ups='' ) :\n\n  def GetUPSCommands( self, ups='' ) :\n\n  def GetUPSList( self ) :\n\n  def GetUPSNames( self ) :\n\n  def GetUPSVars( self, ups='' ) :\n\n  def ListClients( self, ups = None ) :\n\n  def RunUPSCommand( self, ups='', command='' ) :\n\n  def SetRWVar( self, ups='', var='', value='' ) :\n------\n\nThe module also provides the `PyNUTError` class to represent any exceptions\nraised by `PyNUTClient` logic.\n\nDocumentation\n-------------\n\nAlthough the original project was written in French, for the reasons of general\ndistribution with NUT, all of its code is commented in English. While this file\ncontains the description from https://www.lestat.st/informatique/projets/pynut\nthe class `PyNUTClient` is compatible with the Python module PyDOC, so you can\ntype `pydoc PyNUT` to obtain succinct documentation on your current version of\nthe module.\n\nFor more examples see the provided test script and the NUT-Monitor application\nin the NUT sources.\n\nCommands below are listed in alphabetic order.\n\n__init__\n~~~~~~~~\n\nWhen you initialize the class instance, it performs the connection to the NUT\ndata server or raises a Python exception from the `__connect()` method called\ninternally.\n\n\nhelp\n~~~~\n\nSends the `HELP` command to the NUT data server and returns whatever bits of\nwisdom it has to offer.\n\n\nver\n~~~\n\nSends the `VER` command to the NUT data server and returns its self-reported\nidentification such as version, product or distribution it may be bundled with.\n\nNote that the NUT client interactions should not rely on reported versions,\nbut follow the protocol as defined.\n\n\nDeviceLogin\n~~~~~~~~~~~\n\nEstablish a \"client\" session with the specified UPS. This uses credentials\nspecified earlier to `__init__()` this class instance, and on server side\n(in `upsd.users` file) these credentials must have one of `upsmon` roles.\n\nThe command should return `OK` if everything went well, or raise an exception\nin case of failure, such as invalid or insufficiently privileged credentials.\n\nNote there is no `DeviceLogout()`, just the general connection termination.\n\n\nFSD\n~~~\n\nSend the FSD (Forced ShutDown) command to the specified UPS.\n\nThe command should return `OK` if everything went well, or raise an exception\nin case of failure, such as that this server does not allow to manage that UPS\nas a \"primary\" (or \"master\" before NUT 2.8.0).\n\n\nCheckUPSAvailable\n~~~~~~~~~~~~~~~~~\n\nReturns a boolean state whether the specified UPS is recognized and available\n(`True`), or is not (`False`).\n\nInternally, requests a listing of commands supported by the device name, and\nevaluates the server response.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )\n    result = ups.CheckUPSAvailable( ups='ups1' )\n    print( result )\n\n    >> True\n-----\n\nSee also: `GetUPSCommands()`\n\n\nGetRWVars\n~~~~~~~~~\n\nReturns a list of modifiable variables on the specified UPS, as a dictionary\nof \"variable\"-\"current value\" pairs.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )\n    result = ups.GetRWVars( ups='ups1' )\n    print( result )\n\n    >> {'battery.date': '10/25/07', 'ups.id': 'test'}\n-----\n\nSee also: `GetUPSVars()`, `SetRWVar()`\n\n\nGetUPSCommands\n~~~~~~~~~~~~~~\n\nReturns a list of commands supported by the specified UPS.\n\nNote that certain commands are not usable without first getting necessary\nrights on the NUT data server.\n\nThe result is presented as a dictionary of \"command\"-\"English description\"\npairs.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )\n    result = ups.GetRWVars( ups='ups1' )\n    print( result )\n\n    >> {'test.battery.start' : 'Start a battery test',\n        'calibrate.stop'     : 'Stop run time calibration',\n        'shutdown.stayoff'   : 'Turn off the load and remain off',\n        'test.battery.stop'  : 'Stop the battery test',\n        'test.panel.start'   : 'Start testing the UPS panel',\n        'calibrate.start'    : 'Start run time calibration',\n        'load.off'           : 'Turn off the load immediately',\n        'test.failure.start' : 'Start a simulated power failure',\n        'shutdown.return'    : 'Turn off the load and return when power is back'}\n-----\n\nSee also: `RunUPSCommand()`\n\n\nGetUPSList\n~~~~~~~~~~\n\nReturns the list of UPSes represented by the NUT server, as a dictionary of\n\"name\"-\"description\" pairs.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='server', login='upsadmin', password='upspass' )\n    result = ups.GetUPSList()\n    print( result )\n\n    >> {'UPS1': 'Smart UPS 3000 File server',\n        'UPS2': 'Smart UPS 1000 Serveur de mail'}\n-----\n\n\nGetUPSNames\n~~~~~~~~~~~\n\nReturns just the list of available UPS names from the NUT server.\n\nThe result is a set of `str` objects (comparable with `ups=\"somename\"` and\nuseful as arguments to other methods). Helps work around Python2/Python3\nstring API changes (where `b'string' != 'string'` and not even a type\ncomparable to it), and is primarily used as a helper internally in some\nmethods.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )\n    result = ups.GetUPSNames()\n    print( result )\n\n    >> ['UPS1', 'UPS2']\n-----\n\n\nGetUPSVars\n~~~~~~~~~~\n\nReturns a list of all variables on the specified UPS, as a dictionary\nof \"variable\"-\"current value\" pairs.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )\n    result = ups.GetUPSVars( ups='UPS1' )\n    print( result )\n\n    >> {'input.transfer.high'           : '253',\n        'battery.charge'                : '100.0',\n        'ups.mfr'                       : 'APC',\n        'battery.voltage.nominal'       : '024',\n        'input.transfer.reason'         : 'S',\n        'ups.test.interval'             : '1209600',\n        'input.transfer.low'            : '208',\n        'output.voltage'                : '234.0',\n        'driver.version'                : '2.2.1-',\n        'battery.charge.restart'        : '00',\n        'ups.id'                        : 'test',\n        'driver.parameter.pollinterval' : '2',\n        'driver.parameter.port'         : '/dev/ttyS0',\n        'battery.voltage'               : '27.10',\n        'ups.test.result'               : 'NO',\n        'ups.status'                    : 'OL',\n        'battery.date'                  : '10/25/07',\n        'ups.model'                     : 'Smart-UPS SC1000',\n        'ups.serial'                    : 'XXXXXXXXXXXX',\n        'output.voltage.nominal'        : '230',\n        'ups.mfr.date'                  : '10/25/07',\n        'driver.version.internal'       : '1.99.8',\n        'input.voltage'                 : '234.0',\n        'battery.runtime.low'           : '120',\n        'input.sensitivity'             : 'H',\n        'ups.load'                      : '001.9',\n        'driver.name'                   : 'apcsmart',\n        'input.voltage.maximum'         : '234.0',\n        'input.frequency'               : '50.00',\n        'ups.delay.shutdown'            : '060',\n        'ups.delay.start'               : '000',\n        'input.voltage.minimum'         : '232.0',\n        'input.quality'                 : 'FF',\n        'battery.runtime'               : '29040',\n        'ups.firmware'                  : '737.3.I',\n        'battery.alarm.threshold'       : '0'}\n-----\n\nSee also: `GetRWVars()`\n\n\nListClients\n~~~~~~~~~~~\n\nReturns the list of connected clients (such as the `NUT-Monitor` application\nor an `upsmon` service) from the NUT server, for a particular UPS or all of\nthem by default.\n\nThe result is a dictionary containing \"upsname\"-\"client list\" pairing 'UPSName'\nand a list of clients for each device if the information was retrieved from\nthe NUT data server successfully, or an exception is raised otherwise.\n\n\nRunUPSCommand\n~~~~~~~~~~~~~\n\nExecutes the specified command on the specified UPS. It should be one of the\ncommands returned by the `GetUPSCommands()` function.\n\nNote that certain commands are not usable without first getting necessary\nrights on the NUT data server.\n\nThe command should return `OK` if everything went well, or raise an exception\nin case of failure.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )\n    result = ups.RunUPSCommand( ups='UPS1', command='test.panel.start' )\n    print( result )\n\n    >> OK\n-----\n\nSee also: `GetUPSCommands()`\n\n\nSetRWVar\n~~~~~~~~\n\nThis method adjusts the value of a writable NUT variable on the specified UPS.\nIt should be one of the variables listed by the `GetRWVars()` method.\n\nNote that you may need to first get necessary rights on the NUT data server.\n\nThe command should return `OK` if everything went well, or raise an exception\nin case of failure.\n\n.Example\n-----\n    import PyNUT\n\n    ups    = PyNUT.PyNUTClient( host='Serveur', login='upsadmin', password='upspass' )\n    result = ups.SetRWVar( ups='UPS1', var='battery.date', value='06/17/08' )\n    print( result )\n\n    >> OK\n-----\n\nSee also: `GetRWVars()`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python client bindings for NUT",
    "version": "2.8.2",
    "project_urls": {
        "Homepage": "https://github.com/networkupstools/nut/tree/master/scripts/python/module"
    },
    "split_keywords": [
        "pypi",
        " cicd",
        " python",
        " nut",
        " network ups tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6e9a1f764993ec03ccd3a94e2902e95c3fbf93bb33ce9aa1d1e4b24569df106",
                "md5": "cf85a7dd04072972165b68fe83fd3c26",
                "sha256": "22f602b477f953a818caaa65b52626056a95abfd6dbf14d05c8bbad9eb96d714"
            },
            "downloads": -1,
            "filename": "PyNUTClient-2.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf85a7dd04072972165b68fe83fd3c26",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=2.6",
            "size": 24293,
            "upload_time": "2024-04-01T16:51:45",
            "upload_time_iso_8601": "2024-04-01T16:51:45.140367Z",
            "url": "https://files.pythonhosted.org/packages/b6/e9/a1f764993ec03ccd3a94e2902e95c3fbf93bb33ce9aa1d1e4b24569df106/PyNUTClient-2.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23f43f73f2c094fc7bb4aadb6fb987f43cd578e424edcede27ea6c3686e3d1b3",
                "md5": "7c44aabe939fd2420609b3741850ccdd",
                "sha256": "b32af28ac141bb1d05a97814ab22b1dc90f2e55a73657f99c5126384ca2df85a"
            },
            "downloads": -1,
            "filename": "PyNUTClient-2.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7c44aabe939fd2420609b3741850ccdd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.6",
            "size": 27605,
            "upload_time": "2024-04-01T16:51:46",
            "upload_time_iso_8601": "2024-04-01T16:51:46.747477Z",
            "url": "https://files.pythonhosted.org/packages/23/f4/3f73f2c094fc7bb4aadb6fb987f43cd578e424edcede27ea6c3686e3d1b3/PyNUTClient-2.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 16:51:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "networkupstools",
    "github_project": "nut",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "circle": true,
    "appveyor": true,
    "lcname": "pynutclient"
}
        
Elapsed time: 0.40050s