Skip to main content

upnqr-png

Generates UPN QR payment codes in PNG format for fast payment using the Slovene Universalni Plačilni Nalog standard.

Installation

pip install upnqr-png

The package's distribution name is upnqr-png; the import name is upnqr.

Usage

from upnqr.upnqr import make_png

output_path = "qr.png"

payload = {
  "payee": {
    "name": "Foo d.o.o.",
    "iban": "SI56 0000 0000 0000 000",
    "address": {
      "street": "Lepa ulica 1",
      "postalCode": "1000",
      "postalLocality": "Ljubljana",
    },
  },
  "payer": {
    "name": "Bar d.o.o.",
    "address": {
      "street": "Lepa ulica 2",
      "postalCode": "1000",
      "postalLocality": "Ljubljana",
    },
  },
  "payment": {
    "dueCents": 4200,
    "code": "OTHR",
    "purpose": "Plačilo računa",
    "dueDate": "2024-01-01",
    "reference": "SI00 2024-000001",
  },
}

make_png(payload, output_path)

Metadata

Release files for upnqr-png 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upnqr-png 0.1.0
File Size Uploaded
upnqr_png-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for upnqr-png 0.1.0
File Interpreter ABI Platform
upnqr_png-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / upnqr_png-0.1.0.tar.gz

Download URL upnqr_png-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1292a1f92db1c95fa42f12d0247073b4928b5f8d7b196a09316078588dde643
BLAKE2b-256 checksum
How to use checksums
d2437b3a5dc9a239ea3cef994b929933b58639ed76654de436e4c6eeebf1bdad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / upnqr_png-0.1.0-py3-none-any.whl

Download URL upnqr_png-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b31f01ce33c243a911a23742ed720cb7fa304c8e1cc5ba36cbc77186a8f8a470
BLAKE2b-256 checksum
How to use checksums
339b66988e4a64dadadc30db72a902beb00e1a2092d44e2e3a5e8d19e111ad41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page