TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Requests, Python HTTP for Humans, reached v1.0

386 pointsby jordeover 12 years ago

19 comments

aidosover 12 years ago
Congrats, Kenneth - Requests is a very nice library.<p>I've been using it a lot recently (though I've never had to go too deep into it). I'm impressed with the simplification and removal of code in this release. If only that was a goal for every project :)
评论 #4934645 未加载
antoncohenover 12 years ago
The choice of Apache 2.0 for the license is interesting. It makes the library incompatible with GPLv2 software[1], but compatible with being integrated into the Python standard library[2].<p>[1] <a href="http://www.gnu.org/licenses/license-list.html#apache2" rel="nofollow">http://www.gnu.org/licenses/license-list.html#apache2</a><p>[2] <a href="http://wiki.python.org/moin/PythonSoftwareFoundationLicenseFaq#line-75" rel="nofollow">http://wiki.python.org/moin/PythonSoftwareFoundationLicenseF...</a>
评论 #4935239 未加载
mixmastamykover 12 years ago
Great work. It's a shame these nice libs weren't built a few years ago, they might have had a chance to become the default in python3. Would be a killer feature to push more people to it.<p><pre><code> "The entire codebase has been rearchitected" </code></pre> I hope there are a few tests to check for regressions? ;)
评论 #4933930 未加载
funkieeover 12 years ago
There's this interesting narrative that develops from time to time in Hacker News. Maybe it's just observer bias, but I had never heard of requests for Python until I read an article on HN about scraping, which in turn got me interested in Python, and now a week later a major release of Requests happens with a top story on HN.
graueover 12 years ago
Is the blog post the only direct documentation of what needs to change to upgrade to 1.0?<p>Details seem relatively scant. But maybe that's because response.json() is the only feature I'm using that changed...
alexholehouseover 12 years ago
This is great new - I recently integrated requests into my current project, and it's made many things a lot easier!
nicolaspover 12 years ago
Is the verbose mode still around? Not having any configuration is nice, but what replaces this?<p><pre><code> session.config['verbose'] = sys.stderr </code></pre> I couldn't find anything about it in the API docs.
评论 #4933873 未加载
isabreover 12 years ago
Used Requests in one of my projects. Definitely one of the best modules out there. Great news for all Python devs.
bob_hancockover 12 years ago
Last week, I showed requests to a class of sysadmins to whom I was teaching Python and they were blown away. Great work.
SiValover 12 years ago
This sounds great. I assume it's Python 3, right?
评论 #4932969 未加载
jkbrover 12 years ago
Congrats, Kenneth!<p>Any hints on how to solve these incompatibilities between HTTPie and Requests v1.0 appreciated: <a href="https://github.com/jkbr/httpie/issues/113" rel="nofollow">https://github.com/jkbr/httpie/issues/113</a>.
domrdyover 12 years ago
Very nice, Thank you! I'm curious, why did you remove the json property?
评论 #4933127 未加载
评论 #4933027 未加载
评论 #4933095 未加载
michaelmiorover 12 years ago
Looks great! Unfortunately this broke one of our external dependencies which was careless enough to specify any version greater than 0.14.
评论 #4934814 未加载
评论 #4936952 未加载
Radimover 12 years ago
Good job I guess (I use `requests` all the time and didn't even notice any issues, that's how neat it is). But the marketing-speak here makes my hair bristle!<p>"Requests is SEXY AWESOME!" "No wait, it's crap, complex, hard-to-follow code. But the NEW version is SEXY AWESOME!" (...at least until the next release, I suppose)
评论 #4932593 未加载
cmanciniover 12 years ago
Congrats. Requests has been super useful to me. Awesome stuff.
fatbirdover 12 years ago
Congratulations Kenneth! Well earned, well deserved.
krosover 12 years ago
Next step... Tablib v1.0? ;)
评论 #4933326 未加载
leoplctover 12 years ago
What's the equivalent for Ruby?
评论 #4934642 未加载
评论 #4933715 未加载
jimmytucsonover 12 years ago
Can we all agree that it's a little weird to pause mid-article to fawn upon one's own code?<p>I love Kenneth Reitz and admire his skill but "come on, man."
评论 #4933998 未加载