Skip to main content

Add cache to lambda-proxy

Project description


Packaging status CircleCI codecov

Add a caching layer to lambda-proxy


$ pip install -U pip
$ pip install lambda-proxy-cache

Or install from source:

$ git clone
$ cd lambda-proxy
$ pip install -U pip
$ pip install -e .


from lambda_proxy_cache.proxy import API
from lambda_proxy_cache.backends.memcache import MemcachedCache

cache = MemcachedCache()
APP = API(name="app", cache_layer=cache)

@APP.route('/test/tests/<id>', methods=['GET'], cors=True)
def print_id(id):
    return ('OK', 'plain/text', id)

Contribution & Devellopement

Issues and pull requests are more than welcome.

Dev install & Pull-Request

$ git clone
$ cd lambda-proxy-cache
$ pip install -e .[dev]

This repo is set to use pre-commit to run flake8, pydocstring and black ("uncompromising Python code formatter") when committing new code.

$ pre-commit install
$ git add .
$ git commit -m'my change'
   Verifying PEP257 Compliance...Passed
$ git push origin

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lambda-proxy-cache, version 0.0.1.dev1
Filename, size File type Python version Upload date Hashes
Filename, size lambda-proxy-cache-0.0.1.dev1.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page