Metadata-Version: 2.1
Name: dynamodb_cache
Version: 0.1.1
Summary: A simple Dynamodb backed cache with TTL.
Home-page: https://github.com/MacHu-GWU/dynamodb_cache-project
Download-URL: https://pypi.python.org/pypi/dynamodb_cache/0.1.1#downloads
Author: Sanhe Hu
Author-email: husanhe@gmail.com
Maintainer: Unknown
License: MIT
Platform: Windows
Platform: MacOS
Platform: Unix
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only
Provides-Extra: tests
Provides-Extra: docs
License-File: LICENSE.txt
License-File: AUTHORS.rst

.. image:: https://github.com/MacHu-GWU/dynamodb_cache-project/workflows/CI/badge.svg
    :target: https://github.com/MacHu-GWU/dynamodb_cache-project/actions?query=workflow:CI

.. image:: https://codecov.io/gh/MacHu-GWU/dynamodb_cache-project/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/MacHu-GWU/dynamodb_cache-project

.. image:: https://img.shields.io/pypi/v/dynamodb_cache.svg
    :target: https://pypi.python.org/pypi/dynamodb_cache

.. image:: https://img.shields.io/pypi/l/dynamodb_cache.svg
    :target: https://pypi.python.org/pypi/dynamodb_cache

.. image:: https://img.shields.io/pypi/pyversions/dynamodb_cache.svg
    :target: https://pypi.python.org/pypi/dynamodb_cache

.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/dynamodb_cache-project

------

.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg
    :target: https://dynamodb_cache.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg
    :target: `install`_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
    :target: https://github.com/MacHu-GWU/dynamodb_cache-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
    :target: https://github.com/MacHu-GWU/dynamodb_cache-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
    :target: https://github.com/MacHu-GWU/dynamodb_cache-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
    :target: https://pypi.org/pypi/dynamodb_cache#files


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:

Install
------------------------------------------------------------------------------

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

.. code-block:: console

    $ pip install dynamodb_cache

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade dynamodb_cache
