wexample-api 6.8.5__tar.gz → 6.8.6__tar.gz
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.
- {wexample_api-6.8.5 → wexample_api-6.8.6}/PKG-INFO +4 -4
- {wexample_api-6.8.5 → wexample_api-6.8.6}/README.md +2 -2
- {wexample_api-6.8.5 → wexample_api-6.8.6}/pyproject.toml +2 -2
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/common/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/common/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/common/abstract_gateway.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/common/http_request_payload.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/const/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/const/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/const/http.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/demo/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/demo/demo_simple_gateway.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/enums/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/enums/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/enums/http.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/errors/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/errors/gateway_authentication_error.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/errors/gateway_connexion_error.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/middleware/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/models/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/py.typed +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/.gitkeep +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/common/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/common/test_http_request_payload.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/demo/__init__.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/demo/test_demo_simple_gateway.py +0 -0
- {wexample_api-6.8.5 → wexample_api-6.8.6}/tests/new_architecture/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-api
|
|
3
|
-
Version: 6.8.
|
|
3
|
+
Version: 6.8.6
|
|
4
4
|
Summary: Provides an AbstractGateway base class that handles HTTP requests with rate limiting, status-code validation, retry logic, and structured error reporting for building typed API client gateways
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -13,7 +13,7 @@ Requires-Dist: attrs>=23.1.0
|
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
14
|
Requires-Dist: requests
|
|
15
15
|
Requires-Dist: wexample-helpers>=20.1.0
|
|
16
|
-
Requires-Dist: wexample-prompt>=
|
|
16
|
+
Requires-Dist: wexample-prompt>=16.0.0
|
|
17
17
|
Provides-Extra: dev
|
|
18
18
|
Requires-Dist: pytest; extra == "dev"
|
|
19
19
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
|
|
22
22
|
# api
|
|
23
23
|
|
|
24
|
-
Version: 6.8.
|
|
24
|
+
Version: 6.8.6
|
|
25
25
|
|
|
26
26
|
`wexample-api` provides an `AbstractGateway` base class for building typed HTTP API client gateways in Python. It wraps `requests` with built-in rate limiting, configurable timeout, status-code validation, exponential-backoff retries, and structured error reporting via `wexample-prompt`, so a concrete gateway only needs to declare a `base_url` and call `make_request`. The package targets Python developers who integrate third-party REST APIs and want to centralise connection handling, logging, and error propagation without writing the same boilerplate for each service.
|
|
27
27
|
|
|
@@ -220,7 +220,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
220
220
|
- cattrs: >=23.1.0
|
|
221
221
|
- requests:
|
|
222
222
|
- wexample-helpers: >=20.1.0
|
|
223
|
-
- wexample-prompt: >=
|
|
223
|
+
- wexample-prompt: >=16.0.0
|
|
224
224
|
|
|
225
225
|
## Versioning & Compatibility Policy
|
|
226
226
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# api
|
|
2
2
|
|
|
3
|
-
Version: 6.8.
|
|
3
|
+
Version: 6.8.6
|
|
4
4
|
|
|
5
5
|
`wexample-api` provides an `AbstractGateway` base class for building typed HTTP API client gateways in Python. It wraps `requests` with built-in rate limiting, configurable timeout, status-code validation, exponential-backoff retries, and structured error reporting via `wexample-prompt`, so a concrete gateway only needs to declare a `base_url` and call `make_request`. The package targets Python developers who integrate third-party REST APIs and want to centralise connection handling, logging, and error propagation without writing the same boilerplate for each service.
|
|
6
6
|
|
|
@@ -199,7 +199,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
199
199
|
- cattrs: >=23.1.0
|
|
200
200
|
- requests:
|
|
201
201
|
- wexample-helpers: >=20.1.0
|
|
202
|
-
- wexample-prompt: >=
|
|
202
|
+
- wexample-prompt: >=16.0.0
|
|
203
203
|
|
|
204
204
|
## Versioning & Compatibility Policy
|
|
205
205
|
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-api"
|
|
9
|
-
version = "6.8.
|
|
9
|
+
version = "6.8.6"
|
|
10
10
|
description = "Provides an AbstractGateway base class that handles HTTP requests with rate limiting, status-code validation, retry logic, and structured error reporting for building typed API client gateways"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -22,7 +22,7 @@ dependencies = [
|
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
23
|
"requests",
|
|
24
24
|
"wexample-helpers>=20.1.0",
|
|
25
|
-
"wexample-prompt>=
|
|
25
|
+
"wexample-prompt>=16.0.0",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.readme]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/errors/gateway_authentication_error.py
RENAMED
|
File without changes
|
{wexample_api-6.8.5 → wexample_api-6.8.6}/src/wexample_api/errors/gateway_connexion_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|