pretix-google-events-sd (0.1.0)
Published 2026-02-23 03:35:28 +01:00 by fronbasal
Installation
pip install --index-url pretix-google-events-sdAbout this package
Inject Google structured data for better search listings
Pretix Google Events (StructuredData)
A plugin for pretix_ that automatically injects schema.org structured data (JSON-LD) into event pages. Improves search engine visibility and enables rich event information in Google Search results.
Features:
- Automatic JSON-LD schema.org Event markup generation
- Customizable event metadata (name, description, location, organizer, performer)
- Per-ticket pricing and availability overrides
- Support for online, offline, and mixed-mode events
- Multilingual support with caching
- URL validation and security best practices
Installation & Development
- Ensure you have a working
pretix development setup_. - Clone this repository.
- Activate the virtual environment for pretix development.
- Run
python setup.py developto register the plugin. - Run
maketo compile translations. - Restart your pretix server and enable the plugin in the 'plugins' tab.
Code Quality
This project enforces code style rules via flake8, isort, and black::
pip install flake8 isort black
Verify compliance::
black --check .
isort -c .
flake8 .
Auto-fix issues::
isort .
black .
Install pre-commit hooks::
.install-hooks
License
-------
Copyright 2026 Daniel Malik <mail@fronbasal.de>
Released under the terms of the Apache License 2.0
.. _pretix: https://github.com/pretix/pretix
.. _pretix development setup: https://docs.pretix.eu/en/latest/development/setup.html