This gist contains lists of modules available in
in AWS Lambda.
This gist contains lists of modules available in
in AWS Lambda.
# Needs a larger machine, with at least 2GB Ram, say a m2.xlarge! | |
sudo yum install \ | |
gcc make python-devel libffi-devel lib-sqlite3-devel pkgconfig \ | |
zlib-devel bzip2-devel ncurses-devel expat-devel \ | |
openssl-devel gc-devel python-sphinx python-greenlet tcl-devel | |
wget https://bitbucket.org/pypy/pypy/downloads/pypy-2.1-beta-src.tar.bz2 | |
tar -xvf pypy-2.1-beta-src.tar.bz2 | |
cd pypy-2.1-beta-src |
#!/usr/bin/env python | |
__author__ = 'Kevin Warrick' | |
__email__ = '[email protected]' | |
import cPickle | |
from functools import wraps | |
def redis_lru(capacity=5000, slice=slice(None)): | |
""" | |
Simple Redis-based LRU cache decorator *. |