{ "info": { "author": "Michal Krenek (Mikos)", "author_email": "m.krenek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Chat" ], "description": "HangupsBot\n==========\n\nBot for Google Hangouts\n\nRequirements\n------------\n\n- Python >= 3.3\n- hangups (https://github.com/tdryer/hangups)\n- appdirs (https://github.com/ActiveState/appdirs)\n- asyncio (https://pypi.python.org/pypi/asyncio) for Python < 3.4\n\nUsage\n-----\n\nRun ``hangupsbot --help`` to see all available options.\nStart HangupsBot by running ``hangupsbot``.\n\nYou can configure basic settings in ``config.json`` file. This file will be\ncopied to user data directory (e.g. ``~/.local/share/hangupsbot/`` on Linux)\nafter first start of HangupsBot.\n\nThe first time you start HangupsBot, you will be prompted to open a link\nin your web browser where you log into your Google account. After logging in\nand clicking on \"SIGN IN\", you should see authorization code. Copy this code\nto clipboard and paste it into HangupsBot to complete the process. Your\ncredentials will only be sent to Google, and only OAuth 2 refresh token\nwill be stored locally.\n\nHelp\n----\n::\n\n usage: hangupsbot [-h] [-d] [--log LOG] [--token TOKEN] [--config CONFIG]\n [--version]\n \n optional arguments:\n -h, --help show this help message and exit\n -d, --debug log detailed debugging messages (default: False)\n --log LOG log file path (default:\n ~/.local/share/hangupsbot/hangupsbot.log)\n --token TOKEN OAuth refresh token storage path (default:\n ~/.local/share/hangupsbot/refresh_token.txt)\n --config CONFIG config storage path (default:\n ~/.local/share/hangupsbot/config.json)\n --version show program's version number and exit\n\nFeatures (event handlers)\n-------------------------\n\n- **autoreplies** - automatically reply to specified keywords in messages\n- **commands** - run ``/bot`` commands (type ``/bot help`` for list of available commands)\n- **forwarding** - forward messages from one conversation to another\n- **membership** - watch conversations for added/removed users\n- **rename** - watch for renamed conversations (*only example plugin for now*)\n\nDevelopment\n-----------\n\nYou can extend HangupsBot in two ways - by writing ``handlers`` or ``commands`` plugins.\nEvery Python file (which doesn't start with \\_) in ``handlers`` and ``commands`` directories\nis loaded automatically.\n\nHandlers\n^^^^^^^^\n\nFunctions in plugins can be registered as event handlers by decorating them with\n``@handler.register(priority=10, event=None)`` decorator.\n\nIf *event* parameter is ``None`` (default), all event types are forwarded to handler.\nIf you want to handle only some specific type of event, you can set *event*\nto ``hangups.ChatMessageEvent``, ``hangups.MembershipChangeEvent``\nor ``hangups.RenameEvent``.\n\nYou can change priority of handler by specifying *priority* parameter (default is 10).\nA lower number means higher priority. If you raise ``StopEventHandling`` exception in\nyour handler, current event will not be handled by any other handler.\n\nCommands\n^^^^^^^^\n\nFunctions in plugins can be registered as ``/bot`` commands by decorating them with\n``@command.register(admin=False)`` decorator.\n\nIf *admin* parameter is ``False`` (default), anyone can run the command.\nIf *admin* is ``True``, only admins (as set in ``config.json``) can run it.\n\nSee existing commands for examples.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xmikos/hangupsbot", "keywords": null, "license": "GNU GPLv3", "maintainer": null, "maintainer_email": null, "name": "HangupsBot", "package_url": "https://pypi.org/project/HangupsBot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/HangupsBot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/xmikos/hangupsbot" }, "release_url": "https://pypi.org/project/HangupsBot/1.7.1/", "requires_dist": null, "requires_python": null, "summary": "Bot for Google Hangouts", "version": "1.7.1" }, "last_serial": 1816796, "releases": { "1.4": [ { "comment_text": "", "digests": { "md5": "d8d116009ee6a6c00505361e18bbf829", "sha256": "fecfc3088a32ff83c7fc9d4f0ab33a4f90e62cb3405fab60f08194eb1f62cf90" }, "downloads": -1, "filename": "HangupsBot-1.4.tar.gz", "has_sig": false, "md5_digest": "d8d116009ee6a6c00505361e18bbf829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29536, "upload_time": "2015-04-20T00:48:46", "url": "https://files.pythonhosted.org/packages/db/15/f58def9f1aec49dcd3195009c5d0a53c2bca2e5c82db98d585f7cd46d63f/HangupsBot-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "70643a82120756201bc5b4d9e5c445bf", "sha256": "dbe3bc37b7a181861c732b23ea7ce48412fb3f973e86c894068f3415c1a6e5b0" }, "downloads": -1, "filename": "HangupsBot-1.5.tar.gz", "has_sig": false, "md5_digest": "70643a82120756201bc5b4d9e5c445bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28457, "upload_time": "2015-04-23T13:50:05", "url": "https://files.pythonhosted.org/packages/9f/aa/18206919f9983795450de11144dc72a90e775e4a649072003eff4b376ed3/HangupsBot-1.5.tar.gz" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "03e3b2139166f93a93fca0cc3c916108", "sha256": "3080357f0fafede021a8b984c267b82b5e2a44bf3e5b913d07b65be5055107ff" }, "downloads": -1, "filename": "HangupsBot-1.5.1.tar.gz", "has_sig": false, "md5_digest": "03e3b2139166f93a93fca0cc3c916108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34452, "upload_time": "2015-04-26T15:24:40", "url": "https://files.pythonhosted.org/packages/80/46/f678de95cd3e9ed6a1e5aa3d342ec8fbf130a254365c33d96d45289da9d3/HangupsBot-1.5.1.tar.gz" } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "4880b61212c02692e06e88fa890797c9", "sha256": "4ccff7289329a02a9e64f8ca7d9c7f292f704d77006a8734b98459fb93b4f605" }, "downloads": -1, "filename": "HangupsBot-1.6.0.tar.gz", "has_sig": false, "md5_digest": "4880b61212c02692e06e88fa890797c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34547, "upload_time": "2015-05-20T12:08:35", "url": "https://files.pythonhosted.org/packages/d0/cd/f6abd396223f0ae5344f0cc80fe1ebdd1cbcdd932900269d0614d1923fbd/HangupsBot-1.6.0.tar.gz" } ], "1.7.0": [ { "comment_text": "", "digests": { "md5": "5d344dec559dfaaaf02bc2c78fe684c0", "sha256": "e49c08aa929f1e2db11084ebb2d790c51600791faa74d5673866fc0fa790addd" }, "downloads": -1, "filename": "HangupsBot-1.7.0.tar.gz", "has_sig": false, "md5_digest": "5d344dec559dfaaaf02bc2c78fe684c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34431, "upload_time": "2015-11-03T02:31:38", "url": "https://files.pythonhosted.org/packages/f7/2a/52aa41d26fcdd8de194b892632d9e7f1194ccc010441d35774e775cce8a3/HangupsBot-1.7.0.tar.gz" } ], "1.7.1": [ { "comment_text": "", "digests": { "md5": "9969a53eb8c82e943a156da5475dd295", "sha256": "0c3428c1dae420c0f52ce945e1868c77acfe99c0f489b65fa134d8d9bb4f7114" }, "downloads": -1, "filename": "HangupsBot-1.7.1.tar.gz", "has_sig": false, "md5_digest": "9969a53eb8c82e943a156da5475dd295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34772, "upload_time": "2015-11-15T01:34:40", "url": "https://files.pythonhosted.org/packages/d7/2b/bd6583c29b532294489c3f3718779f2351dbaa44028dbf8a661a2753224c/HangupsBot-1.7.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9969a53eb8c82e943a156da5475dd295", "sha256": "0c3428c1dae420c0f52ce945e1868c77acfe99c0f489b65fa134d8d9bb4f7114" }, "downloads": -1, "filename": "HangupsBot-1.7.1.tar.gz", "has_sig": false, "md5_digest": "9969a53eb8c82e943a156da5475dd295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34772, "upload_time": "2015-11-15T01:34:40", "url": "https://files.pythonhosted.org/packages/d7/2b/bd6583c29b532294489c3f3718779f2351dbaa44028dbf8a661a2753224c/HangupsBot-1.7.1.tar.gz" } ] }