IPP (Internet Printing Protocol) and CUPS API in pure Python
pkipplib is a Python library which can prepare IPP requests with the help of a somewhat high level API. These requests can then be sent to an IPP printer or print server (e.g. CUPS). This library can also parse IPP answers received, and create high level Python objects from them. Both of these actions can be done through an IPPRequest class and its instance methods. Finally, a CUPS class can be leveraged to easily deal with CUPS print servers. All of this library being written in the Python language, there’s no need to link the code with the CUPS’ API, which makes it independant of the CUPS version being installed. Some command line tools which rely on pkipplib are now included.