{"repo":"flack0x/trendspyg","free":true,"listed":false,"github":"https://github.com/flack0x/trendspyg","clone":"git clone https://github.com/flack0x/trendspyg.git","description":"Free, maintained Python library + CLI for Google Trends: trending now, plus keyword interest over time, related queries & interest by region. A modern pytrends alternative.","language":"Python","stars":41,"topics":["cli","data-analysis","google-trends","google-trends-api","python","pytrends","pytrends-alternative","seo","trending","trends"],"license":"MIT","category":"cli-tools","readme_excerpt":"trendspyg Python library for Google Trends data — real-time trending topics and keyword analysis over time: interest over time, related queries, interest by region, 2–5-keyword comparison on one shared scale, and YouTube / News / Images / Shopping search interest ( gprop ). Ships a CLI, an MCP server for Claude and other AI agents, and an opt-in local history archive . A modern, actively-maintained alternative to the archived pytrends. Docs: flack0x.github.io/trendspyg . Using this library from a coding agent? See AGENTS.md for a concise, agent-ready reference. Installation Quick Start RSS Feed (Fast, no browser) CSV Export (Comprehensive - 10s) Explore — interest over time (the pytrends use case) The Explore path drives a real browser against Google's Explore page and is rate-limit sensitive ( 10–90s per call, with retries). Measured budget: roughly 8–10 fresh browser sessions in a short burst ( 15 min) is enough for Google to serve its hard 429 block page to that IP; trendspyg raises RateLimitError at once when it does (1.5.1+), and recovery took anywhere from 35 minutes to much longer in our measurements — a rate-limit error means stop for a long while , not retry . Since 1.5.2 every session first visits the Trends home page to pick up Google's session cookie (without it, an IP Google has seen before is refused outright). Space sessions out, reuse results with cache=\"disk\" (no browser run), and use the RSS path for fast, frequent real-time checks — never poll Explore. Fewe","default_branch":null,"files":null,"tree":[],"storefront":"/r/flack0x","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flack0x/trendspyg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}