Metadata-Version: 2.4
Name: asyncyt
Version: 1.1.7
Summary: An async-first Any website downloader library using yt-dlp and ffmpeg
Project-URL: Homepage, https://github.com/mahirox36/AsyncYT
Project-URL: Documentation, https://github.com/mahirox36/AsyncYT/wiki
Author-email: MahiroX36 <mahiroc36@gmail.com>
License: MIT
License-File: LICENSE
Keywords: async,downloader,ffmpeg,python,youtube,yt-dlp
Requires-Python: >=3.10
Requires-Dist: aiofiles
Requires-Dist: aiohttp
Requires-Dist: pydantic>=2.0
Description-Content-Type: text/markdown

# AsyncYT

**AsyncYT** is a fully async, high-performance Any website downloader powered by [yt-dlp](https://github.com/yt-dlp/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

```bash
pip install asyncyt
```

## Example

```python
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](https://github.com/mahirox36/AsyncYT/wiki)

## License

MIT © MahiroX36
