{ "info": { "author": "Richard Penman", "author_email": "richard.penman@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=====\npdict\n=====\n\npdict has a dictionary like interface and a sqlite backend.\nIt uses pickle to store Python objects and strings, which are then compressed with zlib for storage in sqlite.\nMultithreaded interaction is supported.\n\nDepends on python 2.5+\n\nExample use: ::\n\n >>> filename = 'cache.db'\n >>> cache = pdict.PersistentDict(filename)\n >>> url = 'http://google.com/abc'\n >>> html = 'abc'\n >>>\n >>> url in cache\n False\n >>> cache[url] = html\n >>> url in cache\n True\n >>> cache[url] == html\n True\n >>> cache.get(url)['value'] == html\n True\n >>> now = datetime.datetime.now()\n >>> cache.meta(url)\n {}\n >>> cache.meta(url, 'meta')\n >>> cache.meta(url)\n 'meta'\n >>> del cache[url]\n >>> url in cache\n False", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/richardpenman/pdict", "keywords": "", "license": "lgpl", "maintainer": "", "maintainer_email": "", "name": "pdict", "package_url": "https://pypi.org/project/pdict/", "platform": "", "project_url": "https://pypi.org/project/pdict/", "project_urls": { "Homepage": "https://bitbucket.org/richardpenman/pdict" }, "release_url": "https://pypi.org/project/pdict/1.4/", "requires_dist": null, "requires_python": "", "summary": "pdict has a dictionary like interface and a sqlite backend", "version": "1.4" }, "last_serial": 3803343, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "3c691fa173fa17143fc422b6ee74f89c", "sha256": "ee2b2db11b9d7f7c7ef871979ea9c90eec4ddb02d6ca661f05551136eeb3c843" }, "downloads": -1, "filename": "pdict-1.0.tar.gz", "has_sig": false, "md5_digest": "3c691fa173fa17143fc422b6ee74f89c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3572, "upload_time": "2017-06-19T20:28:31", "url": "https://files.pythonhosted.org/packages/84/e5/f11a05b02ef0633c5c95847896d546031140b1b5c0d8b8457e33ee2da680/pdict-1.0.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "5757649d5318e65aab41daca6b6ffc6a", "sha256": "5596e8cb88a317ce3f6c02fc82f18c2be171c219c47cdc55d341e96dc2e01bc1" }, "downloads": -1, "filename": "pdict-1.2.tar.gz", "has_sig": false, "md5_digest": "5757649d5318e65aab41daca6b6ffc6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3540, "upload_time": "2017-11-01T19:29:27", "url": "https://files.pythonhosted.org/packages/ae/b4/08e78be0b389043717657b183a9319db2822f7b1d526f04ff2a68f31ea51/pdict-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "3dae0d469fda6bf25aa9bac313097756", "sha256": "4a8080ab6765df6071f4d5426c5eb05ef76a240ad756ad167c1c78251ed4abc4" }, "downloads": -1, "filename": "pdict-1.3.tar.gz", "has_sig": false, "md5_digest": "3dae0d469fda6bf25aa9bac313097756", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3375, "upload_time": "2017-11-09T15:35:17", "url": "https://files.pythonhosted.org/packages/a6/54/091fd19671760f03b21d9f34a9b79f013e5737a3880dbeb913fbd34ccbef/pdict-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "08a0cee40cf57cac6d5d3cb9940b97db", "sha256": "494bbcaaa7e782d6eba47a74e3043fe7ccc8441ce8c38795345a317e1000ca91" }, "downloads": -1, "filename": "pdict-1.4.tar.gz", "has_sig": false, "md5_digest": "08a0cee40cf57cac6d5d3cb9940b97db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3338, "upload_time": "2018-04-24T15:28:02", "url": "https://files.pythonhosted.org/packages/02/a7/36992a6d5844ec7e24cc287d4d85768bcb19d55cbb00b123d6cbf6be28a4/pdict-1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "08a0cee40cf57cac6d5d3cb9940b97db", "sha256": "494bbcaaa7e782d6eba47a74e3043fe7ccc8441ce8c38795345a317e1000ca91" }, "downloads": -1, "filename": "pdict-1.4.tar.gz", "has_sig": false, "md5_digest": "08a0cee40cf57cac6d5d3cb9940b97db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3338, "upload_time": "2018-04-24T15:28:02", "url": "https://files.pythonhosted.org/packages/02/a7/36992a6d5844ec7e24cc287d4d85768bcb19d55cbb00b123d6cbf6be28a4/pdict-1.4.tar.gz" } ] }