{"id":13937218,"url":"https://github.com/nathanborror/flopsy","last_synced_at":"2025-05-04T15:34:59.479Z","repository":{"id":600439,"uuid":"236278","full_name":"nathanborror/flopsy","owner":"nathanborror","description":"A very simple way to interact with python AMQPlib.","archived":false,"fork":false,"pushed_at":"2009-06-26T22:10:08.000Z","size":85,"stargazers_count":44,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T08:06:02.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanborror.png","metadata":{"files":{"readme":"README","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}},"created_at":"2009-06-25T16:33:29.000Z","updated_at":"2021-03-03T21:45:06.000Z","dependencies_parsed_at":"2022-07-16T15:17:23.243Z","dependency_job_id":null,"html_url":"https://github.com/nathanborror/flopsy","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/nathanborror%2Fflopsy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fflopsy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fflopsy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fflopsy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanborror","download_url":"https://codeload.github.com/nathanborror/flopsy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252357400,"owners_count":21735138,"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-08-07T23:03:23.862Z","updated_at":"2025-05-04T15:34:59.242Z","avatar_url":"https://github.com/nathanborror.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Flopsy\n======\n\nA very simple way to interact with python AMQPlib. For my case I'm using\nRabbitMQ as my implementation but it should work with others.\n\nsettings.py\n-----------\n\nAMQP_SERVER = '24.143.38.241'\nAMQP_PORT = 5672\nAMQP_USER = 'guest'\nAMQP_PASSWORD = 'guest'\nAMQP_VHOST = '/'\n\nConsumer\n--------\n\n\u003e\u003e\u003e import flopsy\n\u003e\u003e\u003e consumer = flopsy.Consumer()\n\u003e\u003e\u003e def message_callback(message):\n...     print 'Recieved: ' + message.body\n...     consumer.channel.basic_ack(message.delivery_tag)\n...\n\u003e\u003e\u003e consumer.register('message_to_print', message_callback)\n\u003e\u003e\u003e consumer.wait()\n\n\nPublisher\n---------\n\n\u003e\u003e\u003e import flopsy\n\u003e\u003e\u003e publisher = flopsy.Publisher()\n\u003e\u003e\u003e publisher.publish('messages_to_print', 'Test message!')","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanborror%2Fflopsy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanborror%2Fflopsy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanborror%2Fflopsy/lists"}