C library version of CRM114, and a Python binding