Emits Google Structured Data for SEO into pages.
  • Python 85.5%
  • HTML 14.3%
  • Makefile 0.2%
Find a file
Daniel Malik 247e7885c1
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
chore: add tests
2026-02-25 19:39:44 +01:00
.forgejo/workflows Add intelligent validFrom to offers and enable PyPI releases 2026-02-25 18:31:22 +01:00
pretix_google_events chore: add tests 2026-02-25 19:39:44 +01:00
tests chore: add tests 2026-02-25 19:39:44 +01:00
.gitignore Fix packaging: exclude .forgejo CI files, fix code quality issues 2026-02-24 01:44:50 +01:00
.gitlab-ci.yml feat: initial commit 2026-02-19 02:56:09 +01:00
.install-hooks.sh feat: initial commit 2026-02-19 02:56:09 +01:00
.update-locales.sh feat: initial commit 2026-02-19 02:56:09 +01:00
LICENSE feat: initial commit 2026-02-19 02:56:09 +01:00
Makefile feat: initial commit 2026-02-19 02:56:09 +01:00
MANIFEST.in Fix packaging: exclude .forgejo CI files, fix code quality issues 2026-02-24 01:44:50 +01:00
pretixplugin.toml feat: initial commit 2026-02-19 02:56:09 +01:00
pyproject.toml Release v0.1.3: Update docs (README.rst→README.md), fix type errors and test failures, bump version 2026-02-24 02:43:04 +01:00
README.md Release v0.1.3: Update docs (README.rst→README.md), fix type errors and test failures, bump version 2026-02-24 02:43:04 +01:00
setup.cfg feat: initial commit 2026-02-19 02:56:09 +01:00
setup.py feat: initial commit 2026-02-19 02:56:09 +01:00

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

  1. Ensure you have a working pretix development setup.
  2. Clone this repository.
  3. Activate the virtual environment for pretix development.
  4. Run python setup.py develop to register the plugin.
  5. Run make to compile translations.
  6. 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