Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pythonic way of Caching Computations(LRU caching module)

Project Description


Pycache is a LRU Implemented with Linked Stack.


git clone

cd pycache

python install



You can use pycache as both object as well as a decorator

from pycache import cached
from pycache import Cache

cache = Cache()

def add(x,y):
return x+y

#operation will be computed and stored on cache
print add(2,3)

#will be retrived from cache

# As a cache object
c = Cache()

c.insert(key, value)
c.update(key, value)




Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers