semvec/pypi-packages huggingface dataset:
epsonprinter-api 1.0.1
Communication package for Epson Workforce printer
Requires Python: >=3.6

# 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.
```python
api = EpsonPrinterAPI(<IP>, [[protocol={"http"|"https"}, [verify_ssl={False|True}]])
```

Fetches the latest values from the printer
### Update values
```python
api.update()
```
### Get actual values
```python
#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 -->
## 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](https://github.com/thastealth)
librecubo_download 0.0.2
This is a template repository for Python projects that use Poetry for their dependency management.
Requires Python: >=3.9,<4.0

# librecubo-download

[![Release](https://img.shields.io/github/v/release/jfphlorecti/librecubo-download)](https://img.shields.io/github/v/release/jfphlorecti/librecubo-download)
[![Build status](https://img.shields.io/github/actions/workflow/status/jfphlorecti/librecubo-download/main.yml?branch=main)](https://github.com/jfphlorecti/librecubo-download/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/jfphlorecti/librecubo-download/branch/main/graph/badge.svg)](https://codecov.io/gh/jfphlorecti/librecubo-download)
[![Commit activity](https://img.shields.io/github/commit-activity/m/jfphlorecti/librecubo-download)](https://img.shields.io/github/commit-activity/m/jfphlorecti/librecubo-download)
[![License](https://img.shields.io/github/license/jfphlorecti/librecubo-download)](https://img.shields.io/github/license/jfphlorecti/librecubo-download)

This is a template repository for Python projects that use Poetry for their dependency management.

- **Github repository**: <https://github.com/jfphlorecti/librecubo-download/>
- **Documentation** <https://jfphlorecti.github.io/librecubo-download/>

## Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

```bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:jfphlorecti/librecubo-download.git
git push -u origin main
```

Finally, install the environment and the pre-commit hooks with

```bash
make install
```

You are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPi or Artifactory, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/codecov/).

## Releasing a new version

- Create an API Token on [Pypi](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting [this page](https://github.com/jfphlorecti/librecubo-download/settings/secrets/actions/new).
- Create a [new release](https://github.com/jfphlorecti/librecubo-download/releases/new) on Github.
- Create a new tag in the form `*.*.*`.

For more details, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/cicd/#how-to-trigger-a-release).

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).