{
 "kind": "tool",
 "slug": "pytube",
 "path": "tools/pytube/",
 "name": "pytube",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Scraping, browsers and parsing",
   "tools/scraping-parsing/"
  ]
 ],
 "lead": "Python library for downloading and processing YouTube videos.",
 "chips": [
  {
   "label": "Scraping, browsers and parsing",
   "path": "tools/scraping-parsing/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install pytube"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pytube/pytube"
  },
  {
   "label": "Website",
   "href": "https://github.com/pytube/pytube"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Unlicense",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/pytube/pytube"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Aug 15, 2024",
   "note": "Latest GitHub release Aug 27, 2021. ",
   "src": "https://github.com/pytube/pytube"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "1 projects",
   "status": "info",
   "sub": "#88 of 141 in its category",
   "note": "Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What pytube does",
   "parts": [
    {
     "t": "prose",
     "text": "Python library for downloading and processing YouTube videos."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "pytube popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1494 overall"
      },
      {
       "n": "526K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "13.2K",
       "l": "GitHub stars"
      },
      {
       "n": "1",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How pytube is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "pytube is a dependency in 1 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 116 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use python-dotenv (94.0%), OpenAI Python Library (93.1%), LangChain (92.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 94.0% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 93.1% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 92.2% of its projects",
       "v": "LangChain",
       "path": "tools/langchain-pypi/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 90.5% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 89.7% of its projects",
       "v": "tiktoken (Python)",
       "path": "tools/tiktoken-pypi/"
      },
      {
       "l": "In 88.8% of its projects",
       "v": "aiohttp",
       "path": "tools/aiohttp/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about pytube",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Scraping, browsers and parsing",
       "path": "tools/scraping-parsing/",
       "items": [
        {
         "text": "Beautiful Soup",
         "path": "tools/beautifulsoup4/"
        },
        {
         "text": "Puppeteer",
         "path": "tools/puppeteer/"
        },
        {
         "text": "Playwright Core",
         "path": "tools/playwright-core/"
        },
        {
         "text": "lxml",
         "path": "tools/lxml/"
        },
        {
         "text": "Playwright (Python)",
         "path": "tools/playwright/"
        },
        {
         "text": "Cheerio",
         "path": "tools/cheerio/"
        },
        {
         "text": "fast-xml-parser",
         "path": "tools/fast-xml-parser/"
        },
        {
         "text": "jsonc-parser",
         "path": "tools/jsonc-parser/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "pytube",
       "me": true,
       "facts": [
        "Unlicense",
        "Gid 54",
        "526K/wk"
       ]
      }
     ],
     "more": "Compare pytube with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install pytube"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for pytube yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi pytube"
  ],
  [
   "Category",
   "Scraping, browsers and parsing"
  ],
  [
   "License",
   "Unlicense"
  ],
  [
   "Gid Score",
   "54.4"
  ],
  [
   "Rank in category",
   "#88 of 141"
  ],
  [
   "GitHub",
   "pytube/pytube"
  ],
  [
   "Last change",
   "Aug 15, 2024"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/pytube.png"
}