dynamo
pypi i dynamo

dynamo

Simple DynamoDB API for Python

by kennethreitz-archive

0.1.1 (see all)License:Copyright (c) 2012 Kenneth Reitz. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
pypi i dynamo
Readme

Dynamo: Simple DynamoDB API

This module allows you to interact with DynamoDB much like a native Python dictionary.

Usage

::

import dynamo

ACCESS_KEY = 'XXXXXX'
SECRET_ACCESS_KEY = 'XXXXXX/XXXXXXXXX+XXXXXXX'
TABLE_NAME = 'XXXXX'

table = dynamo.table(TABLE_NAME, (ACCESS_KEY, SECRET_ACCESS_KEY))

# Or, if you have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY defined as
# environment variables, you can do:
table = dynamo.table(TABLE_NAME)

Writing is simple::

table['new-key']['attribute'] = ['value']

So is reading::

>>> table['existing-key']['attribute']
'value'

Installation

Installing dynamo is simple with pip:

::

$ pip install dynamo

GitHub Stars

13

LAST COMMIT

10yrs ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
0.1.1
10yrs ago
0.1.0
10yrs ago
No alternatives found
No tutorials found
Add a tutorial