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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hannah-0.0.4.tar.gz
Algorithm Hash digest
SHA256 bb219d87d6952d3f767376e73fa5f3c143b4bb07b6edf711b5513470ae1e4df0
MD5 583b32b1858ff9bc10ab9c61e53c0328
BLAKE2b-256 7089fd1a9cae995302dee3cc460691e83ba820cf795e3c41dd38a499767e639a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hannah-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 919ad5c09b26189d7a65700e25636ff5e90657ab221edb83e247034cd5535357
MD5 cff172eaa3a912ad813716afdf54af0f
BLAKE2b-256 7474a3ee87424155096828045a0f138ae7a55bfdab78e58fdc6023edd7ab6ab0

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