No description
  • Python 76.4%
  • HTML 23.2%
  • Makefile 0.4%
Find a file
Daniel Malik 0ccd9416c0
Some checks failed
Code Style and Tests / isort (push) Successful in 15s
Code Style and Tests / flake8 (push) Successful in 18s
Code Style and Tests / black (push) Successful in 20s
Code Style and Tests / packaging (push) Failing after 22s
Code Style and Tests / Tests (push) Failing after 2m10s
Release / Release to Forgejo (push) Failing after 27s
fix(ci): use forgejo
2026-02-23 03:25:55 +01:00
.forgejo/workflows fix(ci): use forgejo 2026-02-23 03:25:55 +01:00
pretix_google_events feat: initial commit 2026-02-19 02:56:09 +01:00
tests feat: initial commit 2026-02-19 02:56:09 +01:00
.gitignore feat: initial commit 2026-02-19 02:56:09 +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 feat: initial commit 2026-02-19 02:56:09 +01:00
pretixplugin.toml feat: initial commit 2026-02-19 02:56:09 +01:00
pyproject.toml feat: initial commit 2026-02-19 02:56:09 +01:00
README.rst feat: initial commit 2026-02-19 02:56:09 +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

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



.. _pretix: https://github.com/pretix/pretix
.. _pretix development setup: https://docs.pretix.eu/en/latest/development/setup.html