Metadata-Version: 2.1
Name: cbcbase
Version: 1.0.0
Summary: Couchbase Connect Base
Keywords: couchbase,automation
Author: Michael Minichino
Author-email: info@unix.us.com
Requires-Python: >=3.8,<4
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: attrs (>=23.1.0)
Requires-Dist: couchbase (>=4.3.0)
Requires-Dist: dnspython (>=2.3.0)
Requires-Dist: pytoolbase (>=1.0.1)
Requires-Dist: restfull (>=1.0.5)
Project-URL: Homepage, https://github.com/mminichino/cb-base
Description-Content-Type: text/markdown

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

