just use pyramid's uevent config and be done with it