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

Uploaded Source

Built Distribution

hannah-0.0.6-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hannah-0.0.6.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.2 Windows/10

File hashes

Hashes for hannah-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6866f49519ad5556ba093d4e6c47ac9f30dedae877cc4a4a844e942956b45264
MD5 4e8fd0cc3fc2ea8c848ea0b88484a896
BLAKE2b-256 b1df38bb4fbfad02d402e9af4388a5f266e90b91a2835d1ea6bad844edb727bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hannah-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.2 Windows/10

File hashes

Hashes for hannah-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 12b4e69bfeff4efe778b04e0e107dccede4242e032f7ea32143c464cd5df40f0
MD5 6805374cd3083fbff1d62ab159bc2dd9
BLAKE2b-256 5eae7207562ed1a2ccf84de453b99aa7027efffa27761386b58e29c0eb268797

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