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 details)
Built Distribution
File details
Details for the file aiofilecache-0.0.1.tar.gz
.
File metadata
- Download URL: aiofilecache-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a82c5a57f519cb4d98e6a7cbb7f54907a5e7ccc07c3e5b4d55839ac37cc8e418 |
|
MD5 | 68a2cd8f95c88104abc238c477733dbd |
|
BLAKE2b-256 | d383419cd76ab8386eb983f0d8e290a86a1fbf759c5fe208d32a38d2e198dc8e |
File details
Details for the file aiofilecache-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: aiofilecache-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbdd2378acb152e7e2564ca73b764b81bf9a987ea3ac7b3665e9a425a4341366 |
|
MD5 | 1e46a246f1b53c6605208d21028eb4ef |
|
BLAKE2b-256 | b29fc44f35f52bf1fa1729728ea7012b73b47533fd0d0276c33a06166f58f203 |