{ "info": { "author": "autofelge1024", "author_email": "mail@autofelge1024.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python :: 3" ], "description": "# Webhook command runner\n\nThis module provides a simple method for automatically execution calling scripts when a webhook-call is received.\n\nIn the configuration file you define, which script will be called on wich request. e.g.:\n\n```\n[webserver-settings]\nlisten_ip: 127.0.0.1\nlisten_port: 8080\n\n[/print/hello]\nmethod: GET, POST\ncommand: echo \"Hello!\"\n\n[/wall/hello]\nmethod: GET, POST\ncommand: wall \"Hello!\"\n\n[/sleep]\nmethod: GET\ncommand: sleep 5 && wall \"Hello!\"\n\n[/git/pull/webhook_script_execution]\nmethod: GET\npath: /data/scripts/webhook_script_execution\ncommand: git pull\n```\n\nTo start the webhook command runner simply install it with pip and call `webhook-command-runner`:\n\n```\n$ pip3 install webhook-command-runner\n$ webhook-command-runner config.ini\n```\n\nThe configuration has following sections:\n\n## `webserver-settings`:\n\nIn this section, the IP-Adress and Port configuration can be done.\n\n## `/request/paths`:\n\nIn these sections, it is defined, wich script will be called:\nYou can define:\n\n- `method`: Which HTTP-Method can be used to trigger the script-execution. Today, `GET`and `POST` are implemented.\n- `path`: Optionally, you can define a Filesystem-Path, where the script shall be executed.\n- `command`: The command to be executed. \n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/autofelge1024/webhook_command_runner", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "webhook-command-runner", "package_url": "https://pypi.org/project/webhook-command-runner/", "platform": "", "project_url": "https://pypi.org/project/webhook-command-runner/", "project_urls": { "Homepage": "https://github.com/autofelge1024/webhook_command_runner" }, "release_url": "https://pypi.org/project/webhook-command-runner/1.0.4/", "requires_dist": null, "requires_python": ">=3.4", "summary": "A simple and small webserver to react to webhook-calls by running commands.For simplicity, webhook-urls and scripts are configured in a configfile.", "version": "1.0.4" }, "last_serial": 5879910, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a747eb3774e007d07a9990196e8ae64e", "sha256": "288039922521887d8e44e90e9744dda1e990c7381c60ac1575e6957aa5642e4a" }, "downloads": -1, "filename": "webhook_command_runner-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a747eb3774e007d07a9990196e8ae64e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4686, "upload_time": "2019-09-24T13:43:47", "url": "https://files.pythonhosted.org/packages/c3/34/e033933dd6107aa8cd6881fa66700d76c60c9745ad5008a657fba8cda17e/webhook_command_runner-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26355421b174cd96c20682ff8bfa113f", "sha256": "0157a7dec598d52679528f68c2fbf7b674692035cc263a61db50941d46bff85d" }, "downloads": -1, "filename": "webhook_command_runner-1.0.0.tar.gz", "has_sig": false, "md5_digest": "26355421b174cd96c20682ff8bfa113f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3073, "upload_time": "2019-09-24T13:43:50", "url": "https://files.pythonhosted.org/packages/d8/6d/9a8083e66a6255fad75807fee8dbe19e790a8226b31cf0ef29d3aedfb895/webhook_command_runner-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "452c18609446436109e62b589659cd6d", "sha256": "89e12c0c9ca4f24689d096708a5e14a9b507fe2061a6d11edce3776bde24663f" }, "downloads": -1, "filename": "webhook_command_runner-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "452c18609446436109e62b589659cd6d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4682, "upload_time": "2019-09-24T13:43:49", "url": "https://files.pythonhosted.org/packages/b2/d1/8e5710dd6d60c9a87adffc40dc96e7c532d9a9f3e8c511bf149de91225c2/webhook_command_runner-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4ab570429e8ee5d419b781bdfee8db1", "sha256": "32feaaefd09ee4b69e0424c3ba1bbc4c9150b101a4164df42de2d5ef73a66f08" }, "downloads": -1, "filename": "webhook_command_runner-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d4ab570429e8ee5d419b781bdfee8db1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3076, "upload_time": "2019-09-24T13:43:52", "url": "https://files.pythonhosted.org/packages/44/02/20e14d489904bb890bca1ed229daee6c1252a8e51f9fe07e21136c70efb2/webhook_command_runner-1.0.1.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "a4e2f7c654e2e3f470db5c0a009ce824", "sha256": "db112276541c11c6cba830494109a2846d3b59b5f4ecae1b2dc2f42fb420693d" }, "downloads": -1, "filename": "webhook_command_runner-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a4e2f7c654e2e3f470db5c0a009ce824", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4709, "upload_time": "2019-09-24T14:02:00", "url": "https://files.pythonhosted.org/packages/a5/e1/eceb350899acc6c8c5605f8dcca66e99dadf8e214fdc98865801e0bc1e44/webhook_command_runner-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d6812f916a1c83e0ab3d95390a63053", "sha256": "bddedc08d878e5a968622bcc8d0085087b20dd94f01d36d3f1bd02c6d398d994" }, "downloads": -1, "filename": "webhook_command_runner-1.0.3.tar.gz", "has_sig": false, "md5_digest": "2d6812f916a1c83e0ab3d95390a63053", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3085, "upload_time": "2019-09-24T14:02:02", "url": "https://files.pythonhosted.org/packages/aa/e3/d02e061cf7557c2da428a7ce2d2e960183d7f8da01f5d42157b63bc2ddb0/webhook_command_runner-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "8b66fc035c15d5c212c8209deff879f3", "sha256": "b929d8fee73fd9c7fbbbae88be7784aff4dbc121d58feb4f345c6b588754dd79" }, "downloads": -1, "filename": "webhook_command_runner-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8b66fc035c15d5c212c8209deff879f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4691, "upload_time": "2019-09-24T14:03:22", "url": "https://files.pythonhosted.org/packages/8b/28/db82a154bf5b80fcecdee02a87078ba6732eb91689a27c1529b507bc670b/webhook_command_runner-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c13e21f7196e18c8d874923bb2b546a", "sha256": "d9178be09437eaa2d6341eff776b4d49cdad550beac9f56849b5c4c124e88dd0" }, "downloads": -1, "filename": "webhook_command_runner-1.0.4.tar.gz", "has_sig": false, "md5_digest": "7c13e21f7196e18c8d874923bb2b546a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3078, "upload_time": "2019-09-24T14:03:23", "url": "https://files.pythonhosted.org/packages/c1/5e/73adc7862a1008d61fde6da746e31225e60945b472022e74d3c7d23c5899/webhook_command_runner-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b66fc035c15d5c212c8209deff879f3", "sha256": "b929d8fee73fd9c7fbbbae88be7784aff4dbc121d58feb4f345c6b588754dd79" }, "downloads": -1, "filename": "webhook_command_runner-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8b66fc035c15d5c212c8209deff879f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 4691, "upload_time": "2019-09-24T14:03:22", "url": "https://files.pythonhosted.org/packages/8b/28/db82a154bf5b80fcecdee02a87078ba6732eb91689a27c1529b507bc670b/webhook_command_runner-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c13e21f7196e18c8d874923bb2b546a", "sha256": "d9178be09437eaa2d6341eff776b4d49cdad550beac9f56849b5c4c124e88dd0" }, "downloads": -1, "filename": "webhook_command_runner-1.0.4.tar.gz", "has_sig": false, "md5_digest": "7c13e21f7196e18c8d874923bb2b546a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 3078, "upload_time": "2019-09-24T14:03:23", "url": "https://files.pythonhosted.org/packages/c1/5e/73adc7862a1008d61fde6da746e31225e60945b472022e74d3c7d23c5899/webhook_command_runner-1.0.4.tar.gz" } ] }