Skip to main content

scanner-cli

A MacOS/Linux CLI client for scanning documents using a network scanner supporting the Mopria Alliance eSCL Scan Technical Specification

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

Metadata

Release files for escl-scanner-cli 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for escl-scanner-cli 0.2.1
File Size Uploaded Provenance Actions
escl_scanner_cli-0.2.1.tar.gz 7.9 kB Without provenance Details for escl_scanner_cli-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for escl-scanner-cli 0.2.1
File Interpreter ABI Platform Actions
escl_scanner_cli-0.2.1-py3-none-any.whl Python 3 none any Details for escl_scanner_cli-0.2.1-py3-none-any.whl

Total release size: 16.4 kB

Release files / escl_scanner_cli-0.2.1.tar.gz

Download URL escl_scanner_cli-0.2.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5ad6e91c51ff2986db0491a9c19f6603d144ddf103e45d2c32390ffb50840c0b
BLAKE2b-256 checksum
How to use checksums
88ec1e8b03ca3267f58574331f0a90924d5a5ae7235319621624bb55b5d5757c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / escl_scanner_cli-0.2.1-py3-none-any.whl

Download URL escl_scanner_cli-0.2.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
734f2b458b157cf82c35db4dfb5f279879cd1ac54ae8c91d1a7234a8674afa6a
BLAKE2b-256 checksum
How to use checksums
c7e65ce514f8550a87daa8404bb3212b1b2050817f3ed1ac96cc73e35d136dfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for escl-scanner-cli 0.2.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page