{"id":23656357,"url":"https://github.com/lazydoomslayer/python-mqtt-simulation","last_synced_at":"2026-04-27T16:31:09.496Z","repository":{"id":269886032,"uuid":"908719690","full_name":"LazyDoomSlayer/python-mqtt-simulation","owner":"LazyDoomSlayer","description":"A Python-based MQTT simulation tool for testing and experimenting with MQTT protocols in IoT and network environments.","archived":false,"fork":false,"pushed_at":"2024-12-26T22:23:07.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T09:42:32.172Z","etag":null,"topics":["iot","mqtt","publish-subscribe","python","simulation"],"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/LazyDoomSlayer.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-12-26T19:29:05.000Z","updated_at":"2025-01-10T13:46:31.000Z","dependencies_parsed_at":"2024-12-26T23:19:24.156Z","dependency_job_id":"26ee47c9-2656-49f1-ab64-6bb1958891f3","html_url":"https://github.com/LazyDoomSlayer/python-mqtt-simulation","commit_stats":null,"previous_names":["lazydoomslayer/python-mqtt-simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyDoomSlayer%2Fpython-mqtt-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyDoomSlayer%2Fpython-mqtt-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyDoomSlayer%2Fpython-mqtt-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyDoomSlayer%2Fpython-mqtt-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LazyDoomSlayer","download_url":"https://codeload.github.com/LazyDoomSlayer/python-mqtt-simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239635519,"owners_count":19672190,"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":["iot","mqtt","publish-subscribe","python","simulation"],"created_at":"2024-12-28T21:29:29.900Z","updated_at":"2025-11-25T05:30:16.288Z","avatar_url":"https://github.com/LazyDoomSlayer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python MQTT Simulation 🕸️\n\nThis repository contains a Python-based MQTT simulation tool designed to test and experiment with the MQTT protocol. Whether you're working on IoT projects or exploring publish-subscribe messaging patterns, this simulation provides a flexible and reliable environment.\n\n---\n\n## 🎯 Features\n\n- **Publish/Subscribe Simulation:** Mimics real-world MQTT messaging flows.\n- **Customizable Topics:** Create, subscribe, and publish to custom MQTT topics.\n- **Broker Interaction:** Seamlessly integrates with popular brokers like Mosquitto or HiveMQ.\n- **Asynchronous Operations:** Leverages `asyncio` for efficient message handling.\n- **Extensibility:** Easily adapt the codebase for your specific needs.\n\n---\n\n## ⚡ Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/LazyDoomSlayer/python-mqtt-simulation\n   cd python-mqtt-simulation\n   ```\n\n2. Install the required Python dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Run the simulation script:\n   ```bash\n   python mqtt_simulation.py\n   ```\n\n---\n\n## 🔧 Configuration\n\n- Modify the **broker settings**, topic names, and payloads in the script to fit your use case.\n- Example customization areas:\n  - **Broker URL:** Update with your MQTT broker address.\n  - **Topics:** Define your topics for publish/subscribe operations.\n  - **QoS Levels:** Adjust the quality of service (QoS) settings as needed.\n\n---\n\n## 🌟 Use Cases\n\n- **IoT Development:** Test and debug IoT devices using an MQTT broker.\n- **Protocol Learning:** Understand how MQTT messaging works in practice.\n- **Network Testing:** Simulate real-time messaging in controlled environments.\n\n---\n\n## 🛠️ Requirements\n\n- **Python 3.8 or higher**\n- **paho-mqtt library** (included in `requirements.txt`)\n- An MQTT broker for testing (e.g., [Mosquitto](https://mosquitto.org), [HiveMQ](https://www.hivemq.com)).\n\n---\n\n## 📝 Contributing\n\nContributions are welcome! If you have ideas, bug fixes, or new features, feel free to open an issue or submit a pull request.\n\n---\n\n## ❤️ Acknowledgments\n\n- Thanks to the developers of [paho-mqtt](https://www.eclipse.org/paho/) for their MQTT library.\n- Inspired by real-world use cases in IoT and networking.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazydoomslayer%2Fpython-mqtt-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazydoomslayer%2Fpython-mqtt-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazydoomslayer%2Fpython-mqtt-simulation/lists"}