Metadata-Version: 2.1
Name: readpdfs
Version: 0.1.2
Summary: A Python client for the ReadPDFs API
Author-email: Carbs <carbs@readpdfs.com>
Project-URL: Homepage, https://github.com/yourusername/readpdfs
Project-URL: Bug Tracker, https://github.com/yourusername/readpdfs/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2.25.1

# ReadPDFs

A Python client for the ReadPDFs API that allows you to process PDF files and convert them to markdown.

## Installation

```bash
pip install readpdfs
```

## Usage

```python
from readpdfs import ReadPDFs

# Initialize the client
client = ReadPDFs(api_key="your_api_key")

# Process a PDF from a URL
result = client.process_pdf(pdf_url="https://example.com/document.pdf")

# Process a local PDF file
result = client.process_pdf(file_path="path/to/local/document.pdf")

# Fetch markdown content
markdown = client.fetch_markdown(url="https://api.readpdfs.com/documents/123/markdown")

# Get user documents
documents = client.get_user_documents(clerk_id="user_123")
```

## Features

- Process PDFs from URLs or local files
- Convert PDFs to markdown
- Fetch markdown content
- Retrieve user documents
- Configurable processing quality

## Requirements

- Python 3.7+
- requests library

## License

This project is licensed under the MIT License - see the LICENSE file for details.
