{ "info": { "author": "Andrew Sage", "author_email": "andrew@codethecity.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Chat" ], "description": "SlackBot\n----\nPython based Slack Bot that makes use of `Python SlackClient`_\n\nThe inspiration\n----\n\nUsing `How to Build Your First Slack Bot with Python`_, I went from not knowing Python to having my first bot up and running in under an hour. Using that knowledge as a basis I managed to put this together in under a day.\n\n\n\nThe following instructions are as much a reminder to myself how I did this as they are a guide to others.\n\nInstallation\n----\n\nSlackBot is available through the Python Package Index, PyPI_, you can install it with::\n\n pip install codethecity-slackbot\n\nAlternatively, clone or fork the repository and use::\n\n python setup.py develop\n\nto install locally for development. For local development you should also install the development dependencies (ideally in a ``virtualenv``) using::\n\n pip install -r requirements.txt\n\nUsage\n----\n\nSlackBot\n----\nSlackBot is the base class that connects to your registered Slack Bot.\n\nIn order to use the class you must be using the your token from Slack. To set the environmant variable use::\n\n export SLACK_BOT_TOKEN='token'\n\nIt handles the following default commands:\n\n* help - lists all other commands it provides\n* who created - details of the author\n* show selfied - shows an image of the bot\n* show mugshot - shows a mugshot of the bot\n\nEventbriteBot\n----\n\nEventbriteBot is a subclass of SlackBot and provides basic querying of Eventbrite events for a given user account.\n\nIt uses `Eventbrite Python SDK`_.\n\nIn order to use the class you must be using the your token from Eventbrite. To set the environmant variable use::\n\n export EVENTBRITE_TOKEN='token'\n\nThis is an example showing how the SlackBot class is subclassed and used.\n\nCreating a sample project with SlackBot\n----\n\nSetup the working environment\n----\n\nCreate a virtual Python environment::\n\n mkdir \n cd \n virtualenv venv\n\nStart the virtual Python environemnt::\n\n source venv/bin/activate\n\nExamples\n----\n\nSee the /examples directory for examples of the kinds of bots that you can build with SlackBot.\n\nCurrently there is a bot for querying Eventbrite.\n\n.. _PyPI: https://pypi.python.org/pypi\n.. _`How to Build Your First Slack Bot with Python`: https://www.fullstackpython.com/blog/build-first-slack-bot-python.html\n.. _`Python SlackClient`: http://slackapi.github.io/python-slackclient/\n.. _`Eventbrite Python SDK`: http://eventbrite-sdk-python.readthedocs.io/en/latest/\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrewsage/slackbot", "keywords": "slack bot development", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "codethecity-slackbot", "package_url": "https://pypi.org/project/codethecity-slackbot/", "platform": "", "project_url": "https://pypi.org/project/codethecity-slackbot/", "project_urls": { "Homepage": "https://github.com/andrewsage/slackbot" }, "release_url": "https://pypi.org/project/codethecity-slackbot/1.0.0.dev3/", "requires_dist": [ "slackclient", "eventbrite", "check-manifest; extra == 'dev'", "coverage; extra == 'test'" ], "requires_python": "", "summary": "A framework for creating Slackbots for Python. Developed for CodeTheCity.", "version": "1.0.0.dev3" }, "last_serial": 2604128, "releases": { "1.0.0.dev1": [ { "comment_text": "", "digests": { "md5": "24943890dbcad77e6747c9805fd7e25a", "sha256": "a39c091fb2e0e0910e9719e669acd5626bb6d47b911620ef198ab9229159529a" }, "downloads": -1, "filename": "codethecity_slackbot-1.0.0.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "24943890dbcad77e6747c9805fd7e25a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2590, "upload_time": "2017-01-28T19:49:10", "url": "https://files.pythonhosted.org/packages/e3/5a/544ff629a2acdd53bf232eed46ff4fa3f3b7dee5e1270e49ce77f1d8d42c/codethecity_slackbot-1.0.0.dev1-py2.py3-none-any.whl" } ], "1.0.0.dev2": [ { "comment_text": "", "digests": { "md5": "3d067fc7ac6b5fdae2ef5c3cb6b2a6d4", "sha256": "578b52e32ece41560960d6914f5caba275f88fde76a3f9bbd777ae1f9f49b70c" }, "downloads": -1, "filename": "codethecity_slackbot-1.0.0.dev2-py2.7.egg", "has_sig": false, "md5_digest": "3d067fc7ac6b5fdae2ef5c3cb6b2a6d4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6200, "upload_time": "2017-01-28T20:54:47", "url": "https://files.pythonhosted.org/packages/c5/81/61952d801f07afbc3c17a9250e20782b48699177a2f06b5a8f64ba280d00/codethecity_slackbot-1.0.0.dev2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b0ae2187040d3d325f56e31f79d5eb40", "sha256": "689f3a12d28b9adb79ccf86d0dd32de98459e64efd86704217727f7b22359002" }, "downloads": -1, "filename": "codethecity_slackbot-1.0.0.dev2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b0ae2187040d3d325f56e31f79d5eb40", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4752, "upload_time": "2017-01-28T20:54:43", "url": "https://files.pythonhosted.org/packages/70/0b/78e8a97a8db1079520f9e8a6aa9e985ded16bd25679bde5d8858e535f48b/codethecity_slackbot-1.0.0.dev2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0741108de64be7c4f12e159c7f1a7a0d", "sha256": "02bef7fc6e1f686bd6ccddfb0a9a7a4a3ebd73b078465abce46f70af21a0e276" }, "downloads": -1, "filename": "codethecity-slackbot-1.0.0.dev2.tar.gz", "has_sig": false, "md5_digest": "0741108de64be7c4f12e159c7f1a7a0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5239, "upload_time": "2017-01-28T20:54:46", "url": "https://files.pythonhosted.org/packages/5d/ba/4b93c700a2903854fc7458ab561bebc1f91c393798fddce78e195804355c/codethecity-slackbot-1.0.0.dev2.tar.gz" } ], "1.0.0.dev3": [ { "comment_text": "", "digests": { "md5": "1b983431ec8e8525f85a5517e07be219", "sha256": "ea984ef7f5fa5b38007c96e28fccd57c85c82174983dbddf4275d5421f9ce003" }, "downloads": -1, "filename": "codethecity_slackbot-1.0.0.dev3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1b983431ec8e8525f85a5517e07be219", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7081, "upload_time": "2017-01-28T21:29:28", "url": "https://files.pythonhosted.org/packages/8e/1b/4b9dd2042733ec082595490e75e00b77bd447ea321da37fd3b99c45ea2d0/codethecity_slackbot-1.0.0.dev3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "394a8ea278f2ff6a637cb8076d15085b", "sha256": "f9cfa9072c23ff45ed339a483c65c04b666e3797439f40cef5c0a14e9cd296a2" }, "downloads": -1, "filename": "codethecity-slackbot-1.0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "394a8ea278f2ff6a637cb8076d15085b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494, "upload_time": "2017-01-28T21:29:29", "url": "https://files.pythonhosted.org/packages/3c/c9/573d6e1da5a6155f343d95eb7da00c408e8bcd9e017242280db8f9c6ff1c/codethecity-slackbot-1.0.0.dev3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b983431ec8e8525f85a5517e07be219", "sha256": "ea984ef7f5fa5b38007c96e28fccd57c85c82174983dbddf4275d5421f9ce003" }, "downloads": -1, "filename": "codethecity_slackbot-1.0.0.dev3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1b983431ec8e8525f85a5517e07be219", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7081, "upload_time": "2017-01-28T21:29:28", "url": "https://files.pythonhosted.org/packages/8e/1b/4b9dd2042733ec082595490e75e00b77bd447ea321da37fd3b99c45ea2d0/codethecity_slackbot-1.0.0.dev3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "394a8ea278f2ff6a637cb8076d15085b", "sha256": "f9cfa9072c23ff45ed339a483c65c04b666e3797439f40cef5c0a14e9cd296a2" }, "downloads": -1, "filename": "codethecity-slackbot-1.0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "394a8ea278f2ff6a637cb8076d15085b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494, "upload_time": "2017-01-28T21:29:29", "url": "https://files.pythonhosted.org/packages/3c/c9/573d6e1da5a6155f343d95eb7da00c408e8bcd9e017242280db8f9c6ff1c/codethecity-slackbot-1.0.0.dev3.tar.gz" } ] }