{ "info": { "author": "Ryan Shipp", "author_email": "python@rshipp.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: System :: Power (UPS)", "Topic :: System :: Systems Administration" ], "description": "nut2\n====\n\n.. image:: https://travis-ci.org/rshipp/python-nut2.svg?branch=master\n :target: https://travis-ci.org/rshipp/python-nut2\n :alt: Build Status\n.. image:: https://coveralls.io/repos/rshipp/python-nut2/badge.png?branch=master\n :target: https://coveralls.io/r/rshipp/python-nut2?branch=master\n :alt: Test Coverage\n.. image:: https://api.codacy.com/project/badge/Grade/741acf61ed264ba3aac7dcf33c55a40f\n :target: https://www.codacy.com/app/rshipp/python-nut2\n :alt: Code Health\n.. image:: http://img.shields.io/pypi/v/nut2.svg\n :target: https://pypi.python.org/pypi/nut2\n :alt: PyPi Version\n\nThis is an API overhaul of PyNUT_, a Python library to allow communication with NUT\n(`Network UPS Tools`_) servers.\n\n**Note**: This is an unofficial project, and is in no way supported or\nendorsed by the `Network UPS Tools developers`_.\n\nRequirements\n------------\n\nThe module itself requires only Python (known to work with versions 2.6 through\n3.4). If you wish to run the tests, do ``pip install -r requirements-testing.txt``.\n\nUsage\n-----\n\nExample::\n\n from nut2 import PyNUTClient\n client = PyNUTClient()\n client.help()\n client.list_ups()\n client.list_vars(\"My_UPS\")\n\nPlease note that this module has completely and intentionally broken\nbackwards compatibility with PyNUT 1.X.\n\nSee inline documentation for more usage information.\n\nInstallation\n------------\n\nJust use pip::\n\n pip install nut2\n\nPyNUT\n-----\n\nThe following information is copied from the original PyNUT README:\n\n This directory contains various NUT Client related Python scripts, written by\n David Goncalves, and released under GPL v3.\n\n * \"module\": this directory contains PyNUT.py, which is a Python abstraction\n class to access NUT server(s). You can use it in Python programs to access NUT's\n upsd data server in a simple way, without having to know the NUT protocol.\n\n To import it on Python programs you have to use the following (case sensitive) :\n 'import PyNUT'\n\n This module provides a 'PyNUTClient' class that can be used to connect and get\n data from an upsd data server.\n\n To install the PyNUT module on Debian/Ubuntu, copy it to:\n /usr/share/python-support/python-pynut/\n\n This directory also contains test_nutclient.py, which is a PyNUT test program.\n For this to be fully functional, you will need to adapt the login, password and\n upsname to fit your configuration.\n\n\n.. _PyNUT: https://github.com/networkupstools/nut/tree/master/scripts/python\n.. _Network UPS Tools: http://www.networkupstools.org/\n.. _Network UPS Tools developers: https://github.com/networkupstools", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rshipp/python-nut2", "keywords": "", "license": "GPL3", "maintainer": "", "maintainer_email": "", "name": "nut2", "package_url": "https://pypi.org/project/nut2/", "platform": "", "project_url": "https://pypi.org/project/nut2/", "project_urls": { "Homepage": "https://github.com/rshipp/python-nut2" }, "release_url": "https://pypi.org/project/nut2/2.1.1/", "requires_dist": null, "requires_python": "", "summary": "A Python abstraction class to access NUT servers.", "version": "2.1.1" }, "last_serial": 5166479, "releases": { "2.1.0": [ { "comment_text": "", "digests": { "md5": "9458272c4d19e6c2eb4df6355ea014ec", "sha256": "694faf5d933f92a13e078efb8bee6a6fe876a884b13a2528ccfdbf282aa77b26" }, "downloads": -1, "filename": "nut2-2.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "9458272c4d19e6c2eb4df6355ea014ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5881, "upload_time": "2018-04-04T00:39:17", "url": "https://files.pythonhosted.org/packages/41/6e/63e6e419b06e9dbd089713d3648d36956956d64159a0a609f3fc6cd6744f/nut2-2.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75be82e9eddc07520b1804147c1d8b47", "sha256": "40e1de06f88527e6e23c6fefed2711857e56c2972110e57b84d4ec8095a80640" }, "downloads": -1, "filename": "nut2-2.1.0.tar.gz", "has_sig": true, "md5_digest": "75be82e9eddc07520b1804147c1d8b47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19033, "upload_time": "2018-04-04T00:39:18", "url": "https://files.pythonhosted.org/packages/28/81/b3a76b0ceeaba186ebfd6fb8777b18fdca10ecb55ac6fae81f6939a0f0ea/nut2-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "fc7006eb15eabd353564fac89b6aaab4", "sha256": "2166e827cec2a42cab89e9616407358698ad8b258a1f515fedc5a106ffc1f092" }, "downloads": -1, "filename": "nut2-2.1.1.tar.gz", "has_sig": true, "md5_digest": "fc7006eb15eabd353564fac89b6aaab4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19079, "upload_time": "2019-04-19T23:45:34", "url": "https://files.pythonhosted.org/packages/25/e7/885108048360d8dd5833a60ec1bc3c0a04ca45cd0c3ecce25cff7e603fcb/nut2-2.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fc7006eb15eabd353564fac89b6aaab4", "sha256": "2166e827cec2a42cab89e9616407358698ad8b258a1f515fedc5a106ffc1f092" }, "downloads": -1, "filename": "nut2-2.1.1.tar.gz", "has_sig": true, "md5_digest": "fc7006eb15eabd353564fac89b6aaab4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19079, "upload_time": "2019-04-19T23:45:34", "url": "https://files.pythonhosted.org/packages/25/e7/885108048360d8dd5833a60ec1bc3c0a04ca45cd0c3ecce25cff7e603fcb/nut2-2.1.1.tar.gz" } ] }