Create jQuery-like events for your Python app.