From c9b8fec077fad9687c87469b54ddc9776156460b Mon Sep 17 00:00:00 2001 From: Alex Ward Date: Wed, 15 Apr 2026 10:36:37 +0100 Subject: [PATCH] feat: add alternative entrypoint for better tool runner use --- README.md | 8 ++++++++ pyproject.toml | 1 + 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 22cec19..6b028ec 100644 --- a/README.md +++ b/README.md @@ -497,6 +497,14 @@ Execute the CLI script using the video ids as parameters and the results will be youtube_transcript_api ... ``` +You can also run the CLI without installing it using [uvx](https://docs.astral.sh/uv/guides/tools/) or [pipx](https://pipx.pypa.io/): + +``` +uvx youtube-transcript-api ... +``` + + + The CLI also gives you the option to provide a list of preferred languages: ``` diff --git a/pyproject.toml b/pyproject.toml index d0bec13..50dd613 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ classifiers = [ [tool.poetry.scripts] youtube_transcript_api = "youtube_transcript_api.__main__:main" +youtube-transcript-api = "youtube_transcript_api.__main__:main" [tool.poe.tasks] test = "pytest youtube_transcript_api"