QR Payment CZ
Tool to generate QR code pictures in PNG format (410x410px) for QR payments in Czech Republic based on standart https://qr-platba.cz/pro-vyvojare/specifikace-formatu/
CLI TOOL
qr-payment-cz --help
usage: qr-payment-cz [-h] [-a ACCOUNT] [-i IBAN_ACC] -v AMMOUNT [-m MESSAGE] [-rn RN] [-vs VS] [-ss SS] [-ks KS] [-o OUTPUT_FILE] [-d] [-s] [-fs]
QR payment generator for CZE based on https://qr-platba.cz/pro-vyvojare/specifikace-formatu/
options:
-h, --help show this help message and exit
-a ACCOUNT, --account ACCOUNT
Account number std bank account format
-i IBAN_ACC, --iban-account IBAN_ACC
Account number in IBAN format
-v AMMOUNT, --ammount-value AMMOUNT
Payment ammount
-m MESSAGE, --message MESSAGE
Message text for payment
-rn RN, --receiver-name RN
Payment receiver name
-vs VS, --variable-symbol VS
Payment variable symbol
-ss SS, --specific-symbol SS
Payment specific symbol
-ks KS, --constant-symbol KS
Payment contant symbol
-o OUTPUT_FILE, --output-file OUTPUT_FILE
Output PNG image file path
-d, --display-image Display generated QR code image
-s, --silent Silent mode for info messages
-fs, --force-silent Stronger silent mode for all messages
WEB APP
qr-payment-cz-server --help
usage: qr-payment-cz-server [-h] -a ACCOUNT [--host HOST] [--port PORT] [--url-prefix-dir URL_PREFIX]
Server part of QR payment generator for CZE based on https://qr-platba.cz/pro-vyvojare/specifikace-formatu/
options:
-h, --help show this help message and exit
-a ACCOUNT, --account ACCOUNT
Account number std bank account format
--host HOST Server host address
-p PORT, --port PORT Server port
System D
Install qr-payment-cz-server as a system service qr-payment-cz-server.service
# if you have app repository cloned
cp ./qr_payment_cz/qr-payment-cz-server.service /lib/systemd/system/qr-payment-cz-server.service
# or
cp /usr/local/lib/python3.8/dist-packages/qr_payment_cz/qr-payment-cz-server.service /lib/systemd/system/qr-payment-cz-server.service
systemctl enable qr-payment-cz-server.service
systemctl start qr_payment_cz-server.service
nginx example conf
Example file in project gitlab.
Changelog:
0.2.18
nginx configuration added. App relative root option removed.
0.2.17
System.d configuration added
0.2.16
System.d configuration added
0.2.15
Server genearated image is labeled in HTML template
0.2.14
Template enhancements
0.2.13
Url rounting fixes
0.2.12
Template enhancements
0.2.11
Template routing fix for application root
0.2.9
Python 3.8 compatibility fix ii
0.2.8
Int conversion fix
0.2.7
Python 3.8 compatibility fix
0.2.6
Server app index page refactoring
0.2.5
Server app enhancements / CSS
0.2.4
Server app enhancements
0.2.0
Flask server added to serve generated images on specified port and host addess for selected account number.
Run server via command qr-payment-cz-server
0.1.6
-d param added to display generater QR code image via system default PNG viewer app
0.1.5
Source code refactorng and tests added
0.1.4
Silent mode added.
0.1.3
Validation of account number format added.
0.1.2
Support for account number defined in usual bank format xxxxxx-xxxxxxxxxx/xxxx.
0.1.1
first version supporting IBAN account numbers only.
Metadata
Release files for qr-payment-cz 0.2.18
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 | Actions |
|---|---|---|---|---|
| qr_payment_cz-0.2.18.tar.gz | 13.7 kB | Without provenance | Details for qr_payment_cz-0.2.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qr_payment_cz-0.2.18-py3-none-any.whl | Python 3 | none | any | Details for qr_payment_cz-0.2.18-py3-none-any.whl |
Total release size: 29.0 kB
Release files / qr_payment_cz-0.2.18.tar.gz
| Download URL | qr_payment_cz-0.2.18.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04cd4397c8cf01b62345df3f6db6d79dddec9a12da057f20b1ab2dec38ff332f
|
|
BLAKE2b-256 checksum How to use checksums |
187ca5c4f505024dc609ec39484d33836dc5baa6839f8c456c78492ef6435c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / qr_payment_cz-0.2.18-py3-none-any.whl
| Download URL | qr_payment_cz-0.2.18-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b59e484427a7c6a572254d82527fa08aeb020d8233faca45aee55927e60a4c64
|
|
BLAKE2b-256 checksum How to use checksums |
e75ca4bd0eb0feb554a10e01d3c0aabe047174201c284ce04d13f9e0981ef114
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for qr-payment-cz 0.2.18
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.