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).
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 | 9m 39s | 179.3 | False | |
Google Cloud | Google I/O 2023 | 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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file youtube-wpm-0.1.0.tar.gz
.
File metadata
- Download URL: youtube-wpm-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28cf724b66cda612e4cd665537d9c464fb477be21b55d6e1a51db6d9e9947225 |
|
MD5 | c5be928dc8de01659f4ea1fa06711fb4 |
|
BLAKE2b-256 | 6e004c2fe6b1821191f09cb76ef5cb0af2b101b5a31e50ad24fea6c6cf87d7ba |
File details
Details for the file youtube_wpm-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: youtube_wpm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c99c4687756c7ea692151866087b2a3f7c53c2d4a8b6c7b68cc179e525c3333 |
|
MD5 | 3810f922eee972503cc5fd2a8ae18fc9 |
|
BLAKE2b-256 | dd549630c333846937f62ede613bce26f969cdb03f705dd73d19e3f1a17aefc5 |