{"id":14065547,"url":"https://github.com/techjacker/dynamodbtocsv","last_synced_at":"2025-03-25T19:32:37.251Z","repository":{"id":141450905,"uuid":"57064927","full_name":"techjacker/dynamodbtocsv","owner":"techjacker","description":"Downloads an AWS DynamoDB table and exports to CSV","archived":false,"fork":false,"pushed_at":"2017-03-04T18:39:29.000Z","size":5,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-14T07:09:18.062Z","etag":null,"topics":["aws","csv","dynamodb"],"latest_commit_sha":null,"homepage":"","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/techjacker.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}},"created_at":"2016-04-25T18:15:22.000Z","updated_at":"2023-01-23T18:18:57.000Z","dependencies_parsed_at":"2024-02-15T00:55:06.391Z","dependency_job_id":"bb7223f9-5a8c-4d7c-aed3-3e04216d731e","html_url":"https://github.com/techjacker/dynamodbtocsv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techjacker%2Fdynamodbtocsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techjacker%2Fdynamodbtocsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techjacker%2Fdynamodbtocsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techjacker%2Fdynamodbtocsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techjacker","download_url":"https://codeload.github.com/techjacker/dynamodbtocsv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222090823,"owners_count":16929472,"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","csv","dynamodb"],"created_at":"2024-08-13T07:04:33.209Z","updated_at":"2024-10-29T18:17:24.770Z","avatar_url":"https://github.com/techjacker.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/techjacker/dynamodbtocsv.svg?branch=master)](https://travis-ci.org/techjacker/dynamodbtocsv)\n\n# dynamodbtocsv\n\n- Downloads a AWS DynamoDB table and exports to CSV\n- Optionally pass a JSON config that specifies column order in CSV\n- JSON config also allows column headings to be renamed in CSV\n- requires python 3\n\n\n## Usage\n\n```Shell\n$ ./dynamodbtocsv.py -h\n\nusage: dynamodbtocsv.py [-h] [-l LIMIT] [-e EXPORT] [-o ORDER] [-p PROFILE]\n                        table_name\n\nDynamoDB to CSV\n\npositional arguments:\n  table_name            the DynamoDB table name\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -l LIMIT, --limit LIMIT\n                        row limit (default=10000)\n  -e EXPORT, --export EXPORT\n                        name of CSV to write to (default=table.csv)\n  -o ORDER, --order ORDER\n                        order config filename\n  -p PROFILE, --profile PROFILE\n                        AWS profile to use\n```\n\n\n\n### Example Order JSON config\n```JSON\n[\n    {\"name\": \"dnyamoDB_col_3\", \"nicename\": \"New heading name of column 3 which is now the first column of our CSV\"},\n    {\"name\": \"col_one\"},\n    {\"name\": \"col_four\", \"remove_content\": true, \"nicename\": \"the content of these rows will be removed (they will be blank cells)\"},\n    {\"name\": \"col_two\", \"nicename\": \"We will change the name of this column too and it will be placed as the 3rd column\"}\n]\n```\n\n\n\n## Development\n```Shell\npyenv virtualenv 3.5.1 dynamodbtocsv\npyenv local dynamodbtocsv\npip install -r requirements.txt\npip install -r requirements-dev.txt\n```\n\n### Tests\n```Shell\nnostests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechjacker%2Fdynamodbtocsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechjacker%2Fdynamodbtocsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechjacker%2Fdynamodbtocsv/lists"}