Absolutely my favourite recent development in the Python world. I won't be mistaken if I say that many of us have built half-arse versions of this on top of urllib(2) multiple times in the past. :-) The support for keep-alive is particularly welcome, huge kudos to the author. Question to users of other languages: do equivalents exist for PHP, Perl, C# or Java? Ruby folks rave about restclient, but is there anything e…
Python Requests: HTTP for Humans
31–40 of 86 posts
Re: Python Requests: HTTP for Humans
#32Re: Python Requests: HTTP for Humans
#33This looks like all the other wrapper methods you spend 5 minutes doing, once, when you start a new codebase?
Re: Python Requests: HTTP for Humans
#34Re: Python Requests: HTTP for Humans
#35I don't mean to badmouth Requests or Python in general, it certainly looks like an improvement, but can anyone enlighten me as to why an API that wraps an HTTP request with concise methods is #1 on HN, twice? This looks more like a good answer to SO question than "news". This looks like all the other wrapper methods you spend 5 minutes doing, once, when you start a new codebase?
We may agree or disagree with the consensus of the masses, but the masses make the front page.
Re: Python Requests: HTTP for Humans
#36Absolutely my favourite recent development in the Python world. I won't be mistaken if I say that many of us have built half-arse versions of this on top of urllib(2) multiple times in the past. :-) The support for keep-alive is particularly welcome, huge kudos to the author. Question to users of other languages: do equivalents exist for PHP, Perl, C# or Java? Ruby folks rave about restclient, but is there anything e…
Re: Python Requests: HTTP for Humans
#37Re: Python Requests: HTTP for Humans
#38Unfortunately, no Python 3 support
Why is that unfortunate? Why would anyone run python > 2.7?
Apparently 113,798 people found a reason to download the 3.2.2 Windows installers (32 and 64 bit) from python.org through only the first 10 days of the month of October. http://www.python.org/webstats/usage_201110.html
(doesn't include mention of the 3.2 source tarball downloads, which are under 5,000, most likely since people get that from their distro anyway)
Re: Python Requests: HTTP for Humans
#39I'm still fairly new to gevent and I'm curious if others consider this good style for a library?
Re: Python Requests: HTTP for Humans
#40I don't mean to badmouth Requests or Python in general, it certainly looks like an improvement, but can anyone enlighten me as to why an API that wraps an HTTP request with concise methods is #1 on HN, twice? This looks more like a good answer to SO question than "news". This looks like all the other wrapper methods you spend 5 minutes doing, once, when you start a new codebase?