Skip to main content

A toolchain for AWS DynamoDB to make common operations easier.

Project description

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

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

dynamodb_utils-0.4.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file dynamodb_utils-0.4.1.tar.gz.

File metadata

File hashes

Hashes for dynamodb_utils-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9cd95363e768767190b5d24695fa4d6ba284cfba48fb5166e1727ea68dd30f35
MD5 dedcc2f4449195c1165e5ed5e773f3db
BLAKE2b-256 c0e7fafb2c7b94ba7fa38b3c9bfcae158df103f00e5ff2de1f3578cc23715254

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