
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Python lib to generate the QR code of Swiss QR bills. Check here for more details on QR bills.
Beware: This library is not well tested, use at your own risk!
import pathlib
from iso4217 import Currency
from swissqr import PaymentParty, QRData, SwissQR
# Create a PaymentParty object for the payment receiver
p = PaymentParty(
name="Hambone Fakenamington",
street="Madeup Street",
street_no="1",
zipcode="9999",
city="Madeup Town",
country="CH"
)
# Create QR code data model
d = QRData(
iban="CH1234567890123456789",
creditor=p,
amount=5.0,
currency=Currency.chf,
message="Have a beer!"
)
# Create QR code object
q = SwissQR(d)
# Get QR code svg as a string
markup = q.get_markup()
# Save QR code to a file
p = pathlib.Path("/tmp/qr.svg")
q.save(p)
Install with pip
/git
:
pip install git+https://gitlab.com/dinuthehuman/swissqr.git
FAQs
Generator for SwissQR invoice qr codes
We found that swissqr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.