epson-connect


Nameepson-connect JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://pypi.org/project/epson-connect/
SummaryBindings for the Espon Connect API
upload_time2023-07-16 22:44:15
maintainerPaul Logston
docs_urlNone
authorPaul Logston
requires_python>=3.9
licenseMIT
keywords epson connect api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/epson-connect/",
    "name": "epson-connect",
    "maintainer": "Paul Logston",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "paul.logston@gmail.com",
    "keywords": "epson,connect,api",
    "author": "Paul Logston",
    "author_email": "paul.logston@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c0/be/071a40996912959733329fbcad093a15aa33c6d8cd95800f917651777f48/epson_connect-0.2.3.tar.gz",
    "platform": null,
    "description": "# Epson Connect\n\nThis library provides a wrapper for the Epson Connect API.\n\nNB: This library is very much still in beta.\n\n## Install\n\n```\npip install epson-connect\n```\n\n## Usage\n\n```python\nimport epson_connect\n\nec = epson_connect.Client(\n    printer_email='...',\n    client_id='...',\n    client_secret='...',\n)\n\n# Or with these enviornment variables defined...\n# export EPSON_CONNECT_API_PRINTER_EMAIL=<an email address for the device>\n# export EPSON_CONNECT_API_CLIENT_ID=<client id>\n# export EPSON_CONNECT_API_CLIENT_SECRET=<client secret>\n# ec = epson_connect.Client()\n\n# Print a PDF.\njob_id = ec.printer.print('./path/to/file.pdf')\n\n# List scan destinations.\nec.scanner.list()\n```\n\n### Tests\n\n```\ntox\n```\n\n### Deployment\n\n```\npoetry build\npoetry publish\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Bindings for the Espon Connect API",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://pypi.org/project/epson-connect/",
        "Repository": "https://github.com/logston/epson-connect"
    },
    "split_keywords": [
        "epson",
        "connect",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4bab03e9f67d30a97cea036b135f53064d8ce88b4cdb3ba6227ca48f3bb370ac",
                "md5": "722187b4de97e37ba212d83a1d444864",
                "sha256": "201c49609b131ec529f4efd66d56a39a8ffc2620ba9b6fcc897decdff9e43a34"
            },
            "downloads": -1,
            "filename": "epson_connect-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "722187b4de97e37ba212d83a1d444864",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8446,
            "upload_time": "2023-07-16T22:44:14",
            "upload_time_iso_8601": "2023-07-16T22:44:14.535833Z",
            "url": "https://files.pythonhosted.org/packages/4b/ab/03e9f67d30a97cea036b135f53064d8ce88b4cdb3ba6227ca48f3bb370ac/epson_connect-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0be071a40996912959733329fbcad093a15aa33c6d8cd95800f917651777f48",
                "md5": "61b42bbc3d652aae356cace65a1897ed",
                "sha256": "95059481758cf2bb9788a4808ab7abec150280f2c583bfa775337ef6ff2e0f81"
            },
            "downloads": -1,
            "filename": "epson_connect-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "61b42bbc3d652aae356cace65a1897ed",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 7158,
            "upload_time": "2023-07-16T22:44:15",
            "upload_time_iso_8601": "2023-07-16T22:44:15.614571Z",
            "url": "https://files.pythonhosted.org/packages/c0/be/071a40996912959733329fbcad093a15aa33c6d8cd95800f917651777f48/epson_connect-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-16 22:44:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "logston",
    "github_project": "epson-connect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "epson-connect"
}
        
Elapsed time: 1.45533s