How to use the cachelib.simple.SimpleCache function in cachelib

To help you get started, we’ve selected a few cachelib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github inveniosoftware / flask-iiif / flask_iiif / cache / simple.py View on Github external
def __init__(self, app=None):
        """Initialize the cache."""
        super(ImageSimpleCache, self).__init__(app=app)
        self.cache = SimpleCache()

cachelib

A collection of cache libraries in the same API interface.

BSD-3-Clause
Latest version published 8 months ago

Package Health Score

83 / 100
Full package analysis