Skip to content
forked from twisted/treq

Python requests like API built on top of Twisted's HTTP client.

License

Notifications You must be signed in to change notification settings

gurteshwar/treq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treq

Build Status

treq is an HTTP library inspired by requests but written on top of Twisted's Agents.

It provides a simple, higher level API for making HTTP requests when using Twisted.

>>> from treq import get

>>> def done(response):
...     print response.status_code
...     reactor.stop()

>>> get("http://www.github.com").addCallback(done)

>>> from twisted.internet import reactor
>>> reactor.run()
200

Contribute

treq is hosted on GitHub.

Feel free to fork and send contributions over.

About

Python requests like API built on top of Twisted's HTTP client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published