pynut3


Namepynut3 JSON
Version 2.2.1 PyPI version JSON
download
home_page
SummaryA Python3 abstraction class to access NUT servers for uninterruptible power supplies (UPS).
upload_time2023-12-29 08:34:00
maintainer
docs_urlNone
authorMausy5043
requires_python>=3.9
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://img.shields.io/pypi/v/pynut3.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/pynut3)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/pynut3.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/pynut3)
[![PyPI downloads](https://img.shields.io/pypi/dm/pynut3.svg)](https://pypistats.org/packages/pynut3)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)

# (DEPRECATED) pynut3

#### (aka python-nut3)

This is a Python3 library to allow communication with NUT ([Network UPS Tools](http://www.networkupstools.org/)) Uninterruptible Power Supply servers following [RFC-9271](https://www.rfc-editor.org/rfc/rfc9271.html)

**Note**: This is an unofficial project, and is in no way supported or endorsed by the [Network UPS Tools developers](https://github.com/networkupstools).

## Requirements

Development of this package is done in Python 3.11. The package is considered forwards compatible probably upto Python 3.12 and possibly also beyond. Backwards compatibility is not guaranteed on versions prior to 3.9; if it works on Python 3.8 or before consider yourself lucky.
[Python versions that are end-of-life](https://devguide.python.org/versions/) are not supported.

## Installation

On Linux systems `pynut3` requires telnet to be installed. If it is not available on your system you'll need to install it first.
```bash
sudo apt install telnet
```
On macOS `telnet` is not needed; `nc` will be used automatically.
Then install using:
```bash
python -m pip install pynut3
```
This software was not tested on systems other than Linux (Debian) and macOS. If you have access to another OS, feel free to contribute improvements for support.

## Usage

See `demo/upsdemo.py` for a usage example.

Please note that this module has completely and intentionally broken backwards compatibility with (previous) versions of pynut3.

## Acknowledgements

Based on various NUT Client related Python scripts, written by David Goncalves
as [PyNUT](https://github.com/networkupstools/nut/tree/master/scripts/python), and released under GPL v3.
Later overhauled by rshipp with Python3 modifications by hordurk, george2 and mezz64.
Others will have contributed along the way. I was not able to reliably find their names.

Further updates are by me (Mausy5043) and based/inspired on prior work from timurlenk07, StSAV012, rshipp & Rojer-X86.

## License

The GPL v3 license continues to apply. See [LICENSE](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pynut3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mausy5043",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/32/bf/222cd2d9690f66d6f4c8b170d5f74724cad632102e57b132c70593ba0fd5/pynut3-2.2.1.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://img.shields.io/pypi/v/pynut3.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/pynut3)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/pynut3.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/pynut3)\n[![PyPI downloads](https://img.shields.io/pypi/dm/pynut3.svg)](https://pypistats.org/packages/pynut3)\n[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)\n\n# (DEPRECATED) pynut3\n\n#### (aka python-nut3)\n\nThis is a Python3 library to allow communication with NUT ([Network UPS Tools](http://www.networkupstools.org/)) Uninterruptible Power Supply servers following [RFC-9271](https://www.rfc-editor.org/rfc/rfc9271.html)\n\n**Note**: This is an unofficial project, and is in no way supported or endorsed by the [Network UPS Tools developers](https://github.com/networkupstools).\n\n## Requirements\n\nDevelopment of this package is done in Python 3.11. The package is considered forwards compatible probably upto Python 3.12 and possibly also beyond. Backwards compatibility is not guaranteed on versions prior to 3.9; if it works on Python 3.8 or before consider yourself lucky.\n[Python versions that are end-of-life](https://devguide.python.org/versions/) are not supported.\n\n## Installation\n\nOn Linux systems `pynut3` requires telnet to be installed. If it is not available on your system you'll need to install it first.\n```bash\nsudo apt install telnet\n```\nOn macOS `telnet` is not needed; `nc` will be used automatically.\nThen install using:\n```bash\npython -m pip install pynut3\n```\nThis software was not tested on systems other than Linux (Debian) and macOS. If you have access to another OS, feel free to contribute improvements for support.\n\n## Usage\n\nSee `demo/upsdemo.py` for a usage example.\n\nPlease note that this module has completely and intentionally broken backwards compatibility with (previous) versions of pynut3.\n\n## Acknowledgements\n\nBased on various NUT Client related Python scripts, written by David Goncalves\nas [PyNUT](https://github.com/networkupstools/nut/tree/master/scripts/python), and released under GPL v3.\nLater overhauled by rshipp with Python3 modifications by hordurk, george2 and mezz64.\nOthers will have contributed along the way. I was not able to reliably find their names.\n\nFurther updates are by me (Mausy5043) and based/inspired on prior work from timurlenk07, StSAV012, rshipp & Rojer-X86.\n\n## License\n\nThe GPL v3 license continues to apply. See [LICENSE](LICENSE).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python3 abstraction class to access NUT servers for uninterruptible power supplies (UPS).",
    "version": "2.2.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/Mausy5043/python-nut3/issues",
        "Homepage": "https://github.com/Mausy5043/python-nut3"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "952bb8748365aa6158fa58cffba76d758f7b4cc488cc1ca55baadbddaee2360b",
                "md5": "79651c6899e8039ba551be5134117d7f",
                "sha256": "4be6b1021c08543ebc79abc13f5cfc227e2e38151369873fed1c3f6eda409f0c"
            },
            "downloads": -1,
            "filename": "pynut3-2.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79651c6899e8039ba551be5134117d7f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 22874,
            "upload_time": "2023-12-29T08:33:59",
            "upload_time_iso_8601": "2023-12-29T08:33:59.399869Z",
            "url": "https://files.pythonhosted.org/packages/95/2b/b8748365aa6158fa58cffba76d758f7b4cc488cc1ca55baadbddaee2360b/pynut3-2.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32bf222cd2d9690f66d6f4c8b170d5f74724cad632102e57b132c70593ba0fd5",
                "md5": "5c7e26685c16a8a382ba00a7b3127f73",
                "sha256": "7669a2ad6c06ebf4315e5a94cab61c6cccf8e6aa30ef360fa08eacbc144ddf40"
            },
            "downloads": -1,
            "filename": "pynut3-2.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5c7e26685c16a8a382ba00a7b3127f73",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 32557,
            "upload_time": "2023-12-29T08:34:00",
            "upload_time_iso_8601": "2023-12-29T08:34:00.842464Z",
            "url": "https://files.pythonhosted.org/packages/32/bf/222cd2d9690f66d6f4c8b170d5f74724cad632102e57b132c70593ba0fd5/pynut3-2.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-29 08:34:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Mausy5043",
    "github_project": "python-nut3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "pynut3"
}
        
Elapsed time: 0.18154s