Couchbase connection manager
Project description
Couchbase Connection Manager
Couchbase connection manager. Simplifies connecting to a Couchbase cluster and performing data and management operations.
Installing
$ pip install cbcmgr
Usage
>>> from cbcmgr.cb_connect import CBConnect
>>> db = CBConnect("127.0.0.1", "Administrator", "password", ssl=False).connect().create_bucket("test").create_scope("test").create_collection("test")
>>> result = db.cb_upsert("test::1", {"data": 1})
>>> result = db.cb_get("test::1")
>>> print(result)
{'data': 1}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cbcmgr-1.0.5.tar.gz
(12.4 kB
view hashes)