No project description provided
Project description
hannah
hannah
is a async swagger http client.
installation
pip install hannah
example
from hannah.http.session import HTTPSession
from hannah.models import SwaggerService
session = HTTPSession(f'pet-store')
service = SwaggerService.from_url('pet-store', 'https://petstore.swagger.io',
session, swagger_path='/v2/swagger.json')}
response = await service.getPetById(petId=1)
print(response)
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
hannah-0.0.10.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file hannah-0.0.10.tar.gz
.
File metadata
- Download URL: hannah-0.0.10.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c8c76d69bc8f9207ba91ccc2b93a813e17557d923e24f623b257249d3aa12888
|
|
MD5 |
a0744c2744859bc4e66b9d565bf48c2a
|
|
BLAKE2b-256 |
c4cd2112140a7e4fcd463ebea324b1eb140beaa4903d51be05d4e0a2693891da
|
File details
Details for the file hannah-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: hannah-0.0.10-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
87363a7d5be0d0c89fe245bba7f707b08336bd025c827d3af6b7d6b2e9b192ea
|
|
MD5 |
97afe9285b3e6c3eb4f363ab38ecf978
|
|
BLAKE2b-256 |
f24c8965a2b1e96389b4fd16fac80528409d05976891ae8d63295dc5ec8378e3
|