Name : python311-pyipp
| |
Version : 0.16.0
| Vendor : obs://build_opensuse_org/system:homeautomation
|
Release : 8.1
| Date : 2023-09-17 11:17:22
|
Group : Unspecified
| Source RPM : python-pyipp-0.16.0-8.1.src.rpm
|
Size : 0.11 MB
| |
Packager : (none)
| |
Summary : Asynchronous Python client for Internet Printing Protocol (IPP)
|
Description :
Asynchronous Python client for Internet Printing Protocol (IPP).
This package allows you to monitor printers that support the Internet Printing Protocol (IPP) programmatically.
```bash pip install pyipp ```
```python import asyncio
from pyipp import IPP, Printer
async def main(): \"\"\"Show example of connecting to your IPP print server.\"\"\" async with IPP(\"ipps://EPSON123456.local:631/ipp/print\") as ipp: printer: Printer = await ipp.printer() print(printer)
if __name__ == \"__main__\": loop = asyncio.get_event_loop() loop.run_until_complete(main()) ```
This Python project is fully managed using the [Poetry](https://python-poetry.org) dependency manager. But also relies on the use of NodeJS for certain checks during development.
You need at least:
- Python 3.9+ - [Poetry](https://python-poetry.org/docs/#installation) - NodeJS 18+ (including NPM)
To install all packages, including all development requirements:
```bash npm install poetry install ```
As this repository uses the [pre-commit](https://pre-commit.com/) framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:
```bash poetry run pre-commit run --all-files ```
To run just the Python tests:
```bash poetry run pytest ```
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/system:/homeautomation:/home-assistant:/unstable/openSUSE_Factory/noarch |