Metadata-Version: 2.4
Name: stache-ai-documents
Version: 0.1.0
Summary: Document format loaders for Stache AI (EPUB, DOCX, PPTX)
Author: Stache Contributors
License: MIT
Project-URL: Homepage, https://github.com/stache-ai/stache-ai
Project-URL: Repository, https://github.com/stache-ai/stache-ai
Keywords: stache,document-processing,epub,docx,pptx
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: stache-ai>=0.1.0
Requires-Dist: ebooklib>=0.18
Requires-Dist: beautifulsoup4>=4.12.3
Requires-Dist: lxml>=5.1.0
Requires-Dist: python-docx>=1.1.0
Requires-Dist: python-pptx>=0.6.23

# stache-ai-documents

Document format loaders for Stache AI.

Provides loaders for EPUB, DOCX (Word), and PPTX (PowerPoint) files.

## Installation

```bash
pip install stache-ai-documents
```

## Supported Formats

- **EPUB** - eBook format
- **DOCX** - Microsoft Word documents
- **PPTX** - Microsoft PowerPoint presentations

## Usage

Once installed, the loaders automatically register and handle their respective file types:

```python
from stache_ai.loaders import load_document

# EPUB
text = load_document("book.epub")

# DOCX
text = load_document("document.docx")

# PPTX
text = load_document("presentation.pptx")
```

The loaders extract text content while preserving document structure where appropriate.
