Skip to main content

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


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.7.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

hannah-0.0.7-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file hannah-0.0.7.tar.gz.

File metadata

  • Download URL: hannah-0.0.7.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.5 Windows/10

File hashes

Hashes for hannah-0.0.7.tar.gz
Algorithm Hash digest
SHA256 3ad2225358caa170cceff3da7f6efb69688175484183b977bf538fd2d379e8fb
MD5 6e6cdc24015c775c55303f6f8b176dc2
BLAKE2b-256 2951a648d8af8f781b6157236409800724fdc353bc1e2177e9b17c1ae6ed2c11

See more details on using hashes here.

File details

Details for the file hannah-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: hannah-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.5 Windows/10

File hashes

Hashes for hannah-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 84c51478fb15b387f70c8435f575b56c5583e2d1bc71be5305dfaa50ec8fa0cf
MD5 8ae8c785a2049ead4f657e015e074b61
BLAKE2b-256 983fdd1644e64cdc0e78ca45d4f638ff95c0d8cb650251772b61b6a0bd41af45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page