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 must still in alpha.

Install

pip install epson-connect

Usage

import epson_connect

ec = espon_connect.Client(
    username='...',
    client_id='...',
    client_secret='...',
)

# Or with these enviornment variables defined...
# export ESPON_CONNECT_API_PRINTER_EMAIL=<an email address for the device>
# export ESPON_CONNECT_API_CLIENT_ID=<client id>
# export ESPON_CONNECT_API_CLIENT_SECRET=<client secret>
# ec = espon_connect.Client()

job_id = ec.printer.print('./path/to/file.pdf')

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.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

epson_connect-0.1.0-py3-none-any.whl (6.6 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