{"id":16602446,"url":"https://github.com/lnxpy/event-driven-in-python","last_synced_at":"2026-03-09T22:03:41.937Z","repository":{"id":98018808,"uuid":"489071178","full_name":"lnxpy/event-driven-in-python","owner":"lnxpy","description":"Event-Driven Architecture implemented in Python with RabbitMQ","archived":false,"fork":false,"pushed_at":"2026-02-12T12:17:58.000Z","size":22,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T21:05:34.471Z","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/lnxpy.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,"zenodo":null}},"created_at":"2022-05-05T17:42:57.000Z","updated_at":"2026-02-12T12:18:01.000Z","dependencies_parsed_at":"2025-04-15T23:50:54.992Z","dependency_job_id":"f8a0c877-3316-45a3-a6d7-01e3c76254ad","html_url":"https://github.com/lnxpy/event-driven-in-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lnxpy/event-driven-in-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fevent-driven-in-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fevent-driven-in-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fevent-driven-in-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fevent-driven-in-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnxpy","download_url":"https://codeload.github.com/lnxpy/event-driven-in-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxpy%2Fevent-driven-in-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-10-12T00:22:14.140Z","updated_at":"2026-03-09T22:03:41.930Z","avatar_url":"https://github.com/lnxpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Event-Driven Architecture in Python\n\nEvent-Driven Architecture implemented in Python with RabbitMQ and Docker. You have full access to the messages and service configurations. **This project is based on [Event-Driven Architecture in Python](https://blog.imsadra.dev/event-driven-architecture-in-python) articles on Hashnode**.\n\n### Preview\n![preview](https://cdn.hashnode.com/res/hashnode/image/upload/v1652463979306/eav6lFh1x.gif)\n\n### Setup\n\nFollow these steps to run the project locally.\n\n#### 1. Install docker and docker-compose\n\nUse the following tutorials to make `docker` and `docker-compose` ready on your machine.\n\n- [Docker setup guide for Linux, Windows, and Mac users](https://docs.docker.com/get-docker/).\n- [Docker-compose installation guide](https://docs.docker.com/compose/install/).\n\n#### 2. Clone this project\n\nOpen a fresh terminal tab and run the following commands.\n\n```shell\ngit clone https://github.com/lnxpy/event-driven-in-python.git\n```\n```shell\ncd event-driven-in-python\n```\n\n#### 3. Install the dependencies\n\nYou can either create a virtual environement or do nothing in case of installing the required packages.\n\n##### with virtualenv\n```shell\nvirtualenv venv\n```\n```shell\nsource venv/bin/activate\n```\n```shell\npip install -r requirements.txt\n```\n\n##### without virtualenv\n```shell\npip3 install -r requirements.txt\n```\n\n#### 3. Start the compose\n\nMake sure your Docker Daemon is working fine and your Docker service is running with the following command on Linux distributions.\n\n```shell\nsudo systemctl status docker\n```\n\nThen, start pulling the images and run a container on the background.\n\n```shell\ndocker-compose up -d\n```\n\n#### 4. Customize the configurations\n\nOpen `settings/configs.py` file in a text editor and make changes. The default configuration might be fine for the rest of the project and your tests.\n\n#### 5. Start producing and consuming\n\nYou can change the variable `MESSAGE` from `settings/configs.py` to make your own message pattern with some additional keys. Once you made your changes, \ncreate two fresh terminal tabs and run both `producer.py` and `consumer.py` each by each. Since `producer.py` declares the queue, make sure you run the producer module first. For more message fields, check out `settings/volumes.py`. Make sure you use the exact key name as your message fields.\n\n### Final Words\nThis project is made with the aim of educational purposes. Feel free to contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxpy%2Fevent-driven-in-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnxpy%2Fevent-driven-in-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxpy%2Fevent-driven-in-python/lists"}