Skip to main content

Python: Internet Printing Protocol (IPP) Client

Asynchronous Python client for Internet Printing Protocol (IPP).

Note: aioipp is a maintained fork of pyipp by Chris Talkington. It keeps the pyipp import name and adds page counter support. It is published on PyPI as aioipp; do not install it alongside pyipp.

About

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

Installation

pip install aioipp

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

Reporting a problem with your printer

Printers vary a lot in how closely they follow the IPP specification. If your printer fails to set up in Home Assistant, or a value looks wrong, the most useful thing you can provide is a raw capture of what the printer sends. The package ships a small diagnostics command for exactly that:

pipx run aioipp ipp://192.168.1.10:631/ipp/print

or, in an environment where the package is already installed:

python -m pyipp ipp://192.168.1.10:631/ipp/print

Use ipps:// if the printer requires TLS, and --ipp-version 1.1 for older devices. The command prints the attributes the library received, what it parsed them into, and a full traceback if parsing failed. It always writes the raw response to ipp-<host>.bin in the current directory.

Then open an issue with:

  • the printer make, model and firmware version
  • the full output of the command
  • the ipp-<host>.bin file (zip it if GitHub refuses the extension)

The capture may contain the printer's serial number and UUID. Remove them if you consider them private. Captured files become regression tests in tests/fixtures, so they are the fastest route to a fix.

If you cannot install Python packages, the ipptool command that ships with CUPS on Linux and macOS is a good substitute:

ipptool -tv ipp://192.168.1.10:631/ipp/print get-printer-attributes.test

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

Metadata

Release files for aioipp 0.19.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioipp 0.19.3
File Size Uploaded
aioipp-0.19.3.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioipp 0.19.3
File Interpreter ABI Platform
aioipp-0.19.3-py3-none-any.whl Python 3 none any Details

Total release size: 44.0 kB

Release files / aioipp-0.19.3.tar.gz

Download URL aioipp-0.19.3.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd38d6d9da510e5a9ca04d497bcbe09eab7aa98758e6a81593f3e41c9b9a878b
BLAKE2b-256 checksum
How to use checksums
df553c29dc4663b8da9fed1d25c9f6eadb2fb73800561f94a7f9f8723d41948c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / aioipp-0.19.3-py3-none-any.whl

Download URL aioipp-0.19.3-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c49b4f91721915e14d63d296ab3b7b2c6c3529d85fe0b8022b58ee539693e7d1
BLAKE2b-256 checksum
How to use checksums
e341bec41a7ee28061112c9b5699929e3af0621dad1d326a95624ca203c0bbf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.19.3 This release

2 release files

0.19.2

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.18.1

2 release files

0.18.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page