Metadata-Version: 2.1
Name: epson-connect
Version: 0.2.2
Summary: Bindings for the Espon Connect API
Home-page: https://pypi.org/project/epson-connect/
License: MIT
Keywords: epson,connect,api
Author: Paul Logston
Author-email: paul.logston@gmail.com
Maintainer: Paul Logston
Maintainer-email: paul.logston@gmail.com
Requires-Python: >=3.9
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet
Classifier: Topic :: Printing
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: requests (>=2.31.0,<3.0.0)
Project-URL: Repository, https://github.com/logston/epson-connect
Description-Content-Type: text/markdown

# 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

```python
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
```

