pyseoa
๐ pyseo is a fast, extensible Python library for analyzing SEO health across one or more URLs, with CLI support too. It performs audits for metadata, accessibility, structered data, performance scores, and more.
๐ Features
- Analyze single or batch URLs
- Title, meta description, headers, alt tags
- Canonical links, Open Graph, Twitter tags
- Robots.txt, sitemap.xml, favicon check
- Accessibility (A11Y) hints
- Structured Data (JSON-LD)
- Lighthouse score via PageSpeedAPI (optional)
- Mobile-friendly detection
- Keyword density analysis
- Export results to JSON, CSV, or HTML
- Parallel processing with progress bar
- API and CLI ready
๐ฆ Installation
pip install pyseoa
Or form source:
git clone https://github.com/sempre76/pyseoa.git
cd pyseoa
pip install -e
๐งช Usage
Analyze a single URL
seo-analyze https://example.com
Analyze multiple files from a file
seo-analyze -f urls.txt
Full CLI Options
seo-analyze -h
๐ค Output
- JSON report(s) in a folder (default:
seo_reports/
) - Combined CSV summary (default:
seo_summary.csv
) - Logs for any failed URLs in
seo_errors.log