Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple Python interface to Amazon DynamoDB, adding some dict-like sugar to boto.dynamodb.layer2.

Project Description


pip install dynamo_db_dict
from dynamo_db_dict import dynamo_db

db = dynamo_db(aws_access_key_id='YOUR KEY HERE', aws_secret_access_key='YOUR SECRET KEY HERE') # or via: os.environ, ~/.boto, /etc/boto.cfg
# Set table_name_prefix='YOUR_PROJECT_NAME_' if you use the same DynamoDB account for several projects.

# Either create table "user" with hash_key "email" via AWS concole, or via inherited db.create_table(...).
db.user[''] = dict(first_name='John', last_name='Johnson') # Put. No need to repeat "email" in dict(...).
john = db.user[''] # Get.
assert john == dict(email='', first_name='John', last_name='Johnson') # Complete item, with "email".
assert john['first_name'] == 'John' # Key access.
assert john.first_name == 'John' # Attr access.
del db.user[''] # Delete.

See also:

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dynamo_db_dict-0.2.4.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Feb 5, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting