-
Notifications
You must be signed in to change notification settings - Fork 0
kevinslin/simplecache
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
General
=======
This is a simple cache to store that persists even after a program has terminated.
The default location to store cached items is in a ".cache" folder in the current
directory. This can be set by setting the SIMPLECACHE_DIR attribute
Methods:
========
cache(func [, *args ])
Places an expensive function into a cache
clear_cache
Clears the cache
cache_put(obj, key)
Put in cache under key value
cache_get(key)
Get a cache via a key
@memoized
def fib(n):
...
About
Persistent caching even after program termination
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published