Skip to content

一个通过读取输入的网址的内容 或自定义的文本 生成词云的小工具A small tool that generates a word cloud by reading the content of a given URL or custom text.

License

Notifications You must be signed in to change notification settings

Yish1/wordcloud-generator

Repository files navigation

wordcloud-generator

Wordcloud-Generator

一个通过读取输入的网址的内容 或自定义的文本 生成词云的小工具
A small tool that generates a word cloud by reading the content of a given URL or custom text.

特色

  • 自定义字体
  • 自定义图形
  • 自定义文字
  • 多语言支持
  • 网站抓取
  • msn和百度系的网页暂时无法抓取,请使用自定义文本模式

使用方式

1.安装依赖库

pip install -i requirement.txt

2.开袋即食

打包

nuitka --standalone --lto=no --clang --msvc=latest --disable-ccache --windows-uac-admin --windows-disable-console --enable-plugin=pyqt5,upx --upx-binary=E:\ctest\o\upx\upx.exe --output-dir=o --windows-icon-from-ico=wc.ico demo.py

其中--clang --msvc=latest需要安装vs studio,可替换为--mingw64 upx为可选项 --upx-binary=E:\ctest\o\upx\upx.exe(替换成实际地址) upx压缩可以大幅减少打包体积

打包完后需要将py目录下的pyqt5里的qt-plugins替换打包目录里的,因为upx压完这个后似乎损坏了 wordcloud目录下也缺少了一个文件,打包完要自行放入

首次打包建议取消--windows-disable-console以便查看报错

About

一个通过读取输入的网址的内容 或自定义的文本 生成词云的小工具A small tool that generates a word cloud by reading the content of a given URL or custom text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages