News for hackers. Stuff that matters.
Re:A Go “clone” of the great and famous Requests library by Twirrim on Friday June 26, 2015 @09:53AM (#9784307)
About as famous as they come in the python community. It is the perfect example of a library done right. I've yet to meet a developer who have used it that dislike it.

It handles all of the low level stuff for you, such as sessions, cookies, gzip, form encoding POSTs, composing URLs with arguments, thread safety etc. etc. without you even having to be aware of them, all in a terse and more readable format. It does it without taking the ability away to control those if you really want to, not that you're likely to need to anyway.

Take a look at the two examples here, one using the standard library for http, urllib2, and the other using requests: https://gist.github.com/kennethreitz/973705

I want requests to exist in pretty much every language. The API is clean and simple and perfectly expressive.

Re:A Go “clone” of the great and famous Requests library by IndianAstronaut on Saturday June 27, 2015 @03:13AM (#9789372)
Kenneth Reitz needs to do something with datetime in Python.