AWS Dynamodb as cache backend for Django and Flask
Project description
Serverless cache backend for Django and Flask
Working with: AWS Dynamodb
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
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50e4e0c1af8ac30963929b01fd6941f8d3a68e670347ff58842a3661c1b075a5
|
|
| MD5 |
324da0acc1401af7dc25996b0a1e7ef2
|
|
| BLAKE2b-256 |
7d8db057477df7ba8df6d7f374eca7b1c240f56be7a0abb8587ca34cd68db901
|