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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
hannah-0.0.2-py3-none-any.whl
(6.9 kB
view hashes)