Couchbase Python SDK

The Couchbase Python SDK is a Python library wrapping the Couchbase C SDK. Before installing this library, the C library must be installed.

Current version

Currently, the latest version is 1.2. This SDK should be used for all development against Couchbase Server versions from 2.5 to 3.x.

How to obtain it

Python users can obtain the Couchbase Python SDK through the pip package manager as follows:

$ pip install couchbase

The SDK team publishes binaries, which may be found at https://pypi.python.org/pypi/couchbase#downloads. The source code for the library is available on GitHub at https://github.com/couchbase/couchbase-python-client.

The basics

The following snippet demonstrates the basics of using the Couchbase PHP SDK:

client = Couchbase.connect(bucket='default', ...

Get Couchbase Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.