divbzero / aioclient

An async web client for humans

Home Page:https://pypi.python.org/pypi/aioclient

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aioclient

Installation

pip install aioclient

Usage

import aioclient

async def get_example():
    status, headers, body = await aioclient.get('https://www.example.com/')
    print(body)

Changelog

v0.1.0

  • GET requests return status, headers, body tuples

v0.2.0

  • Support OPTIONS, HEAD, POST, PUT, PATCH, and DELETE requests
  • Deserialize text/xml responses as XML ElementTree

v0.2.1

  • Fix project description

About

An async web client for humans

https://pypi.python.org/pypi/aioclient

License:MIT License


Languages

Language:Python 100.0%