📹 Pyutube - The Simplest YouTube Downloader CLI
Enjoying my project? Please show your appreciation by starring it on GitHub! ⭐
Pyutube is a small CLI for downloading YouTube videos, shorts, audio, and playlists.
Install
pip install pyutube
For local development:
pip install -e ".[dev]"
Use
pyutube "<youtube-url>"
pyutube "<youtube-url>" "/path/to/save"
pyutube "<youtube-url>" -a
pyutube "<youtube-url>" -f
pyutube "<playlist-url>"
pyutube "<youtube-url>" -- --ignore-errors --write-info-json
Short version:
URLis required.PATHis optional and defaults to the current directory.-adownloads audio only (as MP3).-fdownloads video only.- Playlist URLs first show a selection menu so you can choose specific items or download all.
- Anything after
--is forwarded toyt-dlp.
Check the CLI help:
pyutube --help
python -m pyutube --help
Docs
- EXAMPLES.md for quick command examples.
- QUALITY.md for local checks.
- CONTRIBUTING.md for contribution rules.
License
MIT. See LICENSE.
Metadata
Release files for pyutube 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyutube-1.7.0.tar.gz | 28.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyutube-1.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.5 kB
Release files / pyutube-1.7.0.tar.gz
| Download URL | pyutube-1.7.0.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65b1dac3ef35b7a340253a4da2a363bb561ef6347c7c14f5124eb0c74d5382b6
|
|
BLAKE2b-256 checksum How to use checksums |
5c1874943d3e6cfa08041179324ff972b95480e9ab586344710e8299548e6bce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / pyutube-1.7.0-py3-none-any.whl
| Download URL | pyutube-1.7.0-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e41484a38501837bdc4f0da5461a0d64471dd6106649cdab45483a2ee987da05
|
|
BLAKE2b-256 checksum How to use checksums |
eceb719eec806e8a4dea56d6317ea65ff8787c61a0fe4f86100fd4d29dcd446e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|