Skip to main content

RMLab module wrapping a HTTP client providing auth and async utilities.

Project description

RMLab HTTP Client

Small python module wrapping a HTTP client based on asyncio, providing several utilities required on RMLab server:

  • Basic/key/jwt authentication.

  • Token refresh.

  • State polling and result fetching of long-running asynchronous operations.

  • Server-defined type/value-safe endpoints to minimize API breaking changes.

  • Capture ill-formed requests before submission.

  • Custom error handling unified for client and server.

Installation

pip install rmlab-http-client

Requirements

  • python 3.11+
  • aiohttp 3.8.4

License

This package is offered under a MIT License.

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

rmlab-http-client-0.4.0.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

rmlab_http_client-0.4.0-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

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