Modern SEO analysis and optimization toolkit
Project description
SEO Analyzer Tool
A comprehensive SEO analysis tool that helps you analyze websites and content while learning SEO best practices. This tool provides detailed insights into various SEO aspects and teaches you the principles behind each recommendation.
Features
URL Analysis
- Meta tags evaluation
- Title and description optimization
- Open Graph and Twitter Cards
- Schema.org markup validation
- HTML structure analysis
- Heading hierarchy
- Content structure
- Internal linking
- Mobile-friendliness checks
- Viewport configuration
- Touch element spacing
- Font size validation
- Performance analysis
- Resource optimization
- Load time metrics
- Compression checks
- Security assessment
- HTTPS implementation
- Security headers
- Mixed content detection
Content Analysis
- Keyword optimization
- Density and distribution
- Natural language processing
- Semantic analysis
- Readability assessment
- Multiple readability scores
- Sentence structure analysis
- Content complexity metrics
- Content quality checks
- Duplicate content detection
- Grammar and style analysis
- Transition word usage
- Structure evaluation
- Paragraph length
- Content sectioning
- Formatting consistency
Educational Components
- Detailed explanations for each recommendation
- Current SEO best practices
- Implementation guides
- Topic-specific resources
- Interactive learning elements
Installation
Using pip
pip install seo-analyzer
From source
- Clone this repository
git clone https://github.com/yourusername/seo-analyzer.git
cd seo-analyzer
- Install dependencies
pip install -e .
Usage
Command Line Interface
- Analyze a URL:
seo-analyzer analyze-url https://example.com --keyword "target keyword" --format markdown
- Analyze text content:
seo-analyzer analyze-content --file content.txt --keyword "target keyword"
# or
seo-analyzer analyze-content --text "Your content here" --keyword "target keyword"
- Get educational resources:
seo-analyzer education --topic meta_tags
Python API
from seo_analyzer import SEOAnalyzerApp
# Initialize the analyzer
analyzer = SEOAnalyzerApp()
# Analyze a URL
analysis = analyzer.analyze_url('https://example.com', target_keyword='keyword')
# Analyze content
content_analysis = analyzer.analyze_content('Your content here', target_keyword='keyword')
# Get educational resources
resources = analyzer.get_educational_resources(topic='meta_tags')
# Export report
report = analyzer.export_report(analysis, format='markdown')
Configuration
The tool can be configured using a YAML file. Default configuration is in config/seo_config.yaml:
seo_thresholds:
title_length:
min: 30
max: 60
meta_description_length:
min: 120
max: 160
content_length:
min: 300
sentence_length:
max: 20
keyword_density:
max: 3.0
# ... more configuration options
Analysis Report Sections
The tool provides a comprehensive report with these main sections:
-
Strengths ✅
- What's working well
- SEO best practices in place
- Positive metrics
-
Weaknesses ⚠️
- Areas needing improvement
- Missing SEO elements
- Performance issues
-
Recommendations 📝
- Actionable improvement steps
- Prioritized suggestions
- Implementation guidance
-
SEO Education 📚
- Explanations of SEO principles
- Best practices
- Learning resources
Development
Running Tests
pytest tests/
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
Requirements
- Python 3.7+
- Internet connection (for URL analysis)
- Required Python packages (see requirements.txt)
License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tfq0seo-1.0.0.tar.gz.
File metadata
- Download URL: tfq0seo-1.0.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf367b5995fd43d4a10c23ab590546504321a602d6439bad498995153b7a66c0
|
|
| MD5 |
9e9beb2c904a77a25fdd7c315706bef2
|
|
| BLAKE2b-256 |
ba462a6bfe7fabeb530707a0041b5757c68642fdf05cd11c6aa3f50a8c7d63ff
|
File details
Details for the file tfq0seo-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tfq0seo-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c0d1b33a5c9821e93b1c895a51aa33176f3bbac6b5f2a0b72b3fd790879591
|
|
| MD5 |
b72dbbd3d5673e4bbb2f7048eb8fd383
|
|
| BLAKE2b-256 |
b776af7299a5d611beb738232a2225945fdf86973420d55c98a7bf5405f5a379
|