Metadata-Version: 2.5
Name: pi-web-access-py
Version: 0.1.0
Summary: Web search and URL fetching extension for pi-python (port of pi-web-access)
Project-URL: Homepage, https://github.com/zy1233/pi-python
Project-URL: Repository, https://github.com/zy1233/pi-python
Author-email: zy1233 <zy1233@users.noreply.github.com>
License-Expression: MIT
Keywords: agent,extension,fetch,pi,web-search
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: pi-agent-core-lc>=0.3.0
Provides-Extra: brave
Provides-Extra: readability
Requires-Dist: trafilatura>=1.12; extra == 'readability'
Provides-Extra: tavily
Requires-Dist: tavily-python>=0.5; extra == 'tavily'
Description-Content-Type: text/markdown

# pi-web-access-py

Web search and URL fetching extension for [pi-python](https://github.com/zy1233/pi-python).

Python port of [pi-web-access](https://www.npmjs.com/package/pi-web-access).

## Install

```bash
pip install pi-web-access-py
```

## Configuration

Set one of these environment variables:

- `BRAVE_API_KEY` — Brave Search API key
- `TAVILY_API_KEY` — Tavily Search API key
- `SEARXNG_URL` — SearXNG instance URL

## Tools

- **web_search** — Search the web for real-time information
- **fetch_url** — Fetch and extract text from a URL
