yt-search-py-1.0.0


توضیحات

Lightweight YouTube search library with async support - Search for videos, channels, playlists and get playlist details
ویژگی مقدار
سیستم عامل OS Independent
نام فایل yt-search-py-1.0.0
نام yt-search-py
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Sparrow <108956698+sparrow9616@users.noreply.github.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/yt-search-py/
مجوز MIT
# YT Search A lightweight, modern YouTube search library with async/await support. Search for videos, channels, playlists, and retrieve complete playlist information with ease. [![PyPI version](https://badge.fury.io/py/yt-search-lite.svg)](https://pypi.org/project/yt-search-lite/) [![Python](https://img.shields.io/pypi/pyversions/yt-search-lite.svg)](https://pypi.org/project/yt-search-lite/) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) ## Features ✨ **Search Functionality** - 🎥 Search for videos with filters - 👤 Search for channels - 📝 Search for playlists - 🔍 Custom search with sorting options - 🔄 Pagination support ✨ **Playlist Features** - 📋 Get full playlist information with videos - ℹ️ Get playlist metadata only - 🎬 Get playlist videos only - ♾️ Pagination for large playlists (100+ videos) ✨ **Modern API** - ⚡ Async/await support - 🎯 Type hints - 🚀 Fast and lightweight - 🛡️ No API key required ## Installation ```bash pip install yt-search ``` ## Quick Start ### Search for Videos ```python import asyncio from ytSearch import VideosSearch async def main(): search = VideosSearch('Python tutorials', limit=5) result = await search.next() for video in result['result']: print(f"{video['title']} - {video['link']}") asyncio.run(main()) ``` ### Get Playlist Information ```python import asyncio from ytSearch import Playlist async def main(): # Get full playlist with videos playlist = await Playlist.get('https://www.youtube.com/playlist?list=PLRBp0Fe2GpgmsW46rJyudVFlY6IYjFBIK') print(f"Playlist: {playlist['info']['title']}") print(f"Videos: {len(playlist['videos'])}") asyncio.run(main()) ``` ## Requirements - Python 3.7+ - httpx >= 0.28.1 ## License MIT License - see [LICENSE](LICENSE) file for details.


نیازمندی

مقدار نام
- httpx>=0.28.1


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl yt-search-py-1.0.0:

    pip install yt-search-py-1.0.0.whl


نصب پکیج tar.gz yt-search-py-1.0.0:

    pip install yt-search-py-1.0.0.tar.gz