================================================
Prerequisites
-------------
* Python 2.6
* pip
Installation
------------
pip install cbshell
Running
-------
$ ./cbshell -h
Usage: cbshell [options] couchbase-address
Interactive python shell for Couchbase.
A couchbase-address is a couchbase cluster REST address:
HOST[:PORT][/BUCKET]
Examples:
cbshell localhost
cbshell 10.3.121.192
cbshell 10.3.121.192:8091
cbshell 10.3.121.192:8091/default
cbshell 10.3.121.192/default
cbshell localhost/default
cbshell localhost/my-bucket -u Administrator -p password
Options:
-h, --help show this help message and exit
-u USERNAME, --username=USERNAME
REST username for cluster or server node
-p PASSWORD, --password=PASSWORD
REST password for cluster or server node
Using
-----
$ ./cbshell 10.3.121.192 -u Administrator -p couchbaseR0ck$
connecting to couchbase: 10.3.121.192:8091
connected.
cb = couchbase '10.3.121.192:8091'
bucket = cb['default']
b = cb['default']
type "help()" for help
>>>
>>> b['user-001'] = 'steve'
>>> user = b['user-001']
>>> print user
Getting more help examples
--------------------------
>>> help()
License
-------
Apache 2.0 License
Metadata
Release files for cbshell 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cbshell-0.1.tar.gz | 7.2 kB | Without provenance | Details |
Release files / cbshell-0.1.tar.gz
| Download URL | cbshell-0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b5e24a8032dbcbf39331c2c84ccbd6d9bb189e72dbe84afb75b6a0bfd7dc9dd
|
|
BLAKE2b-256 checksum How to use checksums |
8a16c8eb0a802646b9937dbe6bc94afbd7a03420405965be544cdf26035e5052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cbshell 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.