{"id":18586351,"url":"https://github.com/kateyst/hw13-devops","last_synced_at":"2025-09-19T18:42:42.031Z","repository":{"id":187497631,"uuid":"677016154","full_name":"KateySt/hw13-devops","owner":"KateySt","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-10T15:04:10.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-16T06:36:16.206Z","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/KateySt.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}},"created_at":"2023-08-10T14:38:57.000Z","updated_at":"2023-08-10T14:47:07.000Z","dependencies_parsed_at":"2023-08-10T20:25:55.693Z","dependency_job_id":"51dd3b34-258d-4983-b561-350629ab6ebb","html_url":"https://github.com/KateySt/hw13-devops","commit_stats":null,"previous_names":["kateyst/hw13-devops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KateySt/hw13-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw13-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw13-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw13-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw13-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KateySt","download_url":"https://codeload.github.com/KateySt/hw13-devops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw13-devops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275984878,"owners_count":25564706,"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","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-07T00:37:58.189Z","updated_at":"2025-09-19T18:42:41.982Z","avatar_url":"https://github.com/KateySt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"RabbitMQ Consumer and Producer Documentation\n===========================================\n\nThis is a simple RabbitMQ example with a consumer and a producer.\n\nConsumer (receive.py)\n---------------------\nThe `receive.py` script connects to a RabbitMQ broker, declares a queue named \"my_first_queue\",\nand waits for messages to arrive in the queue. When a message is received, it prints the message to the console.\n\nProducer (send.py)\n-------------------\nThe `send.py` script also connects to the RabbitMQ broker, declares the same queue \"my_first_queue\",\nand sends a message \"My first message\" to the queue.\n\nRunning the Consumer (receive.py)\n---------------------------------\n1. Make sure RabbitMQ is installed and running on your localhost.\n2. Run the `receive.py` script. It will listen for messages in the \"my_first_queue\" and print them.\n\n```plaintext\n[*] I`m waiting ... To you ...\n```\n\nRunning the Producer (send.py)\n-------------------------------\n1. Make sure RabbitMQ is installed and running on your localhost.\n2. Run the `send.py` script. It will send the message \"My first message\" to the \"my_first_queue\" queue.\n\n```plaintext\n[x] Sent 'My first massage'\n```\n\nAfter running send.py in the console of the receive.py file\n\n```plaintext\n[*] I'm waiting ... To you ...\n[x] Message b'My first message'\n```\n\nNote: To stop the consumer, you can use `CTRL+C`.\n\nThis is a basic example of using RabbitMQ with Python's Pika library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkateyst%2Fhw13-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkateyst%2Fhw13-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkateyst%2Fhw13-devops/lists"}