epsonprinter-0.0.9
توضیحات
Communication package for Epson Workforce printer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | epsonprinter-0.0.9 |
| نام | epsonprinter |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ThaStealth |
| ایمیل نویسنده | author@example.com |
| آدرس صفحه اصلی | https://github.com/thastealth/epsonprinter |
| آدرس اینترنتی | https://pypi.org/project/epsonprinter/ |
| مجوز | - |
# 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
```python
api = EpsonPrinterAPI(<IP>)
```
Fetches the latest values from the printer
### Update values
```python
api.update()
```
### Get actual values
```python
#regular colours
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")
# Cleaning cardridge
clean = api.getSensorValue("clean")
```
نحوه نصب
نصب پکیج whl epsonprinter-0.0.9:
pip install epsonprinter-0.0.9.whl
نصب پکیج tar.gz epsonprinter-0.0.9:
pip install epsonprinter-0.0.9.tar.gz