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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page