{"id":21933509,"url":"https://github.com/aidenellis/connectmp","last_synced_at":"2026-04-27T12:39:01.362Z","repository":{"id":62564491,"uuid":"440235858","full_name":"AidenEllis/ConnectMP","owner":"AidenEllis","description":"🍰 ConnectMP - An easy way to share data between Processes in Python.","archived":false,"fork":false,"pushed_at":"2021-12-24T17:10:44.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T12:49:50.060Z","etag":null,"topics":["aidenellis","connectmp","data","data-sharing","multiprocessing","process","sharing"],"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/AidenEllis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-20T16:27:44.000Z","updated_at":"2021-12-24T17:09:50.000Z","dependencies_parsed_at":"2022-11-03T16:00:48.267Z","dependency_job_id":null,"html_url":"https://github.com/AidenEllis/ConnectMP","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/AidenEllis%2FConnectMP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FConnectMP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FConnectMP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FConnectMP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AidenEllis","download_url":"https://codeload.github.com/AidenEllis/ConnectMP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244961431,"owners_count":20538963,"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":["aidenellis","connectmp","data","data-sharing","multiprocessing","process","sharing"],"created_at":"2024-11-29T00:12:16.679Z","updated_at":"2026-04-27T12:39:01.275Z","avatar_url":"https://github.com/AidenEllis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/AidenEllis/Cligo\"\u003e\u003cp align=\"center\"\u003e\u003c/a\u003e\n\u003cimg height=100 src=\"https://upstorage.pythonanywhere.com/api/storage/file/its_sakib/Public/Github/ConnectMP/connectmp_logo_original.png\"/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eConnectMP - Taking Multi-Process Data Sharing to the moon 🚀\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AidenEllis/ConnectMP/blob/main/CONTRIBUTING.md\"\u003eContribute\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://discord.gg/aw35Kb7uE7\"\u003eCommunity\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://github.com/AidenEllis/ConnectMP/\"\u003eDocumentation\u003c/a\u003e\n\u003c/h3\u003e\n\n---\n\n## 🎫 Introduction :\n🍤 `ConnectMP` is an simple, easy way to share data between `Processes` using DB. It's superfast, can handle big datas, can\ncreate `multiple` data connection and really `simple` to get started. 🍰\n\n🥐 `ConnectMP` is created out of pure `Frustration` of not being able to find a good solution to comminucate between Processes 🥨\n\n### 🥗 Installation :\n`via pip (recommended) :`\n```commandline\npip install connectmp\n```\n\n## 🧇 Quickstart : (Docs)\n\n### 🥨 connectmp.Connection\nLet's see how to create a connection Object.\n\nFirst, import this:\n```python\nfrom connectmp import Connection\n```\nYou can create your own `Connection` with this. Let me show you how:\n```python\nfrom connectmp import Connection\n\nconnection = Connection()\n```\nthat's it! 🎉 You can also create multiple `Connection` like this!\npass it as an argument and use it anywhere you want 🥂\n\nHere's an example below:\n\n#### 🌮 Example:\n```python\nimport time\nfrom connectmp import Process, Connection\n\n\ndef do_something(connection):\n    connection.data = \"Sending Some Data.\"\n\n\ndef track_data(connection):\n    time.sleep(1)\n    print(f\"Track i: {connection.data}\")\n\n\nif __name__ == '__main__':\n    conn = Connection()  # Creating connection\n    \n    p1 = Process(target=do_something, args=(conn,))\n    p2 = Process(target=track_data, args=(conn,))\n\n    p1.start()\n    p2.start()\n```\n\nHere we created a `Connection` object named `conn`, and we created  2 `Process`. Both of then share the same `Connection` object so they can communicate with each other. In our\n`do_something` function we send the data and in `track-data` function we get the data and print it out.\n\nThat's all you needed to know about `ConnectMP`. Hope this helped you 🎉\n\n[🌟 Back to Top](#)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenellis%2Fconnectmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidenellis%2Fconnectmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenellis%2Fconnectmp/lists"}