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
Release files for dynamo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dynamo-0.1.1.tar.gz | 3.2 kB | Details |
Release files / dynamo-0.1.1.tar.gz
| Download URL | dynamo-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c00be1f582addba917d292db19788ea211ecb848b3fb19f68c6aed2620d6a80d
|
|
BLAKE2b-256 checksum How to use checksums |
c74236480810dba588318643878367f41b91c41818d6a706e632dca3c8f90510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |