Skip to main content

Indico STSA plugin

Customizations for the Singapore Taiwanese Student Association.

Eleven things, each independently switchable -- except the last, which is just there for administrators:

  1. E-mail subject prefixes. Every mail Indico sends goes out with STSA's own prefix instead of [Indico].
  2. A member discount, per registration form. Money off for anyone who registers while signed in with their STSA membership — with the answers they have already typed kept intact across the trip to the login page.
  3. Members-only group registration. Where the group registration plugin is also installed, creating or joining a group can be restricted to signed-in members.
  4. The standard wallet buttons. Indico's "Add to Wallet" dropdown is replaced with Apple's and Google's own badges, on the registration page and in the e-mail the ticket arrives with — and they work without signing in.
  5. An STSA ticket, in the association's own colours and marks, with a font that can actually draw Chinese.
  6. STSA colours on the Apple Wallet pass, so the saved ticket and the printed one belong to the same association.
  7. Payment reminders. One button in the registrant list writes to everybody whose registration fee is still outstanding, each mail naming what that person owes.
  8. The membership's e-mail address. A member who is signed in registers under the address on their membership, so their registrations can always be matched back to them.
  9. Membership details on the form. Four field types -- 中文姓名, 英文姓名, 就讀科系 and 目前身分 -- that a signed-in member's account fills in and locks, and that anybody else simply types into.
  10. First and Last name, switched off. On a form that has 英文姓名 and 中文姓名, the default First name and Last name fields get the Disable button Indico withholds from them, and a registrant's name becomes the English name followed by the Chinese one.
  11. The registered-events API. A signed-in participant — or an app acting for them — can ask which events they have registered for, filtered by when they take place and by whether the participant came, is still to come, or missed it.
  12. An API reference for administrators. Every endpoint this Indico has, plugins included, written down as an OpenAPI document and drawn with Scalar — in the administration area, and nowhere else.

A member is anyone signed in. An STSA membership is an account on the site: there is no membership table and no separate sign-up, so "becoming a member" is exactly "signing in". Every participant-facing string says "STSA membership" rather than naming Indico.

Installing

pip install indico-plugin-stsa

Then add it to PLUGINS in indico.conf:

PLUGINS = {'stsa'}

and create its tables:

indico db --plugin stsa upgrade

Restart Indico (and the Celery worker, if you run one).

Missing that last step does not take anything down. Without its tables the plugin reads as nothing configured: the member discount and the group gate are off, registration forms and e-mails behave exactly as they would with the plugin uninstalled, and the STSA pages in the management area say what is missing and print the command above instead of failing. The same line goes to the server log once per process. The same goes for a database that has the tables but not the newest column -- an update that was installed and not upgraded -- so run the command again after every update that says it has a migration.

Released wheels carry the compiled webpack bundle. Installing straight from a git checkout does not — see Building the assets.

1. E-mail subject prefixes

Configured once, for the whole site, at Administration → Plugins → STSA:

Setting Default
Rewrite e-mail subject prefixes on The master switch.
Subject prefix [STSA 活動] What [Indico] becomes. Empty strips it.
Use the Apple and Google wallet badges on See the wallet buttons.

Every outgoing mail is covered: registration confirmations, password resets, event reminders, abstract notifications, and anything a plugin sends. Mails that deliberately carry no prefix — the room booking ones set the prefix block to empty — are left exactly as they are, because there is nothing there to replace. The error-report mail's [Indico@yourserver] is replaced whole; the server name it carries is in the body anyway.

How

Indico builds every mail through indico.core.notifications.make_email, which is decorated with @make_interceptable precisely so that a plugin can step in. The plugin intercepts it, lets Indico build the mail as usual, and rewrites the subject afterwards.

The obvious alternative — overriding emails/base.txt and emails/base.html through get_template_customization_paths — was rejected. It only reaches the mails that go through those templates and do not override the subject_prefix block themselves, it misses every mail built from a plain subject= string, and the value would be fixed at deploy time rather than configurable.

If the setting cannot be read, or the rewrite raises for any reason, the original subject is used and the mail still goes out. A misconfigured prefix must never cost somebody their registration confirmation.

2. The member discount

Per registration form, at Event → Registration → STSA, or from the STSA box on the registration form's own settings page.

Setting
Enable the member discount Off by default.
Discount A percentage, or a fixed amount in the form's currency.
Discount applies to The registration fee only, or the whole price including paid options.
Sign-in notice Optional. Replaces the built-in wording of the notice.

What the participant sees

Somebody who is not signed in gets a notice above the form saying what the discount is worth and a prominent Sign in with your STSA membership button. Following it takes them through the login page and straight back to the form, with everything they had already typed still in place.

Somebody who is signed in sees nothing extra. The discount appears as a named Member discount line on their invoice, their registration summary and their confirmation e-mail, with the rate next to it.

The invoice line, and why organizers never see it

The discount is stored as a value on a billable registration field the plugin provisions for itself — ext__stsa_member_discount, in a manager-only section called Member discount (internal). That is what makes it a named Member discount line with a rate next to it rather than Indico's unlabelled "Price adjustment", and the plugin is its only writer: the field is locked, so core skips it when a registration is created or modified.

None of it is an organizer's business, so the field and its section are hidden wherever a manager sees the form — the form editor and the management registration form alike. The field is registered with core's React field registry precisely so that it can be hidden: an input type no plugin has registered renders as Unknown input type: ext__stsa_member_discount, which is how organizers used to meet it. It is kept out of the Add field dropdown for the same reason — the plugin provisions the field itself, and a second copy would be a second invoice line that nothing ever writes to.

The registration list's Customize list dialog offers every field on the form as a column, this one included, so it is filtered out of that dialog too. If somebody had already switched the column on, opening the dialog once and applying it puts that right.

Keeping the answers

The answers go into sessionStorage when the page is navigated away from (pagehide, which also covers signing in through the header menu rather than the plugin's own link) and are read back — once, then deleted — when the form next loads. A draft older than six hours is ignored: that is an abandoned tab, not a login round trip.

Two things deliberately do not survive: file uploads, because the browser will not let a File be put back, and the captcha answer, because the challenge it belongs to is gone. Both fields are simply left untouched.

Who counts as a member

A registration earns the discount when it is the account holder's own. Both halves of that matter:

  • registration.user alone is not enough. Core sets it from the e-mail address, with get_user_by_email, so on its own it would hand the discount to anybody who types a member's address into an anonymous registration.
  • session.user alone is not enough either. It would hand the discount to a signed-in organizer registering somebody else.

So the test is registration.user is not None and session.user == registration.user. Registrations created from the management area are trusted instead: an organizer adding a participant has made that decision deliberately.

The link a registration has to a membership account is the whole test, so it is not left to whatever somebody types: while a member is signed in, the e-mail field is held to the address on their membership — see The membership's e-mail address.

Once earned, the discount sticks. Modifying a registration only ever adds the discount, never removes it — a participant may well be editing from the link in their confirmation e-mail with nobody signed in, and losing a discount over a changed phone number would be indefensible. Switching the discount off on the form does remove it, on the next change to each registration.

Applying it to registrations that already exist

Saving the settings only affects registrations made from then on. The Apply to existing registrations button on the settings page reprices everything on the form, and is deliberately a button rather than a side effect of saving: it treats every registration linked to a membership account as a member's, including ones made before the discount existed. Somebody whose price goes up after they have paid will owe the difference, and Indico has no partial-payment concept to collect it with.

3. Members-only group registration

Needs the group registration plugin. The switch is on the same STSA settings page, and is hidden when that plugin is not installed — a switch that currently gates nothing should not be offered.

With it on, a participant who is not signed in finds the group plan picker inert, with a note underneath saying groups are for STSA members and offering the same sign-in button. A code arriving from a shared join link (?group_code=…) is cleared rather than acted on.

The server refuses the same choice again when the registration is submitted, and that is the half that enforces the rule. The check reads the submitted answer rather than the stored one, which is what makes it independent of whether the group plugin's own signal handler has already run: reading the stored answer would either block every later edit of a registration that is already in a group, or let the very thing this is meant to stop straight through, depending on which plugin's handler happened to run first.

Organizers are never gated. Adding a participant to a group from the management area is a deliberate act by somebody who is already signed in. The carve-out is that act, not the registration it produced: a registration an organizer made is still editable from the link in its confirmation e-mail, by somebody who need not be signed in at all, so a later edit of it is gated like any other.

4. The wallet buttons

Where an organizer has configured the passes, Indico offers them as an Add to Wallet dropdown — or, if only one wallet is set up, as an ordinary Indico button. Neither is what people look for, and both vendors' guidelines ask for their own badge instead. So the plugin swaps them for the real thing, in two places: on the registration page, and in the e-mail the ticket arrives with.

The artwork

Both badges are the vendors' official artwork; neither is drawn by hand, because both vendors forbid recreating theirs. But only one of them can ship here:

Ships with the plugin? Source Languages
Google yes the asset packs published with its brand guidelines 27
Apple no — you install it the pack behind Download badge files on its badge guidelines 24

Apple's Wallet Marketing Artwork License Agreement grants a non-transferable licence to use the badge only in connection with your own passes, so this package has no right to hand it on to whoever installs it next. Each deployment downloads its own copy — a formality for anyone already issuing Apple passes, since that needs an Apple Developer account regardless — and installs it with:

python scripts/install-apple-badges.py ~/Downloads/Add-to-Apple-Wallet.zip

Until then the Apple link keeps the button Indico shipped. Nothing is substituted for it. indico_stsa/static/wallet/apple/README.md has the details, and a test plus a release gate make sure the artwork never ends up in a package by accident.

Apple ships SVG and EPS but no PNG, and e-mail needs one — Gmail and Outlook do not render SVG at all — so the installer rasterizes Apple's own SVGs at 3× the rendered height, leaving proportions and colours untouched.

The badge matching the reader's Indico language is used, falling back to English. Both are rendered at 48px, Google's stated minimum, with clear space around them and no hover or press effect — both vendors forbid altering their artwork, and Apple names dimming and animation specifically.

On the page

A small script rewrites the finished page: it finds the links pointing at Indico's two wallet endpoints, puts a badge for each in a row below the action box, and removes the dropdown once nothing is left in it.

The badge keeps the href core gave the link and adds the registration token the page was opened with. That is a fix, not a liberty: core links these two endpoints inconsistently. Where only one wallet is configured it uses the registrant locator, which carries the token — but in the dropdown, the branch you get when both are configured, it links the registration form with no token at all. Anyone who registered without an account was bounced to a login page they have no account for and could not add their pass. The badge grants exactly the access the page it sits on already grants, and nothing more.

The alternative was forking registration_summary.html, a 300-line core template that changes between Indico releases and would then have to be reviewed on every upgrade for the sake of two buttons. Working on the DOM also fails safely: if core moves these endpoints, the links are simply not found and the participant keeps the buttons Indico shipped.

The badges go in a row of their own rather than into the toolbar. That toolbar is a single non-wrapping flex row sized for Indico's own 30px buttons, and two 48px badges pushed into it slide out past the edge of the box.

In the e-mail

The same badges are added to the mail the ticket is attached to — which is where somebody who has just been sent a ticket is actually looking. They appear on exactly the mails that carry the ticket and no others: the condition mirrors the one in Indico's _notify_registration, so an organizer who has switched ticket e-mails off does not start getting pass links instead.

The images are embedded rather than linked, because most mail clients block remote images until the reader asks for them and a blocked button is a button nobody presses. Indico already sends inline images this way for registration pictures. The links carry the registration's token, so they work without signing in.

The mail is already rendered by the time the plugin sees it, so the block is spliced in just above the card's grey footer. If a future Indico changes that footer the badges land after the card instead — untidy, but still a working button.

The Google link needs the event's Google class to exist. Indico makes it — the part of a pass that every ticket of the event shares — the first time anyone follows a Google link, with a lookup and then a create that nothing guards. A mail full of those links is followed by every link scanner on the way to the inbox (Safe Links on a university mailbox opens them all within a second of delivery), so on an event's first mail the creates collide: Google answers the losers 409 existingResource and Indico turns it into a 503. Nobody real is hurt, but it is noise in the logs and in Sentry that the plugin's own badges cause. So ensure_google_wallet_class makes the class before the first mail that carries the link, and the links that follow find it.

It never stops the mail — a ticket without a class is exactly what went out before, and the link still creates it when first followed, so a failure is a logged warning and nothing else. Each event is tried once per request, not once per registrant: a bulk approval while Google is slow would otherwise wait on it for every mail. Two organizers approving at the very same moment can still collide, which costs a warning and nothing more. The alternative, making core's create_ticket_class treat a 409 as success, is a change to Indico itself and belongs upstream.

5. The ticket

indico stsa install-ticket installs 「門票」, a tear-off stub, and makes it the default ticket for the root category — so every event uses it unless an organizer picks something else.

 ┌──────────────────────────────────────────┐
 │ ▓▓ STSA wordmark            ADMIT ONE    │  navy field, #2F5478
 ├──────────────────────────────────────────┤
 │ 2026 STSA 秋季迎新晚會 Welcome Night      │  Noto Serif CJK
 │                                          │
 │ 持票人 ATTENDEE                          │
 │ 昱辰 林                                   │  the holder is the hero
 │ 日期時間 WHEN      地點 WHERE             │
 │ - - - - - - - - - - - - - - - - - - - - -│  the tear line
 │ ███████  入場憑證 ENTRY PASS              │
 │ ███████  昱辰 林   NO. 4                  │  the stub names them again
 │ (emblem)          Admits the named holder │
 └══════════════════════════════════════════┘  oxblood rule, #8A2424

Re-running is how an upgrade is applied: the template is found by title and updated in place, so events already pointing at it keep pointing at it. It never runs by itself — a plugin that rewrote a template on every start would silently undo an organizer's edits. --no-default installs it without taking over, and --dry-run says what would change and rolls back.

Once installed it is an ordinary designer template: organizers can open it and change it, and their edits survive until somebody re-runs the command.

Why the design is two layers

Indico's designer canvas positions text and images and nothing else — there is no line or rectangle primitive. So every band, rule and the perforation arrives as one background PNG, built by scripts/build-ticket-artwork.py from the marks in indico_stsa/static/brand/ (taken from stsa-tw/Assets). The text and the QR sit on top. The two halves share a coordinate system: move a rule in the script, move the text in indico_stsa/ticket.py.

The palette is sampled from the emblem itself — #2F5478 from the merlion half, #8A2424 from the bear — rather than picked to look nice next to it.

Chinese

Indico offers badge fonts that cannot draw Chinese. The Liberation faces have no CJK glyphs and fall back to empty boxes; the two Kochi faces are Japanese; UMing is dated. Meanwhile Indico ships Noto Sans CJK and Noto Serif CJK and registers neither.

So the plugin backs Indico's serif, sans-serif and courier families with those faces. Every template in the instance gets Chinese, not only this one, and a badge already set in sans-serif keeps working — it just stops producing tofu the moment a name is in Chinese. It costs nothing to ship, since the fonts are already there. Switch it off at Administration → Plugins → STSA if you would rather keep Liberation's metrics.

Nothing on the ticket asks for bold. These are variable fonts and ReportLab renders their default instance, so a bold request would come out at regular weight; hierarchy is built from size, colour and the serif/sans contrast, which do arrive.

Emoji

An event called 秋季迎新晚會 🎉 printed a crossed box where the emoji should be: no CJK font has emoji glyphs, and ReportLab draws .notdef for a codepoint the font is missing. There is no fixing that within the text path — a Paragraph is drawn in exactly one face, and Indico strips inline markup out of the text before it gets there, so a second font cannot be asked for mid-line.

So a line that needs two fonts is not drawn as text. It is composed run by run, each run in the font that has the glyphs, and handed back as an image — which the badge renderer already knows how to place. Everything else stays on the vector text path; only the lines that would have been boxes change. The image is composed at 4× and the box is sized to what came out, so it stays crisp and is never stretched.

The emoji are monochrome (Noto Emoji, OFL, shipped with the plugin). That is deliberate as well as convenient: tickets are usually printed, often in black and white, and colour emoji are bitmap fonts that ReportLab cannot embed at all.

If the font is ever missing, or composing fails, the characters are dropped instead. A title reading 秋季迎新晚會 is a small loss; one reading 秋季迎新晚會 ⊠ looks broken.

6. The Apple Wallet pass

Indico builds and signs the .pkpass itself — that is core, not a plugin — and paints it #007cac, its own blue, hardcoded in AppleWalletManager.build_pass_object. Its five fields are hardcoded too. This replaces the whole of it with a design you edit in Xcode's Pass Designer.

The design lives in indico_stsa/EventTicket.pkpasstemplate/, a Pass Designer bundle you can open directly: pass.json, the artwork, and the .lproj strings. wallet_pass.py starts from that file and substitutes only what belongs to one registration — the field values, the barcode, the dates, and the identity keys that have to match the certificate. Labels, colours, the style key and the static copy are quoted verbatim, so changing how the pass looks is a Pass Designer job and not a commit.

The layout is posterGeneric

A poster pass: artwork full-bleed behind the fields, rather than the classic strip-and-fields card. Generic rather than event ticket, and that distinction is the load-bearing one — Apple limits the poster event ticket scheme to NFC-enabled passes, which wants an entitlement issued case by case and unlikely to be granted to a student association. A poster generic pass carries no such requirement.

So wallet_pass.style_keys() reads whichever keys the template holds rather than naming one: switching the style in Pass Designer renames it, and a hardcoded name would silently revert the design to core's eventTicket. For the same reason preferredStyleSchemes is stripped on the way out — Pass Designer writes posterEventTicket back into the template on every save, and shipping it would ask for the entitlement-gated scheme again. A test asserts both halves of that: that the template still carries the key, and that the pass never does.

posterGeneric needs iOS 27, so a pass carries two layouts

An iPhone on iOS 26 cannot draw a poster pass, and Apple's answer is not a second pass but a second style dictionary in the same pass.json — the classic generic beside the poster one, each with its own fields, and Wallet draws the newest layout the OS understands. Everything the two share — the barcode, the colours, semantics, the serial — is top-level and written once.

pass_json therefore fills in every style it finds. That is not tidiness: a style left alone still ships, and it would hand the template's 王小明 and #42 to whoever an iPhone on 26 drew it for — not a blank ticket but a wrong one, signed under a real member's name. Two tests hold that line, both across every style rather than the first: the registration is substituted, and Pass Designer's _id bookkeeping is gone.

The bucket rule above is the poster layout's and the fallback does not share it — generic draws secondaryFields and auxiliaryFields and has no footerFields at all, so 持票人 cannot sit where it sits today. Laying that out is a Pass Designer job like the rest of the design; nothing in Python needs to know which style is the fallback.

The template still ships one style, so every pass issued today is poster-only and Apple's line on those is that iOS 26 and earlier "cannot display the new design". What that looks like from MemberApp has not been confirmed: TicketStore.loadWalletPass decides the button with PKPass(data:), so if that parse is what fails, the Wallet button is simply absent on 26 rather than the pass adding and drawing wrong. The debug line [Indico] wallet pass for event … — no pass on an iOS 26 simulator would settle it.

test_the_template_ships_one_style_for_now is the tripwire: it passes today and fails the moment the fallback is drawn, which is when it should be deleted.

Why the whole of pass.json is replaced

Indico builds passes with wallet-py3k, whose Pass.json_dict() is a fixed whitelist — it emits only the keys it was written to know about. Setting an attribute it does not know is silently dropped, which rules out semantics, sharingProhibited, useAutomaticColors, the plural barcodes, and the style key itself, which is always eventTicket because that is the class Indico instantiates.

Rather than fight that key by key, the pass object is handed a json_dict of our own. Pass._createPassJson calls it through PassHandler, so what it returns is pass.json. Field.json_dict() returns self.__dict__, so fields were never the constraint — only the pass level was.

What each registration contributes

plugin.py is the only place that knows what a registration looks like; it flattens one into a PassTicket and wallet_pass.py draws from that, which is what keeps the module free of Indico and testable without an instance.

Pass field From
header time event.start_dt_local — the event's timezone, so the pass shows the hour the organiser announced. Date and time on one field, because the header draws only one
primary event the title. The caption is the template's — one word for every category, rather than the event's kind
footer holder registration.full_name
back registration #{friendly_id}
back venue venue_name · room_name, dropped entirely when the event has neither
back organiser, notice, 說明 static copy, quoted from the template
barcodes[0] get_ticket_qr_code_data, so the QR matches the printed ticket byte for byte
altText the ticket number — the one text slot Wallet gives you under the code, for a door that has to look somebody up when the scanner will not read

The face has exactly three lines, and that is not a style choice. posterGeneric draws the first entry of headerFields, primaryFields and footerFields and nothing after it; secondaryFields and auxiliaryFields it ignores completely. None of that is documented — it was settled by signing real passes and looking, after the holder sat in secondaryFields and never once appeared on a ticket. backFields draws all of its entries, so everything that does not fit the three face slots lives there.

Three things are deliberately absent. No expirationDate and no voided: RHTicketDownload's four access checks say nothing about the date, so a ticket outlives its event and one already attended is a record worth keeping. sharingProhibited is on, because a ticket QR is the credential — whoever holds it can be checked in as that member. And locations is dropped: the template carries its sample event's coordinates, Indico holds none for a real one, and a pass claiming every event happens at one park would wake on the Lock Screen in the wrong place.

The images ship with the template

Core takes logo.png and icon.png from WALLET_LOGO_URL — one URL for the whole instance — and fetches them over HTTP, a round trip from Indico to itself per image, substituting Indico's logo when a fetch fails. These are read off disk instead and attached through Pass._files, which is a private attribute of a third-party library and so is touched defensively: no dict, no images, and a pass that still carries its design.

.lproj entries keep their path inside the bundle, which is how Wallet finds the labels for a member whose phone is not in English.

Seeing it

Nothing drawn in Python stands in for this: iOS refuses an unsigned pass, in the Simulator as much as on a phone. Build a real one —

pip install wallet-py3k cryptography
python scripts/sign-preview-pass.py \
    --certificate ~/pass-cert.pem --key ~/pass-key.pem

— then AirDrop it to yourself, or drag it onto a booted simulator. Deploying the plugin is not required; the certificate is, and it is the same PEM pair configured on the Indico category under Apple Wallet. The key is read from the path given and never stored, and a passphrase on it is prompted for rather than passed on the command line, where every account on the machine can read it out of ps and the shell keeps it in history — set STSA_PASS_KEY_PASSWORD for a run that has to be unattended.

The whole design can be switched off with wallet_pass_design, and both the handler and every failure inside it are caught: this runs while a participant is downloading their ticket, so an exception would turn a working pass into an error page. Indico's blue pass is a perfectly good ticket, and that is what a failure leaves behind.

7. Payment reminders

The registrant list gets a Remind unpaid (3) button, next to Moderation and Check-in control. It writes to everybody on that registration form whose fee is still outstanding, in one click, without anybody having to filter the list and tick four hundred boxes first.

The count is in the label rather than only in the dialog, so the button says what it is about to do before it is pressed — and it is not drawn at all when nobody owes anything, when the event takes no payments, or when the viewer only has moderation or check-in rights.

Who counts as unpaid

Three things have to be true, and each one keeps somebody out of the list who would otherwise be chased for nothing:

  • the registration is in Indico's Awaiting payment state. That is the only state that means a fee is outstanding: complete has either paid or was never asked to, and pending, rejected and withdrawn are not waiting on money.
  • no payment has been made. This is not the same as the state. A transaction that is still pending — a bank transfer nobody has confirmed yet — counts as paid while deliberately leaving the registration Awaiting payment. Somebody who has already sent the money must not be chased for it.
  • the fee is above zero. Removing the fee from registrations that had not paid it (Update Registration Fee → Remove fee) stops Indico asking for the money without moving the state, so the price is the only thing left that says there is nothing to pay.

The first is a filter on the query; the other two are decided in Python, because Indico computes both — the price from the registration's billable answers, the payment from its latest transaction — so neither can be asked of the database. Both are eager-loaded, or reading them would be two more queries per registrant.

The dialog

The button opens core's own e-mail dialog, prefilled: a subject and a body an organizer can rewrite, the recipient list, the sender addresses they are allowed to send as, and a preview. It is a subclass of core's E-mail action rather than a new mail sender, so placeholders, the event locale and the event log entry all behave exactly as they do everywhere else.

The one addition is {amount}, which renders what that registrant still owes. The body is one string sent to everybody, so the figure can only reach the mail as a placeholder — core replaces it per recipient. It is offered to every registration e-mail, core's own E-mail dialog included, because placeholders are registered per context for the whole instance; that is also why the feature has an admin switch, since two plugins claiming amount would break every registration e-mail rather than only the ones using it.

Attach ticket is removed from the dialog. Nobody on this list has paid, so there is no ticket to attach, and the switch would offer a choice whose only outcomes are "nothing" and "a warning explaining why it was nothing".

What is not trusted

The recipients are found, never read off the request — on the send as well as on the open. So the mail goes to whoever still owes money at the moment Send is pressed, somebody who paid while the dialog sat open is dropped, and the endpoint cannot be talked into mailing somebody who was never on the list. Both endpoints check the admin switch and the event's payment feature again for the same reason: switched off is off, not merely hidden.

Why not the Actions menu

That is where the rest of the bulk actions live, and core even has a signal for adding to it (registrant_list_action_menu). It does not work for this. Both the Actions dropdown itself and every entry inside it are rendered with the disabled class, which only js-requires-selected-row ever takes off again — so an action that deliberately ignores the selection cannot be reached there at all. The button goes through registration-status-action-button instead, which is core's own hook for an extra button in that toolbar and which nothing in core uses, so there is no ordering to negotiate with anybody.

7. The membership's e-mail address

On the plugin's admin page, on by default.

Somebody who is signed in finds the registration form's E-mail field filled in from their account, as Indico has always filled it in — and now with a padlock next to it, saying Your STSA membership is registered under this address. They register under the address on their membership, and the association can match every registration back to the member who made it. It is also what keeps the member discount honest: the discount is decided from the link between a registration and an account, and that link is made from this field.

Any address on the account is accepted, not only the first one. Indico looks a registration's user up with get_user_by_email, which matches secondary addresses too, so a member who registered under one of theirs is already linked to the right membership; refusing it would leave them with a registration they could no longer edit, because the address it already holds is one the form would no longer take.

Three cases are deliberately left alone:

  • Organizers. Adding a registration from the management area means typing that participant's address, so nothing there is locked or checked.
  • Somebody else's registration. A registration is editable from the link in its confirmation e-mail, so the person in front of it need not be the person it belongs to. The lock applies only when the registration is the signed-in member's own — a member who opens somebody else's link must not stamp their own address onto it.
  • Invitations. The address on an invitation is the organizer's choice, and core writes that address into the registration whatever was submitted. A lock there could only refuse a registration Indico was about to make correctly.

The padlock is not is_field_data_locked

That signal is the obvious way to lock a field, and it is what the member discount field uses — but it means far more than "the participant may not edit this". Core skips a locked field when a registration is created or modified, leaving its data empty; that is exactly why the discount field can have this plugin as its only writer. Doing the same to the e-mail field would be fatal: Registration.email is not nullable and is written from that same loop, so every registration would end in an integrity error long before any handler of ours could put the address back.

So the padlock is drawn by writing lockedReason into the flat submission data the form is rendered from — the same key core's own get_locked_reason fills in there, so the participant gets core's disabled input and core's padlock with our wording under it, and none of core's write-side behaviour changes. Core's own data-lock-email, which is how an invitation locks the field, is not available: the template always renders it, and a second copy of an attribute is not read.

What actually enforces it

A disabled input is a courtesy, not a rule. The rule is before_check_registration_email, which core asks of every address before it is used — both when the form checks one as it is typed and when a registration is submitted, on a new registration and on a modification alike. So a hand-built POST meets it too, and the answer is core's own email-other-user conflict, which the registration form already renders as This email address is not associated with your Indico account. Answering with a name of our own would leave the form falling through to a sentence about the account the registration will not be linked to, which is both alarming and wrong.

The draft that carries answers across the trip to the login page leaves the e-mail field out once the lock applies. Restoring the address somebody typed while signed out would put a value the server refuses into the one field they can no longer correct — and core has already filled it in from the account they have just signed in with, which is the address they are registering under anyway.

8. Membership details on the form

On the plugin's admin page, on by default.

Add field on a registration form offers four more types, next to Text field and the rest:

Type Filled in from the claim
STSA 中文姓名 chinese_name
STSA 英文姓名 english_name
STSA 就讀科系 major
STSA 目前身分 year_of_study

Each is a plain text answer — stored, shown in the summary, e-mailed, listed and exported like any text field's — and each takes the field's usual settings (title, description, required, show-if, retention). The only thing the type decides is where the value comes from.

The dialog opens with the title already filled in (中文姓名, 英文姓名, …) and the Submit button live. That is not settingsFormInitialData, which is what it looks like it should be: Indico keeps that button disabled until the form is dirty, and a form that starts from its initial values is pristine, so a field whose title arrived filled in came with a button nobody could press until they changed something. The title is written once the dialog exists instead, which final-form counts as a change.

What the participant sees

  • Signed in, and the account has an answer: the field arrives filled in and disabled, with core's padlock beside it saying Filled in from your STSA membership. Sign out to enter something else.
  • Signed in, and the account has no answer for that claim — empty, or never sent — or not signed in at all: an ordinary text box. Locking is decided field by field, so a form asking for all four, of a member with no major, locks three.

A visitor who is signed out is told, in the same notice the discount uses, that signing in fills these in; the button and the draft that survives the trip to the login page are the discount's. Fields the account filled in are not put back from that draft, since what was typed before signing in is exactly what the account now overrides — and a field it had no answer for gets its typed value back as usual. Blank answers are not put back at all: the draft is taken of every field on the page, and an empty first name restored over the one Indico has just filled in from the account would be the draft undoing the sign-in it was kept for.

Where the claims come from

From the login itself, kept in Identity.data — so there is no second request to authentik. Four things decide whether they are there:

  • the four claims have to be emitted — a scope mapping returning them, attached to the provider;
  • the scope carrying that mapping has to be one Indico asks for: authlib_args['client_kwargs']['scope'] in AUTH_PROVIDERS;
  • they have to be in the part of the response Indico reads. With the openid scope that is the ID token, not the userinfo endpoint — so authentik's Include claims in id_token has to be on (it is by default), or 'use_id_token': False set on the provider in AUTH_PROVIDERS to read the userinfo endpoint instead;
  • they have to get past Indico's identity filter, which the plugin does.

That last one is easy to get wrong and was got wrong in 0.4.0. An identity provider receives every claim, but builds the identity's data through identity_info_keys, and Indico sets that to the user fields it synchronizes (first_name, last_name, email, affiliation, phone, address, affiliation_data). Anything else — chinese_name included — is dropped before the identity exists, so the fields stayed empty for everybody while the provider was sending every claim there was.

So at start-up the plugin wraps each identity provider's get_identity_from_auth (except Indico's own password login), and at every login copies the four claims from the provider's response onto the identity, when Fill in the member's details is on. Nothing else in the response is kept — school, groups and the rest are not this plugin's to store — and a claim the filter already let through is left alone. An operator who would rather say so explicitly can add the four names to identity_info_keys in IDENTITY_PROVIDERS; the two together are harmless. Note that setting it replaces Indico's list, so the defaults above have to be included.

To see what a login actually kept, look in indico.log for the Received identity info line: the four claims are in it, or they are not. When a login carried none of them the plugin says so in the same log, naming the claims the response did carry — which is how to tell a missing scope mapping from a scope Indico does not ask for from claims sitting in the wrong half of the response. Only names are logged, never values.

Values are read from the identity the member signed in with in this session, and only if it is theirs. A member who has both a password and an authentik account and signs in with the password has told the site nothing about themselves — that identity carries no claims — so the form is theirs to fill in. Impersonation clears the signed-in identity, so an administrator never sees somebody else's.

The values are as of the last login, because that is when Indico stores them. A member whose details changed in authentik sees the old ones until they sign in again, and a member who last signed in before the claims were being kept has to sign in once more.

What actually enforces it

The padlock is a courtesy; a hand-built request can carry anything. So after core has stored a registration, on creation and on every modification, the plugin writes the account's answer over whatever arrived for each field it has one for. A member who edits their registration while signed in gets their membership as it is now, and the change shows in the e-mail's list of what was modified.

Only a value core already decided to keep is touched. A field with no row on the registration — hidden by a show if, purged, or added after the registration was made — is left exactly as core left it, because writing one would put an answer on the registration that the form never asked for.

Not is_field_data_locked

Same reasoning as the e-mail address, and the discount field is the contrast. is_field_data_locked makes core skip a field entirely on create and modify, which is what lets the discount have this plugin as its only writer — and is why it would be wrong here: where there is no claim, the field has to be written by core like any other. So the padlock is drawn by writing lockedReason and autofillValue into the field data the form is rendered from, and the value is written afterwards, on the registration, by the plugin.

Where it does not apply

The same cases as the membership's e-mail address, for the same reasons, because whose form it is is the same question:

  • Organizers in the management area. Adding a participant means typing that participant's details.
  • Somebody else's registration, opened from the link in its e-mail. The signed-in member's claims are not that registration's holder's.
  • An invitation. The invitee is not necessarily whoever is signed in, so an invited member gets ordinary text boxes. The cost is a few keystrokes, which is the right way round for a feature whose failure mode is "does nothing".

Switching the setting off turns the padlock and the overwrite off together: the fields are always ordinary text boxes. The field types themselves stay registered either way, so forms that already carry them keep working.

9. First and Last name, switched off

On by default, and there is nothing to configure beyond adding the fields.

Indico asks for a First name and a Last name on every form and gives no way to switch either off: they are required, always enabled, and the database has a constraint to say so. On a form that already asks for 英文姓名 and 中文姓名 that is the same question twice. So once a form has an English name field, its First Name gets the Disable button every optional field has, and once it has a Chinese name field, so does Last Name. Each switches off independently:

Field switched off Is supplied by
First Name STSA 英文姓名
Last Name STSA 中文姓名

A switched-off field is drawn with the disabled fields in the editor, with an Enable button, and the participant is not asked for it — on the registration form, and in the management area's Add registrant form. The registration's name is the English name followed by the Chinese one (Xiao-Ming Wang 王小明), which is what the ticket, the badge, the e-mails and every list print. Re-enabling the field brings it back; it is put at the end of its section, where Indico puts any field that is enabled again.

The English or Chinese name has to be filled in once the other field is off: the participant is shown it as required, and a registration that arrives without it is refused with This field is required on that field — not on the one nobody can see. A member whose account supplies the name has it filled in and locked like any other membership detail, and that is what the registration is named after.

Why they are not really disabled

They cannot be, and not because of the editor. PersonalDataType.is_required is checked by the endpoint that toggles a field, a database constraint (pd_field_enabled) forbids the row, Registration.first_name is not nullable, and the participant list's default columns look both fields up as active ones. A plugin that made them genuinely disabled would be changing a core table's constraint and then finding out, one registration at a time, what else relied on it — and a form left with them disabled would be unable to register anybody once the plugin was gone.

So the fields stay exactly as core has them — enabled and required — and the switch is the plugin's own, stored on the form's STSA settings. Three things make it behave like a disabled field:

  • The editor. Two things in core are wrapped: the view_data of a personal data field, which is what decides whether it gets a Disable button and where it is drawn, and the endpoint behind that button, which refuses a required field. Both do exactly what core does for everything that is not First or Last name on a form that has the field to stand in for it.
  • The form. The two fields are taken out of what a participant is shown, and the field that supplies the name is shown as required.
  • The submission. Before core validates it, the English and Chinese names are written over first_name and last_name, whatever the form sent — it is prefilled from the Indico account, and a hand-built request can say anything. After the registration is stored, and after the membership details are written over the submission, the same names are written again onto the registration and its answers, so the two can never disagree. A modification that did not touch the name leaves the name alone.

The switch is only ever as good as the field behind it. Deleting or disabling the English name from a form that has First name switched off switches First name back on, because a form with no name on it is not what anybody asked for; and so does giving the field a show if, since a name that appears only sometimes is a registration with none. First and Last name themselves cannot be given a show if either: it is taken off again when the field is saved, which is what core's editor hides the setting for in the first place.

An editor that was open when that happened still shows First name as switched off until it is reloaded; pressing Enable on it is answered as the success it is.

The switch needs the plugin's newest column. Like everything else here it reads as off without it — see Installing.

10. The registered-events API

GET /api/stsa/registered-events?from=2026-11-01&to=2026-11-30&status=upcoming,checked_in

Answers with the signed-in participant's own registrations, one entry each, with the event and the registration inside it:

{"registrations": [{
  "status": "upcoming",
  "event": {"id": 21, "title": "迎新茶會", "url": "https://…/event/21/",
            "start_dt": "2026-11-14T14:00:00+08:00", "end_dt": "2026-11-14T17:00:00+08:00",
            "timezone": "Asia/Singapore", "venue": "NUS", "room": null, "address": null},
  "registration": {"id": 20, "friendly_id": 7, "state": "complete",
                   "registered_dt": "2026-10-26T08:16:02+00:00",
                   "checked_in": false, "checked_in_dt": null,
                   "form": {"id": 21, "title": "報名表"}}
}]}

Soonest event first. Somebody who registered with two forms of one event is listed twice, because the status belongs to the registration.

Which registrations are in it

Only the ones made with a registration form whose List in the events API switch is on — in the form's STSA settings page, and shown in the overview next to the member discount. It is on for every form until an organizer turns it off, including a form nobody has opened the STSA settings of, which has no settings row to say otherwise. It used to be off, which made the endpoint answer with an empty list on a fresh install and nothing to say why; what it lists is only ever the asking participant's own registrations, so there was nothing for the default to protect. A database that has not been upgraded lists nothing, whatever the default is. It is per form rather than per event so that an event with a volunteers' form beside the participants' one can list one and not the other; an event with a single form behaves exactly as "per event" would.

Upgrading from 0.6.0 switches every form on: 0.6.0 left every saved row off, and a row also exists for a form whose settings were saved for another reason, so an "off" already in the table cannot be told from a choice. Switch off the forms that should not be listed afterwards.

Registrations that were deleted, on events that were deleted, or made with forms that were deleted are never listed.

Who may ask

Always for themselves: there is no way to name another user, so there is nothing here for an organizer's token to be used for. It answers to the signed-in session, or to an OAuth or personal access token carrying the read:user scope (read:everything and full:everything work as they do everywhere). read:user is core's scope for information about the signed-in user and the narrowest one that is a fair description of this; without a scope of its own, core would have required read:everything, which it reserves for things that are not meant as an API. Errors are JSON: 403 with no credentials, 401 for a token that is not valid, 403 for one without the scope, 400 — saying which parameter — for a value it cannot read.

The query string

  • from, to — keep the events that take place, even in part, in the window. ISO 8601 dates or date-times. A date alone is the whole day, so to=2026-11-30 includes the 30th. Anything without a UTC offset is read in Indico's own timezone (DEFAULT_TIMEZONE). A + in an offset has to be written %2B in a URL; the error says so when it is not. The window is half-open, so a party that ends at midnight belongs to the day before. A three-day conference is in every week it touches, not only the one it starts in.
  • status — one or more of the below, comma-separated or repeated. Absent means everything except withdrawn and rejected. A name that is not a status is a 400, not an empty list: a typo that returns nothing looks exactly like a participant with no events.
status means
upcoming the event has not started, and the registration holds a place
ongoing the event is on and the participant has not checked in yet
checked_in they checked in — whether the event is over or not
no_show the event is over and they never did
pending an organizer has not approved the registration yet, so the place is not theirs
withdrawn, rejected the registration was cancelled, by them or by an organizer

no_show needs the event to be over: while it is on, somebody who has not arrived is merely ongoing. A registration that is awaiting payment is not a status of its own — it holds a place and can be checked in, so it is upcoming or no_show like any other; registration.state says unpaid for a client that wants to flag it.

Why the status is not a SQL filter

The query finds one participant's registrations on the forms that are listed, and the status and the window are applied to those in Python, through the tested indico_stsa.attendance. There is a handful of rows per participant, and doing it once means the status a registration is listed under and the status it is filtered by cannot disagree.

The switch needs the plugin's newest column. Like everything else here it reads as off without it — see Installing — and the endpoint answers with an empty list.

11. The API reference

Indico has no OpenAPI document, no Swagger page, and no list of its own endpoints that is written anywhere except in its source. So the plugin generates one, from the instance it is running in: Administration → Integration → API reference (/admin/stsa/api-docs/) is Scalar drawing an OpenAPI 3.1 document of every API endpoint this installation has, the plugins' included, at the version it is running. The raw document is at .../openapi.json and Scalar has a Download link for it.

Administrators only

The page, the document and Scalar's own script are three handlers and all three are Indico's RHAdminBase: somebody who is not signed in is sent to the login page (or told 403 in JSON, for the document), and somebody who is signed in but is not an administrator is told 403. A personal access token works for scripts, with the read:everything scope and an administrator behind it.

The script is served by a handler and not from the plugin's static/ folder, which Indico serves to anybody, so that "all of it behind the administrator login" is true of the JavaScript as well. A wheel that has it under static/ is refused by the release gate.

How the endpoints are found

Indico keeps no registry of its API, so an endpoint is one that looks like one: a handler mounted under an /api/ URL, or one that asks for an OAuth scope of its own. That is a heuristic. It finds about three hundred operations on a stock instance, of which fewer than twenty have a scope of their own; the rest are what Indico's own pages call rather than anything meant for you. The document groups them apart: Integration APIs (endpoints with their own scope), Plugins, and Everything else. The pages that manage the classic API's keys live under /api/ too and are left out by name.

What is written down about each one is what can be read from it:

  • the URL, methods and path parameters, from the URL map;
  • who may call it: its own scope if it has one, and otherwise the two wildcard scopes core accepts (read:everything; full:everything for anything but a GET), or the signed-in session. Whether it also answers without credentials is decided inside the handler, and is not claimed either way;
  • what it accepts, from the marshmallow schemas the handler parses its arguments with, found through the closures webargs leaves on the methods it wraps;
  • its docstring.

What is not written down is what it returns, because Indico does not say. A response is described only where a handler declares one — a handler that reads request.args by hand does so with _OPENAPI_PARAMETERS and _OPENAPI_RESPONSE on its class, which is how the registered-events endpoint above is documented. The classic HTTP API (/export/...) is not listed either; it is a different mechanism and has its own documentation.

Everything that cannot be read from a handler degrades to "nothing known": a handler that is built oddly costs the document that handler's detail, never the document.

Scalar, and why it is vendored

The page loads one script, indico_stsa/vendor/scalar/standalone.js, which is the dist/browser/standalone.js of the @scalar/api-reference package, committed as it came. It is not loaded from a CDN: the page is for administrators, it should work on a server that cannot reach the internet, and a script from somebody else's domain does not belong in a page that is signed in as one. The page sends a content security policy that lets it run that script and talk to this server, and nothing else — no unsafe-eval, no other host — and Scalar is told not to send usage reports, not to offer its AI agent and not to fetch its fonts, so the policy is a second lock on a door that is already shut.

python scripts/update-scalar.py <version> replaces it: it refuses a tarball that does not match the SHA-512 the npm registry gives for it, takes out the one file, and records the file's SHA-256 in scalar.json, which a test holds the committed file to. Scalar is MIT-licensed; its licence is next to the file.

Test Request, in Scalar, sends a real request from your browser, as you. Anything but a GET also needs the session's CSRF token in an X-CSRF-Token header, which is Indico's own protection and is not worked around.

Working with the group registration plugin

Both plugins put a negative line item on the registration, and both compute it from "everything billable except my own line". Left alone, each would be calculated from the other and every recomputation would move both.

So the member discount is calculated from the registration fee and the paid options only — both discount lines are excluded from its basis. The group discount is then free to stack on top of it, and whenever the member discount changes, the plugin asks the group plugin to recompute the group's line so it is never one registration out of date. The dependency runs one way, so it cannot loop.

Neither plugin can push a registration below zero: each clamps its own line to the amount it applies to, and Indico clamps the total at zero regardless.

The price the plan picker quotes

The group plugin's plan picker puts a price against every plan — Pair, 2 members, 90.00 SGD each — and shows the same kind of number again when somebody pastes a code to preview the group they are joining. Both are worked out in the browser from one number the server hands it: the form's standard registration fee. The member discount was not in that number, so a signed-in member was quoted the full price and then charged less than they had been shown.

So the fee itself is re-quoted. get_flat_section_submission_data builds the field data the whole registration form is rendered from and is decorated with @make_interceptable, which is Indico's own invitation for a plugin to step in; the plugin calls it, and where the discount is going to land it writes the fee that member actually pays. Changing the fee rather than the plan list is what fixes both quotes at once — the join preview looks the group's plan up over AJAX, so a rewritten plan list would never reach it — and it keeps this side from having an opinion about what a group plan is worth, which is the group plugin's business.

The picker carries two fees for exactly this, and only one of them is ours: payerBasePrice, what the person in front of it pays before a group plan, is written; basePrice, the standard fee, is left alone. That distinction is the whole of the arithmetic. The group plugin works a plan's own rate out from whichever of the two its Discount applies to setting names, exactly as it does on the server — so a percentage plan set against the fee does not start compounding with the member discount just because the picker is quoting a discounted price. Group registration 0.2.4 is where payerBasePrice starts to exist; against an older one the standard fee is written instead, and the quote carries the discount but comes out high by the plan's percentage of it.

Whether the discount is going to land is the same decision apply_member_discount makes, read forwards: a registration being edited answers for itself, and a new one answers for whoever is filling it in, where being signed in is exactly what the notice above the form already promises is enough. In the management area the fee belongs to somebody who is not in the room, so the standard fee is quoted.

What no quote can include is the paid options nobody has chosen yet, so a member who then adds one pays a little more than the number the picker showed. That is the picker's own long-standing approximation rather than anything to do with the discount, and the option's price is in front of whoever is choosing it.

The plugin works perfectly well without the group registration plugin; the group switch simply disappears.

Building the assets

Released wheels already carry the compiled bundle. From a git checkout you need an Indico source tree at the version the plugin runs against:

git clone --branch v3.3.13 https://github.com/indico/indico ~/dev/indico
(cd ~/dev/indico && npm ci)

/opt/indico/.venv/bin/python build-assets.py --indico-source ~/dev/indico

Run it with the Python that Indico and this plugin are installed into: the build resolves the plugin's own URL rules by importing it. --dev and --watch are passed through.

Tests

pip install -e '.[dev]'
pytest

The unit tests cover the parts that hold the arithmetic and the string handling and need neither Indico nor a database. Everything that talks to the database is exercised against a real Indico instance.

Licence

MIT.

Metadata

Release files for indico-plugin-stsa 0.6.2

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

Source distribution (sdist)

Source distribution for indico-plugin-stsa 0.6.2
File Size Uploaded Provenance Actions
indico_plugin_stsa-0.6.2.tar.gz 8.8 MB With provenance Details for indico_plugin_stsa-0.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for indico-plugin-stsa 0.6.2
File Interpreter ABI Platform Actions
indico_plugin_stsa-0.6.2-py3-none-any.whl Python 3 none any Details for indico_plugin_stsa-0.6.2-py3-none-any.whl

Total release size: 17.6 MB

Release files / indico_plugin_stsa-0.6.2.tar.gz

Download URL indico_plugin_stsa-0.6.2.tar.gz
Size 8.8 MB
Tags Source
SHA-256 checksum
How to use checksums
9c48e9c10e83e47a05d55db45f7e3767afbdf17f1c5005588abc39b7754576ab
BLAKE2b-256 checksum
How to use checksums
9056095bd708eaae5493af5b25dd6dcf35bace06d7d466bf98933cf4569a2a08
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 27, 2026.

Transparency log

Release files / indico_plugin_stsa-0.6.2-py3-none-any.whl

Download URL indico_plugin_stsa-0.6.2-py3-none-any.whl
Size 8.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
23a47be4e809f655a30ae76f60313658976e95bd8cbd9b5792ed1eeb56a1bd5e
BLAKE2b-256 checksum
How to use checksums
d332df268eae085b187b92f0b0edc87bea365168e6b08c49692cf28a84696256
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 27, 2026.

Transparency log

Security for indico-plugin-stsa 0.6.2

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for indico_plugin_stsa-0.6.2.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 27, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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