{ "info": { "author": "Dmitry Orlov", "author_email": "me@mosquito.su", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet", "Topic :: Software Development", "Topic :: Software Development :: Libraries" ], "description": "lsm-db-extras\n=============\n\n.. image:: https://coveralls.io/repos/github/mosquito/lsm-db-extras/badge.svg?branch=master\n :target: https://coveralls.io/github/mosquito/lsm-db-extras\n :alt: Coveralls\n\n.. image:: https://cloud.drone.io/api/badges/mosquito/lsm-db-extras/status.svg\n :target: https://cloud.drone.io/mosquito/lsm-db-extras/\n :alt: Drone CI\n\n.. image:: https://img.shields.io/pypi/v/lsm-db-extras.svg\n :target: https://pypi.python.org/pypi/lsm-db-extras/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/wheel/lsm-db-extras.svg\n :target: https://pypi.python.org/pypi/lsm-db-extras/\n\n.. image:: https://img.shields.io/pypi/pyversions/lsm-db-extras.svg\n :target: https://pypi.python.org/pypi/lsm-db-extras/\n\n.. image:: https://img.shields.io/pypi/l/lsm-db-extras.svg\n :target: https://pypi.python.org/pypi/lsm-db-extras/\n\n\nThread/Process safe shelves and other lam-db helpers\n\n\nInstallation\n------------\n\n.. code-block:: shell\n\n pip install lsm-db-extras\n\n\nUsage example\n-------------\n\n.. code-block:: python\n\n\n from lsm_extras import Shelf, LSMDict, LSMTree\n\n with Shelf(\"/tmp/test.ldb\") as shelf:\n shelf[\"foo\"] = True\n\n\n with Shelf(\"/tmp/test.ldb\") as shelf:\n print(shelf[\"foo\"])\n\n\n with LSMDict(\"/tmp/test-dict.ldb\") as storage:\n storage[1] = True\n\n\n with LSMDict(\"/tmp/test-dict.ldb\") as storage:\n print(storage[1])\n\n\n with LSMTree(\"/tmp/test-tree.ldb\") as storage:\n with tree.transaction():\n for i in range(10):\n tree['numbers', i] = i * 2\n tree['strings', i] = str(i)\n\n print(list(tree.find('strings')))", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mosquito/lsm-db-extras", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "lsm-db-extras", "package_url": "https://pypi.org/project/lsm-db-extras/", "platform": "all", "project_url": "https://pypi.org/project/lsm-db-extras/", "project_urls": { "Homepage": "https://github.com/mosquito/lsm-db-extras" }, "release_url": "https://pypi.org/project/lsm-db-extras/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "Thread/Process safe shelves and other lsm-db helpers", "version": "0.5.0" }, "last_serial": 4735863, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8230548b208fb09ea30fb6f0f0d08a65", "sha256": "dd7aad99f9fe2b4d5612cd901e1994aef1de433b828ccfb42aa259e0dc1f3cfe" }, "downloads": -1, "filename": "lsm-db-extras-0.1.tar.gz", "has_sig": false, "md5_digest": "8230548b208fb09ea30fb6f0f0d08a65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3033, "upload_time": "2017-02-10T10:24:17", "url": "https://files.pythonhosted.org/packages/39/80/cd3b3e1ee38e133b35501dd8c33a11941722873c1427b1ba7fbfd3af4484/lsm-db-extras-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b8eb4bfb0022ac25d6d6332b57d3ac67", "sha256": "3f27d5e4da7bf34d846bfc65359120098be5255b39ee98e81b9bedc28ee90170" }, "downloads": -1, "filename": "lsm-db-extras-0.2.tar.gz", "has_sig": false, "md5_digest": "b8eb4bfb0022ac25d6d6332b57d3ac67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3040, "upload_time": "2017-02-10T13:40:31", "url": "https://files.pythonhosted.org/packages/9d/38/836d9013a9a2bdf13afdceaa402d7bd6f122eb18c7f33e0a39afec64eda2/lsm-db-extras-0.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b7ae52504fa4d08ef3461e0ee842893a", "sha256": "4481e4b0c0d36c6142d6d758feff56651ad02d30f62b4bb480dd1abf1aa33da5" }, "downloads": -1, "filename": "lsm-db-extras-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b7ae52504fa4d08ef3461e0ee842893a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3080, "upload_time": "2019-01-23T19:13:45", "url": "https://files.pythonhosted.org/packages/6f/5a/70d4dd5fc7c3d29323c0343d1e0f5b20ca903e88e52a7d1bd6636f2d7b2a/lsm-db-extras-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "51ffb0ac64f718eae8ff4fd7e14354c4", "sha256": "96855be3e8dae031b841423f8cfe48588feb18bf61457945ee5bb9d238c598e9" }, "downloads": -1, "filename": "lsm-db-extras-0.4.0.tar.gz", "has_sig": false, "md5_digest": "51ffb0ac64f718eae8ff4fd7e14354c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3772, "upload_time": "2019-01-23T23:25:33", "url": "https://files.pythonhosted.org/packages/3e/f6/94fcbfde8813dbdf3f1473901c9e6a4fb58863257ef2e4e685a7befe8c34/lsm-db-extras-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "c323850db37dc8ff293ffc7d0bab11c8", "sha256": "465bfa6caf9e4a5205ca96f65c2fa6d1891d9ca0745f9fe380ee018ec09be1cd" }, "downloads": -1, "filename": "lsm-db-extras-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c323850db37dc8ff293ffc7d0bab11c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3788, "upload_time": "2019-01-24T14:13:34", "url": "https://files.pythonhosted.org/packages/d7/20/a680d90c7bf8f2c41a00f233efaf37884d2061918b693353dceed1e707fc/lsm-db-extras-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c323850db37dc8ff293ffc7d0bab11c8", "sha256": "465bfa6caf9e4a5205ca96f65c2fa6d1891d9ca0745f9fe380ee018ec09be1cd" }, "downloads": -1, "filename": "lsm-db-extras-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c323850db37dc8ff293ffc7d0bab11c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3788, "upload_time": "2019-01-24T14:13:34", "url": "https://files.pythonhosted.org/packages/d7/20/a680d90c7bf8f2c41a00f233efaf37884d2061918b693353dceed1e707fc/lsm-db-extras-0.5.0.tar.gz" } ] }