Metadata-Version: 2.4
Name: postghost-sdk
Version: 0.1.1
Summary: Python SDK for Postghost.
Project-URL: Homepage, https://postghost.dev/
Author: Postghost
License: MIT
Keywords: api,client,postghost,sdk
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: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Description-Content-Type: text/markdown

# Postghost Python SDK

## Development install

On Debian/Ubuntu/WSL, system Python may be “externally managed” (PEP 668). Use a virtualenv:

```bash
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -U pip
pip install -e .
```

Basic usage:

```python
from postghost_sdk import PostghostClient

client = PostghostClient(
    api_key="YOUR_API_KEY",
)

client.ingestion.pulse("job_abc123", payload={"status": "ok"})
```

Point to the Postghost dev environment:

```python
client = PostghostClient(api_key="YOUR_API_KEY", test=True)
```

## Next steps

- Use `client.ingestion.api_monitoring(...)` and `client.ingestion.logs(...)` to send API monitoring events and structured logs.
- See the Postghost documentation for full API details and best practices.

