Skip to main content

Roomsharing

This is a plugin for pretix.

Let attendees choose who they share a room with. Perfect for events with included accommodation, like conferences, camps, retreats and conventions.

During checkout, attendees with a room ticket create a room and share its name and password with their friends, who then join it. They can also ask to be assigned a random room. Attendees can change their room later from their order page.

Features

  • Choose which products, or individual product variations, include a room

  • Set a maximum number of people per room for each product or variation. Full rooms can’t be joined.

  • Optionally only let people with the same ticket share a room, e.g. keep “Single” and “Double” rooms apart

  • Decide whether attendees may be assigned a random room, or must create or join one

  • Choose what roommates see about each other: order code, attendee name and/or answers to your own questions

  • Manage rooms in the backend: see who is in which room and how full it is, move orders between rooms, and change or delete rooms

  • Give rooms a room number (e.g. the hotel room), visible to staff and optionally to attendees

  • Room statistics per product and date, with a metrics endpoint for monitoring

  • REST API and ticket placeholders with each attendee’s room, e.g. for check-in apps or badges

  • Respects your order modification deadline, and works with event series

Requires pretix 2026.3 or newer.

API

All endpoints need an API token or user with the event.orders:read permission.

GET /api/v1/organizers/{organizer}/events/{event}/rooms/

Lists the event’s rooms, paginated like pretix’s other endpoints. GET .../rooms/{id}/ returns a single room. Filter with ?order={order code}, ?room_number= or ?name=. Each room looks like this:

{
    "id": 1,
    "name": "Room 1",
    "room_number": "101",
    "item": 12,
    "variation": 34,
    "capacity": 4,
    "occupancy": 2,
    "members": [
        {"order": "ABC12", "position": 56, "positionid": 1,
         "attendee_name": "Alex Example", "is_admin": true}
    ]
}

item and variation are the room type, capacity is null for rooms without a maximum, and members lists the room tickets of pending and paid orders. Room passwords are never included.

Order and order position API (plugin_data)

pretix’s own order and order position endpoints include the order’s room, or null:

"plugin_data": {"roomsharing": {"room": {"id": 1, "name": "Room 1", "room_number": "101"}}}
Check-in API and ticket layouts

pretix’s check-in endpoints don’t include plugin_data. Instead, the plugin adds the ticket placeholders roomsharing_room_name and roomsharing_room_number, which appear in the check-in API’s pdf_data when you pass ?pdf_data=true (for example when redeeming a ticket). You can also print them on tickets and badges.

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 pip install -e . 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 docformatter

To check your plugin for rule violations, run:

docformatter --check -r .
black --check .
isort -c .
flake8 .

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

docformatter -r .
isort .
black .

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

License

Copyright 2022-2026 Christiaan de Die le Clercq (techwolf12)

Released under the terms of the Apache License 2.0

Metadata

Release files for pretix-roomsharing 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-roomsharing 0.3.1
File Size Uploaded Provenance
pretix_roomsharing-0.3.1.tar.gz 56.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-roomsharing 0.3.1
File Interpreter ABI Platform
pretix_roomsharing-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 139.8 kB

Release files / pretix_roomsharing-0.3.1.tar.gz

Download URL pretix_roomsharing-0.3.1.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
82069908c814a87fcb3495c64755ccbb8bb1ccde641768edbcbbb004f7254d64
BLAKE2b-256 checksum
How to use checksums
e15502484e5f8086c9b0f9135c6322b4a2f8beacfc3fdd58ee5a509e986c1bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / pretix_roomsharing-0.3.1-py3-none-any.whl

Download URL pretix_roomsharing-0.3.1-py3-none-any.whl
Size 83.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02abff514f1ae4a468e26f1261faaf271b96b272fb896c0ca3504ab642e6bfde
BLAKE2b-256 checksum
How to use checksums
89e11a043840a637673b9daf08390b442ad4aa39c7202aed110ff7aa79bb4b99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for pretix-roomsharing 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pretix_roomsharing-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page