{ "info": { "author": "chaostoolkit Team", "author_email": "contact@chaostoolkit.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: Freely Distributable", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython" ], "description": "# Chaos Toolkit Extension for Slack\n\n[![Build Status](https://travis-ci.org/chaostoolkit-incubator/chaostoolkit-slack.svg?branch=master)](https://travis-ci.org/chaostoolkit-incubator/chaostoolkit-slack)\n\nThis project is an extension for the Chaos Toolkit to target [Slack][slack].\n\n[slack]: https://slack.com/\n\n## Install\n\nThis package requires Python 3.5+\n\nTo be used from your experiment, this package must be installed in the Python\nenvironment where [chaostoolkit][] already lives.\n\n[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit\n\n```\n$ pip install -U chaostoolkit-slack\n```\n\n## Slack Token\n\nYou can simply generate a [legacy token][legtok]. But you may also create a\nfull [Slack App][slackapp] and generate a [token from it][slacktok].\n\n[legtok]: https://api.slack.com/custom-integrations/legacy-tokens\n[slackapp]: https://api.slack.com/slack-apps\n[slacktok]: https://api.slack.com/docs/token-types\n\n## Usage\n\nCurrently, this extension only provides notification support to send Chaos\nToolkit events to Slack channels.\n\nTo use this extension, edit your [chaostoolkit settings][settings] by adding the\nfollowing payload:\n\n[settings]: http://chaostoolkit.org/reference/usage/settings/\n\n```yaml\nnotifications:\n -\n type: plugin\n module: chaosslack.notification\n token: xop-1235\n channel: general\n```\n\nBy default all events will be forwarded to that channel. You may filter only\nthose events you care for:\n\n\n```yaml\nnotifications:\n -\n type: plugin\n module: chaosslack.notification\n token: xop-1235\n channel: general\n events:\n - run-failed\n - run-started\n```\n\nOnly sends those two events.\n\n## Test\n\nTo run the tests for the project execute the following:\n\n```\n$ pytest\n```\n\n## Contribute\n\nIf you wish to contribute more functions to this package, you are more than\nwelcome to do so. Please, fork this project, make your changes following the\nusual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for\nreview.\n\n[pep8]: https://pycodestyle.readthedocs.io/en/latest/\n\nThe Chaos Toolkit projects require all contributors must sign a\n[Developer Certificate of Origin][dco] on each commit they would like to merge\ninto the master branch of the repository. Please, make sure you can abide by\nthe rules of the DCO before submitting a PR.\n\n[dco]: https://github.com/probot/dco#how-it-works\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://chaostoolkit.org", "keywords": "", "license": "Apache License Version 2.0", "maintainer": "", "maintainer_email": "", "name": "chaostoolkit-slack", "package_url": "https://pypi.org/project/chaostoolkit-slack/", "platform": "", "project_url": "https://pypi.org/project/chaostoolkit-slack/", "project_urls": { "Homepage": "http://chaostoolkit.org" }, "release_url": "https://pypi.org/project/chaostoolkit-slack/0.2.0/", "requires_dist": [ "chaostoolkit-lib (>=0.15.0)", "logzero", "slackclient" ], "requires_python": ">=3.5.*", "summary": "Chaos Toolkit Slack Extenion", "version": "0.2.0" }, "last_serial": 3698251, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d1cd62657d34e6f0ec46e0d0094e3ca2", "sha256": "d9b51c88d8cb209bf8fe215422c136a1aa6ef6f476b8012abaaff3fbf586c5d3" }, "downloads": -1, "filename": "chaostoolkit_slack-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d1cd62657d34e6f0ec46e0d0094e3ca2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.*", "size": 6404, "upload_time": "2018-02-21T13:48:11", "url": "https://files.pythonhosted.org/packages/d0/3d/a4148f57c6c3e24e502e07cf9bdb0c9e40625f53d88d7f09bae69e1356a5/chaostoolkit_slack-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b3df090c1b94e7b31bb82e837377e5e", "sha256": "4d5efce1bbf41c4e746d077fa8186e0e68aa08bd035a23c414fae93e1df6cad3" }, "downloads": -1, "filename": "chaostoolkit-slack-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6b3df090c1b94e7b31bb82e837377e5e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.*", "size": 4430, "upload_time": "2018-02-21T13:48:14", "url": "https://files.pythonhosted.org/packages/4b/30/b82c020f592d059e868e022c2cb33378e89976810a16b0fb264bfeab4097/chaostoolkit-slack-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "87d65aa435d69ceefb5225354cf2573c", "sha256": "42445817456163b63483cd0f1fe4df7a57e16ec45b6111c636da749f2ce99d49" }, "downloads": -1, "filename": "chaostoolkit_slack-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "87d65aa435d69ceefb5225354cf2573c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.*", "size": 6489, "upload_time": "2018-03-23T10:04:37", "url": "https://files.pythonhosted.org/packages/95/2f/4177795224c73e5c9c53b77e4313ec4a797e809bd9ac3477267bfd966ce3/chaostoolkit_slack-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4bc159aa6ca1be51918250d6ad3314b4", "sha256": "b3721ab89527e77bc5ccc1d6dd21c806ccd93a385aa26f5effa2fc925605ed0b" }, "downloads": -1, "filename": "chaostoolkit-slack-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4bc159aa6ca1be51918250d6ad3314b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.*", "size": 4513, "upload_time": "2018-03-23T10:04:38", "url": "https://files.pythonhosted.org/packages/03/a4/618d6bbced9f72f2ccdaf795d4916b06f890067f7d4013df0b998f97762a/chaostoolkit-slack-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "87d65aa435d69ceefb5225354cf2573c", "sha256": "42445817456163b63483cd0f1fe4df7a57e16ec45b6111c636da749f2ce99d49" }, "downloads": -1, "filename": "chaostoolkit_slack-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "87d65aa435d69ceefb5225354cf2573c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.*", "size": 6489, "upload_time": "2018-03-23T10:04:37", "url": "https://files.pythonhosted.org/packages/95/2f/4177795224c73e5c9c53b77e4313ec4a797e809bd9ac3477267bfd966ce3/chaostoolkit_slack-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4bc159aa6ca1be51918250d6ad3314b4", "sha256": "b3721ab89527e77bc5ccc1d6dd21c806ccd93a385aa26f5effa2fc925605ed0b" }, "downloads": -1, "filename": "chaostoolkit-slack-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4bc159aa6ca1be51918250d6ad3314b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.*", "size": 4513, "upload_time": "2018-03-23T10:04:38", "url": "https://files.pythonhosted.org/packages/03/a4/618d6bbced9f72f2ccdaf795d4916b06f890067f7d4013df0b998f97762a/chaostoolkit-slack-0.2.0.tar.gz" } ] }