frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I forked Python's Requests to add HTTP/3, async, and multiplexing

https://github.com/jawah/niquests/tree/v3.18.2
5•mesahm•1h ago

Comments

mesahm•1h ago
Hi HN,

I'm the maintainer of Niquests.

For years, Python's Requests library was the gold standard, but it has been under feature freeze. As the web moved on, the Python ecosystem fractured: we got aiohttp (async only) and httpx (great, but currently struggles in high throughput scenarii for years with no visible solution merged so far).

I wanted the beautiful, ergonomic API of requests, but I wanted it to speak the modern web and solve most seen struggles around HTTP consumption. So I built Niquests as a drop-in replacement, you can literally do import niquests as requests. I didn't want to reinvent the wheel, I wanted to start on solid ground. Requests and urllib3 are both rock solid, so this was the starting point, learning from them and extend them for the modern web.

Under the hood, it's a different beast. I've added:

* HTTP/2 & HTTP/3 over QUIC out of the box * Multiplexing and full thread/task safety (fixed the old concurrency bottlenecks over thousands of TCP connections) * OS trust store support by default (no more certifi issues) * Both sync and async support (in one library) * Deep DNS control (DoH, DoQ, DoT, DNSSEC), "Happy Eyeballs" for fast connects * Integrated WebSocket extension over HTTP/1, HTTP/2, and HTTP/3 * Works in WASM (Pyodide), and compatible with ASGI/WSGI apps * And much more(...)

Here’s a real-world benchmark: Niquests completes a 1000-request multiplexed workload in 0.55s, compared to httpx (2.08s) and aiohttp (1.35s). See https://gist.github.com/Ousret/9e99b07e66eec48ccea5811775ec1... to verify yourself. And yes it does scale as long as your server can take it.

I've worked hard to make this the most advanced Python HTTP client. without losing the simplicity and readability we love from requests.

Would love feedback, technical questions (especially around HTTP/2+ and multiplexing!), or discussion about the state of Python HTTP clients.

mesahm•1h ago
And most importantly, we managed to get almost every plugin/3rd party tool bound to Requests in a working condition with this fork.

Elusive Cost Savings of Pre-fabricated homes

https://www.construction-physics.com/p/the-elusive-cost-savings-of-the-prefabricated
1•HR01•50s ago•0 comments

Why yes, you *can* agentically code wherever you SSH

https://ivoras.substack.com/p/why-yes-you-can-agentically-code
1•taubek•1m ago•0 comments

Social media is an ant mill

https://www.youtube.com/watch?v=3J_obzqM5K0
1•frag•1m ago•0 comments

If you can't trust AI with a credit card, just give it a prepaid card

https://agentcard.sh/
1•haebom•1m ago•0 comments

The Road Runner Economy

https://nraford7.github.io/road-runner-economy/
1•markusw•2m ago•0 comments

Researchers have demonstrated magnetic particle imaging on humans

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/mpi-humans/
1•giuliomagnifico•3m ago•0 comments

Iran Drone War Ode Model

https://policytensor.substack.com/p/why-the-us-is-facing-strategic-defeat
1•harperlee•5m ago•0 comments

My Claude Code Setup

https://freek.dev/3026-my-claude-code-setup
1•speckx•6m ago•0 comments

Show HN: RAG Doctor – CLI tool to diagnose broken RAG pipelines

https://ragdoctor.dev/
1•anvarxadja•7m ago•1 comments

Web Rewind

https://www.web-rewind.com/
1•thunderbong•7m ago•0 comments

Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold

https://www.jsnover.com/blog/2026/03/13/microsoft-hasnt-had-a-coherent-gui-strategy-since-petzold/
2•mpweiher•10m ago•0 comments

From Run Nation to Power Slap: New Sports Designed for Social Media

https://www.theguardian.com/sport/2026/mar/13/run-nation-power-slap-carjitsu-tgl-golf-typti-sport...
1•yk•11m ago•1 comments

Stanag 5516M-STD-6016 TADIL-J J-Series schema reconstruction from public docs

https://liotier.github.io/Ersatz-MIL-STD-6016/
1•liotier•11m ago•0 comments

Want to Win a New CanaKit Raspberry Pi 5 Starter Kit Pro?

1•pgedge_postgres•13m ago•0 comments

Prompt engineering vs. context engineering: a practical guide for AI builders

https://memgraph.com/blog/prompt-engineering-vs-context-engineering
1•taubek•14m ago•0 comments

Solder Ninja Pen: USB-powered soldering iron compatible with Weller RT tips

https://www.crowdsupply.com/sitron-labs/solder-ninja-pen
2•oxplot•21m ago•0 comments

OSS Document Scanner

https://www.akylas.fr/OSS-DocumentScanner/
1•farfromrefuge•23m ago•1 comments

Show HN: Line, Language with Intuitive and Natural Expression

https://github.com/Qc-17/LINE
1•Qc17•24m ago•1 comments

40 Years of Wireless Evolution Leads to a Smart, Sensing Network

https://spectrum.ieee.org/telecom-history-1g-to-6g
2•canarymark•25m ago•0 comments

Analysis → Implementation → Reflection – a practical technique for agentic AI

https://blog.scottlogic.com/2026/03/05/analysis-implementation-reflection-practical-techniques.html
1•ColinEberhardt•27m ago•0 comments

Phoenix Arizona is likely to see its earliest 100f(38c) day on record, in March

https://www.cnn.com/2026/03/12/weather/record-heat-west-eastern-cold-whiplash
3•b33f•28m ago•0 comments

Automating the Ticket-to-PR Cycle for Power Platform Code Apps with Azure DevOps

https://agent22.sh/blog/automating-power-platform-code-app-development-with-agent22/
1•cubixle•28m ago•0 comments

Hacking the Job Interview

https://xdg.me/hacking-the-job-interview/
2•ZacnyLos•29m ago•0 comments

"Agentic" is only a marketing term

https://www.yourbroadideas.com/agentic-is-only-a-marketing-term
5•mcauldronism•30m ago•0 comments

Ask HN: Got cancer, a new job,new boss in less than a year What do I do now?

2•Goleniewski•30m ago•0 comments

Gaming on the New MacBook Neo [video]

https://www.youtube.com/watch?v=uOe-Ock4pnw
2•throwaway270925•31m ago•1 comments

Ask HN: How are remote engineers outside US/EU landing paid startup contracts?

1•valentinza•31m ago•0 comments

Show HN: Wardstone – Prompt injection and jailbreak detection API

https://wardstone.ai
1•jaaackrl•32m ago•0 comments

Show HN: Who watches the watchmen? A public decision track record for AI agents

https://www.agent-smith.org/
2•hleichsenring•32m ago•0 comments

Selling Selfcontext.com Domain

https://selfcontext.com/
1•AVancans•35m ago•0 comments