Skip to main content

Manage and analyze your YouTube channel from the terminal. Designed for humans and AI agents.

Project description

YT Studio CLI

ascii

CI PyPI Python

Manage and analyze your YouTube channel from the terminal. Designed for humans and AI agents.

[!NOTE] This is not an official Google product, see disclaimer.

Motivation

I built this because I needed to bulk update video titles for a YouTube channel I manage with 300+ videos. YouTube Studio does not support bulk search-replace operations, which made it a tedious manual process. This tool uses the YouTube Data API to perform bulk operations on video metadata. Furthermore, it provides features for analytics and comment moderation, all accessible from the command line.

Features

  • Bulk update video metadata across hundreds of videos in one pass (search-replace titles, descriptions, tags).
  • Upload videos from a directory using YAML sidecars for metadata and thumbnails.
  • Schedule, start, stop, and update YouTube livestream broadcasts, including RTMP ingest details.
  • Multi-channel profiles: manage several channels from one machine and switch per command.
  • Comments moderation: list, reply, and moderate from the CLI.
  • Channel analytics queries via the YouTube Analytics API.

Documentation

See the full documentation for installation, OAuth setup, and the command reference.

Development

Clone the repo, sync dev dependencies, and install the pre-commit hook so ruff check and ruff format run on every commit (same checks CI runs):

uv sync --group dev
uv run pre-commit install

Run the suite manually with uv run pytest and uv run pre-commit run --all-files.

To preview the docs site locally, install the docs group and serve with mkdocs:

uv sync --group docs
uv run mkdocs serve  # or: uv run mkdocs build

API quota

The YouTube Data API enforces a default quota of 10_000 units per project per day. Most read operations (listing videos, comments, channel info) cost 1 unit, while write operations like updating video metadata or moderating comments cost 50 units each. Bulk updates can consume quota quickly. When exceeded, the API returns a 403 error; quota resets at midnight Pacific Time.

You can request a quota increase via IAM & AdminQuotas in the Google Cloud Console. See the official quota documentation for full details.

Disclaimer

This is not an officially supported Google or YouTube product. YouTube and YouTube Studio are trademarks of Google. All channel data is accessed exclusively through the official YouTube Data API and YouTube Analytics API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytstudio_cli-0.3.0.tar.gz (132.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytstudio_cli-0.3.0-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file ytstudio_cli-0.3.0.tar.gz.

File metadata

  • Download URL: ytstudio_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 132.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ytstudio_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1f5572cf66f96777c4dbcfaa786122ff2d2170d680aaafc9a094cbcc269bd742
MD5 1339bb027d1146e13e8a69e9bd3801cc
BLAKE2b-256 0bf9b180fb7da8789eb5cb50f8288941683bdbe831649a8383e321d1a4635e13

See more details on using hashes here.

Provenance

The following attestation bundles were made for ytstudio_cli-0.3.0.tar.gz:

Publisher: ci.yml on jdwit/ytstudio-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ytstudio_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ytstudio_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ytstudio_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0121823cb22e0685c2b35e3a65f1598d1e181dbf08ff7b4147216ab8d51c5054
MD5 e758eee60fabc74647d2ceefe6c8c885
BLAKE2b-256 f34e52fc1c36fa12e7c6dd3e12299d69235d0707c8e8b06c3d11c1bf426060fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ytstudio_cli-0.3.0-py3-none-any.whl:

Publisher: ci.yml on jdwit/ytstudio-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page