Hacker GitHub

← All repos

psf/requests

View on GitHub ↗ ★ 54,813 Python

A simple, yet elegant, HTTP library.

55 mentions on Hacker News by 49 people: 5 stories, 50 comments · first 2017-08-14 · latest 2026-09-21

Mentions per year 55 mentions · busiest year 2025 (10)
20082026
  1. …depend on modern versions of Python packages. Many packages no longer receive updates for 3.8 (e.g. https://github.com/psf/requests ), let alone 3.3, and many others simply don't run on these older python versions (e.g.…
    comment by kylebebak · 2026-09-21 · in Sublime Text Build 4213
  2. …which does cause some pain [1] https://github.com/rustls/rustls-native-certs/issues/16#issu... [2] https://github.com/psf/requests/issues/2899 [3] https://pypi.org/project/certifi/
  3. …[1] https://learn.microsoft.com/en-us/dotnet/api/system.net.webr... [2] https://github.com/psf/requests/blob/main/HISTORY.md#001-201...
    comment by Kwpolska · 2026-03-25 · in Why I forked httpx
  4. …about effective static analysis and/or program verification to a higher standard than this. [1]: https://github.com/psf/requests/blob/4bd79e397304d46dfccd76f...
    comment by woodruffw · 2026-02-23 · in How to train your program verifier
  5. There's been a branch for it ( https://github.com/psf/requests/tree/hatchling ) for a little while apparently; I guess they won't merge it until absolutely necessary for the 2.33 release. But that is still just over a year after I offered…
    comment by zahlman · 2025-12-27 · in How uv got so fast
  6. …most popular packages on PyPI (Requests is top ten) * had their "source builds" break this year ( https://github.com/psf/requests/issues/6775 ) because of a removed import in setup.py for something that nobody has actually used for years…
    comment by zahlman · 2025-12-19 · in Breaking Changes in Python-3.14
  7. …uses. And I was curious, what versions of urllib3 does Requests pull in? Well, according to https://github.com/psf/requests/blob/main/setup.cfg , it's this: urllib3>=1.21.1,<3 That is exactly the kind of dependency specification I would…
  8. …to Requests a few years ago, they feel it's the application's responsibility, discussion here: https://github.com/psf/requests/issues/5724
  9. and it is from the beginning: https://github.com/psf/requests/commit/79bb9ee1417afe2231972...
  10. Patch has now been merged, seems the Full Disclosure process works, https://github.com/psf/requests/pull/6965
  11. To be fair, the advice from sigmavirus24 was about dealing with decoding the ':' character: https://github.com/psf/requests/pull/2936/files The code already had `host = ri.netloc.split(':')[0]` before that. The actual root issue is…
  12. You are right! https://github.com/psf/requests/blob/c65c780849563c891f35ffc... The post function calls request the request function which uses its own context manager that will call the close function of the connection object.
  13. …copies included in Pip.) * Requests has been bitten by a Setuptools removal before, last July ( https://github.com/psf/requests/issues/6775 ). That time, the removal was the only reason for bumping the version number, and then it got…
  14. …history, updates have been sparse lately, even though there are still many unresolved issues. [1] https://github.com/psf/requests/issues/6655 [2] https://github.com/psf/requests/pull/6667 [3] https://github.com/psf/requests/issues/6730 [4]…
  15. …itself, a lot of library authors have made questionable decisions here. A perennial contender is https://github.com/psf/requests/issues/2002 .
    comment by FreakLegion · 2024-11-15 · in The Pythonic Emptiness
  16. …that functionality was grossly unnecessary and wasn't actually being used (notably: Requests - https://github.com/psf/requests/issues/6775 - and Celery - https://github.com/celery/celery/issues/9157 ). Setuptools is one of the most popular…
    comment by zahlman · 2024-08-22 · in Vanilla Python Packaging
  17. …There’s a lot of comments on the issue, but no commitment to implement or close as “won’t fix”. https://github.com/psf/requests/issues/3070
    comment by cpeterso · 2023-06-22 · in Go 1.21 Release Candidate
  18. …de.python.org/getting-started/setup-building/i... The "requests" module in Python (does not use curl) https://github.com/psf/requests
    comment by ddtaylor · 2023-03-20 · in I Could Rewrite Curl (2021)
  19. AFAIK the "requests" module in python (the most popular one) doesn't actually depend on curl: https://github.com/psf/requests
    comment by ddtaylor · 2023-03-20 · in I Could Rewrite Curl (2021)
  20. …known to be well written and look through their code. I believe this was a good one back in my day. https://github.com/psf/requests
  21. …potential contributions. Or so I've read. Here's one discussion about it in the requests repo https://github.com/psf/requests/issues/2424
    comment by Frotag · 2023-01-04 · in Urllib3 in 2022
  22. Some of the links in the paragraph about python-requests have bitrotted. Fixed links: https://github.com/psf/requests/issues/3729 https://foss.heptapod.net/pypy/cffi/-/issues/295
    comment by jwilk · 2022-11-13 · in Why does calloc exist? (2016)
  23. …requests documentation is hosted on ReadTheDocs already. Also you can generate the docs yourself: https://github.com/psf/requests/blob/main/docs/Makefile#L25 I find your focus on the domain kind of odd to be honest. I'm not really sure why…
  24. From https://github.com/psf/requests/issues/6140 : > The domain is still owned by Kenneth and the maintainers haven't had access to it in quite some time. and: > For those looking for alternatives, https://requests.readthedocs.io/en/latest/…
  25. GitHub issue: https://github.com/psf/requests/issues/6140
  26. …interesting question. Are you interested in any particular languages? For Python, take a look at: https://github.com/psf/requests
  27. …in python[1]. To quote Kenneth Reitz: "...the standard library is where a library goes to die." [1] https://github.com/psf/requests/issues/2424
    comment by damagednoob · 2022-01-01 · in Go Fuzzing
  28. No, this requests: https://github.com/psf/requests
  29. Happy to see my favourite library Python Requests[1] on the list. Congrats team. [1] - https://github.com/psf/requests
    comment by abinaya_rl · 2021-04-20 · in Open Source Goes to Mars
  30. …requests started to depend on a new urllib3 version that now indirectly requires cryptography - https://github.com/psf/requests/commit/99fa7bec On 2018-01-30, portage started to enable the +rsync-verify USE flag by default, which relies on…
  31. …is a longstanding issue [1] to add a default timeout, but so far that hasn't happened yet. [1]: https://github.com/psf/requests/issues/3070
    comment by Dunedan · 2020-08-29 · in Don't trust default timeouts
  32. I absolutely agree. According to this comment [1] they're planning to introduce it in v3. [1] https://github.com/psf/requests/issues/3070#issuecomment-328...
  33. …namespace ...` and haven't seen much `using ...;` (which I think is more readable/acceptable) [1] https://github.com/psf/requests/blob/df918c066fa275abc2bb0c9... [2] https://docs.python.org/3/library/os.html#os.walk [3]…
    comment by pfranz · 2020-02-28 · in TOML for Modern C++
  34. I always wondered why it was in the requests source code. https://github.com/psf/requests/blob/9b95b4e7b4df1865b058161...
    comment by LiamPa · 2020-01-24 · in Hyper Text Coffee Pot Control Protocol
  35. It looks like requests is now owned by PSF. https://github.com/psf/requests But IDK why requests3 wasn't transferred as well, and why issues appear to be disabled on the repo now. The docs reference a timeout arg (that appears to default…
  36. …have been given if PSF had been an option. I don't even see NJS on the requests contributor list: https://github.com/psf/requests/blob/master/AUTHORS.rst Finally, requests 3 has a number of features.
    comment by privateSFacct · 2019-11-15 · in Why Is the Migration to Python 3 Taking So Long?
  37. …domains for an hour. Down to 26. But the links on the now-transferred-to-PSF repo are not updated: https://github.com/psf/requests
  38. Downgraded from "You can trust this code" to "You may certianly put your trust in this code" in https://github.com/psf/requests/commit/9d4fd3c968b134d98ed27...
  39. …third-party library in the Python ecosystem has a git history that looks like that[0]? [0] https://github.com/psf/requests/commits/master
    comment by nicolaslem · 2019-09-19 · in Requests moved to Python Software Foundation
  40. …has a truthiness equivalent to request success . Can easily trip you to with `res and res.content` https://github.com/psf/requests/blob/master/requests/models.... https://stackoverflow.com/questions/48347290/why-does-reques...
    comment by np_tedious · 2019-08-10 · in I am a horse in the land of booleans
  41. …documentation: https://github.com/kubernetes/kubernetes/blob/ec2e767e593953... Requests for Python https://github.com/psf/requests
  42. …first as a user. When it comes to writing code for the user Kenneth Reitz is the master in my eyes. https://github.com/requests/requests
  43. I like Kenneth's comments: https://github.com/requests/requests/blob/master/requests/pa...
  44. High quality code and one of the best APIs i ever used: https://github.com/requests/requests Best source code layout, architecture, maintainability: https://github.com/rg3/youtube-dl
  45. The requests codebase is really well written and it has a beautiful api https://github.com/requests/requests
  46. …rewrites or replacements of libraries required to actually take advantage of the features (e.g. https://github.com/requests/requests vs. https://github.com/aio-libs/aiohttp ). With gevent, I can just put whatever code I want into a…
    comment by meowface · 2018-07-26 · in The security model of WebAssembly
  47. …yourself and throw a "element X is missing field Y that should always be there" message. [1] - https://github.com/requests/requests/blob/master/requests/se... [2] - http://docs.python-requests.org/en/master/user/advanced/#ses... [3] -…
  48. How about Requests? https://github.com/requests/requests/search?utf8=%E2%9C%93&q...
    comment by mrgriffin · 2017-10-18 · in Why we switched from Python to Go
  49. I always look to requests in how python should be used: https://github.com/requests/requests
    comment by LiamPa · 2017-10-02 · in Interesting Codebases
  50. https://github.com/requests/requests/blob/3c5ecfc9f5f6fd2953...
    comment by ericfrederich · 2017-08-14 · in Reserve the 418 status code