pynamodb-mate


Namepynamodb-mate JSON
Version 6.0.1.1 PyPI version JSON
download
home_pagehttps://github.com/MacHu-GWU/pynamodb_mate-project
SummaryProvide Additional Features for pynamodb.
upload_time2024-09-13 20:59:27
maintainerSanhe Hu
docs_urlNone
authorSanhe Hu
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements pynamodb cached-property iterproxy typing-extensions
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://readthedocs.org/projects/pynamodb_mate/badge/?version=latest
    :target: https://pynamodb-mate.readthedocs.io/
    :alt: Documentation Status

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

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

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

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

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

.. image:: https://img.shields.io/pypi/dm/pynamodb-mate.svg
    :target: https://pypi.python.org/pypi/pynamodb_mate

.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/pynamodb_mate-project/blob/master/release-history.rst

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

------

.. image:: https://img.shields.io/badge/Link-Document-blue.svg
      :target: https://pynamodb-mate.readthedocs.io/

.. image:: https://img.shields.io/badge/Link-API-blue.svg
      :target: https://pynamodb-mate.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg
      :target: https://pynamodb-mate.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/pynamodb_mate-project

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

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

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


Welcome to ``pynamodb_mate`` Documentation
==============================================================================
📙 `Full Documentation is Here <https://pynamodb-mate.readthedocs.io/>`_

.. image:: https://pynamodb-mate.readthedocs.io/en/latest/_static/pynamodb_mate-logo.png
    :target: https://pynamodb-mate.readthedocs.io/


Overview
------------------------------------------------------------------------------
``pynamodb_mate`` provides advanced best practice using DynamoDB in python. Built on top of `pynamodb <https://pynamodb.readthedocs.io/en/latest/>`_ python library. It maintain the compatibility to major version of ``pynamodb`` library. For example ``pynamodb_mate>=5.0.0,<6.0.0`` is compatible to ``pynamodb>=5.0.0,<6.0.0``, ``pynamodb_mate==5.5.1.X`` is compatible to ``pynamodb>=5.5.1,<6.0.0``, ``pynamodb_mate==6.0.0.X`` is compatible to ``pynamodb>=6.0.0,<7.0.0``.


Disclaimer
------------------------------------------------------------------------------
Even though the author is a Dynamodb Subject Matter Expert from AWS, but this project is NOT an AWS official project, and it is a personal open source project for the Python community.


Features
------------------------------------------------------------------------------
``pynamodb_mate`` provides some commonly used patterns. It is based on the author's experience providing solutions to many customers from different industries. Click on the link below to see detailed tutorial and examples.

- ⭐ `Store Large Object in DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/01-Store-Large-Object-in-DynamoDB/index.html>`_: This feature allows you to store any Python object and arbitrary big data in DynamoDB that can exceed the 400KB limit. It also handles data consistency and data integrity between DynamoDB and S3.
- ⭐ `Client Side Encryption <https://pynamodb-mate.readthedocs.io/en/latest/02-Client-Side-Encryption/index.html>`_: This feature allows you to use your own encryption key to encrypt your data before it is sent to the DynamoDB.
- ⭐ `Compressed Attribute <https://pynamodb-mate.readthedocs.io/en/latest/03-Compressed-Attribute/index.html>`_: This feature can automatically compress the data before it is sent to the DynamoDB, it would save you a lot of money if you use JSON attribute in DynamoDB.
- ⭐ `AWS DynamoDB Console Url <https://pynamodb-mate.readthedocs.io/en/latest/04-DynamoDB-Consule-Url/index.html>`_: This feature can print the AWS DynamoDB console url for the table, items. You can use this in you log to quickly jump to the console to debug.
- ⭐ `Use DynamoDB as a Cache Backend <https://pynamodb-mate.readthedocs.io/en/latest/05-Use-DynamoDB-as-Cache-Backend/index.html>`_: This feature gives you a "Redis" liked, serverless, Zero-ops, auto-scaling, high performance, pay-as-you-go cache layer based on DynamoDB.
- ⭐ `Enable status tracking for business critical application using Amazon DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/06-Status-Tracker/index.html>`_: This feature gives you the ability to track status of each task, and error-handling, retry, concurrency control out-of-the-box.
- ⭐ `Modeling Relational Data in DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/07-Modeling-Relational-Data-in-DynamoDB/index.html>`_: This feature allow you to manage mass amount entity and one-to-many, many-to-many relationship in DynamoDB using the ultimate data modeling strategy that has high performance and scales well. Made data modeling in DynamoDB deadly simple.


.. _install:

Install
------------------------------------------------------------------------------
``pynamodb_mate`` is released on PyPI, so all you need is:

.. code-block:: console

    $ pip install pynamodb_mate

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade pynamodb_mate

In order to use the following feature, you need to run ``pip install pynamodb_mate[encrypt]`` first:

- ``pynamodb_mate.EncryptedNumberAttribute``
- ``pynamodb_mate.EncryptedUnicodeAttribute``
- ``pynamodb_mate.EncryptedBinaryAttribute``
- ``pynamodb_mate.EncryptedJsonDictAttribute``

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MacHu-GWU/pynamodb_mate-project",
    "name": "pynamodb-mate",
    "maintainer": "Sanhe Hu",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "husanhe@gmail.com",
    "keywords": null,
    "author": "Sanhe Hu",
    "author_email": "husanhe@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/66/7584b134de68b382a75595da5672a6468991ac47b31134b81eaafd1b3e28/pynamodb_mate-6.0.1.1.tar.gz",
    "platform": "Windows",
    "description": ".. image:: https://readthedocs.org/projects/pynamodb_mate/badge/?version=latest\n    :target: https://pynamodb-mate.readthedocs.io/\n    :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/pynamodb_mate-project/workflows/CI/badge.svg\n    :target: https://github.com/MacHu-GWU/pynamodb_mate-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/pynamodb_mate-project/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/MacHu-GWU/pynamodb_mate-project\n\n.. image:: https://img.shields.io/pypi/v/pynamodb_mate.svg\n    :target: https://pypi.python.org/pypi/pynamodb_mate\n\n.. image:: https://img.shields.io/pypi/l/pynamodb_mate.svg\n    :target: https://pypi.python.org/pypi/pynamodb_mate\n\n.. image:: https://img.shields.io/pypi/pyversions/pynamodb_mate.svg\n    :target: https://pypi.python.org/pypi/pynamodb_mate\n\n.. image:: https://img.shields.io/pypi/dm/pynamodb-mate.svg\n    :target: https://pypi.python.org/pypi/pynamodb_mate\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/pynamodb_mate-project/blob/master/release-history.rst\n\n.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/pynamodb_mate-project\n\n------\n\n.. image:: https://img.shields.io/badge/Link-Document-blue.svg\n      :target: https://pynamodb-mate.readthedocs.io/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n      :target: https://pynamodb-mate.readthedocs.io/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg\n      :target: https://pynamodb-mate.readthedocs.io/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Install-blue.svg\n      :target: `install`_\n\n.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg\n      :target: https://github.com/MacHu-GWU/pynamodb_mate-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n      :target: https://github.com/MacHu-GWU/pynamodb_mate-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n      :target: https://github.com/MacHu-GWU/pynamodb_mate-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n      :target: https://pypi.org/pypi/pynamodb_mate#files\n\n\nWelcome to ``pynamodb_mate`` Documentation\n==============================================================================\n\ud83d\udcd9 `Full Documentation is Here <https://pynamodb-mate.readthedocs.io/>`_\n\n.. image:: https://pynamodb-mate.readthedocs.io/en/latest/_static/pynamodb_mate-logo.png\n    :target: https://pynamodb-mate.readthedocs.io/\n\n\nOverview\n------------------------------------------------------------------------------\n``pynamodb_mate`` provides advanced best practice using DynamoDB in python. Built on top of `pynamodb <https://pynamodb.readthedocs.io/en/latest/>`_ python library. It maintain the compatibility to major version of ``pynamodb`` library. For example ``pynamodb_mate>=5.0.0,<6.0.0`` is compatible to ``pynamodb>=5.0.0,<6.0.0``, ``pynamodb_mate==5.5.1.X`` is compatible to ``pynamodb>=5.5.1,<6.0.0``, ``pynamodb_mate==6.0.0.X`` is compatible to ``pynamodb>=6.0.0,<7.0.0``.\n\n\nDisclaimer\n------------------------------------------------------------------------------\nEven though the author is a Dynamodb Subject Matter Expert from AWS, but this project is NOT an AWS official project, and it is a personal open source project for the Python community.\n\n\nFeatures\n------------------------------------------------------------------------------\n``pynamodb_mate`` provides some commonly used patterns. It is based on the author's experience providing solutions to many customers from different industries. Click on the link below to see detailed tutorial and examples.\n\n- \u2b50 `Store Large Object in DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/01-Store-Large-Object-in-DynamoDB/index.html>`_: This feature allows you to store any Python object and arbitrary big data in DynamoDB that can exceed the 400KB limit. It also handles data consistency and data integrity between DynamoDB and S3.\n- \u2b50 `Client Side Encryption <https://pynamodb-mate.readthedocs.io/en/latest/02-Client-Side-Encryption/index.html>`_: This feature allows you to use your own encryption key to encrypt your data before it is sent to the DynamoDB.\n- \u2b50 `Compressed Attribute <https://pynamodb-mate.readthedocs.io/en/latest/03-Compressed-Attribute/index.html>`_: This feature can automatically compress the data before it is sent to the DynamoDB, it would save you a lot of money if you use JSON attribute in DynamoDB.\n- \u2b50 `AWS DynamoDB Console Url <https://pynamodb-mate.readthedocs.io/en/latest/04-DynamoDB-Consule-Url/index.html>`_: This feature can print the AWS DynamoDB console url for the table, items. You can use this in you log to quickly jump to the console to debug.\n- \u2b50 `Use DynamoDB as a Cache Backend <https://pynamodb-mate.readthedocs.io/en/latest/05-Use-DynamoDB-as-Cache-Backend/index.html>`_: This feature gives you a \"Redis\" liked, serverless, Zero-ops, auto-scaling, high performance, pay-as-you-go cache layer based on DynamoDB.\n- \u2b50 `Enable status tracking for business critical application using Amazon DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/06-Status-Tracker/index.html>`_: This feature gives you the ability to track status of each task, and error-handling, retry, concurrency control out-of-the-box.\n- \u2b50 `Modeling Relational Data in DynamoDB <https://pynamodb-mate.readthedocs.io/en/latest/07-Modeling-Relational-Data-in-DynamoDB/index.html>`_: This feature allow you to manage mass amount entity and one-to-many, many-to-many relationship in DynamoDB using the ultimate data modeling strategy that has high performance and scales well. Made data modeling in DynamoDB deadly simple.\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n``pynamodb_mate`` is released on PyPI, so all you need is:\n\n.. code-block:: console\n\n    $ pip install pynamodb_mate\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n    $ pip install --upgrade pynamodb_mate\n\nIn order to use the following feature, you need to run ``pip install pynamodb_mate[encrypt]`` first:\n\n- ``pynamodb_mate.EncryptedNumberAttribute``\n- ``pynamodb_mate.EncryptedUnicodeAttribute``\n- ``pynamodb_mate.EncryptedBinaryAttribute``\n- ``pynamodb_mate.EncryptedJsonDictAttribute``\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Provide Additional Features for pynamodb.",
    "version": "6.0.1.1",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/pynamodb_mate/6.0.1.1#downloads",
        "Homepage": "https://github.com/MacHu-GWU/pynamodb_mate-project"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee751a1212427d6e8f4bb524e131f061a3dadcb9869d1a27d1545957ec032e36",
                "md5": "c7a0c983fa2ab2c3c73c6a4602a0d720",
                "sha256": "8cd7eeb72aaf5ba765b7f3275a86b058b0d41c8c814dbd2a90efc5f6ada6752d"
            },
            "downloads": -1,
            "filename": "pynamodb_mate-6.0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c7a0c983fa2ab2c3c73c6a4602a0d720",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 71698,
            "upload_time": "2024-09-13T20:59:25",
            "upload_time_iso_8601": "2024-09-13T20:59:25.885958Z",
            "url": "https://files.pythonhosted.org/packages/ee/75/1a1212427d6e8f4bb524e131f061a3dadcb9869d1a27d1545957ec032e36/pynamodb_mate-6.0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b9667584b134de68b382a75595da5672a6468991ac47b31134b81eaafd1b3e28",
                "md5": "aafd38115e016a021c1ea11dee2e9d2c",
                "sha256": "23b5c2000c0dd11bf4e6860871ff6b68691333867c70c3a151e863a0bd5051e1"
            },
            "downloads": -1,
            "filename": "pynamodb_mate-6.0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "aafd38115e016a021c1ea11dee2e9d2c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 58237,
            "upload_time": "2024-09-13T20:59:27",
            "upload_time_iso_8601": "2024-09-13T20:59:27.837211Z",
            "url": "https://files.pythonhosted.org/packages/b9/66/7584b134de68b382a75595da5672a6468991ac47b31134b81eaafd1b3e28/pynamodb_mate-6.0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-13 20:59:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MacHu-GWU",
    "github_project": "pynamodb_mate-project",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "pynamodb",
            "specs": [
                [
                    "<",
                    "7.0.0"
                ],
                [
                    ">=",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "cached-property",
            "specs": [
                [
                    ">=",
                    "1.5.2"
                ]
            ]
        },
        {
            "name": "iterproxy",
            "specs": [
                [
                    ">=",
                    "0.3.1"
                ],
                [
                    "<",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "typing-extensions",
            "specs": [
                [
                    ">=",
                    "4.11.0"
                ]
            ]
        }
    ],
    "lcname": "pynamodb-mate"
}
        
Elapsed time: 0.72542s