Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

dynamodb_utils

A toolchain for Amazon’s DynamoDB to make common operations (backup, restore backups) 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, or between Dynamo regions.

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

The tools are based upon PynamoDB, which is based upon botocore. Therefore, credentials will be read from one of many places - IAM Role, environment variables, or a ‘boto file’. See the boto documentation for more details.

Metadata

Release files for dynamodb_utils 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dynamodb_utils 1.0.0
File Size Uploaded Provenance Actions
dynamodb_utils-1.0.0.tar.gz 4.7 kB Without provenance Details for dynamodb_utils-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dynamodb_utils 1.0.0
File Interpreter ABI Platform Actions
dynamodb_utils-1.0.0-py3-none-any.whl Python 3 none any Details for dynamodb_utils-1.0.0-py3-none-any.whl
dynamodb_utils-1.0.0-py2-none-any.whl Python 2 none any Details for dynamodb_utils-1.0.0-py2-none-any.whl

Total release size: 19.9 kB

Release files / dynamodb_utils-1.0.0.tar.gz

Download URL dynamodb_utils-1.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e44c3d27cd4b99ff081c641c64afbc2e424358c5dd96d12ba59231edb36b2128
BLAKE2b-256 checksum
How to use checksums
b1208f5bf4fee91d980846dc54fea651c5ecba2cb1fe83c45b4828302e7a824d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dynamodb_utils-1.0.0-py3-none-any.whl

Download URL dynamodb_utils-1.0.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c630b2a042d7245601b7e3ee6e8bd35f5faf53ff5201e923614bedf3730fa9f8
BLAKE2b-256 checksum
How to use checksums
faf4b3133e4bab5ab034364ac5d5bbf08a8ef11b63c5bd9eb899c4931b3a0b15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dynamodb_utils-1.0.0-py2-none-any.whl

Download URL dynamodb_utils-1.0.0-py2-none-any.whl
Size 7.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b3320955df0c4b7db2ec2e8d6715395c9fb71763e3de797d03dbfe0f5469d74a
BLAKE2b-256 checksum
How to use checksums
8448e5e26b9ae4f903067fd07baf7bacc3187992129651687fa98745ef7dadc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dynamodb_utils 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page