{ "info": { "author": "Nolan Conaway", "author_email": "nolanbconaway@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# shlack\n\n[](https://github.com/nolanbconaway/shlack/actions)\n[](https://codecov.io/gh/nolanbconaway/shlack)\n[](https://pypi.org/project/shlack/)\n[](https://pypi.org/project/shlack/)\n\nshlack is a command line tool which sends slack messages. It is a lot like [jarjar](https://github.com/AusterweilLab/jarjar) but with [a few (important?) differences](shlack-and-jarjar.md).\n\n## Quickstart\n\nFirst, [set up a slack app](#setting-up-a-slack-app) for shlack and have the oauth API token handy.\n\nThen install shlack to your python 2.7, 3.5, 3.6, or 3.7 environment:\n\n``` sh\npip install shlack\n```\n\nOr\n\n``` sh\npip install git+https://github.com/nolanbconaway/shlack.git\n```\n\nExport your slack oauth token:\n\n``` sh\n$ export SLACK_OAUTH_API_TOKEN='...'\n```\n\nNow send yourself a message! shlack will read your token from the variable you exported.\n\n``` sh\n$ shlack message 'Hello!' --channel '@nolan'\n```\n\nIn your slack workspace:\n\n
\n
\n
\n
\n
\n
\n