An Ultimaker Printer API client implementation in Python
Project description
python-ultimaker-printer-api
An Ultimaker Printer API Client implementation in Python derived from Swagger documentation (see http://printer_ip/docs/api/) and request testing
Usage
from ultimaker import Printer, Identity, CredentialsDict
IDENTITY = Identity('Application', 'Anonymous')
IP = '192.168.1.18'
PORT = 80
credentials_dict = CredentialsDict('credentials.json')
printer = Printer(IP, PORT, IDENTITY)
printer.save_credentials(credentials_dict)
credentials_dict.save()
printer.put_system_display_message("It's over, Anakin!", "Acquire high ground")
mDNS
If your local network supports mDNS (some school/corproate networks disable it), printers can be automatically discovered with the zeroconf package.
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
Built Distribution
Close
Hashes for ultimaker-printer-api-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3562fe387146ebf727b9187b2f28d0a2a6780517bb943162fe8e07b13bb2b8fe |
|
MD5 | 54cd4b264aa0c11b11ab97d3af7fcb5c |
|
BLAKE2b-256 | 0bfb1af0d1992058dde72f302e11582eceee4891d01e0811b14f755c9a6dcdcf |
Close
Hashes for ultimaker_printer_api-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e58d78d21072b390d0efac27987a322831efea7088592635841b619e81c1f4 |
|
MD5 | dfbb5a303837b373adb67f04c65c5fd8 |
|
BLAKE2b-256 | 5e4c62b7c6220c8049cc21f73c2ba155c33c2e1541de0e11fee92479657e0dd8 |