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.

Files for aiofilecache, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size aiofilecache-0.0.1-py2.py3-none-any.whl (4.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size aiofilecache-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page