Metadata-Version: 2.5
Name: langchain-reserp
Version: 0.1.0
Summary: Minimal LangChain tool for the Reserp Google Search API
Project-URL: Homepage, https://reserp.ai/
Project-URL: Documentation, https://reserp.ai/docs
Project-URL: Repository, https://github.com/reserp-ai/langchain-reserp
Project-URL: Issues, https://github.com/reserp-ai/langchain-reserp/issues
Author: Reserp
License: MIT
License-File: LICENSE
Keywords: google-search,langchain,reserp,search-api,serp-api
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: langchain-core<2,>=0.3
Description-Content-Type: text/markdown

# LangChain Reserp

A minimal LangChain tool for the [Reserp Google Search API](https://reserp.ai/).

The tool accepts the public Reserp request field—a complete Google Search URL—makes one request, and returns the public JSON payload without filtering or reshaping it. It adds no retries, timeout policy, concurrency management, caching, queues, or automatic pagination.

## Installation

```bash
pip install langchain-reserp
```

## Usage

```python
import os

from langchain_reserp import ReserpSearchTool

os.environ["RESERP_API_KEY"] = "your-api-key"

tool = ReserpSearchTool()
result = tool.invoke(
    {"url": "https://www.google.com/search?q=photonic+computing&gl=us&hl=en"}
)
print(result)
```

The surrounding application owns retries, timeouts, task queues, concurrency, observability, and pagination. When the API reports `retryable`, this package exposes that field and takes no action itself.

## API contract

- [Reserp API documentation](https://reserp.ai/docs)
- [OpenAPI definition](https://reserp.ai/openapi.json)

## License

MIT

