Couchbase Connect Base
Project description
Couchbase Quick Connect for Python 1.0.0
Couchbase connection manager. Simplifies connecting to a Couchbase cluster and performing data and management operations.
Installing
$ pip install cbcbase
API Usage
Connecting to a Couchbase collection, creating the bucket, scope, and collection if they do not exist.
session = (CBSession(hostname, username, password)
.session()
.connect_bucket(bucket, ram_quota=256, replicas=1, create=True)
.connect_scope(scope, create=True)
.connect_collection(collection, create=True))
Connecting to an existing Couchbase collection.
session = (CBSession(hostname, username, password)
.session()
.connect_bucket(bucket)
.connect_scope(scope)
.connect_collection(collection))
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
cbcbase-1.0.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file cbcbase-1.0.0.tar.gz
.
File metadata
- Download URL: cbcbase-1.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aac1a473269e0a4bc4cf09f437ac47ad91b78d606eefa451cb7ec60ec589d88b |
|
MD5 | 6e07ec56ebffc7643020769ac0d64dd5 |
|
BLAKE2b-256 | 05ae199ac57a09577212f866349ab115e72fcd94f93a4c1374319dfe4ac8fb29 |
File details
Details for the file cbcbase-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cbcbase-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb7e0cdfc73c28cd1c88f4350f1f1dbba9788b6990b0c45f92c3512438b6958 |
|
MD5 | 63cc50b3d599db64d0421a605a697e23 |
|
BLAKE2b-256 | e7ffe8b3f6b5faed3bf4175b9492102ffe6c518265d5a7a52584db3c3dc2e5f6 |