分析和可视化微信好友信息,以及自动回复微信消息
WeChat friend analysis Function description: Demonstration using the author's WeChat account 1. Statistics of friends' gender 2. Statistics of friends' geographical distribution and visualization on the map 3. Turn friends' nicknames into word clouds. Since this information is relatively private, it will not be displayed here. 4. Statistics of high-frequency words in friends' personality signatures 5. Merge all friends' avatars into one large image 6. WeChat automatically sends and replies to messages Dependencies This program uses Python3. Please run it in a Python3 environment. Python 3 - PIL: pip3 install pillow - pyecharts: pip3 install pyecharts - pip3 install itchat - pip3 install jieba Map data package: pip3 install echarts-china-provinces-pypkg pip3 install echarts-countries-pypkg Run Get user information You need to change the second fat in the 70th line of getuserinfo.py to any friend's name or your own name. python3 getuserinfo.py After execution, friends.json will be generated in the data directory. All friends' avatars will be stored in the images directory. Statistics of user information python3 analyse.py After execution, the synthesized images and visualization files will be generated in the analyse folder. Tutorial The author of this program has written a description document and recorded related video explanations of the code. If you need, please pay attention to the WeChat public account: 逆袭的二胖. - To get the video tutorial, please reply "WeChat friends" in the message window. - For more detailed descriptions and more extensions of this program, please check the history messages of the public account to get the corresponding articles.
暂无开放 Issues,或尚未同步最近议题。