qrimg
Generate QRCode Image
Install
pip install qrimg
Usage
Help Information
C:\Workspace\qrimg>qrimg --help
Usage: qrimg.py [OPTIONS] MESSAGE
Options:
-o, --output TEXT Output file name. [required]
-v, --version INTEGER An integer from 1 to 40 that controls the
size of the QR Code. The smallest, version
1, is a 21x21 matrix. Default to None, means
making the code to determine the size
automatically.
-c, --error-correction [7|15|25|30]
controls the error correction used for the
QR Code. Default to 30.
-s, --box-size INTEGER controls how many pixels each 'box' of the
QR code is. Default to 10.
-b, --border INTEGER controls how many boxes thick the border
should be (the default is 4, which is the
minimum according to the specs).
-f, --fill-color TEXT Named color or #RGB color accepted. Default
to named color 'black'.
-b, --back-color TEXT Named color or #RGB color accepted. Default
to named color 'white'.
--help Show this message and exit.
Example 1
Use qrimg command generate an image contain information "Hello world".
qrimg -o hello.png "Hello world"
Example 2
Use qrimg command generate an image contain a url.
qrimg -o site.png http://www.example.com
Example 3
Use qrimg command generate a blue colored image.
qrimg -o site.png -f blue http://www.example.com
Example 3
Use RGB color.
qrimg -o site.png -f #ff00cc http://www.example.com
Bug report
Please report any issues at https://github.com/zencore-cn/zencore-issues.
Releases
v0.2.0 2020/06/29
- Add controller parameters in generating.
v0.1.0 2019/05/25
- First release.
Metadata
Release files for qrimg 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qrimg-0.2.0.tar.gz | 3.7 kB | Without provenance | Details |
Release files / qrimg-0.2.0.tar.gz
| Download URL | qrimg-0.2.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f09523f0a9465a6b743450ca566892db67569a1e54ad11258ec3cf58ec3db3a5
|
|
BLAKE2b-256 checksum How to use checksums |
dfce7372e740fdbebfbb76567320dad0fc45c025d8f3e407d99cd01abc169c28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8
|
Security for qrimg 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.