youtube-wpm


Nameyoutube-wpm JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/thombashi/youtube-wpm
Summaryyoutube-wpm is a CLI tool to get a YouTube video's words per minute (WPM).
upload_time2023-12-31 17:27:46
maintainer
docs_urlNone
authorTsuyoshi Hombashi
requires_python>=3.8
licenseMIT License
keywords youtube transcript wpm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # **youtube-wpm**


## Summary

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

[![PyPI version](https://badge.fury.io/py/youtube-wpm.svg)](https://badge.fury.io/py/youtube-wpm)
![Python Version](https://img.shields.io/pypi/pyversions/youtube-wpm)
[![CI](https://github.com/thombashi/youtube-wpm/actions/workflows/ci.yml/badge.svg)](https://github.com/thombashi/youtube-wpm/actions/workflows/ci.yml)
[![CodeQL](https://github.com/thombashi/youtube-wpm/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/thombashi/youtube-wpm/actions/workflows/github-code-scanning/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](http://youtube.com/watch?v=QpBTM0GO6xI) | [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA) | 9m 39s | 179.3 | False               |
| [Google Cloud \| Google I/O 2023](http://youtube.com/watch?v=qSkB8-zL3Mo)     | [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA) | 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+

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thombashi/youtube-wpm",
    "name": "youtube-wpm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "YouTube,Transcript,WPM",
    "author": "Tsuyoshi Hombashi",
    "author_email": "tsuyoshi.hombashi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6e/00/4c2fe6b1821191f09cb76ef5cb0af2b101b5a31e50ad24fea6c6cf87d7ba/youtube-wpm-0.1.0.tar.gz",
    "platform": null,
    "description": "# **youtube-wpm**\n\n\n## Summary\n\n`youtube-wpm` is a CLI tool to get a YouTube video's words per minute (WPM).\n\n[![PyPI version](https://badge.fury.io/py/youtube-wpm.svg)](https://badge.fury.io/py/youtube-wpm)\n![Python Version](https://img.shields.io/pypi/pyversions/youtube-wpm)\n[![CI](https://github.com/thombashi/youtube-wpm/actions/workflows/ci.yml/badge.svg)](https://github.com/thombashi/youtube-wpm/actions/workflows/ci.yml)\n[![CodeQL](https://github.com/thombashi/youtube-wpm/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/thombashi/youtube-wpm/actions/workflows/github-code-scanning/codeql)\n\n\n## Installation\n\n```\npip install youtube-wpm\n```\n\n\n## Usage\n\n```\n$ youtube-wpm https://youtu.be/QpBTM0GO6xI\n- Title: [Google I/O '23 in under 10 minutes](http://youtube.com/watch?v=QpBTM0GO6xI)\n- Channel: [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA)\n- Time: 9m 39s\n- WPM: 179.3\n- Auto Gen Transcript: False\n```\n\nFetch multiple YouTube videos' information as a Markdown table:\n\n```\n$ youtube-wpm --format=md-table QpBTM0GO6xI qSkB8-zL3Mo\n```\n\nOutput:\n\n|                                    Title                                     |                              Channel                               |  Time  |  WPM  | Auto Gen Transcript |\n| ---------------------------------------------------------------------------- | ------------------------------------------------------------------ | ------ | ----: | ------------------- |\n| [Google I/O '23 in under 10 minutes](http://youtube.com/watch?v=QpBTM0GO6xI) | [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA) | 9m 39s | 179.3 | False               |\n| [Google Cloud \\| Google I/O 2023](http://youtube.com/watch?v=qSkB8-zL3Mo)     | [Google](https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA) | 9m 27s | 169.4 | False               |\n\n\n## Command help\n\n```\nusage: 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 ...]\n\nA CLI tool to get a YouTube video's words per minute (WPM).\n\npositional arguments:\n  VIDEO_ID              YouTube video IDs\n\noptions:\n  -h, --help            show this help message and exit\n  -V, --version         show program's version number and exit\n  -v, --verbose\n  --language LANGUAGE   language code of the transcript (default: en)\n  --initial-wpm INITIAL_WPM\n                        initial approximate words per minute (default: 180)\n  --debug               for debug print (default: LogLevel.INFO)\n  --quiet               suppress execution log messages (default: LogLevel.INFO)\n\nOutput Format:\n  --format {markdown,md-table}\n                        output format (default: markdown)\n  --length-format {short,long}\n                        output format of the video length (default: short)\n\nIssue tracker: https://github.com/thombashi/youtube-wpm/issues\n```\n\n\n## Dependencies\n- Python 3.8+\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "youtube-wpm is a CLI tool to get a YouTube video's words per minute (WPM).",
    "version": "0.1.0",
    "project_urls": {
        "Changlog": "https://github.com/thombashi/youtube-wpm/releases",
        "Homepage": "https://github.com/thombashi/youtube-wpm",
        "Source": "https://github.com/thombashi/youtube-wpm",
        "Tracker": "https://github.com/thombashi/youtube-wpm/issues"
    },
    "split_keywords": [
        "youtube",
        "transcript",
        "wpm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd549630c333846937f62ede613bce26f969cdb03f705dd73d19e3f1a17aefc5",
                "md5": "3810f922eee972503cc5fd2a8ae18fc9",
                "sha256": "8c99c4687756c7ea692151866087b2a3f7c53c2d4a8b6c7b68cc179e525c3333"
            },
            "downloads": -1,
            "filename": "youtube_wpm-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3810f922eee972503cc5fd2a8ae18fc9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9178,
            "upload_time": "2023-12-31T17:27:44",
            "upload_time_iso_8601": "2023-12-31T17:27:44.142951Z",
            "url": "https://files.pythonhosted.org/packages/dd/54/9630c333846937f62ede613bce26f969cdb03f705dd73d19e3f1a17aefc5/youtube_wpm-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e004c2fe6b1821191f09cb76ef5cb0af2b101b5a31e50ad24fea6c6cf87d7ba",
                "md5": "c5be928dc8de01659f4ea1fa06711fb4",
                "sha256": "28cf724b66cda612e4cd665537d9c464fb477be21b55d6e1a51db6d9e9947225"
            },
            "downloads": -1,
            "filename": "youtube-wpm-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c5be928dc8de01659f4ea1fa06711fb4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10911,
            "upload_time": "2023-12-31T17:27:46",
            "upload_time_iso_8601": "2023-12-31T17:27:46.107497Z",
            "url": "https://files.pythonhosted.org/packages/6e/00/4c2fe6b1821191f09cb76ef5cb0af2b101b5a31e50ad24fea6c6cf87d7ba/youtube-wpm-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-31 17:27:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thombashi",
    "github_project": "youtube-wpm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "youtube-wpm"
}
        
Elapsed time: 0.22507s