wexample-api 6.8.9__tar.gz → 6.8.10__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.9 → wexample_api-6.8.10}/PKG-INFO +6 -7
- {wexample_api-6.8.9 → wexample_api-6.8.10}/README.md +4 -5
- {wexample_api-6.8.9 → wexample_api-6.8.10}/pyproject.toml +2 -2
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/common/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/common/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/common/abstract_gateway.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/common/http_request_payload.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/const/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/const/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/const/http.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/demo/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/demo/demo_simple_gateway.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/enums/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/enums/__pycache__/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/enums/http.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/errors/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/errors/gateway_authentication_error.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/errors/gateway_connexion_error.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/middleware/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/models/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/src/wexample_api/py.typed +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/tests/.gitkeep +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/tests/common/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/tests/common/test_http_request_payload.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/tests/demo/__init__.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/tests/demo/test_demo_simple_gateway.py +0 -0
- {wexample_api-6.8.9 → wexample_api-6.8.10}/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.10
|
|
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
|
|
@@ -12,7 +12,7 @@ Requires-Python: >=3.10
|
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
14
|
Requires-Dist: requests
|
|
15
|
-
Requires-Dist: wexample-helpers>=20.
|
|
15
|
+
Requires-Dist: wexample-helpers>=20.5.0
|
|
16
16
|
Requires-Dist: wexample-prompt>=16.0.0
|
|
17
17
|
Provides-Extra: dev
|
|
18
18
|
Requires-Dist: pytest; 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.10
|
|
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
|
|
|
@@ -212,14 +212,12 @@ This package is part of the Wexample Suite — a collection of high-quality, mod
|
|
|
212
212
|
|
|
213
213
|
The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
|
|
214
214
|
|
|
215
|
-
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
216
|
-
|
|
217
215
|
## Dependencies
|
|
218
216
|
|
|
219
217
|
- attrs: >=23.1.0
|
|
220
218
|
- cattrs: >=23.1.0
|
|
221
219
|
- requests:
|
|
222
|
-
- wexample-helpers: >=20.
|
|
220
|
+
- wexample-helpers: >=20.5.0
|
|
223
221
|
- wexample-prompt: >=16.0.0
|
|
224
222
|
|
|
225
223
|
## Versioning & Compatibility Policy
|
|
@@ -246,6 +244,8 @@ This packages suite embodies this spirit. Trusted by professionals and enthusias
|
|
|
246
244
|
|
|
247
245
|
Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
|
|
248
246
|
|
|
247
|
+
Built and maintained by [Romain Weeger](https://weeger.io).
|
|
248
|
+
|
|
249
249
|
## Known Limitations & Roadmap
|
|
250
250
|
|
|
251
251
|
Current limitations and planned features are tracked in the GitHub issues.
|
|
@@ -265,7 +265,6 @@ See the [project roadmap](https://github.com/wexample/python-api/issues) for upc
|
|
|
265
265
|
## Useful Links
|
|
266
266
|
|
|
267
267
|
- **Homepage**: https://github.com/wexample/python-api
|
|
268
|
-
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
269
268
|
- **Issue Tracker**: https://github.com/wexample/python-api/issues
|
|
270
269
|
- **Discussions**: https://github.com/wexample/python-api/discussions
|
|
271
270
|
- **PyPI**: [pypi.org/project/wexample-api](https://pypi.org/project/wexample-api/)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# api
|
|
2
2
|
|
|
3
|
-
Version: 6.8.
|
|
3
|
+
Version: 6.8.10
|
|
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
|
|
|
@@ -191,14 +191,12 @@ This package is part of the Wexample Suite — a collection of high-quality, mod
|
|
|
191
191
|
|
|
192
192
|
The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
|
|
193
193
|
|
|
194
|
-
Visit the [Wexample Suite documentation](https://docs.wexample.com) for the complete package ecosystem.
|
|
195
|
-
|
|
196
194
|
## Dependencies
|
|
197
195
|
|
|
198
196
|
- attrs: >=23.1.0
|
|
199
197
|
- cattrs: >=23.1.0
|
|
200
198
|
- requests:
|
|
201
|
-
- wexample-helpers: >=20.
|
|
199
|
+
- wexample-helpers: >=20.5.0
|
|
202
200
|
- wexample-prompt: >=16.0.0
|
|
203
201
|
|
|
204
202
|
## Versioning & Compatibility Policy
|
|
@@ -225,6 +223,8 @@ This packages suite embodies this spirit. Trusted by professionals and enthusias
|
|
|
225
223
|
|
|
226
224
|
Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
|
|
227
225
|
|
|
226
|
+
Built and maintained by [Romain Weeger](https://weeger.io).
|
|
227
|
+
|
|
228
228
|
## Known Limitations & Roadmap
|
|
229
229
|
|
|
230
230
|
Current limitations and planned features are tracked in the GitHub issues.
|
|
@@ -244,7 +244,6 @@ See the [project roadmap](https://github.com/wexample/python-api/issues) for upc
|
|
|
244
244
|
## Useful Links
|
|
245
245
|
|
|
246
246
|
- **Homepage**: https://github.com/wexample/python-api
|
|
247
|
-
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
248
247
|
- **Issue Tracker**: https://github.com/wexample/python-api/issues
|
|
249
248
|
- **Discussions**: https://github.com/wexample/python-api/discussions
|
|
250
249
|
- **PyPI**: [pypi.org/project/wexample-api](https://pypi.org/project/wexample-api/)
|
|
@@ -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.10"
|
|
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" },
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
23
|
"requests",
|
|
24
|
-
"wexample-helpers>=20.
|
|
24
|
+
"wexample-helpers>=20.5.0",
|
|
25
25
|
"wexample-prompt>=16.0.0",
|
|
26
26
|
]
|
|
27
27
|
|
|
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.9 → wexample_api-6.8.10}/src/wexample_api/errors/gateway_authentication_error.py
RENAMED
|
File without changes
|
{wexample_api-6.8.9 → wexample_api-6.8.10}/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
|