pretix Matrix inviter
This is a plugin for pretix.
Invite pretix participants to a Matrix Room or Space.
Installation
Activate the virtual environment for your pretix installation and run
pip install pretix-matrix-inviter
Configuration
Each event can enable this plugin in Settings > Plugins > Features.
Once the plugin is enabled you can configure it in Settings > Matrix inviter. You will need an access token of a user that can invite new users to your Matrix room or space, the address of the server said inviting user is on, and the ID or an alias of the Matrix room or space your participants should be invited to.
Development setup
- Make sure that you have a working pretix development setup.
- Clone this repository.
- Activate the virtual environment you use for pretix development.
- Execute
python setup.py developwithin this directory to register this application with pretix's plugin registry. - Execute
makewithin this directory to compile translations. - 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 2022-2023 Felix Schäfer
Released under the terms of the MIT License
Release files for pretix-matrix-inviter 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pretix_matrix_inviter-1.9.0.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretix_matrix_inviter-1.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / pretix_matrix_inviter-1.9.0.tar.gz
| Download URL | pretix_matrix_inviter-1.9.0.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
debeef6dd0e81bd9cf261d24a1cb6e140f6f009f981dae6d31d3b66c37515eb0
|
|
BLAKE2b-256 checksum How to use checksums |
51efff0a3ace6d353d0a0cf417fe508683330eba9f499e4dca6608435466a060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / pretix_matrix_inviter-1.9.0-py3-none-any.whl
| Download URL | pretix_matrix_inviter-1.9.0-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73542d9c991ae2c93d79ca5ff4d616ce1d56fdc494d620831febcf4d663b37c9
|
|
BLAKE2b-256 checksum How to use checksums |
dd089d8e1df890edcab3f3177fae6235411f73e378c309dd65f80edcec9311b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|