semvec/pypi-packages huggingface dataset:
nut2-notl 2.1.3
A Python abstraction class to access NUT servers.
Requires Python: >=3
Keywords: nut, ups

nut2
====

.. image:: https://travis-ci.org/rshipp/python-nut2.svg?branch=master
   :target: https://travis-ci.org/rshipp/python-nut2
   :alt: Build Status
.. image:: https://coveralls.io/repos/rshipp/python-nut2/badge.png?branch=master
   :target: https://coveralls.io/r/rshipp/python-nut2?branch=master
   :alt: Test Coverage
.. image:: https://api.codacy.com/project/badge/Grade/741acf61ed264ba3aac7dcf33c55a40f
   :target: https://www.codacy.com/app/rshipp/python-nut2
   :alt: Code Health
.. image:: http://img.shields.io/pypi/v/nut2.svg
   :target: https://pypi.python.org/pypi/nut2
   :alt: PyPi Version

This is an API overhaul of PyNUT_, a Python library to allow communication with NUT
(`Network UPS Tools`_) servers.

**Note**: Updated package to remove telnetlib dependency and convert
to PEP 517 build

**Note**: This is an unofficial project, and is in no way supported or
endorsed by the `Network UPS Tools developers`_.

Requirements
------------

The module itself requires only Python 3.

Usage
-----

Example::

    from nut2 import PyNUTClient
    client = PyNUTClient()
    client.help()
    client.list_ups()
    client.list_vars("My_UPS")

Please note that this module has completely and intentionally broken
backwards compatibility with PyNUT 1.X.

See inline documentation for more usage information.

Installation
------------

Use pip::

    pip install nut2-notl

PyNUT
-----

The following information is copied from the original PyNUT README:

    This directory contains various NUT Client related Python scripts, written by
    David Goncalves, and released under GPL v3.

    * "module": this directory contains PyNUT.py, which is a Python abstraction
      class to access NUT server(s). You can use it in Python programs to access NUT's
      upsd data server in a simple way, without having to know the NUT protocol.

    To import it on Python programs you have to use the following (case sensitive) :
    'import PyNUT'

    This module provides a 'PyNUTClient' class that can be used to connect and get
    data from an upsd data server.

    To install the PyNUT module on Debian/Ubuntu, copy it to:
    /usr/share/python-support/python-pynut/

    This directory also contains test_nutclient.py, which is a PyNUT test program.
    For this to be fully functional, you will need to adapt the login, password and
    upsname to fit your configuration.


.. _PyNUT: https://github.com/networkupstools/nut/tree/master/scripts/python
.. _Network UPS Tools: http://www.networkupstools.org/
.. _Network UPS Tools developers: https://github.com/networkupstools
srx-lib-docs 0.1.7
Document utilities for SRX: extract text from PDF, DOCX, PPTX, XLSX, and audio files (MP3, M4A, WAV)
Requires Python: >=3.12

# srx-lib-docs

Small helpers to extract plain text from common office document formats used by SRX services.

What it includes:
- `extract_text(path_or_bytes, mime_type=None)` supports PDF, DOCX, PPTX, XLSX
- `DocumentMarkdownConverter` to download and convert PDF/DOCX/PPTX/XLSX to Markdown

## Install

PyPI (public):
- `pip install srx-lib-docs`

uv (pyproject):
```
[project]
dependencies = ["srx-lib-docs>=0.1.0"]
```

## Usage

```
from srx_lib_docs import extract_text
text = extract_text("/path/to/file.pdf")
```

Markdown conversion with download:
```
from srx_lib_docs.markdown import DocumentMarkdownConverter

conv = DocumentMarkdownConverter()
result = await conv.process_document(url, mimetype="application/pdf")
print(result["markdown_content"])  # plus file_type, file_size, success
```

## Notes

- For XLSX, the first 20 rows of each sheet are read to keep it lightweight; adjust in code if needed.

## License

Proprietary © SRX