News for hackers. Stuff that matters.

mmmaantu

Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @03:43PM (#46266683)
Yes httpx is badly broken. Eg its connection pooling implementation is not great at all. There are various issues in httpx/httpcore. There are also old open PRs trying to fix issues but maintainer(s) are just not intrested.
Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @03:28PM (#46266539)
pycurl doesnt support async, right?
Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @03:26PM (#46266515)
Httpx/httpcore are abandoned and their connection pooling etc implementations are completely broken https://github.com/encode/httpx/issues/3215 Many PRs trying to fix varying issues https://github.com/encode/httpcore/pulls But maintainer(s) are not intrested in fixing any of the issues.
Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @03:08PM (#46266343)
Building pyreqwest, a high-performance Python HTTP client backed by Rust’s reqwest. It has gotten quite feature rich: async and sync APIs, similar ergonomic interface of reqwest, full type hints, and built-in testing/mocking. It has no unsafe code, and no Python-side dependencies. (Started after getting too annoyed with all the issues httpx has.)

https://github.com/MarkusSintonen/pyreqwest

Re:Ask HN: What Are You Working On? (October 2025) on Monday October 13, 2025 @01:21AM (#45564922)
I have been working on a new Python HTTP client which is 100% Rust-based (sync+async). Using reqwest under the hood and providing everything it has to offer to Python land + much more. Also including mocking capabilities. Here: https://github.com/MarkusSintonen/pyreqwest

Started from the poor state of many Python HTTP clients and poor testing utilities there is for them. (Eg the neglected state of httpx and its all perf issues)

Show HN: Pyreqwest – Powerful and fast Rust-reqwest based HTTP client for Python

https://github.com/MarkusSintonen/pyreqwest

Python has lacked a batteries-included HTTP library that would have both async and sync clients. Httpx (httpcore), which has offered this, is unfortunately pretty much unmaintained and suffering from huge perf issues (https://github.com/encode/httpx/issues/3215).I built pyreqwest HTTP client for Python that is fully Rust based on top of reqwest. It includes all features reqwest offers plus...

( Read More... | no comments | 2 points | on HN )
Re:Whose code am I running in GitHub Actions? on Tuesday March 25, 2025 @03:19PM (#43474802)
SHA pinning won't necessarily help if the dependency you are pinning doesn't pin its own dependencies! You still get stuff pulled via vulnerable tags etc. How long till we get this https://github.com/github/roadmap/issues/592 ...