{"id":18606960,"url":"https://github.com/daguich/ipcbroker","last_synced_at":"2026-01-23T15:43:24.327Z","repository":{"id":62571493,"uuid":"109890195","full_name":"DaGuich/ipcbroker","owner":"DaGuich","description":"Interprocess communication framework for python","archived":false,"fork":false,"pushed_at":"2017-12-04T11:16:44.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T19:50:13.840Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaGuich.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":"2017-11-07T20:59:38.000Z","updated_at":"2021-05-05T18:56:06.000Z","dependencies_parsed_at":"2022-11-03T18:26:21.769Z","dependency_job_id":null,"html_url":"https://github.com/DaGuich/ipcbroker","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGuich%2Fipcbroker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGuich%2Fipcbroker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGuich%2Fipcbroker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGuich%2Fipcbroker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaGuich","download_url":"https://codeload.github.com/DaGuich/ipcbroker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290041,"owners_count":21078923,"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-07T02:27:46.891Z","updated_at":"2026-01-23T15:43:24.283Z","avatar_url":"https://github.com/DaGuich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python IPC-Broker\n\n| Branch | Status |\n| ------ | ------ |\n| master | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a58ccc60625b437491ff5e523cad3f65)](https://www.codacy.com/app/matthias.gilch.mg/ipcbroker?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=DaGuich/ipcbroker\u0026amp;utm_campaign=Badge_Grade) [![CircleCI](https://circleci.com/gh/DaGuich/ipcbroker/tree/master.svg?style=svg)](https://circleci.com/gh/DaGuich/ipcbroker/tree/master) |\n\nThe IPC-Broker manages the communication between python multiprocessing processes. It provides an interface\nto call methods that are provided in another process. The usage is very simple.\n\n```python\nimport ipcbroker\n\n# in main process\nbroker = ipcbroker.Broker().start()\n\n# create clients before starting all processes\nalice = ipcbroker.Client(broker)\nbob = ipcbroker.Client(broker)\n```\n```python \nimport time\n# in child process (with a client as parameter)\ndef add(a, b):\n    return a + b\n\nalice.start()    \nalice.register_function('add', add) \n# wait for registering of other process\ntime.sleep(2)\n\n# call own add function\nalice.add(2, 3)     # returns 5\n\n# or bobs sub function\nalice.sub(5, 2)     # return 3\n```\n\n```python\nimport time\n# in another child process\ndef sub(a, b):\n    return a - b\n\nbob.start()\nbob.register_function('sub', sub)\ntime.sleep(2)\n# call alice's add function\nbob.add(2, 3)       # returns 5\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaguich%2Fipcbroker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaguich%2Fipcbroker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaguich%2Fipcbroker/lists"}