libevent2 bindings for Python