Skip to main content

This is a plugin for pretix.

Advertise the DB Event Offers for discounted and sustainable train travel 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

Metadata

Release files for pretix-dbevent 1.0.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 pretix-dbevent 1.0.0
File Size Uploaded
pretix_dbevent-1.0.0.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-dbevent 1.0.0
File Interpreter ABI Platform
pretix_dbevent-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / pretix_dbevent-1.0.0.tar.gz

Download URL pretix_dbevent-1.0.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2d178ff8a7efe3d2db7dea263667c810a76793dd463101c167fbceebaec1132c
BLAKE2b-256 checksum
How to use checksums
9da4d92b6374736303e152f9a70cca01f18b472a8a0272fc73bab75bef365d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / pretix_dbevent-1.0.0-py3-none-any.whl

Download URL pretix_dbevent-1.0.0-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45046d20de238c160d8a47f772c18a78028426840a6dc011d6bf19cbddb44df0
BLAKE2b-256 checksum
How to use checksums
a237fa6b8512a52a2090c468dab3f2c75c838cec1932c7182cee432b073219fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

1.0.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