自用的工具箱
使用
gg --help
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
版本更新
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 <新版本号> # 直接设置为特定版本号
Metadata
Release files for gg_daigua 0.2.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gg_daigua-0.2.23.tar.gz | 84.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gg_daigua-0.2.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 169.4 kB
Release files / gg_daigua-0.2.23.tar.gz
| Download URL | gg_daigua-0.2.23.tar.gz |
|---|---|
| Size | 84.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d16419428910af13483f430d3d68bc7a76669aee71dead8c09dbb3fb2a9dc45e
|
|
BLAKE2b-256 checksum How to use checksums |
50c4519185211ef21f4fff8d25e5fa75550bcbfff64dcdec1e57756cae5ffc21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.4 Windows/11
|
Release files / gg_daigua-0.2.23-py3-none-any.whl
| Download URL | gg_daigua-0.2.23-py3-none-any.whl |
|---|---|
| Size | 85.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ffb02ebfb6aefed60751cc795e22e5587eeaa085549c9f9ce655091c0993776
|
|
BLAKE2b-256 checksum How to use checksums |
0320251714387b249317c9d95c59f211b589a7ed3566a8164be736c2be1b5134
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.4 Windows/11
|