{"id":21379662,"url":"https://github.com/andreimarcu/aamnotifs","last_synced_at":"2025-07-13T12:30:42.264Z","repository":{"id":57407707,"uuid":"11647491","full_name":"andreimarcu/aamnotifs","owner":"andreimarcu","description":"Simple notifications implementation with RabbitMQ using pika.","archived":false,"fork":false,"pushed_at":"2015-02-11T02:26:56.000Z","size":227,"stargazers_count":18,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-15T17:42:34.288Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreimarcu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-24T23:15:18.000Z","updated_at":"2021-10-16T09:32:09.000Z","dependencies_parsed_at":"2022-09-26T17:10:37.258Z","dependency_job_id":null,"html_url":"https://github.com/andreimarcu/aamnotifs","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/andreimarcu%2Faamnotifs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faamnotifs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faamnotifs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faamnotifs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreimarcu","download_url":"https://codeload.github.com/andreimarcu/aamnotifs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225879787,"owners_count":17538671,"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":[],"created_at":"2024-11-22T10:22:28.286Z","updated_at":"2024-11-22T10:22:28.789Z","avatar_url":"https://github.com/andreimarcu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"aamnotifs\n=========\n\nSimple notifications implementation with RabbitMQ using pika.\n\nRequirements\n------------\n* Python 2.6+\n* pika\n\n\nUsage\n-----\nBest illustrated in the provided examples but this is the basic idea: \n\nConnect to the RabbitMQ server:\n```python\nn = aamnotifs.Notifs(\"amqps://user:password@domain.tld:5673/%2F\")\n```\n\nSend a message:\n```python\nn.send(\"test_channel_one\", \"Notification title\", \"Notification content\")\nn.send(\"test_channel_two\", \"Notification title\", \"Notification content\")\n```\n\nListen for messages:\n```python\nn.receive(\"test_channel_one\", callback_function)\n\n# OR n.receive([\"test_channel_one\", \"test_channel_two\"], callback_function)\n# or even n.receive([\"#\"], callback_function)  # wildcard matches all channels\n\n```\n\nAuthor\n-------\nAndrei Marcu  \nhttp://andreim.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Faamnotifs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreimarcu%2Faamnotifs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Faamnotifs/lists"}