{"id":30250230,"url":"https://github.com/taedmonds/python-pub-sub","last_synced_at":"2025-08-15T09:18:04.558Z","repository":{"id":251312152,"uuid":"828112626","full_name":"taedmonds/python-pub-sub","owner":"taedmonds","description":"Designing and implementing a simple Publish and Subscribe middleware using Client-Server Sockets Programming concepts and techniques","archived":false,"fork":false,"pushed_at":"2024-07-14T03:29:07.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T11:02:10.422Z","etag":null,"topics":["pubsub","python","socket-programming"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taedmonds.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-13T06:45:43.000Z","updated_at":"2024-08-02T03:53:41.000Z","dependencies_parsed_at":"2024-08-02T06:03:15.322Z","dependency_job_id":null,"html_url":"https://github.com/taedmonds/python-pub-sub","commit_stats":null,"previous_names":["terance-edmonds/python-pub-sub","taedmonds/python-pub-sub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taedmonds/python-pub-sub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Fpython-pub-sub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Fpython-pub-sub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Fpython-pub-sub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Fpython-pub-sub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taedmonds","download_url":"https://codeload.github.com/taedmonds/python-pub-sub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Fpython-pub-sub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270548539,"owners_count":24604872,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["pubsub","python","socket-programming"],"created_at":"2025-08-15T09:18:01.375Z","updated_at":"2025-08-15T09:18:04.540Z","avatar_url":"https://github.com/taedmonds.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Pub Sub Pattern\r\nDesigning and implementing a simple Publish and Subscribe middleware using Client-Server Sockets Programming concepts and techniques\r\n\r\n## Task 1: The Client-Server Application\r\n\r\n1. Start the Server by passing the PORT as a command line argument.\r\n\r\n```bash\r\npy task_1/server.py 5000\r\n```\r\n\r\n2. Start a Client to connect with the server by passing Server IP and Server PORT as command line arguments.\r\n\r\n```bash\r\npy task_1/client.py 127.0.0.1 5000\r\n```\r\n\r\n## Task 2: Publishers and Subscribers\r\n\r\n1. Start the Server by passing the PORT as a command line argument.\r\n\r\n```bash\r\npy task_2/server.py 5000\r\n```\r\n\r\n2. Start Clients to connect with the server by passing Server IP and Server PORT as command line arguments.\r\n\r\n```bash\r\npy task_2/client.py 127.0.0.1 5000 PUBLISHER\r\npy task_2/client.py 127.0.0.1 5000 SUBSCRIBER\r\n```\r\n\r\n## Task 3: Publishers and Subscribers Filtered on Topics/Subjects\r\n\r\n1. Start the Server by passing the PORT as a command line argument.\r\n\r\n```bash\r\npy task_3/server.py 5000\r\n```\r\n\r\n2. Start Clients to connect with the server by passing Server IP and Server PORT as command line arguments.\r\n\r\n```bash\r\npy task_3/client.py 127.0.0.1 5000 PUBLISHER TOPIC_A\r\npy task_3/client.py 127.0.0.1 5000 SUBSCRIBER TOPIC_A\r\n```\r\n\r\n```bash\r\npy task_3/client.py 127.0.0.1 5000 PUBLISHER TOPIC_B\r\npy task_3/client.py 127.0.0.1 5000 SUBSCRIBER TOPIC_B\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaedmonds%2Fpython-pub-sub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaedmonds%2Fpython-pub-sub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaedmonds%2Fpython-pub-sub/lists"}