Skip to main content

Venue map

This is a plugin for pretix.

Shows a map of the event location using the tile server

It uses the tile server and attribution configured in the global pretix settings (Leaflet tiles URL pattern / Leaflet tiles attribution), i.e. the same ones the backend uses for the geo coordinates map. No additional configuration of the Content-Security-Policy is needed, since pretix already allows the tile host.

The map is shown next to the event location on the shop page if

  • the plugin is enabled for the event,

  • a tile server is configured globally,

  • the event (or selected date of a series) has a location and geo coordinates.

Per event, zoom level and position (beside/below the event information) can be set under Venue map in the event settings.

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 with Ruff. To check locally, you need it installed:

pip install ruff

To check your plugin for rule violations, run:

ruff format --check .
ruff check .

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

ruff format .
ruff check --fix .

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

Commits in this repository follow Conventional Commits and releases are cut with Commitizen (cz bump), which updates the version in pyproject.toml and pretix_venuemap/__init__.py, writes CHANGELOG.md and creates the matching git tag. The version starts at 0.1.0; while it is 0.x, breaking changes bump the minor version.

Quick start without a pretix checkout

To run the tests and the style checks you do not need a full pretix development setup. With uv, a few commands create a throwaway environment that contains the plugin and pretix from its git master branch:

uv venv
source .venv/bin/activate
uv pip install -e . --group dev --group test
make
pytest tests
ruff check .

make needs GNU gettext (Debian package gettext). To try the plugin in a running pretix, use the development setup above instead.

License

Copyright 2026 ET15

Released under the terms of the Apache License 2.0

Metadata

Release files for pretix-venuemap 0.2.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-venuemap 0.2.0
File Size Uploaded
pretix_venuemap-0.2.0.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-venuemap 0.2.0
File Interpreter ABI Platform
pretix_venuemap-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / pretix_venuemap-0.2.0.tar.gz

Download URL pretix_venuemap-0.2.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4268b511cc7a08e5fbb523d8a3e8302b305d09b3104d4e9eea6936bdb96187a6
BLAKE2b-256 checksum
How to use checksums
000c54fd9c32c322798ecaf0193f38293059403c66e0f1a92032cb47b4822ff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pretix_venuemap-0.2.0-py3-none-any.whl

Download URL pretix_venuemap-0.2.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77365af7e3631e6a32021d5d9c204445da7208ea941c49a4922f9635b3aa4887
BLAKE2b-256 checksum
How to use checksums
3590d72f7df94d4aff368f93411f3179d144fff2648a4e0a2cb167fcdeb864c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

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