Skip to main content

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+

Metadata

Release files for youtube-wpm 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for youtube-wpm 0.1.0
File Size Uploaded
youtube-wpm-0.1.0.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for youtube-wpm 0.1.0
File Interpreter ABI Platform
youtube_wpm-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / youtube-wpm-0.1.0.tar.gz

Download URL youtube-wpm-0.1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
28cf724b66cda612e4cd665537d9c464fb477be21b55d6e1a51db6d9e9947225
BLAKE2b-256 checksum
How to use checksums
6e004c2fe6b1821191f09cb76ef5cb0af2b101b5a31e50ad24fea6c6cf87d7ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / youtube_wpm-0.1.0-py3-none-any.whl

Download URL youtube_wpm-0.1.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c99c4687756c7ea692151866087b2a3f7c53c2d4a8b6c7b68cc179e525c3333
BLAKE2b-256 checksum
How to use checksums
dd549630c333846937f62ede613bce26f969cdb03f705dd73d19e3f1a17aefc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page