Skip to main content

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

Project description

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

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_swap-0.4.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_swap-0.4.0-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file pretix_swap-0.4.0.tar.gz.

File metadata

  • Download URL: pretix_swap-0.4.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pretix_swap-0.4.0.tar.gz
Algorithm Hash digest
SHA256 07596bbbfd7444e946ac7c8a31f6f49e7ec74f8da1d40cad66c98e55c1744939
MD5 7f3df85772c3f832f6548eff4b0b787e
BLAKE2b-256 9a0abef8cc77dbfbbad6b704c68def5c027c631f25f43bc8bf76739cb5d5aa60

See more details on using hashes here.

File details

Details for the file pretix_swap-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pretix_swap-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pretix_swap-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b26fc7164ef326abb76110ad27f605ae62f04a059e51022e73f790db31a4b987
MD5 8dce90474c416f8300debf8e740a234b
BLAKE2b-256 788fca3060857a753486f797310a546697fad4654a4f1b73d7269c75c8a7dc86

See more details on using hashes here.

Supported by

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