How yiromo/pytrends-modern works
pytrends-modern is a Python client library for Google Trends data, with HTTP and browser-backed API access plus separate RSS and Selenium scraping routes. Its principal workflow configures a query, retrieves Google Trends data, and parses it into usable results; async access and browser sign-in extend that route. The README also documents trending analysis and CLI access. Arrows reflect the sampled excerpts and explicit README claims; unsampled implementations are represented only where the tree and README establish the capability.
Main entry points: __init__.py Public exports · request.py TrendReq client · request_async.py Async client · rss.py RSS trends
Components 15
Trends API
- TrendReq client
pytrends_modern/request.py - Async client
pytrends_modern/request_async.py - API configuration
pytrends_modern/config.py - Data utilities
pytrends_modern/utils.py - Exceptions
pytrends_modern/exceptions.py
Browser Access
- Browser settings
pytrends_modern/browser_config_camoufox.py - Browser config
pytrends_modern/browser_config.py - Sign-in setup
pytrends_modern/camoufox_setup.py - Proxy extension
pytrends_modern/proxy_extension.py
Trending Sources
- RSS trends
pytrends_modern/rss.py - Selenium scraper
pytrends_modern/scraper.py
User Interfaces
- Command line
pytrends_modern/cli.py - Public exports
pytrends_modern/__init__.py
Other components
- Library user
- Google Trends
Connections 20
- Library user → TrendReq client: builds queries
README.md - TrendReq client → Google Trends: requests data
README.md - Google Trends → TrendReq client: returns responses
pytrends_modern/request.py - Library user → Async client: uses async
README.md - Async client → Google Trends: requests data
README.md - Async client → Sign-in setup: runs sign-in
pytrends_modern/request_async.py - Library user → RSS trends: requests trends
README.md - RSS trends → Google Trends: fetches RSS
pytrends_modern/rss.py - Library user → Selenium scraper: requests export
README.md - Selenium scraper → Google Trends: downloads CSV
pytrends_modern/scraper.py - Library user → Command line: runs commands
README.md - Command line → TrendReq client: queries API
README.md - Command line → RSS trends: requests feeds
README.md - Library user → Public exports: imports library
pytrends_modern/__init__.py - Public exports → TrendReq client: exports client
pytrends_modern/__init__.py - Public exports → Async client: exports client
pytrends_modern/__init__.py - Public exports → RSS trends: exports feed
pytrends_modern/__init__.py - Public exports → Browser settings: exports settings
pytrends_modern/__init__.py - Public exports → Selenium scraper: exports scraper
pytrends_modern/__init__.py - Browser settings → Sign-in setup: configures sign-in
README.md