cache-me-outside

A package that makes caching fun! How about that?


Keywords
cache, caching, python
License
MIT
Install
pip install cache-me-outside==1.0

Documentation

PyPI Travis

Cache Me Outside

Cache Me Outside

So you've got an annoyingly slow method in your script or library that you want make faster by caching? Well cache_me_outside is a fun module that will allow you to do just that!

Version

v1.0

Installation

pip install cache_me_outside

Quickstart

from cache_me_outside import cache_me_outside

# Just decorate the function you want to implement a cache for and use just like lru_cache
@cache_me_outside(maxsize=20)
def some_expensive_io_function():
    return 'Some string'

Development

Want to contribute? Great! Fork and submit a pull request!

Alternatives