MacScan is a simple Python library and CLI tool to scan document on macOS using the ImageCaptureCore API.
IMPORTANT: This library may not work with Apple Python (the Python version distributed by Apple). Please use official Python version from python.org if you encounter any issue.
- Apple macOS
- Python
- PyObjC
Create the virtualenv:
python3 -m venv __env__
Then activate the virtualenv:
source __env__/bin/activate
Install dependencies and dev dependencies:
pip install -e '.[dev]'
To lint the code, run the following command (from virtualenv):
nox -s lint
To fix codding style, run:
nox -s black_fix
- [NEXT] (changes on
master
, but not released yet):- Nothing yet :)