Communication package for Epson Workforce printer
Project description
epsonprinter-api
This package can be used to scrape the ink levels from your Epson Workforce printer.
Usage:
Connection
Create the API object with the IP address of the printer, on connect the values are fetched from the printer
api = EpsonPrinterAPI(<IP>)
Fetches the latest values from the printer
Update values
api.update()
Get actual values
#regular colours
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")
# Cleaning cardridge
clean = api.getSensorValue("clean")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
epsonprinter-0.0.9.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file epsonprinter-0.0.9.tar.gz
.
File metadata
- Download URL: epsonprinter-0.0.9.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4a2562de75941400215f692072c82cae0a47ac98a34d2fcf3282ffff8e3485 |
|
MD5 | bc892cfdbd9bc6e0388dd05093f4514a |
|
BLAKE2b-256 | 0d64a9278d382b89c3e6b9fe4e582da13ead2340f1c0c2e3bb320a914f7250a9 |
File details
Details for the file epsonprinter-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: epsonprinter-0.0.9-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea11a1ff7ee2000a944ccf47bc42551edb2df846f841bfd9a4b4f14db3f95193 |
|
MD5 | 5a2e09ada088249d46111b759568ebfa |
|
BLAKE2b-256 | 64abeaeedf1468a75046a29a74b88692c6dc7d1662bd261fee364b2d3b622e1b |