File backend for aiocache
Project description
A file-based backend for aiocache.
Installation
pip install aiofilecache
Usage
from aiocache import cached
from aiocache.serializers import PickleSerializer
from aiofilecache import FileCache
@cached(cache=FileCache, serializer=PickleSerializer(), basedir='/tmp/...')
async def cached_func(...):
# ...
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
aiofilecache-0.0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for aiofilecache-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbdd2378acb152e7e2564ca73b764b81bf9a987ea3ac7b3665e9a425a4341366 |
|
MD5 | 1e46a246f1b53c6605208d21028eb4ef |
|
BLAKE2b-256 | b29fc44f35f52bf1fa1729728ea7012b73b47533fd0d0276c33a06166f58f203 |