{ "info": { "author": "Markus Siemens", "author_email": "markus@m-siemens.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database", "Topic :: Database :: Database Engines/Servers", "Topic :: Utilities" ], "description": "tinydb-smartcache\r\n^^^^^^^^^^^^^^^^^\r\n\r\n|Build Status| |Coverage| |Version|\r\n\r\n``tinydb-smartcache`` provides a smart query cache for TinyDB. It updates the\r\nquery cache when inserting/removing/updating elements so the cache doesn't get\r\ninvalidated. It's useful if you perform lots of queries while the data changes\r\nonly little.\r\n\r\nUsage\r\n*****\r\n\r\n.. code-block:: python\r\n\r\n >>> from tinydb import TinyDB\r\n >>> from tinydb_smartcache import SmartCacheTable\r\n >>> db = TinyDB('db.json')\r\n >>> db.table_class = SmartCacheTable\r\n >>> db.table('foo')\r\n >>> # foo will now use the smart query cache\r\n\r\nIf you want to enable TinyDB for all databases in a session, run:\r\n\r\n.. code-block:: python\r\n\r\n >>> from tinydb import TinyDB\r\n >>> from tinydb_smartcache import SmartCacheTable\r\n >>> TinyDB.table_class = SmartCacheTable\r\n >>> # All databases/tables will now use the smart query cache\r\n\r\nChangelog\r\n*********\r\n\r\n**v1.0.2** (2015-11-17)\r\n-----------------------\r\n\r\n- Account for changes in TinyDB 3.0\r\n\r\n**v1.0.1** (2015-11-17)\r\n-----------------------\r\n\r\n- Fix installation via pip\r\n\r\n**v1.0.0** (2015-09-17)\r\n-----------------------\r\n\r\n- Initial release on PyPI\r\n\r\n.. |Build Status| image:: http://img.shields.io/travis/msiemens/tinydb-smartcache.svg?style=flat-square\r\n :target: https://travis-ci.org/msiemens/tinydb-smartcache\r\n.. |Coverage| image:: http://img.shields.io/coveralls/msiemens/tinydb-smartcache.svg?style=flat-square\r\n :target: https://coveralls.io/r/msiemens/tinydb-smartcache\r\n.. |Version| image:: http://img.shields.io/pypi/v/tinydb-smartcache.svg?style=flat-square\r\n :target: https://pypi.python.org/pypi/tinydb-smartcache/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/msiemens/tinydb", "keywords": "database nosql", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tinydb-smartcache", "package_url": "https://pypi.org/project/tinydb-smartcache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tinydb-smartcache/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/msiemens/tinydb" }, "release_url": "https://pypi.org/project/tinydb-smartcache/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "A smarter query cache for TinyDB", "version": "1.0.2" }, "last_serial": 1820923, "releases": { "0.0.0": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "4e05e805cbcb7f104f2525bd343fa0d4", "sha256": "614765ce544b2022920cd232de1968d47431df24043f7674d457ee030c12a61e" }, "downloads": -1, "filename": "tinydb-smartcache-1.0.0.zip", "has_sig": false, "md5_digest": "4e05e805cbcb7f104f2525bd343fa0d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5045, "upload_time": "2015-09-17T18:53:27", "url": "https://files.pythonhosted.org/packages/36/4c/b9beea93403e4aa5a2302690b2e595baa523a7418772851ec248d7f3cf82/tinydb-smartcache-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2af301d122405b33c68ee6f40347dcc1", "sha256": "9ed53653ec2e934ea305080b9e0007ffc957a048a6c0d04a8bff10be2e9e508e" }, "downloads": -1, "filename": "tinydb-smartcache-1.0.1.zip", "has_sig": false, "md5_digest": "2af301d122405b33c68ee6f40347dcc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6124, "upload_time": "2015-11-17T16:46:47", "url": "https://files.pythonhosted.org/packages/c3/e2/e52b4b3b4e57a1aa7995ba9dc930839db4b605472ea6995ccae77184a9ab/tinydb-smartcache-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "beb8deb7404dadf01154daee0476016d", "sha256": "46b3a44dd24fed9956f4a50ca799bc84cff4b3cfe758bcc9552626d12ede96c9" }, "downloads": -1, "filename": "tinydb-smartcache-1.0.2.zip", "has_sig": false, "md5_digest": "beb8deb7404dadf01154daee0476016d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6197, "upload_time": "2015-11-17T17:26:38", "url": "https://files.pythonhosted.org/packages/ca/2c/98735b5e4acdedcfe3bb64b33de80f464d9a059c9f0aced01c53a1197468/tinydb-smartcache-1.0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "beb8deb7404dadf01154daee0476016d", "sha256": "46b3a44dd24fed9956f4a50ca799bc84cff4b3cfe758bcc9552626d12ede96c9" }, "downloads": -1, "filename": "tinydb-smartcache-1.0.2.zip", "has_sig": false, "md5_digest": "beb8deb7404dadf01154daee0476016d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6197, "upload_time": "2015-11-17T17:26:38", "url": "https://files.pythonhosted.org/packages/ca/2c/98735b5e4acdedcfe3bb64b33de80f464d9a059c9f0aced01c53a1197468/tinydb-smartcache-1.0.2.zip" } ] }