# home-assistant-libs/pychromecast

Library for Python 3 to communicate with the Google Chromecast.

Repository: https://github.com/home-assistant-libs/pychromecast
Canonical: https://ross.abutalabs.com/products/pychromecast
Language: Python
License: MIT
License Family: permissive
Topics: cast, chromecast, python, chromecast-audio, internet-of-things
Last push: 2026-08-24T17:47:36+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 74, longevity 100
- inputs: {"age_days": 4718, "days_push": 9, "days_rel": 179, "gap_med": 19, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2676, forks 386 (observed 2026-08-28T04:07:09.807143+00:00)

## What it is
PyChromecast is a Python 3.11+ library for discovering and communicating with Google Chromecast and Cast-enabled devices. It supports media playback control, app communication via channels, and multi-room audio setups.

## Use cases
- discover chromecast devices on my network from python
- cast a video url to a chromecast programmatically
- control playback on a chromecast from a script
- build a multi-room audio casting app
- integrate google cast control into a home automation project
- send media to google home speakers with python

## When to choose
- you need programmatic Python control of Chromecast or Cast-enabled devices
- you want automatic network discovery of cast devices via zeroconf
- you're building home automation around Google Cast devices

## When to avoid
- you need a ready-made GUI rather than a library
- you want to cast to non-Google protocols like AirPlay or DLNA
- your project is not in Python

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, iot
- domain: iot, developer-tools
- platform: python, cross-platform
- tags: chromecast, google-cast, media-casting, zeroconf-discovery, smart-home, audio-streaming, automation

## Member repositories
- home-assistant-libs/pychromecast (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.807143+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:01.564821+00:00, confidence not recorded.
  - readme: https://github.com/home-assistant-libs/pychromecast (fetched 2026-08-28T04:07:09.807143+00:00, sha fc33830118c8)
  - registry_pypi: https://pypi.org/pypi/pychromecast/json (fetched 2026-08-29T10:00:26.831254+00:00, sha 297c1a5ebe90)
- Data as of 2026-08-30T08:39:29.467469+00:00.
