Repository navigation
1.7.0 - Reliable exports and complete history workflows
1.7.0 makes filtered exports trustworthy and completes the path from collecting trends to querying your own history.
- CSV exports apply and verify category and active-only filters; a filter failure raises
BrowserErrorinstead of returning an unfiltered dataset. - RSS memory and disk cache hits preserve the original observation time, including CLI envelopes. Normalized CSV envelopes retain their requested filters.
watch --archive --db PATHrecords every poll;--contextadds region and observation time to change events. The four Trending Now MCP tools acceptarchive=true, and both RSS batch functions supportcache="disk".- Explore uses finite navigation, transport and script timeouts, maps transport failures into library errors, and stops on widget HTTP 403/429. First-time browser setup is separate from the browser-work budget.
- Reporting, archived analysis and keyword-study examples now produce useful files, handle Windows Unicode output, and explain what the data can support. The keyword study excludes incomplete periods from its descriptive comparisons.
Compatibility: existing defaults and all 47 root exports remain available. Normalized schema 1.1 adds request; monitor schema 1.1 supports optional geo and observed_at. Historical archives remain readable. Single-region RSS functions also support keyword-only envelope=True for raw records with fetch metadata.
Upgrade: pip install --upgrade "trendspyg[all]"
Validation: 720 offline tests pass with 98.15% coverage; both MCP SDK lines, lint/type checks, strict documentation build and package checks pass locally. All 22 GitHub checks pass, including Python 3.8–3.13 on Linux, macOS and Windows. Installed-wheel live checks cover RSS, cross-process caching, CLI/MCP history and active-only sports exports.
See the workflow guide and changelog for recipes and details.