A minimalist paper data storage based on QR codes
Project description
Description
pawpyrus is a minimalist open-source paper data storage based on QR codes and ArUco. It generates a PDF from any small-sized binary file (recommended size 100kb or less). Further, the paper data storage can be scanned and decoded (recommended resolution 300dpi or more).
It may be useful for:
- Storing encryption keys, password databases, etc.
- Faxing digital data
Installation
The script is pure Python and a part of PyPI, so can be installed via pip:
python3 -m pip install pawpyrus
Usage
File encoder:
pawpyrus Encode -n "Description" -i "InputFile" -o "OutputPDF"
File decoder:
pawpyrus Decode -i "Scan1.jpg" "Scan2.jpg" "Scan3.jpg" -o "OutputFile"
Got a trouble?
QR code detectors may fail on one or several blocks. This situation is totally normal, although uncomfortable. I fixed it for now, with two detectors instead of one, but the bug may reappear in some circumstances (if blocks number is big enough, or scans quality is low enough). That's why I implemented Debug Mode:
pawpyrus Decode -d "DebugDir" -i "Scan1.jpg" "Scan2.jpg" "Scan3.jpg" -o "OutputFile"
With Debug Mode, you can inspect undetected QR codes, read them manually with any device you have, and create a file with codes contents which may be processed as well:
pawpyrus Decode "Scan1.jpg" "Scan2.jpg" "Scan3.jpg" -t "UnrecognizedCodes.txt" -o "OutputFile"
If you have any idea how to fix it better, please help.
Contact
You can contact me by email: regnveig@yandex.ru
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pawpyrus-2022.8.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66f9e10f301f6452b68ebb3e9cf4cb761f914a7d5d9d5453090b4414550f3998 |
|
MD5 | 1f593095fc9bf72830f80dadd7fee90d |
|
BLAKE2b-256 | ed128c23116767f135c147a38f4c5f634a6424ff7bd3fdd2c601b3e8db54e114 |