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 details)

Uploaded Source

File details

Details for the file lesscache-0.1.tar.gz.

File metadata

  • Download URL: lesscache-0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.3

File hashes

Hashes for lesscache-0.1.tar.gz
Algorithm Hash digest
SHA256 50e4e0c1af8ac30963929b01fd6941f8d3a68e670347ff58842a3661c1b075a5
MD5 324da0acc1401af7dc25996b0a1e7ef2
BLAKE2b-256 7d8db057477df7ba8df6d7f374eca7b1c240f56be7a0abb8587ca34cd68db901

See more details on using hashes here.

Supported by

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