Metadata-Version: 2.4
Name: seo-analysis
Version: 1.0.0
Summary: Spreadsheet-driven on-page SEO analysis for a list of domains and keywords.
Author: Devharsh Trivedi
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/com-puter-tips/SEO-Analysis
Project-URL: Repository, https://github.com/com-puter-tips/SEO-Analysis
Keywords: seo,analysis,keywords,scraping,openpyxl,beautifulsoup
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: Topic :: Text Processing :: Markup :: HTML
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4>=4.11
Requires-Dist: lxml>=4.9
Requires-Dist: openpyxl>=3.0
Requires-Dist: requests>=2.28

# SEO-Analysis

Spreadsheet-driven on-page SEO analysis for a list of domains and keywords.

Put keywords and URLs in an Excel workbook, run the tool, and it fills the sheet
with title / meta-description / heading / image / link / video / list-item
analysis for each page and colour-codes the cells (red = missing, yellow =
partial keyword match, white = good).

## Install

```
pip install seo-analysis
```

## Use it

Prepare a workbook (see `Test.xlsx`): column A = space-separated keywords,
column B = the URL, one row per check (the first row is a header). Then:

```
seo-analysis Test.xlsx
```

Options:

```
seo-analysis path/to/book.xlsx --sheet Sheet1 --timeout 30 --user-agent "Mozilla/5.0"
```

- `--sheet` worksheet name (default `Sheet1`)
- `--timeout` per-request timeout in seconds (default: none)
- `--user-agent` custom User-Agent header (helps with sites that block the default)

The results are written back into the same workbook, into columns C–T.

## Use it from Python

```python
from seo_analysis import analyze

analyze("Test.xlsx", sheet_name="Sheet1", timeout=30)
```

## Backward compatible

The original usage still works unchanged — from the repo root:

```
python SEO.py
```

which analyses `Test.xlsx` (Sheet1) in the current directory.

## License

GPL-3.0-or-later.
