python libevent binding for various platforms