python wrapper for libecc