Skip to main content

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.3.tar.gz (12.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page