Metadata-Version: 2.0
Name: play-dynamodb
Version: 0.0.1
Summary: pytest-play support for AWS DynamoDB queries and assertions
Home-page: https://github.com/tierratelematics/play_dynamodb
Author: Davide Moro
Author-email: davide.moro@gmail.com
License: Apache Software License 2.0
Description-Content-Type: UNKNOWN
Keywords: play_dynamodb
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: pytest-play (>=1.0.0)
Requires-Dist: boto3
Provides-Extra: tests
Requires-Dist: pytest; extra == 'tests'
Requires-Dist: pytest-cov; extra == 'tests'
Requires-Dist: mock; extra == 'tests'

=============
play dynamodb
=============


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

.. image:: https://img.shields.io/travis/tierratelematics/play_dynamodb.svg
        :target: https://travis-ci.org/tierratelematics/play_dynamodb

.. image:: https://readthedocs.org/projects/play-dynamodb/badge/?version=latest
        :target: https://play-dynamodb.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://codecov.io/gh/tierratelematics/play_dynamodb/branch/develop/graph/badge.svg
        :target: https://codecov.io/gh/tierratelematics/play_dynamodb


pytest-play support for AWS DynamoDB queries and assertions

More info and examples on:

* pytest-play_, documentation
* cookiecutter-qa_, see ``pytest-play`` in action with a working example if you want to start hacking


Features
--------

This project defines new pytest-play_ commands for AWS DynamoDB:

::

    {"type": "dynamodb",
     "provider": "play_dynamodb",
     "method": "get_item",
     "connection": {
         "region_name": "us-west-2",
         "endpoint_url": "http://localhost:8000"
         },
     "variable": "item",
     "variable_expression": "response",
     "assertion": "item['Item']['AlbumTitle']['S'] == 'Songs About Life'",
     "TableName": "Music",
     "parameters": {
         "Key": {
             "Artist": {
                 "S": "Acme Band"
                 },
             "SongTitle": {
                 "S": "Happy Day"
                 }
             }
         }
    }

Supported methods:

* batch_get_item
* batch_write_item
* delete_item
* get_item
* put_item
* query
* scan
* update_item


Twitter
-------

``pytest-play`` tweets happens here:

* `@davidemoro`_

Credits
-------

This package was created with Cookiecutter_ and the cookiecutter-play-plugin_ (based on `audreyr/cookiecutter-pypackage`_ project template).

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`cookiecutter-play-plugin`: https://github.com/tierratelematics/cookiecutter-play-plugin
.. _pytest-play: https://github.com/tierratelematics/pytest-play
.. _cookiecutter-qa: https://github.com/tierratelematics/cookiecutter-qa
.. _`@davidemoro`: https://twitter.com/davidemoro


=======
CHANGES
=======

0.0.1 (2018-01-31)
------------------

* First release


