python-youtube
A Python wrapper around for YouTube Data API.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides a clean interface to the YouTube Data API V3. Install it if you need programmatic access to YouTube data or want to automate YouTube operations.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a YouTube Data API key or OAuth credentials from Google Cloud Console.
- Low install friction with four straightforward runtime dependencies.
- Actively maintained as of 2026-04-17 with recent commits and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — Licensed under MIT, a permissive open-source license that allows commercial and private use with minimal restrictions.
last release 2026-04-17 (119 days) · last repo commit 2026-04-17 · 353 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 492,004 downloads/mo, #6,362 on PyPI
Alternatives
Verify before relying
pip install python-youtube
from python_youtube import Client
client = Client(api_key="your api key")
channel = client.channels.list(channel_id="UC_x5XG1OV2P6uZZ5FSM9Ttw")- Rate limits and quota behavior under heavy usage patterns.
- Whether all YouTube Data API V3 resource methods are fully covered by the wrapper.
- Specific performance characteristics when handling large result sets.
What it is and what it does
python-youtube is a Python wrapper around the YouTube Data API V3 that abstracts the HTTP complexity of interacting with YouTube's REST endpoints. It provides two interfaces: a modern Client class and a legacy Api class for backward compatibility. Both support initialization via API key, access token, or OAuth flow, and expose methods to query and manipulate YouTube resources.
The library depends on requests for HTTP calls, requests-oauthlib for OAuth handling, dataclasses-json for response serialization, and isodate for timestamp parsing. It targets Python 3.9 and later and supports both CPython and PyPy. The package is actively maintained with no known security vulnerabilities.
Use it for
- Fetch channel metadata and statistics for analytics or monitoring purposes.
- Build a YouTube search or discovery tool that queries videos by keyword or channel.
- Automate YouTube content management tasks like uploading, updating, or deleting videos.
- Implement OAuth-based YouTube login or authorization flows in a web application.
- Extract video comments and engagement data for sentiment analysis or research.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides a clean interface to the YouTube Data API V3. Install it if you need programmatic access to YouTube data or want to automate YouTube operations.
Install
python-youtube on PyPI
Before you install
Low install friction with four straightforward runtime dependencies. Actively maintained as of 2026-04-17 with recent commits and no known vulnerabilities.
Requires a YouTube Data API key or OAuth credentials from Google Cloud Console.
License in practice
Licensed under MIT, a permissive open-source license that allows commercial and private use with minimal restrictions.
Quickstart
pip install python-youtube
from python_youtube import Client
client = Client(api_key="your api key")
channel = client.channels.list(channel_id="UC_x5XG1OV2P6uZZ5FSM9Ttw")
Verify before relying
- Rate limits and quota behavior under heavy usage patterns.
- Whether all YouTube Data API V3 resource methods are fully covered by the wrapper.
- Specific performance characteristics when handling large result sets.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesdataclasses-jsonisodaterequestsrequests-oauthlib |
| Maintenance | Actively maintained 119 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 492,004 / month, #6,362 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: python_youtube-0.9.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “youtube api python wrapper”
- python-youtubeA Python wrapper for the YouTube Data API V3 that lets you query and…
- aiogoogleAiogoogle is an async Python client for accessing Google's public…
- casttubeInteract with YouTube on Chromecast devices by sending commands to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also youtube-search-python · python-twitter · mattermostwrapper · Mastodon.py · pytubefix · google-auth-oauthlib · requests-oauthlib · casttube · webflow · requests-oauth