wordcloud-webui
The web UI for word_cloud (text to word cloud picture converter)
描述(Description)
- 功能:利用 word_cloud 将 普通文本 转为 词云图像 文件
- 可视化:使用 Gradio 将该功能可视化
界面(UI)
安装(Install)
- 新建一个虚拟环境(Python 3.9.16),或使用已有的Python环境
- 例如
$ conda create -n env_name python=3.9
- 例如
- 使用 PIP 方式安装
$ pip install wordcloud-webui
- 使用源码方式安装
- 下载本项目代码
- 点击本项目GitHub页面右上角的绿色的按钮
Code,再点击Download ZIP
- 点击本项目GitHub页面右上角的绿色的按钮
- 解压项目,进入到项目根目录
- 安装,执行
$ pip install -e ./ -i "https://pypi.doubanio.com/simple/"
- 安装,执行
- 下载本项目代码
- 注
- 卸载命令
$ pip uninstall wordcloud-webui"
- 卸载命令
启动服务(Start Service)
直接启动
- 由于安装时已经在当前 Python 环境中安装了 script
- 所以可以在任意位置直接执行
$ wordcloud-gui,启动 WebUI
使用代码启动
- 进入到本项目的目录下,执行
$ cd src/wordcloud_webui - 二选一
- 在本地电脑端启动,直接执行
$ python main.py - 在服务器端启动,执行
$ nohup python main.py 1>server_run.log 2>&1 &
- 在本地电脑端启动,直接执行
手动构建(Build)
- 更新、安装工具
$ pip install --upgrade setuptools$ pip install --upgrade build
- 进入到项目根目录下,执行
$ python -m build - 构建完成会在项目 dist 目录下,生成 tar.gz 和 whl 文件
- 直接使用 PIP 即可安装,如
pip install .\dist\wordcloud_webui-0.1.0-py3-none-any.whl
Metadata
Release files for wordcloud-webui 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wordcloud_webui-0.1.0.tar.gz | 20.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wordcloud_webui-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.0 MB
Release files / wordcloud_webui-0.1.0.tar.gz
| Download URL | wordcloud_webui-0.1.0.tar.gz |
|---|---|
| Size | 20.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57c85708d1832c645f309c9bfe314f7cddd5bfbb6d96a891154523753068fc72
|
|
BLAKE2b-256 checksum How to use checksums |
8699e76ad1cdf02c8ca3eb69a68662dd5ccf53cb3365dcfb658f6c79285cd79c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.16
|
Release files / wordcloud_webui-0.1.0-py3-none-any.whl
| Download URL | wordcloud_webui-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9769ccf226f2358a76d7b750e5db6b43989dc773b11e369eb7351a4c3803eab6
|
|
BLAKE2b-256 checksum How to use checksums |
eceec3720a95cd05825d8064155e93d2496d054343ca63a972d160cc108ccd99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.16
|