{"id":23520093,"url":"https://github.com/ventx/dynamodbcopy","last_synced_at":"2025-06-21T20:03:52.189Z","repository":{"id":236470001,"uuid":"792674669","full_name":"ventx/DynamoDBcopy","owner":"ventx","description":"Python Script to copy data from on DynamoDB Table to another","archived":false,"fork":false,"pushed_at":"2024-04-27T08:57:13.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-16T23:14:19.947Z","etag":null,"topics":["python3"],"latest_commit_sha":null,"homepage":"https://www.ventx.de","language":"Python","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/ventx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-27T08:41:15.000Z","updated_at":"2024-04-27T09:00:19.000Z","dependencies_parsed_at":"2024-04-27T09:50:13.536Z","dependency_job_id":null,"html_url":"https://github.com/ventx/DynamoDBcopy","commit_stats":null,"previous_names":["ventx/dynamodbcopy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ventx/DynamoDBcopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2FDynamoDBcopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2FDynamoDBcopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2FDynamoDBcopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2FDynamoDBcopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventx","download_url":"https://codeload.github.com/ventx/DynamoDBcopy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2FDynamoDBcopy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186369,"owners_count":23121938,"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":["python3"],"created_at":"2024-12-25T16:12:02.093Z","updated_at":"2025-06-21T20:03:47.180Z","avatar_url":"https://github.com/ventx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DynamoDB Table Copy Script\n\n## Overview\nThis Python script allows you to copy data from one DynamoDB table to another. It utilizes the Boto3 library, the AWS SDK for Python, to interact with DynamoDB.\n\n\u003e **_WARNING:_**  - Be cautious when running the script as it will overwrite existing data in the destination table.\n\n\u003e **_NOTE:_**  - Ensure that both the source and destination tables exist in your AWS account.\n\u003e **_NOTE:_**  - Ensure that the IAM user or role associated with the AWS credentials used by the script has the necessary permissions to read from the source DynamoDB table and write to the destination DynamoDB table.\n\n## Prerequisites\n1. Python3 installed on your system.\n2. Boto3 library installed (`pip install boto3`).\n3. AWS credentials configured on your system with appropriate permissions to read from the source DynamoDB table and write to the destination DynamoDB table.\n\n## Exporting AWS Environment Variables\nBefore running the script, you need to export your AWS credentials as environment variables. You can do this using the following commands:\n\n```bash\nexport AWS_ACCESS_KEY_ID=\u003cyour_access_key_id\u003e\nexport AWS_SECRET_ACCESS_KEY=\u003cyour_secret_access_key\u003e\nexport AWS_DEFAULT_REGION=\u003cyour_aws_region\u003e\n```\nor\n```bash\nexport AWS_PROFILE=\u003cyour_profile_name\u003e\nexport AWS_DEFAULT_REGION=\u003cyour_aws_region\u003e\n```\n\n## Usage\n1. Clone or download the script to your local machine.\n2. Open a terminal or command prompt.\n3. Navigate to the directory where the script is located.\n4. Run the script using the following command:\n\n    ```bash\n    python DynamoDBcopy.py \u003csource_table_name\u003e \u003cdestination_table_name\u003e\n    ```\n\n    Replace `\u003csource_table_name\u003e` and `\u003cdestination_table_name\u003e` with the names of your source and destination DynamoDB tables respectively.\n\n5. Once executed, the script will copy all data from the source table to the destination table.\n\n## Example\nSuppose you have two DynamoDB tables named `source_table` and `destination_table`, and you want to copy data from `source_table` to `destination_table`. You would run the script as follows:\n\n```bash\npython DynamoDBcopy.py source_table destination_table\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Fdynamodbcopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventx%2Fdynamodbcopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Fdynamodbcopy/lists"}