Metadata-Version: 2.1
Name: gg_daigua
Version: 0.2.3
Summary: 方便的工具
Author: 邓润庭
Author-email: 1032939141@qq.com
Requires-Python: >=3.12,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: beautifulsoup4 (>=4.12.3,<5.0.0)
Requires-Dist: certifi (==2024.8.30)
Requires-Dist: charset-normalizer (==3.4.0)
Requires-Dist: colorama (==0.4.6)
Requires-Dist: decorator (==4.4.2)
Requires-Dist: ffmpeg-python (>=0.2.0,<0.3.0)
Requires-Dist: filelock (==3.16.1)
Requires-Dist: fsspec (==2024.10.0)
Requires-Dist: idna (==3.10)
Requires-Dist: imageio (==2.36.0)
Requires-Dist: imageio-ffmpeg (==0.5.1)
Requires-Dist: jinja2 (==3.1.4)
Requires-Dist: llvmlite (==0.43.0)
Requires-Dist: markupsafe (==3.0.2)
Requires-Dist: more-itertools (==10.5.0)
Requires-Dist: moviepy (==1.0.3)
Requires-Dist: mpmath (==1.3.0)
Requires-Dist: networkx (==3.4.2)
Requires-Dist: numba (==0.60.0)
Requires-Dist: numpy (==2.0.2)
Requires-Dist: openai-whisper (>=20240930,<20240931)
Requires-Dist: pillow (==11.0.0)
Requires-Dist: proglog (==0.1.10)
Requires-Dist: psutil (>=6.1.0,<7.0.0)
Requires-Dist: pyexecjs (>=1.5.1,<2.0.0)
Requires-Dist: regex (==2024.9.11)
Requires-Dist: requests (==2.32.3)
Requires-Dist: six (==1.16.0)
Requires-Dist: sympy (==1.13.1)
Requires-Dist: tiktoken (==0.8.0)
Requires-Dist: torch (==2.5.1)
Requires-Dist: tqdm (==4.66.6)
Requires-Dist: typer (>=0.12.5,<0.13.0)
Requires-Dist: typing-extensions (==4.12.2)
Requires-Dist: urllib3 (==2.2.3)
Requires-Dist: whisper (==1.1.10)
Description-Content-Type: text/markdown

## 自用的工具箱


### 使用

`gg --help`

```shell

Usage: gg [OPTIONS] COMMAND [ARGS]...

╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                                           │
│ --show-completion             Show completion for the current shell, to copy it or customize the installation.    │
│ --help                        Show this message and exit.                                                         │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ my          自用工作流，1.下载最清晰的youtube视频，2.提取srt文件，3.合并字幕与视频，并清除多余文件，只留带字幕的… │
│ srt         自动生成视频的字幕srt文件                                                                             │
│ srt-merge   合并srt字幕和视频文件                                                                                 │
│ youtube     下载youtube视频                                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

```



### 打包上传

安装依赖

`poetry install`

构建包

`opetry build`

配置pypi token（配置过可跳过）

`poetry config pypi-token.pypi <your-api-token>`

上传

`poetry publish`


### 版本更新

```shell

poetry version patch   # 增加补丁版本，0.1.0 -> 0.1.1
poetry version minor   # 增加次版本，0.1.0 -> 0.2.0
poetry version major   # 增加主版本，0.1.0 -> 1.0.0
poetry version <新版本号>  # 直接设置为特定版本号

```
