{"id":20409720,"url":"https://github.com/jmysu/zmqsocket","last_synced_at":"2025-09-13T08:12:50.537Z","repository":{"id":182255916,"uuid":"169327525","full_name":"jmysu/zmqSocket","owner":"jmysu","description":"ZMTP3-SUB/PUB Python/C++ minimum  implement","archived":false,"fork":false,"pushed_at":"2019-02-14T22:28:50.000Z","size":1384,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T16:00:07.586Z","etag":null,"topics":["arduino","esp32","platformio","python","zmq","zmtp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmysu.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,"governance":null}},"created_at":"2019-02-05T23:11:42.000Z","updated_at":"2022-09-24T07:25:50.000Z","dependencies_parsed_at":"2023-07-23T21:18:30.353Z","dependency_job_id":null,"html_url":"https://github.com/jmysu/zmqSocket","commit_stats":null,"previous_names":["jmysu/zmqsocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmysu/zmqSocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmysu%2FzmqSocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmysu%2FzmqSocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmysu%2FzmqSocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmysu%2FzmqSocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmysu","download_url":"https://codeload.github.com/jmysu/zmqSocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmysu%2FzmqSocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274935979,"owners_count":25376836,"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-09-13T02:00:10.085Z","response_time":70,"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":["arduino","esp32","platformio","python","zmq","zmtp"],"created_at":"2024-11-15T05:43:12.446Z","updated_at":"2025-09-13T08:12:50.510Z","avatar_url":"https://github.com/jmysu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zmqSocket ZMTP3.0 mini implementation w/o libZmq\n  ZMTP3-SUB/PUB Python/Arduino-C++\u003cbr/\u003e\n  使用Python/Arduino sockets模擬ZMTP3-PUB/SUB的Greeting/Handshake並發送接收訂閱資料\n  \u003cbr/\u003e\n  \n# References\n- [zmq guide](http://zguide.zeromq.org/)\n- [minimum zmtp stuff](https://github.com/zeromq/zmtp/tree/master/zmtp30/C)\n- [zmtp Wireshark dissector](https://github.com/whitequark/zmtp-wireshark/blob/master/zmtp-dissector.lua)\n- [zmtp RFC spec](https://rfc.zeromq.org/spec:23/ZMTP/)\n  \u003cbr/\u003e\n  ![Detecting zPeers](pictures/zmtpDetectingPeers.png)\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n## Python sockets as subscriber (for single publisher) \u003c---\u003e Pyzmq as publisher\n## Python sockets as publisher \u003c---\u003e Pyzmq as subscriber\n訂閱端  sockets only (sktSub.py) w/o Pyzmq \u003c---\u003e (zmqPub.py) w/ Pyzmq  派送端 \u003cbr/\u003e \n派送端  sockets only (sktPub.py) w/o Pyzmq \u003c---\u003e (zmqSub.py) w/ Pyzmq  訂閱端 \u003cbr/\u003e \n\u003cbr/\u003e\n\n### ZMQ-PUB Python Simulation\n![SocketSub](pictures/sktPub.png)\n\n### ZMQ-PUB Python Simulation Wireshark ZMTP Traffics\nPublisher: color in red\n![SocketSub](pictures/sktPubWireshark.png)\n\n### ZMQ-SUB Python Simulation\n![SocketSub](pictures/zmqSocketSub.png)\n\n### ZMQ-SUB Python Simulation Wireshark ZMTP Traffics\nSubscriber: color in blue\n![SocketSub](pictures/zmqSocketSubWireshark.png)\n\n### (NEW) ESP32 project works for ZMTP3 Publish\nESP32 uses Arduino WiFiClient (w/o libZmq) to send ZMTP3 messages...\n![ESP32 zSocket](pictures/zmqESP32.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmysu%2Fzmqsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmysu%2Fzmqsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmysu%2Fzmqsocket/lists"}