{ "info": { "author": "Carlos Niquini", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Wtp\n=======\n\nWtp is a tool to analyze Whatsapp chats.\n\nThis tool uses the chat history (that can be acquired by the Whatsapp option 'Export chat') and displays in graphs information such as:\n\n- number of messages sent by each user;\n- number of characters sent by each user;\n- number of messages sent at each hour;\n- etc.\n\n![chat](https://github.com/carlosniquini/Wtp/blob/master/docs/imgs/Figure_1.png)\n\nExample\n-------\n\n```python\nfrom Wtp import *\n\nwtp = Wtp(\"path\\\\to\\\\WhatsApp Chat with Some Group or Someone.txt\")\nwtp.plot_msgs_by_users()\n```\n![out](https://github.com/carlosniquini/Wtp/blob/master/docs/imgs/Figure_3.png)\n\nInstallation\n------------\n\n```\n> pip install Wtp\n```\n\nThere is an option to download the Wtp.py file and run:\n\n```\n> python Wtp.py [-h] -f FILE [-i] [-e] [-u USERS] [-r HIDE] [-m_users] [-w_users] [-c_users] [-m_user_w MSGS_USER_W] [-m_users_w] [-m_chat] [-m_chat_w]\n```\n\nDocumentation\n-------------\n\n- Common methods flags:\n - _path_chat_: path to the chat file (.txt);\n - _path_import_: path to the JSON file;\n - _i_: when True, initialize the object by the given JSON file. Default=False;\n - _\\_u\\__: number of users to show in graph. Default=All;\n - _hide_: when True, display name/number of users in graph. Default=False.\n\n- Methods:\n - plot_msgs_users(\\_u\\_=None, hide=True): plot # of msgs by each user;\n - plot_words_users(\\_u\\_=None, hide=True): plot # of words by each user;\n - plot_charac_users(\\_u\\_=None, hide=True): plot # of characters by each user;\n - plot_user_msgs_each_day(id, hide=True, t=\"u: 1\"): plot # of msgs of a given _id_ by each day of the week;\n - plot_users_msgs_each_day(\\_u\\_=None, hide=True): plot # of msgs by each user by each day of the week;\n - plot_chat_msgs_each_day(): plot # of msgs by each day of the week;\n - plot_chat_msgs_each_hour(): plot # of msgs at each hour;\n - export(name = \"data.json\", use_pprint = False): export all data into a JSON file;\n - import_data(name = \"data.json\"): import all data from a given JSON file.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlosniquini/Wtp", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "Wtp", "package_url": "https://pypi.org/project/Wtp/", "platform": "", "project_url": "https://pypi.org/project/Wtp/", "project_urls": { "Homepage": "https://github.com/carlosniquini/Wtp" }, "release_url": "https://pypi.org/project/Wtp/0.0.6.1/", "requires_dist": [ "matplotlib", "numpy" ], "requires_python": "", "summary": "Whatsapp chat analyzer with Python", "version": "0.0.6.1" }, "last_serial": 4036271, "releases": { "0.0.6.1": [ { "comment_text": "", "digests": { "md5": "4b3b69f92924045d6bb9cb07239ad61d", "sha256": "8bb8df0bfcb6732a0cdd70ce084aac41a64b00b7107f65b4ecc80548fe919d5c" }, "downloads": -1, "filename": "Wtp-0.0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b3b69f92924045d6bb9cb07239ad61d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4935, "upload_time": "2018-07-06T12:21:14", "url": "https://files.pythonhosted.org/packages/3c/8b/634bb994971e38cdb66017e0d583b7898ed930b4e8cbd140ad93402bd346/Wtp-0.0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "717b6a02fb64807db28fed17d000b089", "sha256": "a8e57cbb8de39d9037a0de84bfeacabcaffbaf10f59db8e0483b897a842d3738" }, "downloads": -1, "filename": "Wtp-0.0.6.1.tar.gz", "has_sig": false, "md5_digest": "717b6a02fb64807db28fed17d000b089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4700, "upload_time": "2018-07-06T12:21:15", "url": "https://files.pythonhosted.org/packages/81/e0/47a6acc2a906a688e1b0405a574fc52783263b4e7438c323f9f37f34af9f/Wtp-0.0.6.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b3b69f92924045d6bb9cb07239ad61d", "sha256": "8bb8df0bfcb6732a0cdd70ce084aac41a64b00b7107f65b4ecc80548fe919d5c" }, "downloads": -1, "filename": "Wtp-0.0.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b3b69f92924045d6bb9cb07239ad61d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4935, "upload_time": "2018-07-06T12:21:14", "url": "https://files.pythonhosted.org/packages/3c/8b/634bb994971e38cdb66017e0d583b7898ed930b4e8cbd140ad93402bd346/Wtp-0.0.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "717b6a02fb64807db28fed17d000b089", "sha256": "a8e57cbb8de39d9037a0de84bfeacabcaffbaf10f59db8e0483b897a842d3738" }, "downloads": -1, "filename": "Wtp-0.0.6.1.tar.gz", "has_sig": false, "md5_digest": "717b6a02fb64807db28fed17d000b089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4700, "upload_time": "2018-07-06T12:21:15", "url": "https://files.pythonhosted.org/packages/81/e0/47a6acc2a906a688e1b0405a574fc52783263b4e7438c323f9f37f34af9f/Wtp-0.0.6.1.tar.gz" } ] }