{ "info": { "author": "Joshua Skelton", "author_email": "joshua.skelton@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "twitch-observer\n===============\n\ntwitchobserver makes interacting with Twitch chat super easy. It is\nbuilt and tuned for realtime applications. You can make chatbots chat.\nYou can build *Twitch Plays* video games.\n\nFeatures\n--------\n\n- *Pure Python:* No extra dependencies. Just plain and simple Python.\n- *Small API:* With a few classes and a handful of methods, you can\n learn it over a coffee break.\n- *Event Based:* Makes writing apps easy and straightforward.\n- *Context Manager:* Further simplifies working with observers.\n\nInstallation\n------------\n\n``$ pip install twitchobserver``\n\nUsage\n-----\n\n.. code:: python\n\n from twitchobserver import Observer\n\n observer = Observer('Nick', 'oauth:abcdefghijklmnopqrstuvwxyz0123')\n observer.start()\n observer.join_channel('channel')\n observer.send_message('Hello and goodbye', 'channel')\n observer.leave_channel('channel')\n\nDocumentation\n-------------\n\nAPI documentation can be found over on `ReadtheDocs.org`_.\n\nTests\n-----\n\n``$ python -m unittest discover -s tests``\n\nExamples\n--------\n\nEcho bot\n^^^^^^^^\n\nWhenever a message is sent, echo it back. The ``Observer`` is created as\na `context manager object`_ which will implicitly handle calling\n``start()`` and ``stop()``.\n\n.. code:: python\n\n import time\n from twitchobserver import Observer\n\n with Observer('Nick', 'oauth:abcdefghijklmnopqrstuvwxyz0123') as observer:\n observer.join_channel('channel')\n\n while True:\n try:\n for event in observer.get_events():\n if event.type == 'TWITCHCHATMESSAGE':\n observer.send_message(event.message, event.channel)\n\n time.sleep(1)\n\n except KeyboardInterrupt:\n observer.leave_channel('channel')\n break\n\nMore examples can be found in the `Cookbook`_.\n\nLicense\n-------\n\nMIT\n\n.. _ReadtheDocs.org: http://twitch-observer.readthedocs.io/en/latest\n.. _context manager object: https://docs.python.org/3/reference/datamodel.html#context-managers\n.. _Cookbook: https://github.com/JoshuaSkelly/twitch-observer/wiki/Cookbook", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JoshuaSkelly/twitch-observer", "keywords": "twitch.tv", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "twitchobserver", "package_url": "https://pypi.org/project/twitchobserver/", "platform": "", "project_url": "https://pypi.org/project/twitchobserver/", "project_urls": { "Homepage": "https://github.com/JoshuaSkelly/twitch-observer" }, "release_url": "https://pypi.org/project/twitchobserver/0.8.0/", "requires_dist": null, "requires_python": "", "summary": "Turn Twitch chatter into Python events.", "version": "0.8.0" }, "last_serial": 4034688, "releases": { "0.7.1": [ { "comment_text": "", "digests": { "md5": "a6c6d9bf387def111009397a225cd7c2", "sha256": "0c88102342cc65d6c58a8fe038f0200edb0f598bfb0315f825a3f5f4a9d0e1d5" }, "downloads": -1, "filename": "twitchobserver-0.7.1.tar.gz", "has_sig": false, "md5_digest": "a6c6d9bf387def111009397a225cd7c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6962, "upload_time": "2017-07-17T23:28:19", "url": "https://files.pythonhosted.org/packages/8f/e7/5f9dbc21bc295c2bdc0df94c7b5073b95c7825c4f35f0a20d4780106e5de/twitchobserver-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "8cc8ae47dd671e3edd646c7d233c94d9", "sha256": "ec0bd87da3b9241e9c75bb5d702dd9556ca249b1363f0b1714021192836a46af" }, "downloads": -1, "filename": "twitchobserver-0.7.2.tar.gz", "has_sig": false, "md5_digest": "8cc8ae47dd671e3edd646c7d233c94d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5796, "upload_time": "2017-07-18T01:16:53", "url": "https://files.pythonhosted.org/packages/40/28/827333d3ec1a504764460a2c85accaa8a55f1feb549326c1941a15cf9d12/twitchobserver-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "ad4d2f8c6d3843cfeb5f683a6c12f6ef", "sha256": "05966f3573006b489129eb97b0f6c1bf9d0ad10f401cdf90eb4b3f2c2a5ce664" }, "downloads": -1, "filename": "twitchobserver-0.7.3.tar.gz", "has_sig": false, "md5_digest": "ad4d2f8c6d3843cfeb5f683a6c12f6ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6853, "upload_time": "2017-07-18T03:48:34", "url": "https://files.pythonhosted.org/packages/ea/42/a3284b05813a48325e281d5e9088d06adc9376976e9d6a20fe7e43f46547/twitchobserver-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "35e5176423ab8dc1da60a400cddd84a8", "sha256": "ac866d268e605ff82029b1769dca05db476576446b9ae61c4a6931a68aee54ce" }, "downloads": -1, "filename": "twitchobserver-0.7.4.tar.gz", "has_sig": false, "md5_digest": "35e5176423ab8dc1da60a400cddd84a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6824, "upload_time": "2017-07-18T03:49:56", "url": "https://files.pythonhosted.org/packages/3f/fe/0973fd50dc84561f16ddbd8a2cb6b24e538567ce30b9909ba3478a20d442/twitchobserver-0.7.4.tar.gz" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "0b5e3e3a95bbfd6d35e8a54ffab5f486", "sha256": "bb4516fa45696372d70a64dfcbaf3b5c11fee2714225cea6aca2f3966915556f" }, "downloads": -1, "filename": "twitchobserver-0.7.5.tar.gz", "has_sig": false, "md5_digest": "0b5e3e3a95bbfd6d35e8a54ffab5f486", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6826, "upload_time": "2017-07-18T04:09:48", "url": "https://files.pythonhosted.org/packages/7d/f8/5d516d66f67a665a3aa03ca86b2d6e604738f6cb51c8909449ff547757d2/twitchobserver-0.7.5.tar.gz" } ], "0.7.6": [ { "comment_text": "", "digests": { "md5": "490f1346527528dcabb78bab76b12418", "sha256": "c226e0f925ca13d7a06d87b6ef5be3fbc06cc1aec3137bedf4eb3647ca884e98" }, "downloads": -1, "filename": "twitchobserver-0.7.6.tar.gz", "has_sig": false, "md5_digest": "490f1346527528dcabb78bab76b12418", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7333, "upload_time": "2017-07-18T04:17:49", "url": "https://files.pythonhosted.org/packages/11/f2/1735237955152327b311a64906f7ea90b20bb96ff0e7555e5dd860c2b11b/twitchobserver-0.7.6.tar.gz" } ], "0.7.7": [ { "comment_text": "", "digests": { "md5": "25ddcaddcbc62a080cba626bca28b9a8", "sha256": "a0465f1b8e6ca9ce86404bf1c82935c5a9910426a459d3602dbc54036a7602e2" }, "downloads": -1, "filename": "twitchobserver-0.7.7.tar.gz", "has_sig": false, "md5_digest": "25ddcaddcbc62a080cba626bca28b9a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7464, "upload_time": "2018-03-28T19:39:09", "url": "https://files.pythonhosted.org/packages/47/71/e744ab8eadc2878c0f353ab8a910ce9ca14dd173a752b8a75bdbe8cd2c92/twitchobserver-0.7.7.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "bac77cdc01eea7ff0ef30905e6ceb905", "sha256": "aaf04c9a104bf52032e71e82aa59a75fe79570006caaeaff65ee80c15e956856" }, "downloads": -1, "filename": "twitchobserver-0.8.0.tar.gz", "has_sig": false, "md5_digest": "bac77cdc01eea7ff0ef30905e6ceb905", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7643, "upload_time": "2018-07-05T22:24:31", "url": "https://files.pythonhosted.org/packages/e5/3d/57944a9bd44295d941c3b2d3bd4df1065bcf2ec493c3d3f616e89f1d0325/twitchobserver-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bac77cdc01eea7ff0ef30905e6ceb905", "sha256": "aaf04c9a104bf52032e71e82aa59a75fe79570006caaeaff65ee80c15e956856" }, "downloads": -1, "filename": "twitchobserver-0.8.0.tar.gz", "has_sig": false, "md5_digest": "bac77cdc01eea7ff0ef30905e6ceb905", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7643, "upload_time": "2018-07-05T22:24:31", "url": "https://files.pythonhosted.org/packages/e5/3d/57944a9bd44295d941c3b2d3bd4df1065bcf2ec493c3d3f616e89f1d0325/twitchobserver-0.8.0.tar.gz" } ] }