Skip to main content

A SSDB Client Library for Python.

Project description Latest Version Supported Python versions License

pyssdb is an SSDB Client Library for Python. SSDB is a high performace key-value(key-string, key-zset, key-hashmap) NoSQL database, using Google LevelDB as storage engine.

  • pyssdb is simple, has no depencencies other than the Python Standard Library.

  • pyssdb is pure Python, and is compatible with gevent.

  • pyssdb is thread-safe.


pip install --upgrade pyssdb


Here is a short example:

>>> import pyssdb
>>> c = pyssdb.Client()
>>> c.set('key', 'value')
>>> c.get('key')
>>> c.hset('hash', 'item', 'value')
>>> c.hget('hash', 'item')
>>> c.hget('hash', 'not exist') is None
>>> c.incr('counter')
>>> c.incr('counter')
>>> c.incr('counter')
>>> c.keys('a', 'z', 1)
>>> c.keys('a', 'z', 10)
['counter', 'key']

For more information, see the tutorial, which will explain most everything.

For the full list of SSDB commands, see this page.


Copyright (C) 2013-2017 Yue Du, Licensed under the 2-clause BSD license.

Project details

Download files

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

Source Distribution

pyssdb-0.4.2.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distributions

pyssdb-0.4.2-py3-none-manylinux1_i686.whl (4.3 kB view hashes)

Uploaded py3

pyssdb-0.4.2-py2-none-manylinux1_i686.whl (4.3 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page