semvec/pypi-packages huggingface dataset:
swissqr 0.2.0
Generator for SwissQR invoice qr codes
License: MIT
Requires Python: >=3.9, <4
Keywords: Switzerland,payment,qrcode

# swissqr

Python lib to generate the QR code of Swiss QR bills. Check [here](https://www.six-group.com/en/products-services/banking-services/billing-and-payments/qr-bill.html) for more details on QR bills.

**Beware:** This library is not well tested, use at your own risk!

## Quickstart:

```python
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)
```

## Installation

Install with `pip`/`git`:

```bash
pip install git+https://gitlab.com/dinuthehuman/swissqr.git
```
mesonic 0.2.0
Sonification Framework
License: MIT

=======
mesonic
=======

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: black

.. image:: https://github.com/dreinsch/mesonic/actions/workflows/main.yml/badge.svg?branch=main
    :target: https://github.com/dreinsch/mesonic/actions/workflows/main.yml
    :alt: github-actions

a Sonification Framework


Installation
============

You can install mesonic with the default backend `sc3nb`_ using pip

    pip install mesonic[sc3nb]

Note that to run the notebooks mesonic also requires a backend like `SuperCollider`_ and/or `pya`_ to be installed.

Developer Installation
======================

To clone and install mesonic with dependencies required for the notebooks run::

    git clone https://github.com/interactive-sonification/mesonic.git
    cd mesonic
    pip install -e ".[notebooks]"

Running Tests & Building
========================

We use `tox`_ for the automation of tasks like testing and building.

Please refer to the tox.ini file for more details


Making Changes & Contributing
=============================

This project uses `pre-commit`_, please make sure to install it before making any
changes::

    pip install pre-commit
    cd mesonic
    pre-commit install


update the hooks to the latest version::

    pre-commit autoupdate

.. _sc3nb: https://github.com/interactive-sonification/sc3nb
.. _SuperCollider: https://github.com/supercollider/supercollider
.. _tox: https://github.com/tox-dev/tox
.. _pre-commit: https://pre-commit.com/
.. _pya: https://github.com/interactive-sonification/pya#installation