Metadata-Version: 2.4
Name: scanloop
Version: 2026.11.11.0
Summary: A scanner front-end to efficiently scan several multi-page documents.
Author-email: Ernesto Alfonso <erjoalgo@gmail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/erjoalgo/scanloop
Project-URL: Repository, https://github.com/erjoalgo/scanloop
Project-URL: Bug Tracker, https://github.com/erjoalgo/scanloop/issues
Keywords: scanner,imagemagick
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Multimedia :: Graphics :: Capture :: Scanners
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.8
Description-Content-Type: text/markdown

A scanner front-end to efficiently scan several multi-page documents.

For each document, enter a name, then feed pages to the scanner one at a time.
scanloop keeps scanning a page whenever the scanner is ready; press Ctrl+C when
the document is done. The pages are merged into `NAME/NAME.pdf`, which opens
in a PDF viewer, and scanloop asks for the next document's name (`q` to quit).

Requirements:

- A scan command that writes one page to stdout: `scanimage` (from SANE,
  `$ sudo apt install sane-utils`) or Epson's `imagescan` are detected
  automatically. scanimage is run with sudo. To use another, pass `--scan-cmd`
  or set `SCAN_CMD`.
- ImageMagick's `convert` (`$ sudo apt install imagemagick`). On Debian and
  Ubuntu, ImageMagick's default security policy blocks writing PDFs; to allow
  it, remove or comment out the `pattern="PDF"` line in
  `/etc/ImageMagick-6/policy.xml`.

To install:

`$ pip install scanloop`

To run:

`$ scanloop`

See `scanloop --help` for options, such as the output quality and format.
