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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page