cws cffi python bindings