Skip to main content

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-dlp and ffmpeg
  • 🧠 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

👉 Read the Docs

License

MIT © MahiroX36

Project details


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.4.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asyncyt-1.0.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file asyncyt-1.0.4.tar.gz.

File metadata

  • Download URL: asyncyt-1.0.4.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

Hashes for asyncyt-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0839c82e3d5b15987b794fbfae8b420e02af7ac1146b9b9f7680e35c7c058019
MD5 6348d2f4837afcda15fc92ec56792592
BLAKE2b-256 455967738087a7ff601bbb3977e1bab59f52723532d427c5e04e8f64106d25b7

See more details on using hashes here.

File details

Details for the file asyncyt-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: asyncyt-1.0.4-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

Hashes for asyncyt-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 60f347fa9be0ca5eed84c4985e58fe5e4df3dbec2f4b427596dad7e74fba7700
MD5 7f471ce5b2b53714a1bae23a6860236b
BLAKE2b-256 a5609ff4278d71e4f2de7966c202ed7777ad0bbae3189cd5563cc9368929e28a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page