Emits Google Structured Data for SEO into pages.
- Python 85.5%
- HTML 14.3%
- Makefile 0.2%
|
All checks were successful
Code Style and Tests / isort (push) Successful in 17s
Code Style and Tests / flake8 (push) Successful in 19s
Code Style and Tests / black (push) Successful in 20s
Code Style and Tests / packaging (push) Successful in 21s
Code Style and Tests / Tests (push) Successful in 2m12s
|
||
|---|---|---|
| .forgejo/workflows | ||
| pretix_google_events | ||
| tests | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .install-hooks.sh | ||
| .update-locales.sh | ||
| LICENSE | ||
| Makefile | ||
| MANIFEST.in | ||
| pretixplugin.toml | ||
| pyproject.toml | ||
| README.md | ||
| setup.cfg | ||
| setup.py | ||
| title |
|---|
| 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