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 18+ (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.15.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyipp-0.15.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyipp-0.15.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for pyipp-0.15.0.tar.gz
Algorithm Hash digest
SHA256 2240779c43e29205e84cbc317f082a43b505082a52a491c1e6b6c5319df1c905
MD5 d2ef269266c2768ec1545d17438256c5
BLAKE2b-256 c448318f839175a5fb13f667a504bdea0e02e0f4f23de5adadcba121807b7562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyipp-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for pyipp-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebb6905a83fa5be1146a4a1b9c84b588e26690c01063cf10e121854508d05807
MD5 2556e44ca3cfa792179d16bc570e7922
BLAKE2b-256 f5e279d8001fafc0feddc94786099ed3affa1805dd45da973a5af671787a181d

See more details on using hashes here.

Supported by

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