Metadata-Version: 2.3
Name: pynamubot
Version: 0.1.9
Summary: Python client library for TheSeed-based wiki APIs such as NamuWiki.
Keywords: namuwiki,theseed,wiki,api,bot
Author: Iodine at NamuWiki
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Typing :: Typed
Requires-Dist: lark>=1.3.1
Requires-Dist: pydantic>=2.12.5
Requires-Dist: requests>=2.32.5
Requires-Dist: structlog>=25.5.0
Requires-Dist: typing-extensions>=4.9.0
Requires-Dist: selenium>=4.0.0 ; extra == 'puppet'
Requires-Python: >=3.9
Provides-Extra: puppet
Description-Content-Type: text/markdown

# pynamubot

Python client library for TheSeed-based wiki APIs (for example, NamuWiki).

## Installation

```bash
pip install pynamubot
```

If you need Selenium-based utilities:

```bash
pip install "pynamubot[puppet]"
```

## Quick start

```python
from pynamubot.api import TheSeedAPIClient

client = TheSeedAPIClient(
    base_url="https://namu.wiki/api",
    api_token="YOUR_API_TOKEN",
)

response = client.edit_get("TestDocument")
print(response.exists, response.token)
```

## Requirements

- Python 3.9+
- A valid API token issued by the target wiki

## Reference

- TheSeed API docs: <https://doc.theseed.io/>
