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.
Installation
pip install --upgrade pyssdb
Usage
Here is a short example:
>>> import pyssdb
>>> c = pyssdb.Client()
>>> c.set('key', 'value')
1
>>> c.get('key')
'value'
>>> c.hset('hash', 'item', 'value')
1
>>> c.hget('hash', 'item')
'value'
>>> c.hget('hash', 'not exist') is None
True
>>> c.incr('counter')
1
>>> c.incr('counter')
2
>>> c.incr('counter')
3
>>> c.keys('a', 'z', 1)
['counter']
>>> 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.
License
Copyright (C) 2013-2017 Yue Du, Licensed under the 2-clause BSD license.
Metadata
Release files for pyssdb 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyssdb-0.4.2.tar.gz | 5.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pyssdb-0.4.2-py3-none-manylinux1_x86_64.whl | Python 3 | none | Linux glibc 2.5+ x86-64 | Details |
| pyssdb-0.4.2-py3-none-manylinux1_i686.whl | Python 3 | none | Linux glibc 2.5+ x86-32 | Details |
| pyssdb-0.4.2-py2-none-manylinux1_x86_64.whl | Python 2 | none | Linux glibc 2.5+ x86-64 | Details |
| pyssdb-0.4.2-py2-none-manylinux1_i686.whl | Python 2 | none | Linux glibc 2.5+ x86-32 | Details |
Total release size: 22.1 kB
Release files / pyssdb-0.4.2.tar.gz
| Download URL | pyssdb-0.4.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7085eee879136cdfcfbb6b4df1bea4820cfce57c8cf75be5f905644b2524614e
|
|
BLAKE2b-256 checksum How to use checksums |
212a93cbcff3945fb0405b18a46ca4979e59ce7bada01b536ac48934ba462539
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3
|
Release files / pyssdb-0.4.2-py3-none-manylinux1_x86_64.whl
| Download URL | pyssdb-0.4.2-py3-none-manylinux1_x86_64.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Linux glibc 2.5+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
5c04d3f63088f7b2f1d2f58c9a9514f0f71c3d12f492941aabb424b0a9e44f7c
|
|
BLAKE2b-256 checksum How to use checksums |
c49e9038b0c603e239033afca058939ac437ec45a6b5aebd4d7bf3f19e49deb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3
|
Release files / pyssdb-0.4.2-py3-none-manylinux1_i686.whl
| Download URL | pyssdb-0.4.2-py3-none-manylinux1_i686.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Linux glibc 2.5+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
70bb4e9e562ccf9565079d4ef188e265bf42b4bbe0bf4b65d46572f8903612fc
|
|
BLAKE2b-256 checksum How to use checksums |
9b7aa6d2aa9826b0d951404cb8ec1eb39fea4a8bb0f04b8f04a476504bcb3527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3
|
Release files / pyssdb-0.4.2-py2-none-manylinux1_x86_64.whl
| Download URL | pyssdb-0.4.2-py2-none-manylinux1_x86_64.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Linux glibc 2.5+ x86-64 Python 2 |
|
SHA-256 checksum How to use checksums |
18746151ad22695ebc0966b573b7cf52ef0d160d284ab88b6e6784221e83b63f
|
|
BLAKE2b-256 checksum How to use checksums |
f0fb710b8e504e0520465a0a99b875b265466278468b6f84e5c120fe6fe98bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3
|
Release files / pyssdb-0.4.2-py2-none-manylinux1_i686.whl
| Download URL | pyssdb-0.4.2-py2-none-manylinux1_i686.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Linux glibc 2.5+ x86-32 Python 2 |
|
SHA-256 checksum How to use checksums |
a950c4ef7593acc29cab3da025afadf0e31b917824d611e84d6f4ab37296dfd1
|
|
BLAKE2b-256 checksum How to use checksums |
8423ebe22765b786fe8f37baab0743eb1911b341a73afe0978d73a39d42d0efb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3
|