{"id":20474486,"url":"https://github.com/terance-edmonds/python-pub-sub","last_synced_at":"2025-03-05T14:18:40.397Z","repository":{"id":251312152,"uuid":"828112626","full_name":"terance-edmonds/python-pub-sub","owner":"terance-edmonds","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-01-16T02:49:18.455Z","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/terance-edmonds.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/terance-edmonds/python-pub-sub","commit_stats":null,"previous_names":["terance-edmonds/python-pub-sub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-pub-sub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-pub-sub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-pub-sub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terance-edmonds%2Fpython-pub-sub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terance-edmonds","download_url":"https://codeload.github.com/terance-edmonds/python-pub-sub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039717,"owners_count":20061928,"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":["pubsub","python","socket-programming"],"created_at":"2024-11-15T14:33:00.442Z","updated_at":"2025-03-05T14:18:40.369Z","avatar_url":"https://github.com/terance-edmonds.png","language":"Python","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```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterance-edmonds%2Fpython-pub-sub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterance-edmonds%2Fpython-pub-sub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterance-edmonds%2Fpython-pub-sub/lists"}