{"library":"fastapi-cache2","type":"library","category":null,"description":"fastapi-cache2 is a powerful and flexible library for adding caching capabilities to FastAPI applications. It supports various backend stores including Redis, Memcached, Amazon DynamoDB, and an in-memory option. It seamlessly integrates with FastAPI endpoints and general Python functions, enhancing performance by leveraging HTTP cache headers like ETag and Cache-Control. The current version is 0.2.2, and the project is actively maintained.","language":"python","status":"active","version":"0.2.2","tags":["fastapi","cache","redis","memcached","dynamodb","performance"],"last_verified":"Fri May 22","install":[{"cmd":"pip install fastapi-cache2","imports":["from fastapi_cache import FastAPICache","from fastapi_cache.backends.redis import RedisBackend","from fastapi_cache.decorator import cache","from fastapi_cache import FastAPICache","from redis import asyncio as aioredis"]},{"cmd":"pip install \"fastapi-cache2[redis]\"","imports":[]},{"cmd":"pip install \"fastapi-cache2[memcache]\"","imports":[]},{"cmd":"pip install \"fastapi-cache2[dynamodb]\"","imports":[]}],"homepage":null,"github":"https://github.com/long2ice/fastapi-cache","docs":"https://github.com/long2ice/fastapi-cache","changelog":null,"pypi":"https://pypi.org/project/fastapi-cache2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":5.7,"avg_import_s":1.27,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/fastapi-cache2/compatibility"}}