Hacker GitHub

← All repos

kennethreitz/requests

View on GitHub ↗ ★ 313 Python

A simple, yet elegant HTTP library.

34 mentions on Hacker News by 31 people: 7 stories, 27 comments · first 2011-08-04 · latest 2019-03-18

Mentions per year 34 mentions · busiest year 2011 (5)
20082026
  1. requests uses urllib3: https://github.com/kennethreitz/requests/blob/75bdc998e2d430... hannob opened an issue asking about this: https://github.com/urllib3/urllib3/issues/1553
  2. The older method is docstrings (reST and similar) like here: https://github.com/kennethreitz/requests/blob/master/request... IDEs like PyCharm can use those and other methods to find most typing issues. In practice this is very effective…
    comment by asddddd · 2017-04-23 · in Python, as Reviewed by a C++ Programmer
  3. https://github.com/pallets/flask and https://github.com/kennethreitz/requests both in python, but beautiful code, well structured and you would not need any docs, just read the code
  4. …a page size tool I hacked up. [2] Reference [0] https://tools.ietf.org/html/rfc2616#section-6 [1] https://github.com/kennethreitz/requests [2] https://github.com/peterrenshaw/pageglut
    comment by bootload · 2017-02-10 · in Monitor web page changes with Go
  5. …overview of the requests library, most of the lines over 80 characters are just laziness such as: https://github.com/kennethreitz/requests/blob/master/tests/t... And a few of the actual potential cases for going over 80 characters can…
    comment by zepolen · 2017-01-23 · in If I could amend PEP 8
  6. …distribution would have made it more difficult for them to innovate in their current way. [0] [0] https://github.com/kennethreitz/requests/issues/2424
    comment by shakna · 2017-01-14 · in Rust and the limits of swarm design
  7. …handy as well [1]. The Django project is also good reading. [2], [3] [0] - Requests code: https://github.com/kennethreitz/requests [1] - Requests documentation: http://docs.python-requests.org/en/master/ [2] - Django code:…
    comment by japhyr · 2016-12-19 · in One Way to Improve Your Coding
  8. github also does versioned releases, no? https://github.com/kennethreitz/requests/releases as an example
  9. ▲ 3
    V2.10.0 – Kennethreitz/requests: SOCKS Proxy Support
    story by edward · 2016-04-30 · 0 comments
  10. …extras. In this particular case, this installs 'pyOpenSSL>=0.13', 'ndg-httpsclient', 'pyasn1'. See: https://github.com/kennethreitz/requests/blob/46184236dc177f...
    comment by krallin · 2016-03-02 · in A Better Pip Workflow
  11. …this workflow has a little drawback. If you have a dependency not from pipy, e.g. `pip install git+ssh://github.com/kennethreitz/requests.git@master`, it won't work.
    comment by xuan · 2016-03-02 · in A Better Pip Workflow
  12. Yeah, so this is an interesting feature because in my experience it doesn't work. [We added one]( https://github.com/kennethreitz/requests/blob/master/CONTRIB... ) for the Requests module a little while ago because we kept getting bug…
    comment by Lukasa · 2015-12-30 · in Starters and Maintainers
  13. …) * Werkzeug ( https://github.com/mitsuhiko/werkzeug ) * Requests ( https://github.com/kennethreitz/requests ) * Tablib ( https://github.com/kennethreitz/tablib ) Hope that helps---good luck!
    comment by aaronjgreenberg · 2015-07-16 · in Ask HN: Good Python codebases to read?
  14. Requests - https://github.com/kennethreitz/requests . How to make a usable api. The decisions that went into each method call were fantastic. Great test coverage as well. I use package in most python development.
    comment by clinth · 2015-07-16 · in Ask HN: Good Python codebases to read?
  15. Session objects have been pickle-able since 2013: https://github.com/kennethreitz/requests/pull/1243
  16. ▲ 3
    Should requests be added to the Python Standard Library?
    story by gamesbrainiac · 2015-01-25 · 0 comments
  17. Instead of curl I was usually writing https://github.com/kennethreitz/requests
  18. …of ISO-8859-1), because that's what the RFC says they should do. Hopefully, they'll reconsider now. https://github.com/kennethreitz/requests/issues/1737 https://github.com/kennethreitz/requests/issues/2086
    comment by itsadok · 2014-06-08 · in HTTP/1.1 just got a major update
  19. …can do to make SNI work in 2.7 with requests but it is way too complicated for most deployments: https://github.com/kennethreitz/requests/blob/master/request... I've actually done this once. Took all day.
    comment by jccooper · 2014-05-11 · in If You Can Read This, You're SNIing
  20. …curl ( http://curl.haxx.se/docs/manpage.html#-L ) (and presumably libcurl), Python's requests ( https://github.com/kennethreitz/requests/blob/master/request... ) library, Python's urllib.request ( http://docs.python.org/3.3/library/urllib.r…
    comment by Lukasa · 2014-02-17 · in HTTP 308 Incompetence Expected
  21. ▲ 1
    Lets remove bundling urllib3 from requests
    story by sontek · 2013-12-18 · 0 comments
  22. ▲ 1
    Balanced is hiring #8
    story by mahmoudimus · 2013-11-23 · 0 comments
  23. ▲ 1
    Balanced is hiring #7
    story by mahmoudimus · 2013-10-10 · 0 comments
  24. …the best way to go about it as I stumbled around. It's a good codebase and an awesome library. [1] https://github.com/kennethreitz/requests/pull/1507
    comment by erydo · 2013-09-24 · in Requests v2.0 Python module released
  25. ▲ 1
    Balanced is looking for great software engineers
    story by mahmoudimus · 2013-09-24 · 0 comments
  26. …says being able to specify the outbound IP of an HTTP request is out of the scope of his module??? https://github.com/kennethreitz/requests/issues/394 That's why I am still using urllib2.
    comment by codexon · 2012-11-11 · in Python for Humans
  27. Link, for the interested: https://github.com/kennethreitz/requests
  28. Requests: HTTP for Humans Lovely code and good documentation https://github.com/kennethreitz/requests Also checkout the Hitchhiker's Guide to Python http://docs.python-guide.org/en/latest/index.html
    comment by easonchan42 · 2012-04-06 · in Where is excellent Python code?
  29. ▲ 1
    Python requests now supports Py3K
    story by yuvadam · 2012-01-23 · 0 comments
  30. It's unreleased, and therefore completely undocumented at the moment. But here's the API: https://github.com/kennethreitz/requests/issues/98
    comment by kenneth_reitz · 2011-10-10 · in Python Requests: HTTP for Humans
  31. …failed to—it's neither in the front page example, or in the API documentation for Response. [1] https://github.com/kennethreitz/requests/issues/105
    comment by beaumartinez · 2011-08-14 · in Requests: HTTP for Humans
  32. Quick question on the code. I'm looking at this commit: https://github.com/kennethreitz/requests/commit/773630b0109c... and wondering what "from .status_codes import codes" does? Specifically the fact that it's not "status_codes" and has a…
    comment by bialecki · 2011-08-14 · in Requests: HTTP for Humans
  33. …API support for the common ones. here's the api for a generic request, get is right under it: https://github.com/kennethreitz/requests/blob/develop/reques...
    comment by izak30 · 2011-08-14 · in Requests: HTTP for Humans
  34. https://github.com/mitsuhiko/flask https://github.com/kennethreitz/requests Both are 'small to medium' size projects, both are active and well-known in the Python community, both have friendly maintainers (Armin and Kenneth) that are…
    comment by swanson · 2011-08-04 · in Ask HN: Which OSS projects needs help?