python interface to Capsicum