Skip to main content

Asynchronous Python client for Internet Printing Protocol (IPP)

Project description

Python: Internet Printing Protocol (IPP) Client

Asynchronous Python client for Internet Printing Protocol (IPP).

About

This package allows you to monitor printers that support the Internet Printing Protocol (IPP) programmatically.

Installation

pip install pyipp

Usage

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())

Setting up development environment

This Python project is fully managed using the Poetry dependency manager. But also relies on the use of NodeJS for certain checks during development.

You need at least:

  • Python 3.9+
  • Poetry
  • NodeJS 20+ (including NPM)

To install all packages, including all development requirements:

npm install
poetry install

As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:

poetry run pre-commit run --all-files

To run just the Python tests:

poetry run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyipp-0.17.2.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

pyipp-0.17.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file pyipp-0.17.2.tar.gz.

File metadata

  • Download URL: pyipp-0.17.2.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyipp-0.17.2.tar.gz
Algorithm Hash digest
SHA256 5a888309f5d9101ccaf6d62ac3786d445aca726178c887967ddf35aaaf6cd7bc
MD5 3dbd14d37ad4df150c3a3317ea60511a
BLAKE2b-256 0f378421cd07acf4f7689bb956e1eef57fc0d1185b9c75de3114ef13a26f8941

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyipp-0.17.2.tar.gz:

Publisher: release.yml on ctalkington/python-ipp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyipp-0.17.2-py3-none-any.whl.

File metadata

  • Download URL: pyipp-0.17.2-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyipp-0.17.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a823a26b4516ca22bb2a3bb879fc90508a507842d51a48ca95ccb122ad83ea2
MD5 5fc17739bb13e8006ac3abfc66b16209
BLAKE2b-256 5d49c58edbea9923115336aed55ffcfef310a9b0fadb6e31a404a73b15aa7b89

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyipp-0.17.2-py3-none-any.whl:

Publisher: release.yml on ctalkington/python-ipp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page