Metadata-Version: 2.4
Name: pgns
Version: 0.1.4
Summary: Python SDK for the pgns webhook relay API
Project-URL: Homepage, https://pgns.io
Project-URL: Documentation, https://docs.pgns.io/sdks/python
Project-URL: Repository, https://github.com/pgns-io/sdk-python
Author: pgns
License-Expression: MIT
License-File: LICENSE
Keywords: api-client,pgns,sdk,webhooks
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.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27
Requires-Dist: pydantic>=2.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# pgns Python SDK

Python client library for the [pgns](https://pgns.io) webhook relay API.

## Installation

```bash
pip install pgns
```

## Quick Start

```python
from pgns import PgnsClient

client = PgnsClient(api_key="your-api-key")

# List roosts
roosts = client.roosts.list()

# Send a pigeon
client.pigeons.send("rst_abc123", payload={"event": "user.created", "data": {"id": 1}})
```

## Async Usage

```python
from pgns import AsyncPgnsClient

async with AsyncPgnsClient(api_key="your-api-key") as client:
    roosts = await client.roosts.list()
```

## Documentation

Full documentation is available at [docs.pgns.io/sdks/python](https://docs.pgns.io/sdks/python).

## License

MIT
