Skip to main content

A simple Dynamodb backed cache with TTL.

Project description

https://github.com/MacHu-GWU/dynamodb_cache-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/dynamodb_cache-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/dynamodb_cache.svg https://img.shields.io/pypi/l/dynamodb_cache.svg https://img.shields.io/pypi/pyversions/dynamodb_cache.svg https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to dynamodb_cache Documentation

Redis is a good distributive cache. What if I don’t want to manage a server? AWS Dynamodb could be another awesome backend for distributive cache. Reasons are:

  • It takes 5 seconds to create a backend table

  • No server to manage

  • It automatically scale up and down

  • The pricing can be pay-as-you-go

  • It can handle 1K + concurrent read easily

TODO: add usage doc

Install

dynamodb_cache is released on PyPI, so all you need is:

$ pip install dynamodb_cache

To upgrade to latest version:

$ pip install --upgrade dynamodb_cache

Project details


Download files

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

Source Distribution

dynamodb_cache-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

dynamodb_cache-0.1.1-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dynamodb_cache-0.1.1.tar.gz.

File metadata

  • Download URL: dynamodb_cache-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.11

File hashes

Hashes for dynamodb_cache-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb5b296e1a89fc980988d08ec56e5cc2a3d5a5b4fda47f5daf44f7950a0638c1
MD5 7511d7fad29cc8ef4574030bb2731c82
BLAKE2b-256 0344a5eef238e6b42a7649a4096816fec1183bb107f0fa2fdb5f26efdf5d41fb

See more details on using hashes here.

File details

Details for the file dynamodb_cache-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dynamodb_cache-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1787c8bc6704f2da7f85fe60cd76c99bc4ef14f968402fb164e9122160f29f30
MD5 daeda6c12e39eb30ce1d450f852189d1
BLAKE2b-256 3fa2477d5e74299bac6a70846ea0102eacc8cff02e783f2f371a1d0385f851c7

See more details on using hashes here.

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