Skip to main content

Swap tickets with other attendees

This is a plugin for pretix.

Swap tickets, anonymously or with specific other attendees. Also supports canceling tickets if (and only if) another ticket is purchased.

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 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 Tobias Kunze

Released under the terms of the Apache License 2.0

Metadata

Release files for pretix-swap 0.4.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-swap 0.4.0
File Size Uploaded
pretix_swap-0.4.0.tar.gz 38.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-swap 0.4.0
File Interpreter ABI Platform
pretix_swap-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 100.4 kB

Release files / pretix_swap-0.4.0.tar.gz

Download URL pretix_swap-0.4.0.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07596bbbfd7444e946ac7c8a31f6f49e7ec74f8da1d40cad66c98e55c1744939
BLAKE2b-256 checksum
How to use checksums
9a0abef8cc77dbfbbad6b704c68def5c027c631f25f43bc8bf76739cb5d5aa60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pretix_swap-0.4.0-py3-none-any.whl

Download URL pretix_swap-0.4.0-py3-none-any.whl
Size 61.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b26fc7164ef326abb76110ad27f605ae62f04a059e51022e73f790db31a4b987
BLAKE2b-256 checksum
How to use checksums
788fca3060857a753486f797310a546697fad4654a4f1b73d7269c75c8a7dc86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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