Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wedgieintegrator-0.1.4.4.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

WedgieIntegrator-0.1.4.4-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file wedgieintegrator-0.1.4.4.tar.gz.

File metadata

  • Download URL: wedgieintegrator-0.1.4.4.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for wedgieintegrator-0.1.4.4.tar.gz
Algorithm Hash digest
SHA256 46f3a4cf0365ece0a46c0efe0c39a68097b543df0b2dd5ffa4208d410482c797
MD5 cd29f4f003c7e52baeaa8535b56f6b66
BLAKE2b-256 d6930e7f06d80874c1689618ea3722b3ee036c14d6f2b50f97d4b6ccb320c7b7

See more details on using hashes here.

File details

Details for the file WedgieIntegrator-0.1.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for WedgieIntegrator-0.1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73c85394c99d00a64eb827cdd1bc26573a1ed65d1d1de113243d6566534f4e4e
MD5 f45356c3715e444518b8f8ef89f5e734
BLAKE2b-256 49caf20bb4c5dbb72709394f84e4e2843eb2362bb30ec55b5bfab9d47792b286

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page