httpx2 - Fork by Pydantic

Lobsters Hottest Tools

Summary

Pydantic has forked the httpx HTTP library to create httpx2, addressing maintenance issues. The original fork httpxyz welcomes this and encourages the community to support httpx2.

<p><a href="https://lobste.rs/s/nzqsjf/httpx2_fork_by_pydantic">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 05/14/26, 08:29 AM

# httpx2! | Blog Source: [https://tildeweb.nl/~michiel/httpx2.html](https://tildeweb.nl/~michiel/httpx2.html) ## httpx2\! It’s six weeks after we forked[httpx](https://github.com/encode/httpx)and named our package[httpxyz](https://httpxyz.org/)\. Yesterday, the Pydantic people started their own fork,[httpx2](https://github.com/pydantic/httpx2)\. TL;DR: while we think httpxyz was definitely needed, we welcome httpx2 and think it should be the ‘blessed’ fork\. ![httpxyz logo](https://tildeweb.nl/~michiel/images/httpxyz.png) ## About httpx2 ### Our fork We did a bunch of work on httpx, merging old open pull requests, forking httpcore, and making serious improvements fixing performance and other issues\. ### The Pydantic fork Straight after we made our fork, I contacted Kludex, who is among other things maintainer of Starlette, about our fork\. He said that he had also been thinking about doing a fork, but that he might prefer to do one himself, and also that he thought that ours could not get popular because it’s on Codeberg instead of on GitHub\. I’m not really sure about that last one\. While it’s true that there are still no big examples of popular Python packages on Codeberg, more and more projects are currently moving there\. Also, even though we are on Codeberg, every single day we were still gaining ‘stars’ and if the Pydantic team would have backed our fork, with their power we definitely could have made it a success\. The majority of users don’t care at what forge the code is hosted, they install from PyPI, via`pip`or`uv`\. Where the code is hosted is not really a factor in the popularity\. ### The way forward The reason I started httpxyz was because of the impasse httpx was in, and that I felt something had to be done\. It’s not that I wanted to be the maintainer of an HTTP library per se ;\-\) So now that Pydantic, with their skillful team and their powerful ecosystem of packages, is creating their own fork, there is no point really in trying to*compete*with them\. We’ll keep httpxyz up; but we will support httpx2 and will urge anyone who is trying to switch away from httpx to consider httpx2\. ### The current situation As it stands, httpx2 is lacking the performance improvements we added to httpxyz\. But it will not be long before they will add those, too\. Also they already made some smart decisions I had been unsure about: - they are switching from certifi to[truststore](https://github.com/pydantic/httpx2/pull/209) - they are switching to[compression\.zstd](https://github.com/pydantic/httpx2/pull/933)on Python 3\.14\+, enabling zstd compression by default - they[merged httpcore](https://github.com/pydantic/httpx2/commit/160c7f59d7942efe0133516c161d39139780eb45)and vendored it in their repository I have great trust in their stewardship of the module\. We don’t need ‘competing’ forks; we’ll fully support httpx2 and will encourage the community to do the same\! Thanks, and have fun\! *[Discussion on Hacker News](https://news.ycombinator.com/item?id=48127570)*

Similar Articles

httpx2

Hacker News Top

HTTPX2 is a next-generation HTTP client library for Python, continuing HTTPX's legacy with added features like HTTP/2 support and async APIs, now maintained by Pydantic.

htmx 4.0.0 has been released

Lobsters Hottest

htmx 4.0.0 has been released, featuring major changes like explicit attribute inheritance, standardized event names, and a migration from XMLHttpRequest to fetch() API, with minimal behavioral differences from version 2.

HTMX Is So Cool I Rolled My Own

Lobsters Hottest

The article explores HTMX, a library that favors server-rendered HTML over JavaScript-heavy frontends. The author finds HTMX useful for persistent UI components but ultimately decides to roll their own solution due to personal preference for minimal dependencies.

what the double-fork?

Lobsters Hottest

A devlog explaining the double-fork technique for creating robust POSIX daemons, covering forks, sessions, and controlling terminals in the context of building zmx in Zig.

On forking the Web

Lobsters Hottest

Developer Rodrigo Arias Mallo proposes forking the Web by creating an alternative, simplified HTML/Web specification with goals including strict semantic versioning, a formal unambiguous grammar, and a size-constrained spec to encourage browser diversity. The proposal is linked to the lightweight Dillo browser project.