Skip to main content

a simple cache lib support memory、file、redis

Project description

Mo-Cache

a simple cache lib support memory、file、redis

install

pip install Mo-Cache

demo

from mo_cache import cache_decorator

cache = cache_decorator('memory')

@cache
def foo(a, b):
    return a + b

if __name__ == '__main__':
    foo()

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

mo-cache-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

mo_cache-0.0.1-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

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