Metadata-Version: 2.4
Name: teafyi
Version: 0.1.0
Summary: Tea knowledge API client — search tea varieties, processing methods, and terms from TeaFYI.
Project-URL: Homepage, https://teafyi.com
Project-URL: Documentation, https://teafyi.com/developers/
Project-URL: Repository, https://github.com/fyipedia/teafyi
Project-URL: Issues, https://github.com/fyipedia/teafyi/issues
Project-URL: Changelog, https://github.com/fyipedia/teafyi/releases
Author: FYIPedia
License-Expression: MIT
License-File: LICENSE
Keywords: black-tea,caffeine,green-tea,herbal-tea,matcha,oolong,steeping,tea,tea-ceremony,teaware
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.10
Provides-Extra: all
Requires-Dist: httpx>=0.27; extra == 'all'
Requires-Dist: mcp>=1.0; extra == 'all'
Requires-Dist: rich>=13.0; extra == 'all'
Requires-Dist: typer>=0.15; extra == 'all'
Provides-Extra: api
Requires-Dist: httpx>=0.27; extra == 'api'
Provides-Extra: cli
Requires-Dist: rich>=13.0; extra == 'cli'
Requires-Dist: typer>=0.15; extra == 'cli'
Provides-Extra: mcp
Requires-Dist: mcp>=1.0; extra == 'mcp'
Description-Content-Type: text/markdown

# teafyi

Tea knowledge API client for developers -- search tea varieties, processing methods, and terminology from [TeaFYI](https://teafyi.com).

## Install

```bash
pip install teafyi[api]     # API client (httpx)
pip install teafyi[cli]     # + CLI (typer, rich)
pip install teafyi[mcp]     # + MCP server
pip install teafyi[all]     # Everything
```

## Quick Start

```python
from teafyi.api import TeaFYI

with TeaFYI() as api:
    results = api.search("matcha")
    print(results)
```

## CLI

```bash
teafyi search "matcha"
teafyi search "oolong"
teafyi search "gongfu ceremony"
```

## MCP Server

```bash
# Add to Claude Desktop config
python -m teafyi.mcp_server
```

Tools: `tea_search`

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| `search(query)` | `GET /api/search/?q=...` | Search teas, varieties, and terms |

## Links

- [TeaFYI](https://teafyi.com) -- Tea encyclopedia with categories, varieties, processing methods, and more
- [PyPI](https://pypi.org/project/teafyi/)
- [GitHub](https://github.com/fyipedia/teafyi)
- [FYIPedia](https://fyipedia.com) -- Open-source developer tools ecosystem
