{ "info": { "author": "aiocoro", "author_email": "aiocoro@protonmail.ch", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Caching decorator for async functions\n\nThis is a replacement for `@cached()` decorator from `cachetools`. `cachetools` does not support async at the time of writing.\n\n\n# Installation\n\n```\n pip install async-cached\n```\n\n\n# Example\n\n```\n from cachetools import LRUCache\n from asynccached import asynccached\n\n \n _cache = LRUCache(maxsize=1)\n\n\n @asynccached(cache=_cache, key=lambda arg: arg)\n async def func(arg):\n pass\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aiocoro/async-cached", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "async-cached", "package_url": "https://pypi.org/project/async-cached/", "platform": "", "project_url": "https://pypi.org/project/async-cached/", "project_urls": { "Homepage": "https://github.com/aiocoro/async-cached" }, "release_url": "https://pypi.org/project/async-cached/3.11.2/", "requires_dist": null, "requires_python": "", "summary": "Decorator to cache async function results", "version": "3.11.2" }, "last_serial": 5575984, "releases": { "3.11.1": [ { "comment_text": "", "digests": { "md5": "d78ccc5d1380aaa14ebafb37f6991ec3", "sha256": "c11621c2f25972842167c997e13d4fa8431696232765a864629635385dc96b63" }, "downloads": -1, "filename": "async-cached-3.11.1.tar.gz", "has_sig": false, "md5_digest": "d78ccc5d1380aaa14ebafb37f6991ec3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1263, "upload_time": "2019-07-24T05:23:33", "url": "https://files.pythonhosted.org/packages/97/a6/fc54bf681ea04854068de1aff336314b75274952d9425ae18b8ea2b91252/async-cached-3.11.1.tar.gz" } ], "3.11.2": [ { "comment_text": "", "digests": { "md5": "2901bbc824bce8ab1758823d0f653d78", "sha256": "954adb57c19cf56621f3409c5e061a63f5033f496fd4108523d65be95431a50a" }, "downloads": -1, "filename": "async-cached-3.11.2.tar.gz", "has_sig": false, "md5_digest": "2901bbc824bce8ab1758823d0f653d78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1541, "upload_time": "2019-07-24T05:51:51", "url": "https://files.pythonhosted.org/packages/24/fa/ca0ca4b0a7761a2e4272001f28d7b3d47cc79680a186e9fb9f2241112319/async-cached-3.11.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2901bbc824bce8ab1758823d0f653d78", "sha256": "954adb57c19cf56621f3409c5e061a63f5033f496fd4108523d65be95431a50a" }, "downloads": -1, "filename": "async-cached-3.11.2.tar.gz", "has_sig": false, "md5_digest": "2901bbc824bce8ab1758823d0f653d78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1541, "upload_time": "2019-07-24T05:51:51", "url": "https://files.pythonhosted.org/packages/24/fa/ca0ca4b0a7761a2e4272001f28d7b3d47cc79680a186e9fb9f2241112319/async-cached-3.11.2.tar.gz" } ] }