Skip to main content

A library for retrieving and processing YouTube data (API, scraping, transcripts, heatmaps).

Project description

YT-Toolkit

YT-Toolkit is a Python library for retrieving and processing YouTube data. It provides an easy-to-use interface for working with various YouTube functionalities, including:

  • API Interactions: Retrieve video details, channel metrics, and search for videos using the YouTube Data API.
  • Web Scraping: Extract elements such as heatmaps and page content using Selenium and BeautifulSoup.
  • Transcript Processing: Retrieve and analyze YouTube transcripts to find contiguous matching segments.
  • Heatmap Analysis: Process SVG heatmap data to generate insights on viewer rewatch.

Features

  • YouTube API Module:
    Easily authenticate and retrieve video and channel data using the official YouTube API.

  • Scraping Module:
    Use Selenium and BeautifulSoup to extract dynamic content from YouTube pages.

  • Transcript Module:
    Retrieve subtitles using the youtube_transcript_api and perform text analysis to identify key segments.

  • Heatmap Module:
    Process SVG heatmap path data to map viewer rewatch moments.

Installation

You can install yt-toolkit using pip:

pip install yt-toolkit

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

yt_toolkit-0.1.5.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

yt_toolkit-0.1.5-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file yt_toolkit-0.1.5.tar.gz.

File metadata

  • Download URL: yt_toolkit-0.1.5.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for yt_toolkit-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c78a54be7ccf1972ad08741f90d1e78ef40e7267aa4411f99666c36543dce177
MD5 14e38e71dd7a8de740e4a4e1291fe487
BLAKE2b-256 511bd019fedddfabd91551641d3d3e086e0ad9929f01c89e8d4eba1aac781510

See more details on using hashes here.

File details

Details for the file yt_toolkit-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: yt_toolkit-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for yt_toolkit-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2227ce15bb58c5a38cee38a5dbb68c539d9c181715b8fa1b944d0b025112fc
MD5 3bb49b1311897b89ef4794768d5da37f
BLAKE2b-256 462aa60b5ff7b377084b30b05c5ab739a9ddf84c622550566c354a13cce77e19

See more details on using hashes here.

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