1QR(1) Python QR tool QR(1)
2
3
4
6 qr - script to create QR codes at the command line
7
9 qr [--help] [--factory=FACTORY] [--optimize=OPTIMIZE] [--error-correc‐
10 tion=LEVEL] [data]
11
13 This script uses the python qrcode module. It can take data from stdin
14 or from the commandline and generate a QR code. Normally it will out‐
15 put the QR code as ascii art to the terminal. If the output is piped to
16 a file, it will output the image (default type of PNG).
17
19 -h, --help
20 Show a help message.
21
22
23 --factory=FACTORY
24 Full python path to the image factory class to create the image
25 with. You can use the following shortcuts to the built-in image
26 factory classes: pil (default), pymaging, svg, svg-fragment, svg-
27 path.
28
29
30 --optimize=OPTIMIZE
31 Optimize the data by looking for chunks of at least this many char‐
32 acters that could use a more efficient encoding method. Use 0 to
33 turn off chunk optimization.
34
35
36 --error-correction=LEVEL
37 The error correction level to use. Choices are L (7%), M (15%,
38 default), Q (25%), and H (30%).
39
40
41 data
42 The data from which the QR code will be generated.
43
44
46 https://github.com/lincolnloop/python-qrcode/
47
48
49
50
516.1 14 Jan 2019 QR(1)