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

Uploaded Source

Built Distribution

hannah-0.0.8-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hannah-0.0.8.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.8 Darwin/22.2.0

File hashes

Hashes for hannah-0.0.8.tar.gz
Algorithm Hash digest
SHA256 85ef018ae4895397d6ade94ed1362932999cdc03ff110b5144936dfa491e157d
MD5 b7d411e86a02b7c38c21864133253233
BLAKE2b-256 d7100f606096605ce926ea476bd5d2b800cdbe66d4285e1a1770918f00660c6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hannah-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.8 Darwin/22.2.0

File hashes

Hashes for hannah-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 08451ce43b9b0a955f81b057bec38b4e85c55f72132184a652fe644f091fc975
MD5 4739f9553f98d222731fa708188b932b
BLAKE2b-256 6be12dc447a550ac258124f6476fe97d288b1b3cb0a5567507fed71bfee5e13a

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