{ "info": { "author": "weaming", "author_email": "garden.yuen@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Sized Cacher\n\nCache results of function call with expire and maxsize.\n\n`pip3 install -U sized-cacher`\n\n## Usage\n\n```python\ndisk_cache = DiskCache(\"./caches\", maxsize=3)\n\n@disk_cache.caching\ndef fn(a):\n return a\n\nfor i in range(10):\n print(fn(i))\n```\n\n## API\n\n* `self.save(value, *args, **kwargs)`\n* `new_func = self.caching(func)`\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/weaming/sized-cacher", "keywords": "math", "license": "", "maintainer": "", "maintainer_email": "", "name": "sized-cacher", "package_url": "https://pypi.org/project/sized-cacher/", "platform": "", "project_url": "https://pypi.org/project/sized-cacher/", "project_urls": { "Bug Reports": "https://github.com/weaming/sized-cacher", "Homepage": "https://github.com/weaming/sized-cacher", "Source": "https://github.com/weaming/sized-cacher" }, "release_url": "https://pypi.org/project/sized-cacher/1.1/", "requires_dist": null, "requires_python": "", "summary": "cache results of function call with expire and maxsize.", "version": "1.1" }, "last_serial": 4556363, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "db07c2e158bb5cbe645d116ebd7c6dfe", "sha256": "3bd651a6f32ccbe9d5c2959416f52e7b3ba5fbe8434d4c9f51f7cc802dea946a" }, "downloads": -1, "filename": "sized_cacher-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db07c2e158bb5cbe645d116ebd7c6dfe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2624, "upload_time": "2018-12-03T16:07:05", "url": "https://files.pythonhosted.org/packages/49/42/f62e95f2d79be8c4acb77c408ec7bd1051c8d4fe27ca0d3a205d27c836d5/sized_cacher-1.0-py3-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "97fb90db54e435777ec585e856131061", "sha256": "a31546769543d72bcd06a82672fc77bf8e3d819b7d6eb9fb61d21e68ac6f12ec" }, "downloads": -1, "filename": "sized_cacher-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "97fb90db54e435777ec585e856131061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4167, "upload_time": "2018-12-03T16:20:32", "url": "https://files.pythonhosted.org/packages/d0/3a/9bbdbb6c2d19563f83990acdb9a260c1ac70d13192852a180033700f79fe/sized_cacher-1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97fb90db54e435777ec585e856131061", "sha256": "a31546769543d72bcd06a82672fc77bf8e3d819b7d6eb9fb61d21e68ac6f12ec" }, "downloads": -1, "filename": "sized_cacher-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "97fb90db54e435777ec585e856131061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4167, "upload_time": "2018-12-03T16:20:32", "url": "https://files.pythonhosted.org/packages/d0/3a/9bbdbb6c2d19563f83990acdb9a260c1ac70d13192852a180033700f79fe/sized_cacher-1.1-py3-none-any.whl" } ] }