The EventHub class is accessible via the metasqlobject.eventhub module.
See the source for more information.