An async-first YouTube downloader library using yt-dlp and ffmpeg
Project description
AsyncYT
AsyncYT is a fully async, high-performance YouTube downloader powered by yt-dlp and ffmpeg.
It comes with auto binary setup, progress tracking, playlist support, search, and clean API models using pydantic.
Features
- ✅ Async from the ground up
- 🎵 Audio/video/playlist support
- 🌐 Auto-download
yt-dlpandffmpeg - 🧠 Strongly typed config and models
- 📡 Live progress (WebSocket-friendly)
- 📚 Clean and extensible
Install
pip install asyncyt
Example
from asyncyt import Downloader, DownloadConfig, Quality
config = DownloadConfig(quality=Quality.HD_720P)
downloader = Downloader()
await downloader.setup_binaries()
info = await downloader.get_video_info("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
print(info.title)
filename = await downloader.download(info.url, config)
print("Downloaded to", filename)
Documentation
License
MIT © MahiroX36
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
asyncyt-1.0.3.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
asyncyt-1.0.3-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file asyncyt-1.0.3.tar.gz.
File metadata
- Download URL: asyncyt-1.0.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa243ae3b296676f41cfcf6f9424763a4f181f4167b1db0eecc5b6967a26f7df
|
|
| MD5 |
3f6b829970bb86faff7268a451a4d22a
|
|
| BLAKE2b-256 |
1e0f6e567a6b51a885b0764712bc81065ad711ad806d0981142e25ce0f05563f
|
File details
Details for the file asyncyt-1.0.3-py3-none-any.whl.
File metadata
- Download URL: asyncyt-1.0.3-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
903cf8dd5ce28fb3a95c7a87fce493c4af88a83a14b7ab6270bc6d7b5eb10187
|
|
| MD5 |
b279cfc022dc13bb1e4a838a6974130d
|
|
| BLAKE2b-256 |
0502611a6008416bd56c7836bfa23be5d68e18ff4df7a2fa5fa31cf5e8ce7d7d
|