Skip to main content

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


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)

Uploaded Source

Built Distribution

aiofilecache-0.0.1-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page