Skip to main content

A minimalist paper data storage based on QR codes

Project description

 

Logo

Description

PyPI PyPI - Python Version PyPI - Status PyPI - Downloads GitHub last commit (branch) GitHub issues GitHub closed issues GitHub Keybase PGP

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pawpyrus-2022.8.7.3-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file pawpyrus-2022.8.7.3-py3-none-any.whl.

File metadata

  • Download URL: pawpyrus-2022.8.7.3-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pawpyrus-2022.8.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66f9e10f301f6452b68ebb3e9cf4cb761f914a7d5d9d5453090b4414550f3998
MD5 1f593095fc9bf72830f80dadd7fee90d
BLAKE2b-256 ed128c23116767f135c147a38f4c5f634a6424ff7bd3fdd2c601b3e8db54e114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page