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.9.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file hannah-0.0.9.tar.gz
.
File metadata
- Download URL: hannah-0.0.9.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.8 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6aea2ccab3161420944436eb15b22ca68372974ec029bafa53ee1606f251693c
|
|
MD5 |
74a4275a47f9262c626f51acda23d839
|
|
BLAKE2b-256 |
87e5912d93a1a5f2b7da6e5e103ed92e3a8ca7b5b498a65ab531e6da509f879d
|
File details
Details for the file hannah-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: hannah-0.0.9-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/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a2ffd302eaf7c08554194e56948df4a6619ae8029441c9430591e05eefb762d2
|
|
MD5 |
bd6d8933eecb627c7e340499e31cfff6
|
|
BLAKE2b-256 |
fe04fdb488c095cf3f2d764f07d076aeafab9f4e799bae65e18ff073b90ba7fa
|