skip to navigation
skip to content

Not Logged In

dynamodb_utils 0.4.1

A toolchain for AWS DynamoDB to make common operations easier.

Latest Version: 0.4.2

A toolchain for Amazon’s DynamoDB to make common operations easier. Currently contains:

  • dynamodb-dumper - backup tables out of DynamoDB with ease.
  • dynamodb-loader - restore tables dumped by dynamodb-dumper with ease.

All tools are built to work with both the main DynamoDB service and DynamoDB Local so you can test them out, and also move data easily between production and your test environment.

Install with:

pip install dynamodb_utils

Usage Examples

You can get the (hopefully detailed enough) help with e.g.:

dynamodb-dumper --help

To dump a table, with compression:

dynamodb-dumper mytable.name --compress

To dump just a few hash-key values from a table (for example, if you want a restricted subset of data for development):

dynamodb-dumper mytable.name --compress --hash-keys 101 104 404

To load some compressed dump files on a DynamoDB Local instance running locally on port 3232:

dynamodb-loader mytable.name --host http://localhost:3232 --region localhost --load mytable.name.*.dump.gz
 
File Type Py Version Uploaded on Size
dynamodb_utils-0.4.1.tar.gz (md5) Source 2014-03-25 4KB
  • Downloads (All Versions):
  • 30 downloads in the last day
  • 201 downloads in the last week
  • 1193 downloads in the last month