Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Interactive python shell for couchbase

Project Description
cbshell - interactive python shell for couchbase
================================================

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
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cbshell-0.1.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Aug 1, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting