An API client toolkit that is async friendly
Project description
WedgieIntegrator
WedgieIntegrator is an async friendly package for Python which acts as API client toolkit for creating and managing API clients with ease.
Features
- Fully asynchronous
- Simple configuration
- Multiple authentication strategies
- Retry mechanisms
- Pagination
- Helpful logging
Installation
pip install WedgieIntegrator
Version History
0.1.3, 2024-08-09
A few fixes, and better support for pagination with a custom response object and/or POST requests
0.1.4, 2024-08-26
- Breaking change: will no longer return a different number of object (tuple vs single object) when pagination is detected.
- From now on, a single object will always be returned. When pagination is used, two new properties become useful:
- "paginated_responses" is a combined list of all responses, from first to last
- "paginated_results" is a combined list of all results from all paginated responses
0.1.4.1, 2024-08-28
Fix: new pagination fields must be exposed in order to work correctly in a subclass
0.1.4.2, 2024-08-30
- Fix: stop pagination if a response returns no results, no matter what the response object says
- Removed aiolimiter from the package and replaced with a NotImplementedError. Per second and per minute limits are not precise enough, so I do not yet use them, and I discovered that aiolimiter causes some conflicts, so I'll come back when I can move on from 3.7.
0.1.4.3, 2024-09-04
Fix: reinitialize the web client in the event of "Event loop is closed" runtime errors
0.1.4.4, 2024-09-05
Fix: handle when a response indicates it is json but then does not parse as valid json
0.1.4.5, 2024-09-05
Same thing, just fixing what annoys me.
0.1.4.6, 2024-09-06
- Added a parameter for disabling automatic pagination.
- Added a more helpful doc string to the "send_request" method
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wedgieintegrator-0.1.4.6.tar.gz
.
File metadata
- Download URL: wedgieintegrator-0.1.4.6.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f926a5edbb20f5e06376dca827a6deb12a2cce6406280f8e7a660732177c1f |
|
MD5 | d36ae49c69a43a5f794a490628c04f19 |
|
BLAKE2b-256 | 093af5316a297bd1cae8352dbdcc685c4f54d770ddf47dccbf52f60a58ec68a5 |
File details
Details for the file WedgieIntegrator-0.1.4.6-py3-none-any.whl
.
File metadata
- Download URL: WedgieIntegrator-0.1.4.6-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33419186e6fef84683dd0e88603a2cdf92ee7fd562d11b83551aa90413be0a69 |
|
MD5 | 3caea9ac907bdc8ccc558d84f40ecc92 |
|
BLAKE2b-256 | 3d4c6847ca0c9ac49ff7d0f3d32a257369a64df63c4fc777e2d69da08fb4e8ca |