Skip to content

inglesp/async-requests

Repository files navigation

AsyncRequests

Build Status

This is a proof of concept to demonstrate how Requests can be adapted to work with asyncio, using aiohttp to do most of the work.

The goal is to create a library that has the same API as Requests, except for requiring interaction with asyncio's event loop.

With Requests:

r = requests.get('https://api.github.com/user', auth=('user', 'pass'))

With AsyncRequests:

r = yield from async_requests.get('https://api.github.com/user', auth=('user', 'pass'))

The project currently has alpha status. It passes Requests's test suite, but it could do with some further testing. In addition, it does not yet support connection pooling.

Any/all feedback welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages