Skip to main content

PostHog Integration for Pretix

Project description

This is a plugin for pretix.

PostHog Integration for Pretix

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 python setup.py develop 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. To check locally, you need these packages installed:

pip install flake8 isort black

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

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

isort .
black .

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

License

Copyright 2024 Daniel Malik

Released under the terms of the Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix_posthog-1.1.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

pretix_posthog-1.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pretix_posthog-1.1.2.tar.gz.

File metadata

  • Download URL: pretix_posthog-1.1.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pretix_posthog-1.1.2.tar.gz
Algorithm Hash digest
SHA256 4f2f892b77fba2b9555e99aa249fb174ef61fd9dc5c6298fbbed5ffd8c58919e
MD5 d599aad1bba80c3782e705efee818d80
BLAKE2b-256 d62cace6165a8f7e9ea6a3cf04aa18c12798be68c4b49f5f14b0ca2a3944ad7f

See more details on using hashes here.

File details

Details for the file pretix_posthog-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_posthog-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79bcfcd50d8eb4614d3ad2da5a1956fbe1a844e9dd56dc85870bd0d5cd9c3329
MD5 0442579400373277b9cf7f6cf4ef8022
BLAKE2b-256 15244841137ebf3b98c13ad24473b2c985d20df8d8aa60759c8e80fc84e507ca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page