BriteBadge is a tool built in Python (3) that handles printing of name badges from Eventbrite attendee check-ins.
The rough principle is based off eventbadge which the Northern Ireland Raspberry Jam team had been using for a number of years.
BriteBadge in comparison to eventbadge lacks any web interface, but is designed to run headless off a Raspberry Pi (using the brother_ql Python library).
Like eventbadge, BriteBadge is designed to be used with a Brother QL-570 label printer. It is preconfigured to use 29mm x 90mm labels.
- Copy the
secrets/config_example.py
file tosecrets/config.py
. - Edit the
secrets/config.py
file, following the instructions in the comments. You will need your Eventbrite API key as a minimum. - Install all the requirements of the project using
pip3 install -r requirements.txt
. - Customise your label design (see below).
- To run the application, run with
main.py
file with Python 3.
It is worth keeping in mind that Eventbrite has API rate limits. The most recent rate limits can be found here.
BriteBadge queries Eventbrite every fixed amount of time, as defined in the delay configuration value, it is worth doing some quick maths to make sure you aren't going to hit the hourly/daily rate limits on the API.
Tweaking the badge design isn't overly complicated. You need to edit the badge.py file in the create_label_image
function.
This is where the badge itself is built up, using PIL statements. These can be tweaked or changed as needed.