Skip to main content

Bindings for the Espon Connect API

Project description

Epson Connect

This library provides a wrapper for the Epson Connect API.

NB: This library is very much still in beta.

Install

pip install epson-connect

Usage

import epson_connect

ec = epson_connect.Client(
    printer_email='...',
    client_id='...',
    client_secret='...',
)

# Or with these enviornment variables defined...
# export EPSON_CONNECT_API_PRINTER_EMAIL=<an email address for the device>
# export EPSON_CONNECT_API_CLIENT_ID=<client id>
# export EPSON_CONNECT_API_CLIENT_SECRET=<client secret>
# ec = epson_connect.Client()

# Print a PDF.
job_id = ec.printer.print('./path/to/file.pdf')

# List scan destinations.
ec.scanner.list()

Tests

tox

Deployment

poetry build
poetry publish

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

epson_connect-0.2.3.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

epson_connect-0.2.3-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

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