{"id":21505557,"url":"https://github.com/ibm-messaging/macaque","last_synced_at":"2025-07-16T00:32:32.841Z","repository":{"id":34197189,"uuid":"38052259","full_name":"ibm-messaging/macaque","owner":"ibm-messaging","description":"Flask style library for microservices with MQ Light","archived":false,"fork":false,"pushed_at":"2015-06-26T10:52:46.000Z","size":148,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-08-12T16:11:07.715Z","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":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibm-messaging.png","metadata":{"files":{"readme":"README.md","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":"2015-06-25T13:51:48.000Z","updated_at":"2023-08-12T16:11:07.715Z","dependencies_parsed_at":"2022-09-04T11:02:06.757Z","dependency_job_id":null,"html_url":"https://github.com/ibm-messaging/macaque","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-messaging%2Fmacaque","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-messaging%2Fmacaque/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-messaging%2Fmacaque/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-messaging%2Fmacaque/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibm-messaging","download_url":"https://codeload.github.com/ibm-messaging/macaque/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226084430,"owners_count":17571155,"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-23T19:07:07.331Z","updated_at":"2024-11-23T19:07:08.030Z","avatar_url":"https://github.com/ibm-messaging.png","language":"Python","readme":"# Macaque\nFlask style library for microservices with [MQ Light](https://developer.ibm.com/messaging/mq-light/)\n\n```python\nimport macaque\n```\nImporting the macaque library into your application code\n\n```python\nsrv = macaque.Server()\n```\nCreating an instance of the macaque server component\n\n```python\n@srv.service(\"news/technology\")\ndef news_tech_handler(request):\n\tprint request\n\treturn {\"headline\": \"MQ Light rocks!\"}\n```\nCreating a service endpoint handler\n\n```python\ncl = macaque.Client()\n```\nCreating an instance of the macaque client component\n\n```python\ndef response_handler(response):\n    print response['headline']\n\napp.call(\"news/technology\", \"MQ Light?\", response_handler)\n```\nCalling a service endpoint and handling the returned value\n\nThis project is licensed under the Eclipse Public License, details can be found in the file `LICENSE`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-messaging%2Fmacaque","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibm-messaging%2Fmacaque","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-messaging%2Fmacaque/lists"}