Skip to main content

Simple DynamoDB Interface.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamo-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file dynamo-0.1.1.tar.gz.

File metadata

  • Download URL: dynamo-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dynamo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c00be1f582addba917d292db19788ea211ecb848b3fb19f68c6aed2620d6a80d
MD5 d70079f4ca706d434928eff173238227
BLAKE2b-256 c74236480810dba588318643878367f41b91c41818d6a706e632dca3c8f90510

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page