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
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
rmlab-http-client-0.4.0.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for rmlab_http_client-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4495acc608847e2837cd759908e656e5574c28c201118fe7a0e2d87ea42b8258 |
|
MD5 | 4cce81bf7e08d85d27ac5c80a6a683f0 |
|
BLAKE2b-256 | 041b3f850d9b93f7d7ed5ed0953f5d8541b3ce9230cf249cf03c01edb25d10d1 |