Skip to content

v1.5.0 — Charts, Reports & REST API

Choose a tag to compare

@Ali-Marandi Ali-Marandi released this 29 Aug 00:11
· 7 commits to main since this release

WebScraper Pro v1.5.0

New Features

1. Matplotlib Charts in UI

  • 11 professional chart types: Forecast, Volatility, Efficient Frontier, Pie Weights, VaR Histogram, Drawdown, Correlation Heatmap, DSGE IRF, Phillips Curve, Comparison Bars, Multi-Series
  • Dark-themed visualization embedded directly in the Quant panel (Charts tab)
  • create_chart_widget() for Tkinter embedding, get_figure_as_base64() for API responses

2. PDF/Excel Report Generation

  • PDFReportGenerator: Professional PDF with cover page, table of contents, per-analysis sections (ReportLab)
  • ExcelReportGenerator: Multi-sheet Excel workbook with summary + detailed per-category sheets (openpyxl)
  • Export directly from the Export tab or via REST API

3. REST API Server

  • Flask-based HTTP API on port 8765
  • Endpoints: /api/v1/health, /api/v1/methods, /api/v1/datasets, /api/v1/analyze/*
  • Report endpoints: /api/v1/report/pdf, /api/v1/report/excel
  • CORS enabled for browser-based access
  • Start/Stop toggle directly from the Export tab

Improvements

  • PyInstaller spec updated with report_generator, quant_charts, api.server hiddenimports
  • Total: 72 methods across 15 categories (up from 65/13 in v1.4.0)
  • New categories: Reports (2 methods), Charts (5 methods)

Files Added

  • core/quant/report_generator.py
  • core/quant/quant_charts.py
  • core/api/server.py
  • core/api/init.py

Test Results

  • All 72 methods tested successfully
  • PDF report: 10,980 bytes generated
  • Excel report: 14,286 bytes generated
  • API server: start/stop/health/methods all working