Skip to main content

AWS Dynamodb as cache backend for Django and Flask

Project description

Serverless cache backend for Django and Flask

Working with: AWS Dynamodb

Join the chat at https://gitter.im/ebertti/lesscache https://img.shields.io/badge/django-1.11%202.0%202.1-brightgreen.svg https://img.shields.io/pypi/v/lesscache.svg?style=flat https://img.shields.io/pypi/pyversions/lesscache.svg?maxAge=2592000 https://img.shields.io/pypi/format/lesscache.svg?maxAge=2592000 https://img.shields.io/pypi/status/lesscache.svg?maxAge=2592000 https://img.shields.io/travis/ebertti/lesscache/master.svg?maxAge=2592000 https://img.shields.io/requires/github/ebertti/lesscache.svg?maxAge=2592000 https://img.shields.io/coveralls/ebertti/lesscache/master.svg?maxAge=2592000 https://img.shields.io/codeclimate/github/ebertti/lesscache.svg https://landscape.io/github/ebertti/lesscache/master/landscape.png?style=flat

Installation

pip

pip install lesscache

pipenv

pipenv install lesscache

Setup on Django

On Django Settings

instaled_apps = [
    ...
    'lesscache.compact.django'
]

CACHES = {
    'default': {
        'BACKEND': 'lesscache.compact.django.cache.DjangoCache',
    }
}

Run manage command to create cache table on Dynamodb before using

python manage.py create_dynamodb_cache

Setup on Flask

WIP

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

lesscache-0.1.tar.gz (8.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page