Skip to main content

pretix integration for the Corona Warn App (CWA)

Project description

This is a plugin for pretix. It integrates pretix with the German Corona Warn App (CWA) by making it easy for event organizers to generate event QR codes while at the same time making it really easy for attendees to use them and remind them of using it.

It currently supports the following features:

  • Generate a QR code that can be used to check in to the event using the CWA. The QR code can be displayed as a self-refreshing website, printed to paper, or embedded into a digital signage system as a PNG or SVG image.

  • Automatically send a link that allows to check-in using the CWA as soon as the attendee arrived. This is sent via email immediately after the event ticket has been scanned at the entrance. This way, people are actively reminded of doing the check-in (even if they do it only afterwards), but the link is only shared with people who actually show up.

We decided against printing the CWA qr code on tickets since the CWA FAQ recommend to not make it available for people not physically present to avoid misuse.

The configuration of the plugin allows to control whether a new QR codes is generated with every time slot, or just once per day.

It is built based on MaZderMind’s implementation of the CWA event registration spec.

Development setup

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository.

  3. Activate the virtual environment you use for pretix development.

  4. Execute pip install -e . within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black docformatter

To check your plugin for rule violations, run:

docformatter --check -r .
black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

docformatter -r .
isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2021 pretix team

Released under the terms of the Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix-cwa-1.1.2.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

pretix_cwa-1.1.2-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file pretix-cwa-1.1.2.tar.gz.

File metadata

  • Download URL: pretix-cwa-1.1.2.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pretix-cwa-1.1.2.tar.gz
Algorithm Hash digest
SHA256 ec30498c576b5b4ea0506fde548ef4f473199b58b839194f2622bab99958314c
MD5 8aa7aab92f186dcde01d190d4ddf95f0
BLAKE2b-256 e6844df64484b2a8719b254a868aa34a52e726f9d58e60e70d3cedf7b4d434aa

See more details on using hashes here.

File details

Details for the file pretix_cwa-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: pretix_cwa-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pretix_cwa-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e6c871f2e680dc9fa554f8fdce351c4e828f69084184115ed62662e14f1c0d6
MD5 a529ad8e534029f245bea2a434d4c059
BLAKE2b-256 bdaaf611ecf3483df886cde5e15fd2037cf7f4ed3452d908421b33b97e8b0533

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page