gildea package is a thin Python client that wraps the REST API with typed errors, auto-pagination, and resource namespaces.
Installation
httpx).
Quick start
Resources
The client organizes endpoints into resource namespaces.Signals
Entities
Themes
Search
Auto-pagination
List endpoints return one page at a time. Uselist_all to iterate through every result automatically:
list_all is a generator — it fetches pages lazily as you iterate, so you can break early without wasting requests.
Error handling
The SDK maps HTTP errors to typed exceptions:| HTTP Status | Exception | Description |
|---|---|---|
| 400 | BadRequestError | Invalid parameters |
| 401 / 403 | AuthenticationError | Invalid or missing API key |
| 404 | NotFoundError | Resource not found |
| 429 | RateLimitError | Rate limit exceeded (.retry_after has seconds) |
| 5xx | APIError | Server error |