Skip to main content

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)

Metadata

Release files for hannah 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hannah 0.0.10
File Size Uploaded
hannah-0.0.10.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hannah 0.0.10
File Interpreter ABI Platform
hannah-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / hannah-0.0.10.tar.gz

Download URL hannah-0.0.10.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c8c76d69bc8f9207ba91ccc2b93a813e17557d923e24f623b257249d3aa12888
BLAKE2b-256 checksum
How to use checksums
c4cd2112140a7e4fcd463ebea324b1eb140beaa4903d51be05d4e0a2693891da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.8 Darwin/23.2.0

Release files / hannah-0.0.10-py3-none-any.whl

Download URL hannah-0.0.10-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87363a7d5be0d0c89fe245bba7f707b08336bd025c827d3af6b7d6b2e9b192ea
BLAKE2b-256 checksum
How to use checksums
f24c8965a2b1e96389b4fd16fac80528409d05976891ae8d63295dc5ec8378e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.8 Darwin/23.2.0

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page