Codebase list python-pyqrcode / c91731e1-3749-4fc3-b61e-79302d126a9e/main
New upstream snapshot. Debian Janitor 1 year, 5 months ago
5 changed file(s) with 150 addition(s) and 151 deletion(s). Raw diff Collapse all Expand all
0 Metadata-Version: 1.1
0 Metadata-Version: 2.1
11 Name: PyQRCode
22 Version: 1.2.1
33 Summary: A QR code generator written purely in Python with SVG, EPS, PNG and terminal output.
55 Author: Michael Nooner
66 Author-email: mnooner256@gmail.com
77 License: BSD
8 Description: ========
9 PyQRCode
10 ========
11
12 .. contents::
13
14 The pyqrcode module is a QR code generator that is simple to use and written
15 in pure python. The module can automates most of the building process for
16 creating QR codes. Most codes can be created using only two lines of code!
17
18 Unlike other generators, all of the helpers can be controlled manually. You are
19 free to set any or all of the properties of your QR code.
20
21 QR codes can be saved as SVG, PNG (by using the
22 `pypng <https://pypi.python.org/pypi/pypng/>`_ module), and plain text. They can
23 also be displayed directly in most Linux terminal emulators. PIL is
24 not used to render the image files.
25
26 The pyqrcode module attempts to follow the QR code standard as closely as
27 possible. The terminology and the encodings used in pyqrcode come directly
28 from the standard. This module also follows the algorithm laid out in the
29 standard.
30
31 **Homepage**: https://github.com/mnooner256/pyqrcode
32
33 **Documentation**: http://pythonhosted.org/PyQRCode/
34
35 Requirements
36 ============
37
38 The pyqrcode module only requires Python 2.6, Python 2.7, or Python 3. You may
39 want to install `pypng <https://pypi.python.org/pypi/pypng/>`_ in order to
40 render PNG files, but it is optional. Note, pypng is a pure python PNG writer
41 which does not require any other libraries.
42
43 Installation
44 ============
45
46 Installation is simple. It can be installed from pip using the following
47 command::
48
49 $ pip install pyqrcode
50
51 Or from the terminal::
52
53 $ python setup.py install
54
55
56 Usage
57 =====
58
59 The pyqrcode module aims to be as simple to use as possible. Below is a simple
60 example of creating a QR code for a URL. The code is rendered out as an svg
61 file.
62 ::
63
64 >>> import pyqrcode
65 >>> url = pyqrcode.create('http://uca.edu')
66 >>> url.svg('uca-url.svg', scale=8)
67 >>> url.eps('uca-url.eps', scale=2)
68 >>> print(url.terminal(quiet_zone=1))
69
70 The pyqrcode module, while easy to use, is powerful. You can set every
71 property of the QR code. If you install the optional
72 `pypng <https://pypi.python.org/pypi/pypng/>`_ module, you can
73 render the code as a PNG image. Below is a more complex example::
74
75 >>> big_code = pyqrcode.create('0987654321', error='L', version=27, mode='binary')
76 >>> big_code.png('code.png', scale=6, module_color=[0, 0, 0, 128], background=[0xff, 0xff, 0xcc])
77 >>> big_code.show()
78
798 Keywords: qrcode,qr
80 Platform: UNKNOWN
819 Classifier: Development Status :: 4 - Beta
8210 Classifier: Environment :: Console
8311 Classifier: Intended Audience :: Developers
9018 Classifier: Programming Language :: Python :: 3
9119 Classifier: Programming Language :: Python :: 2.6
9220 Classifier: Programming Language :: Python :: 2.7
21 Provides-Extra: PNG
22
23 ========
24 PyQRCode
25 ========
26
27 .. contents::
28
29 The pyqrcode module is a QR code generator that is simple to use and written
30 in pure python. The module can automates most of the building process for
31 creating QR codes. Most codes can be created using only two lines of code!
32
33 Unlike other generators, all of the helpers can be controlled manually. You are
34 free to set any or all of the properties of your QR code.
35
36 QR codes can be saved as SVG, PNG (by using the
37 `pypng <https://pypi.python.org/pypi/pypng/>`_ module), and plain text. They can
38 also be displayed directly in most Linux terminal emulators. PIL is
39 not used to render the image files.
40
41 The pyqrcode module attempts to follow the QR code standard as closely as
42 possible. The terminology and the encodings used in pyqrcode come directly
43 from the standard. This module also follows the algorithm laid out in the
44 standard.
45
46 **Homepage**: https://github.com/mnooner256/pyqrcode
47
48 **Documentation**: http://pythonhosted.org/PyQRCode/
49
50 Requirements
51 ============
52
53 The pyqrcode module only requires Python 2.6, Python 2.7, or Python 3. You may
54 want to install `pypng <https://pypi.python.org/pypi/pypng/>`_ in order to
55 render PNG files, but it is optional. Note, pypng is a pure python PNG writer
56 which does not require any other libraries.
57
58 Installation
59 ============
60
61 Installation is simple. It can be installed from pip using the following
62 command::
63
64 $ pip install pyqrcode
65
66 Or from the terminal::
67
68 $ python setup.py install
69
70
71 Usage
72 =====
73
74 The pyqrcode module aims to be as simple to use as possible. Below is a simple
75 example of creating a QR code for a URL. The code is rendered out as an svg
76 file.
77 ::
78
79 >>> import pyqrcode
80 >>> url = pyqrcode.create('http://uca.edu')
81 >>> url.svg('uca-url.svg', scale=8)
82 >>> url.eps('uca-url.eps', scale=2)
83 >>> print(url.terminal(quiet_zone=1))
84
85 The pyqrcode module, while easy to use, is powerful. You can set every
86 property of the QR code. If you install the optional
87 `pypng <https://pypi.python.org/pypi/pypng/>`_ module, you can
88 render the code as a PNG image. Below is a more complex example::
89
90 >>> big_code = pyqrcode.create('0987654321', error='L', version=27, mode='binary')
91 >>> big_code.png('code.png', scale=6, module_color=[0, 0, 0, 128], background=[0xff, 0xff, 0xcc])
92 >>> big_code.show()
0 Metadata-Version: 1.1
0 Metadata-Version: 2.1
11 Name: PyQRCode
22 Version: 1.2.1
33 Summary: A QR code generator written purely in Python with SVG, EPS, PNG and terminal output.
55 Author: Michael Nooner
66 Author-email: mnooner256@gmail.com
77 License: BSD
8 Description: ========
9 PyQRCode
10 ========
11
12 .. contents::
13
14 The pyqrcode module is a QR code generator that is simple to use and written
15 in pure python. The module can automates most of the building process for
16 creating QR codes. Most codes can be created using only two lines of code!
17
18 Unlike other generators, all of the helpers can be controlled manually. You are
19 free to set any or all of the properties of your QR code.
20
21 QR codes can be saved as SVG, PNG (by using the
22 `pypng <https://pypi.python.org/pypi/pypng/>`_ module), and plain text. They can
23 also be displayed directly in most Linux terminal emulators. PIL is
24 not used to render the image files.
25
26 The pyqrcode module attempts to follow the QR code standard as closely as
27 possible. The terminology and the encodings used in pyqrcode come directly
28 from the standard. This module also follows the algorithm laid out in the
29 standard.
30
31 **Homepage**: https://github.com/mnooner256/pyqrcode
32
33 **Documentation**: http://pythonhosted.org/PyQRCode/
34
35 Requirements
36 ============
37
38 The pyqrcode module only requires Python 2.6, Python 2.7, or Python 3. You may
39 want to install `pypng <https://pypi.python.org/pypi/pypng/>`_ in order to
40 render PNG files, but it is optional. Note, pypng is a pure python PNG writer
41 which does not require any other libraries.
42
43 Installation
44 ============
45
46 Installation is simple. It can be installed from pip using the following
47 command::
48
49 $ pip install pyqrcode
50
51 Or from the terminal::
52
53 $ python setup.py install
54
55
56 Usage
57 =====
58
59 The pyqrcode module aims to be as simple to use as possible. Below is a simple
60 example of creating a QR code for a URL. The code is rendered out as an svg
61 file.
62 ::
63
64 >>> import pyqrcode
65 >>> url = pyqrcode.create('http://uca.edu')
66 >>> url.svg('uca-url.svg', scale=8)
67 >>> url.eps('uca-url.eps', scale=2)
68 >>> print(url.terminal(quiet_zone=1))
69
70 The pyqrcode module, while easy to use, is powerful. You can set every
71 property of the QR code. If you install the optional
72 `pypng <https://pypi.python.org/pypi/pypng/>`_ module, you can
73 render the code as a PNG image. Below is a more complex example::
74
75 >>> big_code = pyqrcode.create('0987654321', error='L', version=27, mode='binary')
76 >>> big_code.png('code.png', scale=6, module_color=[0, 0, 0, 128], background=[0xff, 0xff, 0xcc])
77 >>> big_code.show()
78
798 Keywords: qrcode,qr
80 Platform: UNKNOWN
819 Classifier: Development Status :: 4 - Beta
8210 Classifier: Environment :: Console
8311 Classifier: Intended Audience :: Developers
9018 Classifier: Programming Language :: Python :: 3
9119 Classifier: Programming Language :: Python :: 2.6
9220 Classifier: Programming Language :: Python :: 2.7
21 Provides-Extra: PNG
22
23 ========
24 PyQRCode
25 ========
26
27 .. contents::
28
29 The pyqrcode module is a QR code generator that is simple to use and written
30 in pure python. The module can automates most of the building process for
31 creating QR codes. Most codes can be created using only two lines of code!
32
33 Unlike other generators, all of the helpers can be controlled manually. You are
34 free to set any or all of the properties of your QR code.
35
36 QR codes can be saved as SVG, PNG (by using the
37 `pypng <https://pypi.python.org/pypi/pypng/>`_ module), and plain text. They can
38 also be displayed directly in most Linux terminal emulators. PIL is
39 not used to render the image files.
40
41 The pyqrcode module attempts to follow the QR code standard as closely as
42 possible. The terminology and the encodings used in pyqrcode come directly
43 from the standard. This module also follows the algorithm laid out in the
44 standard.
45
46 **Homepage**: https://github.com/mnooner256/pyqrcode
47
48 **Documentation**: http://pythonhosted.org/PyQRCode/
49
50 Requirements
51 ============
52
53 The pyqrcode module only requires Python 2.6, Python 2.7, or Python 3. You may
54 want to install `pypng <https://pypi.python.org/pypi/pypng/>`_ in order to
55 render PNG files, but it is optional. Note, pypng is a pure python PNG writer
56 which does not require any other libraries.
57
58 Installation
59 ============
60
61 Installation is simple. It can be installed from pip using the following
62 command::
63
64 $ pip install pyqrcode
65
66 Or from the terminal::
67
68 $ python setup.py install
69
70
71 Usage
72 =====
73
74 The pyqrcode module aims to be as simple to use as possible. Below is a simple
75 example of creating a QR code for a URL. The code is rendered out as an svg
76 file.
77 ::
78
79 >>> import pyqrcode
80 >>> url = pyqrcode.create('http://uca.edu')
81 >>> url.svg('uca-url.svg', scale=8)
82 >>> url.eps('uca-url.eps', scale=2)
83 >>> print(url.terminal(quiet_zone=1))
84
85 The pyqrcode module, while easy to use, is powerful. You can set every
86 property of the QR code. If you install the optional
87 `pypng <https://pypi.python.org/pypi/pypng/>`_ module, you can
88 render the code as a PNG image. Below is a more complex example::
89
90 >>> big_code = pyqrcode.create('0987654321', error='L', version=27, mode='binary')
91 >>> big_code.png('code.png', scale=6, module_color=[0, 0, 0, 128], background=[0xff, 0xff, 0xcc])
92 >>> big_code.show()
0
10
21 [PNG]
3 pypng>=0.0.13
2 pypng>=0.0.13
0 python-pyqrcode (1.2.1-5) UNRELEASED; urgency=medium
0 python-pyqrcode (1.2.1+git20160619.1.674a77b-1) UNRELEASED; urgency=medium
11
22 * Bump debhelper from old 12 to 13.
33 * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
44 Repository-Browse.
55 * Update standards version to 4.6.0, no changes needed.
6 * New upstream snapshot.
67
7 -- Debian Janitor <janitor@jelmer.uk> Wed, 31 Aug 2022 19:21:18 -0000
8 -- Debian Janitor <janitor@jelmer.uk> Fri, 04 Nov 2022 15:52:53 -0000
89
910 python-pyqrcode (1.2.1-4) unstable; urgency=medium
1011
00 [egg_info]
11 tag_build =
22 tag_date = 0
3 tag_svn_revision = 0
43