{"id":28507260,"url":"https://github.com/alvonx/emqx-python","last_synced_at":"2026-04-28T17:05:55.720Z","repository":{"id":235245679,"uuid":"624845116","full_name":"alvonx/emqx-python","owner":"alvonx","description":"launching emqx server using docker and publishing message to it using python","archived":false,"fork":false,"pushed_at":"2023-04-25T04:44:28.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T06:38:28.375Z","etag":null,"topics":["docker","emqx","python"],"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/alvonx.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}},"created_at":"2023-04-07T11:57:06.000Z","updated_at":"2023-04-07T15:15:22.000Z","dependencies_parsed_at":"2024-04-22T20:23:39.844Z","dependency_job_id":"9f5be5cc-0b96-4d0b-ac2d-700ec3a23e2b","html_url":"https://github.com/alvonx/emqx-python","commit_stats":null,"previous_names":["alvonx/emqx-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvonx/emqx-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2Femqx-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2Femqx-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2Femqx-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2Femqx-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvonx","download_url":"https://codeload.github.com/alvonx/emqx-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2Femqx-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","emqx","python"],"created_at":"2025-06-08T20:07:15.307Z","updated_at":"2026-04-28T17:05:55.699Z","avatar_url":"https://github.com/alvonx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EMQX and Python\n\n## Launching EMQX serverwith docker\n\nyou will require 2 open ports on the server say (port1 \u0026 port2)\n\nlaunch emqx `sudo docker run -d --name emqx -p port1:18083 -p port2:1883 emqx:latest`\n\nhere internal port \n\n**18083** -\u003e **emqx dashboard**\n\n**1883** -\u003e **emqx server**\n\n\ncontainer created\n\n- login to container\n\n`sudo docker exec -it emqx /bin/sh`\n\n- change password of root(admin) user\n\n`emqx ctl admins passwd admin \u003cyour-pass\u003e`\n\n## to access dashboard\n\nhttp://server-ip:port1 # see above for port1\n\n- create user\n\n![image](https://user-images.githubusercontent.com/46744784/230608750-9e5308e5-2e31-4560-b681-f47b69958cf9.png)\n![image](https://user-images.githubusercontent.com/46744784/230608802-04d4b048-18e0-40d1-95fb-68df1ccb7a6e.png)\n![image](https://user-images.githubusercontent.com/46744784/230608842-5de1866a-10f5-4973-bc07-f561ec1504f2.png)\n![image](https://user-images.githubusercontent.com/46744784/230608891-3b61c457-8468-42ea-9e7b-f2a2d339bbdc.png)\n![image](https://user-images.githubusercontent.com/46744784/230608948-bad8d182-b77a-430c-80cb-564533c4a083.png)\n![image](https://user-images.githubusercontent.com/46744784/230608987-689d8dc6-2e7e-4141-bf19-0bda6ae7b095.png)\n![add user name and password](https://user-images.githubusercontent.com/46744784/230609065-6fc89d32-ef35-426b-ab63-123464435fc6.png)\n\n## write some python code to publish message to the broker\n\n- install paho-mqtt\n`pip install paho-mqtt`\n\nsee code `emqx-python.py`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvonx%2Femqx-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvonx%2Femqx-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvonx%2Femqx-python/lists"}