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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hannah-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 00d01aa33f162da9622ef5b3fa8a7f9221fa86f7cab451ec160d7d0a2d497568
MD5 c8a1889a61b2cd62489d6c8d136b0f2d
BLAKE2b-256 32f19e82e6f0ce551a95b14096e34b1dda875df79cc3429312014803e3c80131

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hannah-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 266abb05ac2dfab7d5ece456cb32c60b4e5cf99f04c3b3b8fca188b83d156616
MD5 7c2fe8b6ef106a707727ba8bce551471
BLAKE2b-256 7ea1d125994fcab27902080e2842adaebba001db25d634885935545313bd16c8

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