The Astro-COLIBRI alert broker streams multi-messenger transient alerts in real time: gravitational waves, gamma-ray bursts, neutrinos, fast radio bursts, optical transients and more. It is an Apache Kafka broker, so you can consume it from any language that has a Kafka client, and alerts reach you within seconds of Astro-COLIBRI processing them rather than on a polling interval.
astrocolibri is the official Python SDK for that broker.
It is a thin wrapper around confluent-kafka that handles the
connection, authentication and consumer-group details for you. Using it
is optional: everything it does is documented below, so you can equally
point your own Kafka client at the broker.
Both are consume only. Publishing is restricted to the Astro-COLIBRI infrastructure, so no client can inject alerts into the streams.