{"id":21991464,"url":"https://github.com/terrabits/mqtt_publish","last_synced_at":"2026-05-16T11:04:35.892Z","repository":{"id":57443553,"uuid":"233338926","full_name":"Terrabits/mqtt_publish","owner":"Terrabits","description":"A command line utility for quickly publishing a single MQTT message.","archived":false,"fork":false,"pushed_at":"2020-01-12T04:41:27.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T09:16:39.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Terrabits.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}},"created_at":"2020-01-12T04:40:00.000Z","updated_at":"2020-01-12T04:41:29.000Z","dependencies_parsed_at":"2022-08-30T13:41:30.783Z","dependency_job_id":null,"html_url":"https://github.com/Terrabits/mqtt_publish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Terrabits%2Fmqtt_publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Terrabits%2Fmqtt_publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Terrabits%2Fmqtt_publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Terrabits%2Fmqtt_publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Terrabits","download_url":"https://codeload.github.com/Terrabits/mqtt_publish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052623,"owners_count":20553161,"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":[],"created_at":"2024-11-29T20:09:28.526Z","updated_at":"2025-10-15T03:09:57.431Z","avatar_url":"https://github.com/Terrabits.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mqtt_publish\n\nA command line utility for quickly publishing a single MQTT message.\n\n## Installation\n\nVia pip, with `pip install mqtt_publish`.\n\n## Usage\n\nFrom `--help`:\n\n```shell\nusage: mqtt_publish [-h] [--broker-port BROKER_PORT]\n                    broker_address topic message\n\nCommand line utility for quick MQTT publishes\n\npositional arguments:\n  broker_address\n  topic\n  message\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --broker-port BROKER_PORT\n```\n\n## Example\n\nOnce installed, the CLI should be available in path (assuming python is in path).\n\n```shell\nmqtt_publish home-server.lan bedroom/smart-plug/set on\n```\n\nThe `mqtt_publish` CLI is available via the python executable with the `-m` flag.\n\n```shell\npath/to/python -m mqtt_publish home-server.lan bedroom/smart-plug/set off\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrabits%2Fmqtt_publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrabits%2Fmqtt_publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrabits%2Fmqtt_publish/lists"}