Better HN
topnewbestaskshowjobs
Log inSign up

mmmaantu

54 karma · joined Mar 25, 2025 (1y ago) · 8 submissions

Submissions

comment 6d ago · link · parent

Unfortunately the proof seems to be invalid: https://philarchive.org/rec/NIEIOM

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

pycurl doesnt support async, right?

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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

comment 1y ago · link · parent

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)

7.

Show HN: Pyreqwest – Powerful and fast Rust-reqwest based HTTP client for Python(github.com ↗)

3 points · by mmmaantu · 1y ago · discuss

comment 1y ago · link · parent

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 ...