A C port of the python library grapefruit