Metadata-Version: 2.1
Name: answer-engine-optimization
Version: 0.1.1
Summary: Answer Engine Optimization (AEO) toolkit for Python-based websites
Home-page: https://supersharpai.com/answer-engine-optimization-toolkit
Author: SuperSharpAI.com
Author-email: python@supersharpai.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4


# Answer Engine Optimization (AEO) Toolkit

**Author**: [SuperSharpAI.com](https://supersharpai.com)  
**Email**: python@supersharpai.com

## 🚀 Introduction

`answer_engine_optimization` is a Python library that helps developers optimize their websites for Answer Engines (like Google Search, Bing Chat, or ChatGPT) by:

- Adding and managing FAQ content
- Generating structured FAQ schema (JSON-LD)
- Embedding Quick Answer blocks
- Checking if a webpage is AEO-friendly

---

## 📦 Installation

```bash
pip install answer_engine_optimization
```

---

## 🧠 Features

- ✅ Add FAQs with questions and answers
- ✅ Get a list of all added FAQs
- ✅ Generate structured data (JSON-LD) for FAQs
- ✅ Create Quick Answer block in HTML
- ✅ Analyze if a webpage is AEO friendly

---

## 🧪 Example Usage

```python
from answer_engine_optimization import AEOEngine

aeo = AEOEngine()

# Add FAQs
aeo.add_faq("What is AEO?", "Answer Engine Optimization helps AI systems like ChatGPT understand your content.")
aeo.add_faq("Why is FAQ schema important?", "It improves visibility in AI-based search and voice assistants.")

# View FAQs
print(aeo.get_faqs())

# Generate FAQ schema (JSON-LD)
print(aeo.generate_faq_schema())

# Generate Quick Answer block
print(aeo.generate_quick_answer("AEO is optimizing content for AI-driven platforms like ChatGPT and Google Search."))

# Check if a webpage is AEO friendly
html = "<html><head><title>Test Page</title></head><body><div class='quick-answer'></div></body></html>"
print(aeo.check_aeo_friendly(html))
```

---

## 📄 License

MIT License

---

## 🌐 Learn More

Visit [https://supersharpai.com](https://supersharpai.com) for more AI and SEO tools.


