Skip to main content

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

Build Status

Coverage Status

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

ultimaker-printer-api-0.0.6.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

ultimaker_printer_api-0.0.6-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file ultimaker-printer-api-0.0.6.tar.gz.

File metadata

  • Download URL: ultimaker-printer-api-0.0.6.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for ultimaker-printer-api-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3562fe387146ebf727b9187b2f28d0a2a6780517bb943162fe8e07b13bb2b8fe
MD5 54cd4b264aa0c11b11ab97d3af7fcb5c
BLAKE2b-256 0bfb1af0d1992058dde72f302e11582eceee4891d01e0811b14f755c9a6dcdcf

See more details on using hashes here.

File details

Details for the file ultimaker_printer_api-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ultimaker_printer_api-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for ultimaker_printer_api-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 31e58d78d21072b390d0efac27987a322831efea7088592635841b619e81c1f4
MD5 dfbb5a303837b373adb67f04c65c5fd8
BLAKE2b-256 5e4c62b7c6220c8049cc21f73c2ba155c33c2e1541de0e11fee92479657e0dd8

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