Implementation of the Python Couchbase API using cffi