Metadata-Version: 2.4
Name: simplepushoverclient
Version: 0.1.4
Summary: A simple python client for sending pushover messages.
License: MIT
License-File: LICENSE
Author: Benedikt Limbacher
Requires-Python: >=3.13,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: pydantic (>=2.10.6,<3.0.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Description-Content-Type: text/markdown

# SimplePushoverClient
A simple client for the Pushover notification service.

## Installation

```bash
pip install simplepushoverclient
```

## Usage

```python
from simplepushoverclient import PushoverClient, PushoverExceptionResponse

client = PushoverClient(token="my_token")  # optional: timeout=10 (seconds)

try:
    client.send(user="my_user", message="my_msg", device="device", title="title")
except PushoverExceptionResponse as e:
    print(f"Pushover rejected the message ({e.status_code}): {e.message}")
```

Network errors (e.g. timeouts) are raised as the usual `requests` exceptions.

