Registry / communication / casttube

casttube

JSON →
library0.2.1pypypi✓ verified 84d ago

A Python library for interacting with the YouTube Chromecast API, providing methods to send videos to Chromecast devices. Currently at version 0.2.1, with sporadic maintenance.

pip install casttube
INSTALL
IMPORT
SIG · CASTTUBE
C
casttube
communicationpythonv0.2.1
Install
2.0s avg
Import
—
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.0s · import 0.000s · 21MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

YouTubeSession
✓ from casttube import YouTubeSession
✗ from casttube import YouTubeChromecast

Initialize a YouTubeChromecast instance and obtain a watch key for a given video ID.

from casttube import YouTubeChromecast ytc = YouTubeChromecast() ytc.get_watch_key('dQw4w9WgXcQ')
Debug
Known issues
gotchaThe library requires a network connection to Google's YouTube APIs and may break if YouTube changes their internal endpoints.
fix
Handle exceptions such as requests.exceptions.ConnectionError or ValueError in production code.
affects: all
deprecatedThe project has not seen updates since 2020; consider alternatives like pytube or yt-dlp for more reliable YouTube interaction.
fix
Evaluate if this library meets your needs or switch to actively maintained alternatives.
affects: 0.2.0, 0.2.1
Upgrade
Version history
0.2.1latest on PyPI · released Apr 8, 2020
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
OpenAI (training)
1
Resources
casttube — pip install casttube · libregistry