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. The protocol can be http or https. The default is http. We can verify (or not) the ssl certificate chain if the protocol is not http if we define the verify_ssl paramter.
api = EpsonPrinterAPI(<IP>, [[protocol={"http"|"https"}, [verify_ssl={False|True}]])
Fetches the latest values from the printer
Update values
api.update()
Get actual values
#regular colours
photoblack = api.getSensorValue("photoblack")
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")
# Cleaning cardridge
clean = api.getSensorValue("clean")
Acknowledgments
Below are a list of resources that I used to assist with this project.
- This api wouldn't exist without the original author ThaStealth
Metadata
Release files for epsonprinter-api 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epsonprinter-api-1.0.1.tar.gz | 15.2 kB | Without provenance | Details for epsonprinter-api-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epsonprinter_api-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for epsonprinter_api-1.0.1-py3-none-any.whl |
Total release size: 30.6 kB
Release files / epsonprinter-api-1.0.1.tar.gz
| Download URL | epsonprinter-api-1.0.1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69eabe95a7a86f9dfccab06063b56c2daaae9c999108e17fc865407f1d09d00f
|
|
BLAKE2b-256 checksum How to use checksums |
e28fae639fc354bee06323e60a37c82a514f05f1fdb21657d3373cece4697f7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / epsonprinter_api-1.0.1-py3-none-any.whl
| Download URL | epsonprinter_api-1.0.1-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c80f1393f623d540b1b31351aa2df1fa7e1d3e7e06119005ae883a95dd2d66f
|
|
BLAKE2b-256 checksum How to use checksums |
a58d6048959197646bd6f9894d021c2839072aefde978a8e03e0277e71266d70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for epsonprinter-api 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.