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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hannah-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 83179813fe5a9bc96980dd5325d91721cfddadcb769675993b65d1a90cb80472
MD5 c9674a8e6803393472b753bbf23d1b60
BLAKE2b-256 08264debf238c97c4356d316edf26759f07cc96e509dcc8b75d61cd6654f7a95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hannah-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f0260dd6c24f09131aa980aa3b160ad473ad38f948029cf93988aa6d1e6c15bd
MD5 efc24555163786ca2dee5c8d118bde05
BLAKE2b-256 dc3fc63d59f105f6ec34ded079b7d74e529dfbcf90119a242443eb3d4396ad74

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