{"id":15576238,"url":"https://github.com/ct83/dynamodb-python-docker-compose-starter-kit","last_synced_at":"2025-09-16T17:32:38.677Z","repository":{"id":107564674,"uuid":"218070361","full_name":"CT83/DynamoDB-Python-Docker-Compose-Starter-Kit","owner":"CT83","description":"An AWS DynamoDB with Python using Docker and Docker Compose Starter kit to help you hit the ground running.","archived":false,"fork":false,"pushed_at":"2023-10-17T21:51:28.000Z","size":1546,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T02:34:34.012Z","etag":null,"topics":["aws","aws-dynamodb","docker","docker-compose","docker-compose-template","dynamodb","python","python3","starter-kit","starter-template"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CT83.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":"2019-10-28T14:49:01.000Z","updated_at":"2021-03-25T14:56:58.000Z","dependencies_parsed_at":"2024-12-06T09:00:29.335Z","dependency_job_id":"b5984daa-d1d2-427c-ab71-22f2c7c49a90","html_url":"https://github.com/CT83/DynamoDB-Python-Docker-Compose-Starter-Kit","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/CT83%2FDynamoDB-Python-Docker-Compose-Starter-Kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FDynamoDB-Python-Docker-Compose-Starter-Kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FDynamoDB-Python-Docker-Compose-Starter-Kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FDynamoDB-Python-Docker-Compose-Starter-Kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CT83","download_url":"https://codeload.github.com/CT83/DynamoDB-Python-Docker-Compose-Starter-Kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233283745,"owners_count":18652862,"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","aws-dynamodb","docker","docker-compose","docker-compose-template","dynamodb","python","python3","starter-kit","starter-template"],"created_at":"2024-10-02T18:44:12.319Z","updated_at":"2025-09-16T17:32:33.288Z","avatar_url":"https://github.com/CT83.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](images/dyanamodb.png)\n\n# DynamoDB-Python-Docker-Compose-Starter-Kit\nA Docker and Docker Compose starter kit to help you get started with AWS DynamoDB quickly.\n\nUse this as a boilerplate for your next project, I already did!\n\nI am assuming you are already familiar with Docker and Docker Compose, so I'll get right to it. \n\n#### What is [DynamoDB](https://aws.amazon.com/dynamodb/)?\nAmazon DynamoDB is a fully managed proprietary NoSQL database service that supports key-value and document data \nstructures.\n\n\n### What does the `app.py` do?\n\n1. The `app.py` uses Facebook's Hydra Config Management to pickup the desired configuration, from the .yml file and \nloads it. \n2. Then a connection is made to a DynamoDB  Instance.\n3. Some basic database operations are performed using the [PynamoDB](https://pynamodb.readthedocs.io/en/latest/) library. \n\n\n### How to run?\n\nThere are 2 modes in which you can run the `app.py` in.\n\n### 1. Local DynamoDB Mode - \nHere, A Local Instance of DynamoDB is spun up using, Docker and Amazon's [Official Local DynamoDB Image](https://hub.docker.com/r/amazon/dynamodb-local/).\n \nAll the database operations are then performed on this local instance.\n\n1. `docker-compose up --build`\n\n### 2. AWS DynamoDB Mode \nHere, the `app.py` will connect to the [AWS DynamoDB](https://aws.amazon.com/dynamodb/) Instance, this is how your code might run in the production.\nIn this mode you are expected to \n1. [Create a Python Virtual Environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) \n2. `pip install -r requirements.txt`\n3. Create an `.env` file with your AWS Credentials, like `example.env`.  \n4. Replace *docker* with *aws* in the `env-config.yml`.\n3. Run using `python app.py` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fct83%2Fdynamodb-python-docker-compose-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fct83%2Fdynamodb-python-docker-compose-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fct83%2Fdynamodb-python-docker-compose-starter-kit/lists"}