{ "info": { "author": "Massimiliano Torromeo", "author_email": "massimiliano.torromeo@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "mattersend\n==========\n\nCLI tool to send messages to the Incoming webhook of mattermost (http://www.mattermost.org/).\n\nHelp\n----\n\n::\n\n\tusage: mattersend [-h] [-V] [-C CONFIG] [-s SECTION] [-c CHANNEL] [-U URL]\n\t [-u USERNAME] [-i ICON] [-t [DIALECT] | -y SYNTAX] [-n]\n\t [-f FILE]\n\n\tSends messages to mattermost's incoming webhooks via CLI\n\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -V, --version show program's version number and exit\n\t -C CONFIG, --config CONFIG\n\t Use a different configuration file\n\t -s SECTION, --section SECTION\n\t Configuration file section\n\t -c CHANNEL, --channel CHANNEL\n\t Send to this channel or @username\n\t -U URL, --url URL Mattermost webhook URL\n\t -u USERNAME, --username USERNAME\n\t Username\n\t -i ICON, --icon ICON Icon\n\t -t [DIALECT], --tabular [DIALECT]\n\t Parse input as CSV and format it as a table (DIALECT\n\t can be one of sniff, excel, excel-tab, unix)\n\t -y SYNTAX, --syntax SYNTAX\n\t -n, --dry-run, --just-print\n\t Don't send, just print the payload\n\t -f FILE, --file FILE Read content from FILE. If - reads from standard input\n\t (DEFAULT: -)\n\nConfiguration file\n------------------\n\nThe only required option to start sending messages to mattermost is the webhook url.\nYou can either set this in a configurations file (globally in */etc/mattersend.conf* or locally in *$HOME/.mattersend.conf*) or specify it on the CLI with the --url argument.\n\nYou can have multiple sections to override DEFAULT settings and later select them from the CLI with the --section argument.\n\nThis is an example of a configuration file for mattersend::\n\n\t[DEFAULT]\n\turl = https://mattermost.example.com/hooks/XXXXXXXXXXXXXXXXXXXXXXX\n\ticon = :ghost:\n\tusername = This is a bot\n\tchannel = @myself\n\n\t[angrybot]\n\ticon = :angry:\n\tusername = AngryBot\n\nExample usage\n-------------\n\n::\n\n\techo \"Hello world!\" | mattersend -U https://mattermost.example.com/hooks/XXX\n\n\t# you can omit -U with mattersend.conf\n\techo \"Hello world!\" | mattersend\n\n\t# send file content\n\tmattersend -f todo.txt\n\n\t# table data\n\techo -e \"ABC;DEF;GHI\\nfoo;bar;baz\" | mattersend -t\n\nLICENSE\n-------\nCopyright (c) 2016 Massimiliano Torromeo\n\nmattersend is free software released under the terms of the BSD license.\n\nSee the LICENSE file provided with the source distribution for full details.\n\nContacts\n--------\n\n* Massimiliano Torromeo ", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/mtorromeo/mattersend/tarball/v2.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mtorromeo/mattersend", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "mattersend", "package_url": "https://pypi.org/project/mattersend/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mattersend/", "project_urls": { "Download": "https://github.com/mtorromeo/mattersend/tarball/v2.0", "Homepage": "https://github.com/mtorromeo/mattersend" }, "release_url": "https://pypi.org/project/mattersend/2.0/", "requires_dist": null, "requires_python": null, "summary": "Library and CLI utility to send messages to mattermost's incoming webhooks", "version": "2.0" }, "last_serial": 1969581, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "77775ca1d4e65187deca47f6e1813329", "sha256": "432a9b964f415ba33698f238fd5ac8fe250b029d5622badc56f20feeca267a30" }, "downloads": -1, "filename": "mattersend-1.1.tar.gz", "has_sig": false, "md5_digest": "77775ca1d4e65187deca47f6e1813329", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4584, "upload_time": "2016-02-05T10:42:14", "url": "https://files.pythonhosted.org/packages/8f/19/dc2f539ff95f6b6cf2d5b3b207fce862315fa082875874e50f3b693112a2/mattersend-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "4020bb20aba10dda98a02c22e8361397", "sha256": "49ac0d8bbd88e1c4074f94b5cd7bbb924bb1629c9c0604ad71a15d4501c002fa" }, "downloads": -1, "filename": "mattersend-1.2.tar.gz", "has_sig": false, "md5_digest": "4020bb20aba10dda98a02c22e8361397", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4930, "upload_time": "2016-02-05T11:30:50", "url": "https://files.pythonhosted.org/packages/a9/ab/aba858eb4f52471a7634a898ee53508cc4d95a2db5fc517dad59d0ca77f2/mattersend-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "a98bb6e801e3bdb8db68f88bd0ae886c", "sha256": "c3758fe1305c67c16906cde017fa0a4be704d997216a3a7da7e86426b650acd1" }, "downloads": -1, "filename": "mattersend-1.3.tar.gz", "has_sig": false, "md5_digest": "a98bb6e801e3bdb8db68f88bd0ae886c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5854, "upload_time": "2016-02-05T14:51:23", "url": "https://files.pythonhosted.org/packages/3b/90/5052826461c71ae1f04a077853fd39d92bac030783c729669c278c7809d6/mattersend-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "0287a0c9dbf603ea902d59e092c47829", "sha256": "d5c7647a06cca3b3a57cb9ab821d5def19eced5586cf452aa22c7edf1e531ea6" }, "downloads": -1, "filename": "mattersend-1.4.tar.gz", "has_sig": false, "md5_digest": "0287a0c9dbf603ea902d59e092c47829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5847, "upload_time": "2016-02-16T16:46:18", "url": "https://files.pythonhosted.org/packages/c7/49/c324bbbe89781bef0c265221e7f8d73428f1ab93dee50a6979d24d030505/mattersend-1.4.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "7e538ac754c217d6c5a1c6c29acad8b4", "sha256": "fd141b837ab528707490d258e2392ba1a3f117135fb2480339d952af3febfeca" }, "downloads": -1, "filename": "mattersend-2.0.tar.gz", "has_sig": false, "md5_digest": "7e538ac754c217d6c5a1c6c29acad8b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6142, "upload_time": "2016-02-22T12:54:04", "url": "https://files.pythonhosted.org/packages/45/c5/9eb7ca9b99941527b61a7adb7e16a8f1116ed3daaf548a699b1c53f81499/mattersend-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e538ac754c217d6c5a1c6c29acad8b4", "sha256": "fd141b837ab528707490d258e2392ba1a3f117135fb2480339d952af3febfeca" }, "downloads": -1, "filename": "mattersend-2.0.tar.gz", "has_sig": false, "md5_digest": "7e538ac754c217d6c5a1c6c29acad8b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6142, "upload_time": "2016-02-22T12:54:04", "url": "https://files.pythonhosted.org/packages/45/c5/9eb7ca9b99941527b61a7adb7e16a8f1116ed3daaf548a699b1c53f81499/mattersend-2.0.tar.gz" } ] }