pyssdb
======
.. image:: https://travis-ci.org/ifduyue/pyssdb.png
:target: https://travis-ci.org/ifduyue/pyssdb
.. image:: https://img.shields.io/pypi/v/pyssdb.svg
:target: https://pypi.python.org/pypi/pyssdb
:alt: Latest Version
.. image:: https://img.shields.io/pypi/pyversions/pyssdb.svg
:target: https://pypi.python.org/pypi/pyssdb
:alt: Supported Python versions
.. image:: https://img.shields.io/pypi/l/pyssdb.svg
:target: https://pypi.python.org/pypi/pyssdb
:alt: 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.
.. _SSDB: https://github.com/ideawu/ssdb
.. _gevent: http://www.gevent.org/
Installation
-------------
.. code-block:: bash
pip install --upgrade pyssdb
Usage
------------
Here is a short example:
.. code-block:: python
>>> 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 <TUTORIAL.rst>`_, which will explain
most everything.
For the full list of SSDB commands, see
`this page <http://ssdb.io/docs/php/>`_.
License
----------
Copyright (C) 2013-2017 Yue Du, Licensed under
`the 2-clause BSD license <http://opensource.org/licenses/BSD-2-Clause>`_.
Raw data
{
"_id": null,
"home_page": "https://github.com/ifduyue/pyssdb",
"name": "pyssdb",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ssdb",
"author": "Yue Du",
"author_email": "ifduyue@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/21/2a/93cbcff3945fb0405b18a46ca4979e59ce7bada01b536ac48934ba462539/pyssdb-0.4.2.tar.gz",
"platform": "",
"description": "pyssdb\n======\n\n.. image:: https://travis-ci.org/ifduyue/pyssdb.png\n :target: https://travis-ci.org/ifduyue/pyssdb\n\n.. image:: https://img.shields.io/pypi/v/pyssdb.svg\n :target: https://pypi.python.org/pypi/pyssdb\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/pyversions/pyssdb.svg\n :target: https://pypi.python.org/pypi/pyssdb\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/l/pyssdb.svg\n :target: https://pypi.python.org/pypi/pyssdb\n :alt: License\n\npyssdb is an SSDB_ Client Library for Python. SSDB_ is a high\nperformace key-value(key-string, key-zset, key-hashmap) NoSQL database,\nusing Google LevelDB as storage engine.\n\n* pyssdb is simple, has no depencencies other than the Python Standard Library.\n* pyssdb is pure Python, and is compatible with gevent_.\n* pyssdb is thread-safe.\n\n.. _SSDB: https://github.com/ideawu/ssdb\n.. _gevent: http://www.gevent.org/\n\nInstallation\n-------------\n\n\n.. code-block:: bash\n\n pip install --upgrade pyssdb\n\n\nUsage\n------------\n\nHere is a short example:\n\n.. code-block:: python\n\n >>> import pyssdb\n >>> c = pyssdb.Client()\n >>> c.set('key', 'value')\n 1\n >>> c.get('key')\n 'value'\n >>> c.hset('hash', 'item', 'value')\n 1\n >>> c.hget('hash', 'item')\n 'value'\n >>> c.hget('hash', 'not exist') is None\n True\n >>> c.incr('counter')\n 1\n >>> c.incr('counter')\n 2\n >>> c.incr('counter')\n 3\n >>> c.keys('a', 'z', 1)\n ['counter']\n >>> c.keys('a', 'z', 10)\n ['counter', 'key']\n\nFor more information, see `the tutorial <TUTORIAL.rst>`_, which will explain\nmost everything.\n\nFor the full list of SSDB commands, see\n`this page <http://ssdb.io/docs/php/>`_.\n\nLicense\n----------\n\nCopyright (C) 2013-2017 Yue Du, Licensed under\n`the 2-clause BSD license <http://opensource.org/licenses/BSD-2-Clause>`_.\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "A SSDB Client Library for Python.",
"version": "0.4.2",
"split_keywords": [
"ssdb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8423ebe22765b786fe8f37baab0743eb1911b341a73afe0978d73a39d42d0efb",
"md5": "a66416ac903b73cdccf8af8fe694e338",
"sha256": "a950c4ef7593acc29cab3da025afadf0e31b917824d611e84d6f4ab37296dfd1"
},
"downloads": -1,
"filename": "pyssdb-0.4.2-py2-none-manylinux1_i686.whl",
"has_sig": false,
"md5_digest": "a66416ac903b73cdccf8af8fe694e338",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 4282,
"upload_time": "2018-07-31T16:54:58",
"upload_time_iso_8601": "2018-07-31T16:54:58.121237Z",
"url": "https://files.pythonhosted.org/packages/84/23/ebe22765b786fe8f37baab0743eb1911b341a73afe0978d73a39d42d0efb/pyssdb-0.4.2-py2-none-manylinux1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0fb710b8e504e0520465a0a99b875b265466278468b6f84e5c120fe6fe98bf6",
"md5": "eb7e80b9c7ddb2d8eff21ff5215251a1",
"sha256": "18746151ad22695ebc0966b573b7cf52ef0d160d284ab88b6e6784221e83b63f"
},
"downloads": -1,
"filename": "pyssdb-0.4.2-py2-none-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "eb7e80b9c7ddb2d8eff21ff5215251a1",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 4285,
"upload_time": "2018-07-31T16:54:59",
"upload_time_iso_8601": "2018-07-31T16:54:59.467713Z",
"url": "https://files.pythonhosted.org/packages/f0/fb/710b8e504e0520465a0a99b875b265466278468b6f84e5c120fe6fe98bf6/pyssdb-0.4.2-py2-none-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9b7aa6d2aa9826b0d951404cb8ec1eb39fea4a8bb0f04b8f04a476504bcb3527",
"md5": "147f04f2f97f854a39f30ed826c27a5c",
"sha256": "70bb4e9e562ccf9565079d4ef188e265bf42b4bbe0bf4b65d46572f8903612fc"
},
"downloads": -1,
"filename": "pyssdb-0.4.2-py3-none-manylinux1_i686.whl",
"has_sig": false,
"md5_digest": "147f04f2f97f854a39f30ed826c27a5c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4282,
"upload_time": "2018-07-31T16:55:00",
"upload_time_iso_8601": "2018-07-31T16:55:00.660768Z",
"url": "https://files.pythonhosted.org/packages/9b/7a/a6d2aa9826b0d951404cb8ec1eb39fea4a8bb0f04b8f04a476504bcb3527/pyssdb-0.4.2-py3-none-manylinux1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c49e9038b0c603e239033afca058939ac437ec45a6b5aebd4d7bf3f19e49deb0",
"md5": "b7103e328cf7d0564e0e940520a9a08c",
"sha256": "5c04d3f63088f7b2f1d2f58c9a9514f0f71c3d12f492941aabb424b0a9e44f7c"
},
"downloads": -1,
"filename": "pyssdb-0.4.2-py3-none-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "b7103e328cf7d0564e0e940520a9a08c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4286,
"upload_time": "2018-07-31T16:55:02",
"upload_time_iso_8601": "2018-07-31T16:55:02.075320Z",
"url": "https://files.pythonhosted.org/packages/c4/9e/9038b0c603e239033afca058939ac437ec45a6b5aebd4d7bf3f19e49deb0/pyssdb-0.4.2-py3-none-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "212a93cbcff3945fb0405b18a46ca4979e59ce7bada01b536ac48934ba462539",
"md5": "6dbcc4bc594adb37587e18c00452dfb0",
"sha256": "7085eee879136cdfcfbb6b4df1bea4820cfce57c8cf75be5f905644b2524614e"
},
"downloads": -1,
"filename": "pyssdb-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "6dbcc4bc594adb37587e18c00452dfb0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4953,
"upload_time": "2018-07-31T16:55:03",
"upload_time_iso_8601": "2018-07-31T16:55:03.134543Z",
"url": "https://files.pythonhosted.org/packages/21/2a/93cbcff3945fb0405b18a46ca4979e59ce7bada01b536ac48934ba462539/pyssdb-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-07-31 16:55:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ifduyue",
"github_project": "pyssdb",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "pyssdb"
}