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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hannah-0.0.2.tar.gz
  • Upload date:
  • Size: 5.0 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.2.tar.gz
Algorithm Hash digest
SHA256 1c8cd888c6e19e8c392d90e5b6022a7bc41cc1febcec4aafb98cb75aec3f8f49
MD5 668e30b5140d9bdac82814f9fe3be0f6
BLAKE2b-256 e7fdebde46ffce3e975a851130e0f59de4cb1e513620a9deeb8cf3d4cf7e7e4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hannah-0.0.2-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.9.2 Windows/10

File hashes

Hashes for hannah-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36d0ffc5614589f3a5a1fa9c0df720426153394115c2504270d6f8e79e0fabbb
MD5 82cea8801bb2043649e7ab10f957d176
BLAKE2b-256 ec4d3d548613fd638ff2a33b0e9d0d00df4d13c9a2d24d96f5cf5ebf41cee245

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