Skip to main content

方便的工具

Project description

自用的工具箱

使用

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 <新版本号>  # 直接设置为特定版本号

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gg_daigua-0.2.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

gg_daigua-0.2.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file gg_daigua-0.2.2.tar.gz.

File metadata

  • Download URL: gg_daigua-0.2.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.4 Windows/11

File hashes

Hashes for gg_daigua-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6a75c8aebeb43855917c14144a9b79be809ca35eae64caec590d4b784d904a9c
MD5 551fe2beaec82ce6399981e1cb9b5bb0
BLAKE2b-256 bd3b05a4e69a0440fe0158c1b95b9911e110f10466ab8a6afaba34afb5c380dc

See more details on using hashes here.

File details

Details for the file gg_daigua-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: gg_daigua-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.4 Windows/11

File hashes

Hashes for gg_daigua-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d22bddd663f10be1c8a52bcc94515a7c683b68833c76236d11fff5f2055a77fd
MD5 a23be597e2f7e6d44ecc9378f0fb91a3
BLAKE2b-256 b452d86e2abe0d727b2a3b26eb70ebb2926a262458ae5979be87bb9476166fb8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page