No project description provided
Project description
fastapicache
fastapicache is a package that privde simple and fast caching system for the fastapi package
usage
fast and simple
import time
from fastapi import FastAPI
from fastapicache import fastapicache
app = FastAPI()
@app.get('/')
@fastapicache(revalidate=0)
async def index(name: str = "unknown"):
time.sleep(4)
return f"{name}: hello world"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapiccache-0.1.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for fastapiccache-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f867efa1ede15ec2d8060c60fe32b39522cb7dcd9fffae6360d8dcb878b7213c |
|
MD5 | e6cca7ecf5aa4cfcabb030ee931ba762 |
|
BLAKE2b-256 | efa04b296854227f6323690733c0bf7112262b73fc8dca456f2d96f1189511d6 |