Replace public with api in method declarations since the goal is to use them in other python modules.  For a C-only interface, there is libcompyte.