Skip to main content

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))

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cbcbase-1.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for cbcbase-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aac1a473269e0a4bc4cf09f437ac47ad91b78d606eefa451cb7ec60ec589d88b
MD5 6e07ec56ebffc7643020769ac0d64dd5
BLAKE2b-256 05ae199ac57a09577212f866349ab115e72fcd94f93a4c1374319dfe4ac8fb29

See more details on using hashes here.

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

Hashes for cbcbase-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcb7e0cdfc73c28cd1c88f4350f1f1dbba9788b6990b0c45f92c3512438b6958
MD5 63cc50b3d599db64d0421a605a697e23
BLAKE2b-256 e7ffe8b3f6b5faed3bf4175b9492102ffe6c518265d5a7a52584db3c3dc2e5f6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page