semvec/pypi-packages huggingface dataset:
escl-scanner-cli 0.2.1
Control eSCL network scanners using a CLI utility
License: Apache


# scanner-cli
A MacOS/Linux CLI client for scanning documents using a network scanner supporting the [Mopria Alliance eSCL Scan Technical Specification](https://mopria.org/MopriaeSCLSpecDownload.php)

Outputs PDF files.

Known to work with at least:
- Brother DCP-L3550CDW
- Brother MFC-L2710DW
- Canon Pixma G3260
- HP DeskJet 4640 series
- HP OfficeJet Pro 9000 series
- HP OfficeJet Pro 9010 series

## Installation
From PyPI:
```
pipx install escl-scanner-cli
```

Locally:
```
pip install .
```

## Publishing to PyPI

```
pip install -r requirements-dev.txt
rm -rf dist/*
python -m build
python -m twine upload dist/*
```

## TODOs

- Use click for CLI parsing
- Automatic publishing to PyPI

## Usage
```
escl-scan output_filename.pdf

positional arguments:
  filename

optional arguments:
  -h, --help            show this help message and exit
  --source {feeder,flatbed,automatic}, -S {feeder,flatbed,automatic}
  --grayscale, -g
  --resolution {75,100,200,300,600}, -r {75,100,200,300,600}
  --debug, -d
  --no-open, -o
  --quiet, -q
  --duplex, -D
  --today, -t           Prepend date to file name in ISO format
  ```