Skip to main content

Caching library with support for multiple cache backends

Project description


PyPI Python versions Checks Coverage Code style



Sneak peak

from cachetory import serializers
from cachetory.backends import async_ as async_backends
from cachetory.caches.async_ import Cache

cache = Cache[int, bytes](

async def main() -> None:
    await cache.set("foo", 42)
    assert await cache.get("foo") == 42

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

cachetory-3.1.4.tar.gz (19.8 kB view hashes)

Uploaded source

Built Distribution

cachetory-3.1.4-py3-none-any.whl (37.4 kB view hashes)

Uploaded py3

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