{"id":13812105,"url":"https://github.com/mingrammer/dynamodb-toolkit","last_synced_at":"2025-10-26T20:01:56.507Z","repository":{"id":57507788,"uuid":"168519900","full_name":"mingrammer/dynamodb-toolkit","owner":"mingrammer","description":"A command line toolkit for aws dynamodb","archived":false,"fork":false,"pushed_at":"2020-01-17T11:01:51.000Z","size":25,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-05T04:03:23.196Z","etag":null,"topics":["aws","dynamodb","toolkit"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mingrammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-31T12:15:28.000Z","updated_at":"2022-01-08T18:11:35.000Z","dependencies_parsed_at":"2022-09-19T05:31:29.887Z","dependency_job_id":null,"html_url":"https://github.com/mingrammer/dynamodb-toolkit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingrammer%2Fdynamodb-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingrammer%2Fdynamodb-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingrammer%2Fdynamodb-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingrammer%2Fdynamodb-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mingrammer","download_url":"https://codeload.github.com/mingrammer/dynamodb-toolkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223900316,"owners_count":17222028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","dynamodb","toolkit"],"created_at":"2024-08-04T04:00:47.047Z","updated_at":"2025-10-26T20:01:56.490Z","avatar_url":"https://github.com/mingrammer.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003cbr\u003e\u003cbr\u003e\n\n\u003ch1 align=\"center\"\u003eDynamoDB Toolkit\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://godoc.org/github.com/mingrammer/dynamodb-toolkit\"\u003e\u003cimg src=\"https://godoc.org/github.com/mingrammer/dynamodb-toolkit?status.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/mingrammer/dynamodb-toolkit\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/mingrammer/dynamodb-toolkit\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/mingrammer/dynamodb-toolkit\"\u003e\u003cimg src=\"https://travis-ci.org/mingrammer/dynamodb-toolkit.svg?branch=master\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\nA command line toolkit for aws dynamodb\n\u003c/p\u003e\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\ndynamotk is a command line toolkit for aws dynamodb that provides some useful utilities that are not supported by dynamodb operations and official aws cli tools.\n\n## Installation\n\n### Using go get\n\n\u003e Go version 1.13 or higher is required.\n\n```\ngo get github.com/mingrammer/dynamodb-toolkit/cmd/dynamotk\n```\n\n### Using [homebrew](https://brew.sh)\n\n```\nbrew tap mingrammer/homebrew-taps\nbrew install dynamodb-toolkit\n```\n\n### Using .tar.gz archive\n\nDownload gzip file from [Github Releases](https://github.com/mingrammer/dynamodb-toolkit/releases/latest) according to your OS. Then, copy the unzipped executable to under system path.\n\n## Features\n\n- Table truncate\n- Coming soon... (maybe dump/restore features)\n\n## Usage\n\n### Truncate\n\n```console\n# Truncate the `user` table from local dynamodb.\ndynamotk --endpoint http://localhost:8000 truncate --table-names user\n\n# Truncate the `user`, `item` tables from aws dynamodb with default credentials.\ndynamotk truncate --table-names user,item\n\n# You can also pass the `access key id`, `secret access key`, `profile` and `region` optionally. (see `dynamotk -h`)\ndynamotk --access-key-id xxx --secret-access-key xxx truncate --table-names user,item\n\n# Truncation is just (concurrently) repeating the delete operations for all keys.\n# So if your tables are big, it can cause cost overhead.\n# In this case, you can use `--recreate` option.\n# It will delete the table itself and recreate the table while preserving the description.\ndynamotk --profile prod --region ap-northeast-2 truncate --table-names largetable --recreate\n```\n\n## Known issues\n\nWhen throttling happens, `dynamotk` does not retry read or write (delete request), so some items could be remaining not deleted. I should support `backoff-retry` algorithm to fix it.\n\nFor now, you should run the `truncate` command multiple times until the table becomes empty to overcome this issue or use `--recreate` option.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingrammer%2Fdynamodb-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingrammer%2Fdynamodb-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingrammer%2Fdynamodb-toolkit/lists"}