triggercmd


Nametriggercmd JSON
Version 0.0.36 PyPI version JSON
download
home_pageNone
SummaryPython agent for TRIGGERcmd cloud service.
upload_time2025-08-30 14:02:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords triggercmd alexa echo-dot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TRIGGERcmd Python Package

For the full TRIGGERcmd agent, visit https://triggercmd.com.

Use this package to listen for triggers sent to a computer in your TRIGGERcmd account.

Send triggers with Amazon Alexa, Google Assistant, IFTTT, Zapier, Smart Things, etc.  See [this page](https://www.triggercmd.com/forum/topic/30/list-of-ways-to-trigger-your-commands) for more ways.

## Usage:

```
import json
from triggercmd import agent

computer_id = (your triggercmd computer id)
token = (your triggercmd token)

def my_function(msg):
    print(msg)
    message = json.loads(msg)
    print("Received this trigger:", message['trigger'], "and these parameters:", message['params'])

agent.connect(computer_id, token, my_function)
```

## Example output:

```
Connected
{"trigger":"Notepad","id":"13123391234567891acbf124","params":"on"}
Received this trigger: Notepad and these parameters: on
{"trigger":"Calculator","id":"13123391234567891acbf123","params":"on"}
Received this trigger: Calculator and these parameters: on
{"trigger":"Calculator","id":"13123391234567891acbf123","params":"off"}
Received this trigger: Calculator and these parameters: off
```

## Based on this project:
https://github.com/gilsdav/python_sails_websocket_client/tree/master

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "triggercmd",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "triggercmd, alexa, echo-dot",
    "author": null,
    "author_email": "Russell VanderMey <russell@triggercmd.com>",
    "download_url": "https://files.pythonhosted.org/packages/6a/92/91794ea95d7a37c2c8f2a416113cd72fe936d15f7f245bc27c48a116e851/triggercmd-0.0.36.tar.gz",
    "platform": null,
    "description": "# TRIGGERcmd Python Package\n\nFor the full TRIGGERcmd agent, visit https://triggercmd.com.\n\nUse this package to listen for triggers sent to a computer in your TRIGGERcmd account.\n\nSend triggers with Amazon Alexa, Google Assistant, IFTTT, Zapier, Smart Things, etc.  See [this page](https://www.triggercmd.com/forum/topic/30/list-of-ways-to-trigger-your-commands) for more ways.\n\n## Usage:\n\n```\nimport json\nfrom triggercmd import agent\n\ncomputer_id = (your triggercmd computer id)\ntoken = (your triggercmd token)\n\ndef my_function(msg):\n    print(msg)\n    message = json.loads(msg)\n    print(\"Received this trigger:\", message['trigger'], \"and these parameters:\", message['params'])\n\nagent.connect(computer_id, token, my_function)\n```\n\n## Example output:\n\n```\nConnected\n{\"trigger\":\"Notepad\",\"id\":\"13123391234567891acbf124\",\"params\":\"on\"}\nReceived this trigger: Notepad and these parameters: on\n{\"trigger\":\"Calculator\",\"id\":\"13123391234567891acbf123\",\"params\":\"on\"}\nReceived this trigger: Calculator and these parameters: on\n{\"trigger\":\"Calculator\",\"id\":\"13123391234567891acbf123\",\"params\":\"off\"}\nReceived this trigger: Calculator and these parameters: off\n```\n\n## Based on this project:\nhttps://github.com/gilsdav/python_sails_websocket_client/tree/master\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python agent for TRIGGERcmd cloud service.",
    "version": "0.0.36",
    "project_urls": {
        "homepage": "https://triggercmd.com",
        "repository": "https://github.com/rvmey/triggercmd-python-agent"
    },
    "split_keywords": [
        "triggercmd",
        " alexa",
        " echo-dot"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ea3458b7ffc1574ce5d25326a361742a8275e2ef7cc63cf51f66afc4e869beda",
                "md5": "42d9a50ac995cc07f3aef25dfc19aa8f",
                "sha256": "e54b6f27f4884a240d23e86a68d04e6017cb87614ea341ce5b4d36c4cec874fe"
            },
            "downloads": -1,
            "filename": "triggercmd-0.0.36-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "42d9a50ac995cc07f3aef25dfc19aa8f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 18099,
            "upload_time": "2025-08-30T14:02:21",
            "upload_time_iso_8601": "2025-08-30T14:02:21.552802Z",
            "url": "https://files.pythonhosted.org/packages/ea/34/58b7ffc1574ce5d25326a361742a8275e2ef7cc63cf51f66afc4e869beda/triggercmd-0.0.36-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6a9291794ea95d7a37c2c8f2a416113cd72fe936d15f7f245bc27c48a116e851",
                "md5": "f242047ae07813ac405969d56d6fc7be",
                "sha256": "932e94d22028c5031ec21fa007b8011bad4fbb152738e35ef768a8ea2ca01905"
            },
            "downloads": -1,
            "filename": "triggercmd-0.0.36.tar.gz",
            "has_sig": false,
            "md5_digest": "f242047ae07813ac405969d56d6fc7be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 17494,
            "upload_time": "2025-08-30T14:02:22",
            "upload_time_iso_8601": "2025-08-30T14:02:22.779196Z",
            "url": "https://files.pythonhosted.org/packages/6a/92/91794ea95d7a37c2c8f2a416113cd72fe936d15f7f245bc27c48a116e851/triggercmd-0.0.36.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-30 14:02:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rvmey",
    "github_project": "triggercmd-python-agent",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "triggercmd"
}
        
Elapsed time: 1.89021s