Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

ifduyue/pyssdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyssdb

Description

A thread-safe SSDB Client Library for Python.

Installation

$ pip install pyssdb --upgrade

Usage

import pyssdb
c = pyssdb.Client()
print c.set('key', 'value')
print c.get('key')
import string
for i in string.ascii_letters:
    c.incr(i)
print c.keys('a', 'z', 1)
print c.keys('a', 'z', 10)
print c.get('z')

For the full list of SSDB commands, please check out this wiki page.