{ "info": { "author": "psjay", "author_email": "psjay.peng@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "PyLocache\n===============\n\n.. image:: https://travis-ci.org/psjay/PyLocache.svg?branch=master\n\nPyLocache is a Python implementation of LRU local cache.\n\nFeatures\n==============\n\n* Memcache-like APIs.\n* Thread safe.\n* Expiration support.\n\nInstallation\n===============\n\n::\n\n $ pip install pylocache\n\n`virtualenv `_ is strongly recommended.\n\nUsage\n===============\n\n::\n\n from pylocache import LocalCache\n\n\n cache = LocalCache(max_size=5)\n cache.set('foo', 1)\n cache.set('bar', 2)\n\n cache.get('foo') # 1\n\n cache.set('hello', 'world', expires=3) # expires in 3 seconds.\n\n # All items of it will be expired in 2 seconds after being set.\n volatile_cache = LocalCache(max_size=5, expires=2)\n\n\nChange History\n==============\n\n0.0.3\n----------------\n\n* Fixed installation bug.\n\n0.0.2\n----------------\n\n* Added delete method.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/psjay/PyLocache", "keywords": "", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "PyLocache", "package_url": "https://pypi.org/project/PyLocache/", "platform": "", "project_url": "https://pypi.org/project/PyLocache/", "project_urls": { "Homepage": "https://github.com/psjay/PyLocache" }, "release_url": "https://pypi.org/project/PyLocache/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "PyLocache is a Python implementation of LRU local cache.", "version": "0.0.4" }, "last_serial": 2592331, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "55d17fa131a51670bea805328fdc7b00", "sha256": "aaa6623eee952112f2b3915c7a49a6a87c06ddbf902c18d2d045bed8b2592cfb" }, "downloads": -1, "filename": "PyLocache-0.0.1.tar.gz", "has_sig": false, "md5_digest": "55d17fa131a51670bea805328fdc7b00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2499, "upload_time": "2014-04-20T14:40:26", "url": "https://files.pythonhosted.org/packages/1a/cb/c01321ea7397f6e9ac830563c879634d729d6adcdf4c42b12a45d7108e6f/PyLocache-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2a233591c732b8fe69bfb917ac060128", "sha256": "5f5829379b0dfefd87b8a4d874299351166a13399f792fdc58814d64c53241a0" }, "downloads": -1, "filename": "PyLocache-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2a233591c732b8fe69bfb917ac060128", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2561, "upload_time": "2014-05-06T09:08:41", "url": "https://files.pythonhosted.org/packages/76/21/00238df8f48be60a1c43301d94d28119cb24486ab21e80b38a9b75bd198c/PyLocache-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "171be2ff8ca39415ab460307d8467cd8", "sha256": "2ba06477a333f97603e4d1cef346dfc959336b22cbb60a1cb71b9dd19ce78243" }, "downloads": -1, "filename": "PyLocache-0.0.3.tar.gz", "has_sig": false, "md5_digest": "171be2ff8ca39415ab460307d8467cd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2667, "upload_time": "2014-05-06T15:20:30", "url": "https://files.pythonhosted.org/packages/a8/52/313dc75cf741928b2d1d86e658565753d86de1310dd6b9294ec3a0a8f8f2/PyLocache-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ad68d673db175f8389c8e9c0d8d42dda", "sha256": "448cc25b11a01b64ca18262772c81dad45201e4b6eb9123b96d2a2b1d59a636d" }, "downloads": -1, "filename": "PyLocache-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ad68d673db175f8389c8e9c0d8d42dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3433, "upload_time": "2017-01-23T09:39:04", "url": "https://files.pythonhosted.org/packages/d0/12/4f3c0c250c0aed5d6f1fb7545a87e9e1e0507f8eb015bdcce7e4966107ff/PyLocache-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad68d673db175f8389c8e9c0d8d42dda", "sha256": "448cc25b11a01b64ca18262772c81dad45201e4b6eb9123b96d2a2b1d59a636d" }, "downloads": -1, "filename": "PyLocache-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ad68d673db175f8389c8e9c0d8d42dda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3433, "upload_time": "2017-01-23T09:39:04", "url": "https://files.pythonhosted.org/packages/d0/12/4f3c0c250c0aed5d6f1fb7545a87e9e1e0507f8eb015bdcce7e4966107ff/PyLocache-0.0.4.tar.gz" } ] }