Skip to main content

youtube-wpm is a CLI tool to get a YouTube video's words per minute (WPM).

Project description

youtube-wpm

Summary

youtube-wpm is a CLI tool to get a YouTube video's words per minute (WPM).

PyPI version Python Version CI CodeQL

Installation

pip install youtube-wpm

Usage

$ youtube-wpm https://youtu.be/QpBTM0GO6xI
- Title: [Google I/O '23 in under 10 minutes](http://youtube.com/watch?v=QpBTM0GO6xI)
- Channel: [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA)
- Time: 9m 39s
- WPM: 179.3
- Auto Gen Transcript: False

Fetch multiple YouTube videos' information as a Markdown table:

$ youtube-wpm --format=md-table QpBTM0GO6xI qSkB8-zL3Mo

Output:

Title Channel Time WPM Auto Gen Transcript
Google I/O '23 in under 10 minutes Google 9m 39s 179.3 False
Google Cloud | Google I/O 2023 Google 9m 27s 169.4 False

Command help

usage: youtube-wpm [-h] [-V] [-v] [--language LANGUAGE] [--initial-wpm INITIAL_WPM] [--format {markdown,md-table}] [--length-format {short,long}] [--debug | --quiet] VIDEO_ID [VIDEO_ID ...]

A CLI tool to get a YouTube video's words per minute (WPM).

positional arguments:
  VIDEO_ID              YouTube video IDs

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -v, --verbose
  --language LANGUAGE   language code of the transcript (default: en)
  --initial-wpm INITIAL_WPM
                        initial approximate words per minute (default: 180)
  --debug               for debug print (default: LogLevel.INFO)
  --quiet               suppress execution log messages (default: LogLevel.INFO)

Output Format:
  --format {markdown,md-table}
                        output format (default: markdown)
  --length-format {short,long}
                        output format of the video length (default: short)

Issue tracker: https://github.com/thombashi/youtube-wpm/issues

Dependencies

  • Python 3.8+

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

youtube-wpm-0.0.3.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

youtube_wpm-0.0.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file youtube-wpm-0.0.3.tar.gz.

File metadata

  • Download URL: youtube-wpm-0.0.3.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for youtube-wpm-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bcef82bda5f6edb9d8ca99537a8cbf0d4de475d94238480e4723677ea0409aae
MD5 d3be901c274b9d4fceb1dc5d0f701605
BLAKE2b-256 7771b91fb392904d046a754f4a7603c761c88d9deff7bdab10677a918b46ab09

See more details on using hashes here.

File details

Details for the file youtube_wpm-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: youtube_wpm-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for youtube_wpm-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 50fd0f130aa291efeb88b138bc0167c39f2a9be9ed69e0cf088cf181bcbce2c4
MD5 c234b716ed12b8365aced43585aee00d
BLAKE2b-256 ebf7644abdfe33d1838fb5ec4a4d0e64eda7e00dda95971e6c9ba6d9e3907d98

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