{"id":44103139,"url":"https://github.com/conradwt/eventstore-using-python-client-from-docker-compose","last_synced_at":"2026-02-08T14:37:41.552Z","repository":{"id":255837510,"uuid":"853194353","full_name":"conradwt/eventstore-using-python-client-from-docker-compose","owner":"conradwt","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-07T11:02:45.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-08T12:06:25.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conradwt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-06T07:08:42.000Z","updated_at":"2024-09-07T11:02:45.000Z","dependencies_parsed_at":"2024-09-07T11:47:30.590Z","dependency_job_id":"b979b6be-a0b6-4689-81b3-ec2757de9e9f","html_url":"https://github.com/conradwt/eventstore-using-python-client-from-docker-compose","commit_stats":null,"previous_names":["conradwt/eventstore-using-python-client-from-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/conradwt/eventstore-using-python-client-from-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Feventstore-using-python-client-from-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Feventstore-using-python-client-from-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Feventstore-using-python-client-from-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Feventstore-using-python-client-from-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conradwt","download_url":"https://codeload.github.com/conradwt/eventstore-using-python-client-from-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Feventstore-using-python-client-from-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29233476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-08T14:37:40.847Z","updated_at":"2026-02-08T14:37:41.539Z","avatar_url":"https://github.com/conradwt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Sample: Hello, World!\n\nThis guide shows you how to stand up a sample Hello World application, built with [Flask](https://flask.palletsprojects.com/en/3.0.x/), that connects to EventStoreDB.\n\nThe sample exposes a simple HTTP endpoint `http://localhost:8080/hello-world?visitor={visitor}` that shows how to append to and read from a stream in EventStoreDB.\n\nWhen a visitor says hello via `hello-world?visitor={visitor}`, an event is appended to a stream to record the fact they have been greeted.\n\nThe stream is then read from beginning to end to return the full log of visitors on each call to `/hello-world?visitor={visitor}`.\n\nYou can see how this is done in the source code [here](./main.py).\n\n## Getting Started\n\n## Software requirements\n\n- Docker Desktop 4.34.0 or newer\n\n- Python 3.12 or newer\n\nNote: This tutorial was updated on macOS 14.6.1.\n\n## Running The Sample\n\n1. clone the repository:\n\n   ```\n   git clone https://github.com/conradwt/eventstore-using-python-client-from-docker-compose.git\n   cd eventstore-using-python-client-from-docker-compose\n   ```\n\n2. create development.env file\n\n   ```zsh\n   cp development.env.example development.env\n   ```\n\n3. run the client application and database using Docker Compose\n\n   ```\n   docker compose up -d\n   ```\n\n4. verify the containers are up and running\n\n   ```zsh\n   docker compose ps\n   ```\n\n   The results should look something like the following:\n\n   ```text\n    NAME               IMAGE                                        COMMAND                  SERVICE            CREATED          STATUS                    PORTS\n    eventstore-using-python-client-from-docker-compose-app-1   esdb-sample-python                           \"gunicorn -w 4 -b 0.…\"   app                2 minutes ago   Up About a minute        0.0.0.0:8080-\u003e8080/tcp\n    node1.eventstore   eventstore/eventstore:24.6.0-alpha-arm64v8   \"/opt/eventstore/Eve…\"   node1.eventstore   11 seconds ago   Up 10 seconds (healthy)   1112-1113/tcp, 0.0.0.0:2111-\u003e2113/tcp\n    node2.eventstore   eventstore/eventstore:24.6.0-alpha-arm64v8   \"/opt/eventstore/Eve…\"   node2.eventstore   11 seconds ago   Up 10 seconds (healthy)   1112-1113/tcp, 0.0.0.0:2112-\u003e2113/tcp\n    node3.eventstore   eventstore/eventstore:24.6.0-alpha-arm64v8   \"/opt/eventstore/Eve…\"   node3.eventstore   11 seconds ago   Up 10 seconds (healthy)   1112-1113/tcp, 0.0.0.0:2113-\u003e2113/tcp\n   ```\n\n5. test the application:\n\n   Say hello as `Ouro`:\n\n   ```zsh\n   curl \"localhost:8080/hello-world?visitor=Ouro\"\n   ```\n\n   The results should look something like the following:\n\n   ```text\n   1 visitors have been greeted, they are: [Ouro]\n   ```\n\n   Say hello as `YourName`:\n\n   ```zsh\n   curl \"localhost:8080/hello-world?visitor=YourName\"\n   ```\n\n   The results should look something like the following:\n\n   ```text\n   2 visitors have been greeted, they are: [Ouro, YourName]\n   ```\n\n6. stop and remove the containers\n\n   ```zsh\n   docker compose down\n   ```\n\n## Additional Information\n\nFor more in-depth and detailed examples of using EventStoreDB and the Python Client, refer to:\n\n- EventStoreDB: [Getting Started With EventStoreDB](https://developers.eventstore.com/clients/grpc/)\n- Python Client: [Python Client Samples](https://github.com/pyeventsourcing/esdbclient/tree/1.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconradwt%2Feventstore-using-python-client-from-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconradwt%2Feventstore-using-python-client-from-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconradwt%2Feventstore-using-python-client-from-docker-compose/lists"}