$npx skillfedfor your agent

PyChromecast

Python module to talk to Google Chromecast.

Worth itPyPI Python ModulesReleased Mar 2026225.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pychromecast-14.0.10-py2.py3-none-any.whl
v14.0.10 · released 2026-03-07 · Python >=3.11.0 · 3 runtime deps: protobuf, zeroconf, casttube

Yes. Active maintenance, low install friction, permissive license, and no known vulnerabilities make this a solid choice for Chromecast integration. Requires Python 3.11+ and network multicast support; verify those constraints match your environment before installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11+.
  • Multicast UDP on port 5353 must be available on the network for device discovery to work.
  • Low friction install with three straightforward runtime dependencies (protobuf, zeroconf, casttube).

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

last release 2026-03-07 (160 days) · last repo commit 2026-08-03 · 2,677 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 225,100 downloads/mo, #9,227 on PyPI

Verify before relying

import pychromecast
import zeroconf

zconf = zeroconf.Zeroconf()
browser = pychromecast.CastBrowser(
    pychromecast.SimpleCastListener(lambda uuid, service: print(browser.devices[uuid].friendly_name)),
    zconf
)
browser.start_discovery()

chromecasts, browser = pychromecast.get_listed_chromecasts(friendly_names=["Living Room"])
cast = chromecasts[0]
cast.wait()
mc = cast.media_controller
mc.play_media('http://example.com/video.mp4', 'video/mp4')
  • Whether casttube is actively maintained and what role it plays in the dependency chain.
  • Specific Chromecast models or firmware versions known to work or have compatibility issues.
  • Performance characteristics when discovering or controlling many devices simultaneously.
Same gist for agents: .md · .json

What it is and what it does

PyChromecast is a Python library for communicating with Google Chromecast and Cast-enabled devices on a local network. It handles device discovery via mDNS, connection management, and playback control through the Chromecast API v2. The library abstracts the protocol details so you can discover devices by name, start media playback, pause or resume, and extend functionality by registering custom controllers for app-specific namespaces.

The package is built on protobuf for message serialization, zeroconf for mDNS discovery, and casttube for additional protocol support. It's designed for Python 3.11+ and requires network multicast capability. Common use cases include automation frameworks (notably Home Assistant), media center integrations, and multi-room audio control.

Use it for

  • Discover and list all Chromecast devices on a network, then connect to specific ones by friendly name.
  • Play online media files on a Chromecast and control playback (play, pause, seek) programmatically.
  • Build automation routines that cast media to different rooms based on time or events.
  • Extend support for custom Chromecast apps by implementing controllers for unsupported namespaces.
  • Monitor and control multi-room audio setups with multiple Cast Audio devices.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Active maintenance, low install friction, permissive license, and no known vulnerabilities make this a solid choice for Chromecast integration. Requires Python 3.11+ and network multicast support; verify those constraints match your environment before installing.

Install

pychromecast on PyPI

Before you install

Low friction install with three straightforward runtime dependencies (protobuf, zeroconf, casttube). Active maintenance with a recent commit on 2026-08-03 and 2677 repository stars.

Requires Python 3.11+. Multicast UDP on port 5353 must be available on the network for device discovery to work.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

Quickstart

import pychromecast
import zeroconf

zconf = zeroconf.Zeroconf()
browser = pychromecast.CastBrowser(
    pychromecast.SimpleCastListener(lambda uuid, service: print(browser.devices[uuid].friendly_name)),
    zconf
)
browser.start_discovery()

chromecasts, browser = pychromecast.get_listed_chromecasts(friendly_names=["Living Room"])
cast = chromecasts[0]
cast.wait()
mc = cast.media_controller
mc.play_media('http://example.com/video.mp4', 'video/mp4')

Verify before relying

  • Whether casttube is actively maintained and what role it plays in the dependency chain.
  • Specific Chromecast models or firmware versions known to work or have compatibility issues.
  • Performance characteristics when discovering or controlling many devices simultaneously.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
protobufzeroconfcasttube
MaintenanceActively maintained 160 days since the last release
Last repo commit
First released
Downloads225,100 / month, #9,227 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: pychromecast-14.0.10-py2.py3-none-any.whl

Tags

Capabilities
chromecast control pythoncast device discoverygoogle chromecast apimedia playback controlchromecast automationcast-enabled device controlnetwork device communication
Topics
device-controlhome-automationnetwork-discovery

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 › “cast device discovery”

  • PyChromecastCommunicate with Google Chromecast devices over the network to…
  • cinemagoerCinemagoer retrieves and queries movie, actor, director, and company…
  • async-upnp-clientAsync UPnP client library for discovering, controlling, and eventing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also casttube · gassist-text · pynetgear · BAC0 · libsoundtouch · wiim · pychrome · python-ecobee-api · sonos-websocket · choreographer