sempera 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sempera/__init__.py ADDED
@@ -0,0 +1,29 @@
1
+ """The Sempera Python SDK. Quick start: https://api.sempera.org/docs/sdks.md."""
2
+
3
+ from ._generated import API_VERSION, DEFAULT_BASE_URL, ERROR_CODES, OPERATIONS, Operations
4
+ from ._runtime import (
5
+ AuthenticationError,
6
+ ConflictError,
7
+ ConnectionFailure,
8
+ IdempotencyKeyReusedError,
9
+ NotFoundError,
10
+ PermissionDeniedError,
11
+ RateLimitError,
12
+ SemperaError,
13
+ ServerError,
14
+ ValidationError,
15
+ paginate,
16
+ )
17
+ from .webhooks import WebhookSignatureError, construct_event, verify_signature
18
+
19
+
20
+ class Sempera(Operations):
21
+ """`Sempera(api_key)` then `client.list_agents()`; one method per operation, named in snake_case."""
22
+
23
+
24
+ __all__ = [
25
+ "API_VERSION", "DEFAULT_BASE_URL", "ERROR_CODES", "OPERATIONS", "Sempera", "paginate",
26
+ "SemperaError", "ValidationError", "AuthenticationError", "PermissionDeniedError", "NotFoundError",
27
+ "ConflictError", "IdempotencyKeyReusedError", "RateLimitError", "ServerError", "ConnectionFailure",
28
+ "WebhookSignatureError", "construct_event", "verify_signature",
29
+ ]