Skip to main content

Distribute Deutsche Bahn Veranstaltungsrabatt (DB VAT) eCoupons to your attendees

Project description

This is a plugin for pretix.

Distribute Deutsche Bahn Veranstaltungsrabatt (DB VAT) eCoupons to your attendees

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 python setup.py develop 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

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

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

isort .
black .

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

License

Copyright 2024 rami.io GmbH

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-dbvat-1.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

pretix_dbvat-1.1.0-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file pretix-dbvat-1.1.0.tar.gz.

File metadata

  • Download URL: pretix-dbvat-1.1.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for pretix-dbvat-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a77d11d09b8bfd04054980bdf6ddbabc86f024772bd9145140ed4d1648f83d93
MD5 8357a4b4852851c4a3df3814af50bebc
BLAKE2b-256 63c86d0cc3a709c6d91c1a0467a44239eb91774216c29069c96e7308ae2eb4b0

See more details on using hashes here.

File details

Details for the file pretix_dbvat-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pretix_dbvat-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for pretix_dbvat-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2031f655051e086f9594f2fcee4f6fcb5133130b6205112fb5a7d7b3716402e9
MD5 42a8a41ae5f2b95262c911f96dd54dd1
BLAKE2b-256 41f5240c5fbe523a75cdeafc9ac6231b78f1519f7020c26951f9d88ac1a93b8c

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