Python client library for making requests to any OpenAPI-based service.
Project description
PyAPI Client
PyAPI Client is a Python library for consuming REST APIs based on OpenAPI specifications.
WARNING: This is still a work in progress and not quite ready for production usage. Until version 1.0 is released, any new release can be expected to break backward compatibility.
Quick Start
from pyapi.client import Client
client = Client.from_file("path/to/openapi.yaml")
result = client.some_endpoint_id("path", "variables", "query_var"="example")
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
pyapi-client-0.3.1.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file pyapi-client-0.3.1.tar.gz
.
File metadata
- Download URL: pyapi-client-0.3.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.18.1 CPython/3.10.13 Linux/5.15.0-92-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2340a90b71415bd05c72481f98006b83a49a93d9a7702b66e516c9c4288d3877 |
|
MD5 | c97ef73481e9232b1be3dd0436f554e1 |
|
BLAKE2b-256 | 03632d63512b951d7ec87b69f2639848064e3c63d05f4f1ce7fb0e255a3563d8 |
File details
Details for the file pyapi_client-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pyapi_client-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.18.1 CPython/3.10.13 Linux/5.15.0-92-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce03340dd43df4858fbf5b7dfea34771a2d57d07df127040317f6ece3f1e1c8 |
|
MD5 | 2157a9820854e7fef47edc9425ccee16 |
|
BLAKE2b-256 | 52cb32aa2df4bf7917b865877464d37c673082b786946a97cc87a56cc39959b7 |