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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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

Hashes for aiofilecache-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a82c5a57f519cb4d98e6a7cbb7f54907a5e7ccc07c3e5b4d55839ac37cc8e418
MD5 68a2cd8f95c88104abc238c477733dbd
BLAKE2b-256 d383419cd76ab8386eb983f0d8e290a86a1fbf759c5fe208d32a38d2e198dc8e

See more details on using hashes here.

File details

Details for the file aiofilecache-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aiofilecache-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cbdd2378acb152e7e2564ca73b764b81bf9a987ea3ac7b3665e9a425a4341366
MD5 1e46a246f1b53c6605208d21028eb4ef
BLAKE2b-256 b29fc44f35f52bf1fa1729728ea7012b73b47533fd0d0276c33a06166f58f203

See more details on using hashes here.

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