ledisdb/client/ledis-py
holys db35af6026 add ledis-py doc, update docstring 2014-07-08 20:44:09 +08:00
..
doc add ledis-py doc, update docstring 2014-07-08 20:44:09 +08:00
ledis add ledis-py doc, update docstring 2014-07-08 20:44:09 +08:00
tests fixed setup.py; fixed test_zset.py bug 2014-07-08 15:54:56 +08:00
README.md add ledis-py doc, update docstring 2014-07-08 20:44:09 +08:00
redis-py_license rename license file 2014-07-08 16:04:30 +08:00
setup.py fixed setup.py; fixed test_zset.py bug 2014-07-08 15:54:56 +08:00

README.md

#ledis-py

The Python interface to the ledisdb key-value store.

##Installation

ledis-py requires a running ledisdb server. See ledisdb guide for installation instructions.

To install ledis-py, simply using pip(recommended):

$ sudo pip install ledis

or alternatively, using easy_install:

$ sudo easy_install ledis

or install from the source:

$ sudo python setup.py install 

##Getting Started

>>> import ledis
>>> l = ledis.Ledis(host='localhost', port=6380, db=0)
>>> l.set('foo', 'bar')
True
>>> l.get('foo')
'bar'
>>> 

API Reference

See ledis wiki for more informations.

Connection

Connection Pools

Connnections