[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75562":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},75562,"httpx2","pydantic\u002Fhttpx2","pydantic","A next generation HTTP client for Python. 🦋","https:\u002F\u002Fpydantic.dev\u002Fdocs\u002Fhttpx2",null,"Python",524,27,9,92,0,26,84,496,87,8.34,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",[],"2026-06-12 02:03:35","\u003Ch1 align=\"center\">HTTPX2\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cem>A next-generation HTTP client for Python.\u003C\u002Fem>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpydantic\u002Fhttpx2\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fpydantic\u002Fhttpx2\u002Fworkflows\u002FTest%20Suite\u002Fbadge.svg\" alt=\"Test Suite\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fhttpx2\u002F\">\u003Cimg src=\"https:\u002F\u002Fbadge.fury.io\u002Fpy\u002Fhttpx2.svg\" alt=\"Package version\">\u003C\u002Fa>\n\u003C\u002Fp>\n\nHTTPX2 is a fully featured HTTP client library for Python 3. It includes **an integrated command line client**, has support for both **HTTP\u002F1.1 and HTTP\u002F2**, and provides both **sync and async APIs**.\n\n> [!NOTE]\n> HTTPX2 is a continuation of the wonderful work started by [@lovelydinosaur](https:\u002F\u002Fgithub.com\u002Flovelydinosaur) and the broader HTTPX community. We're enormously grateful for everything that has gone into HTTPX over the years - it has been a foundational piece of the modern Python ecosystem, and this project would not exist without it.\n>\n> With HTTPX itself seeing limited activity recently, Pydantic is picking up stewardship under the HTTPX2 name so that users have a reliably maintained path forward - including timely security updates for a library that sits in the critical path of so many production systems. Our aim is to honour the original project's design, keep it stable for everyone relying on it, and continue evolving it carefully. Thank you to [@lovelydinosaur](https:\u002F\u002Fgithub.com\u002Flovelydinosaur) and every past contributor for laying such a strong foundation. 💙\n\n---\n\nInstall HTTPX2 using pip:\n\n```shell\npip install httpx2\n```\n\nNow, let's get started:\n\n```pycon\n>>> import httpx2\n>>> r = httpx2.get('https:\u002F\u002Fwww.example.org\u002F')\n>>> r\n\u003CResponse [200 OK]>\n>>> r.status_code\n200\n>>> r.headers['content-type']\n'text\u002Fhtml; charset=UTF-8'\n>>> r.text\n'\u003C!doctype html>\\n\u003Chtml>\\n\u003Chead>\\n\u003Ctitle>Example Domain\u003C\u002Ftitle>...'\n```\n\nOr, using the command-line client.\n\n```shell\npip install 'httpx2[cli]'  # The command line client is an optional dependency.\n```\n\nWhich now allows us to use HTTPX2 directly from the command-line:\n\n```shell\nhttpx2 --help\n```\n\n## Features\n\nHTTPX2 builds on the well-established usability of `requests`, and gives you:\n\n* A broadly [requests-compatible API](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fcompatibility\u002F).\n* An integrated command-line client.\n* HTTP\u002F1.1 [and HTTP\u002F2 support](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fhttp2\u002F).\n* Standard synchronous interface, but with [async support if you need it](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fasync\u002F).\n* Ability to make requests directly to [WSGI applications](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fadvanced\u002Ftransports\u002F#wsgi-transport) or [ASGI applications](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fadvanced\u002Ftransports\u002F#asgi-transport).\n* Strict timeouts everywhere.\n* Fully type annotated.\n* 100% test coverage.\n\nPlus all the standard features of `requests`...\n\n* International Domains and URLs\n* Keep-Alive & Connection Pooling\n* Sessions with Cookie Persistence\n* Browser-style SSL Verification\n* Basic\u002FDigest Authentication\n* Elegant Key\u002FValue Cookies\n* Automatic Decompression\n* Automatic Content Decoding\n* Unicode Response Bodies\n* Multipart File Uploads\n* HTTP(S) Proxy Support\n* Connection Timeouts\n* Streaming Downloads\n* .netrc Support\n* Chunked Requests\n\n## Installation\n\nInstall with pip:\n\n```shell\npip install httpx2\n```\n\nOr, to include the optional HTTP\u002F2 support, use:\n\n```shell\npip install httpx2[http2]\n```\n\n## Documentation\n\nProject documentation is available at [https:\u002F\u002Fhttpx2.pydantic.dev\u002F](https:\u002F\u002Fhttpx2.pydantic.dev\u002F).\n\nFor a run-through of all the basics, head over to the [QuickStart](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fquickstart\u002F).\n\nFor more advanced topics, see the [Advanced Usage](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fadvanced\u002F) section, the [async support](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fasync\u002F) section, or the [HTTP\u002F2](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fhttp2\u002F) section.\n\nThe [Developer Interface](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fapi\u002F) provides a comprehensive API reference.\n\nTo find out about tools that integrate with HTTPX, see [Third Party Packages](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fthird_party_packages\u002F).\n\n## Contribute\n\nIf you want to contribute with HTTPX2 check out the [Contributing Guide](https:\u002F\u002Fhttpx2.pydantic.dev\u002Fcontributing\u002F) to learn how to start.\n\n## Dependencies\n\nThe HTTPX2 project relies on these excellent libraries:\n\n* `httpcore2` - The underlying transport implementation for `httpx2`.\n  * `h11` - HTTP\u002F1.1 support.\n* `anyio` - Structured concurrency primitives, used to support both `asyncio` and `trio`.\n* `certifi` - SSL certificates.\n* `idna` - Internationalized domain name support.\n\nAs well as these optional installs:\n\n* `h2` - HTTP\u002F2 support. *(Optional, with `httpx2[http2]`)*\n* `socksio` - SOCKS proxy support. *(Optional, with `httpx2[socks]`)*\n* `rich` - Rich terminal support. *(Optional, with `httpx2[cli]`)*\n* `click` - Command line client support. *(Optional, with `httpx2[cli]`)*\n* `brotli` or `brotlicffi` - Decoding for \"brotli\" compressed responses. *(Optional, with `httpx2[brotli]`)*\n* `zstandard` - Decoding for \"zstd\" compressed responses on Python 3.13 and below. *(Optional, with `httpx2[zstd]`. On Python 3.14+, `zstd` is supported natively via the stdlib [`compression.zstd`](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fcompression.zstd.html) module.)*\n\nA huge amount of credit is due to `requests` for the API layout that\nmuch of this work follows, as well as to `urllib3` for plenty of design\ninspiration around the lower-level networking details.\n\n---\n\n\u003Cp align=\"center\">\u003Ci>HTTPX2 is \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpydantic\u002Fhttpx2\u002Fblob\u002Fmain\u002FLICENSE.md\">BSD licensed\u003C\u002Fa> code.\u003Cbr\u002F>Designed & crafted with care.\u003C\u002Fi>\u003Cbr\u002F>&mdash; 🦋 &mdash;\u003C\u002Fp>\n","HTTPX2 是一个面向 Python 的下一代 HTTP 客户端库。它支持 HTTP\u002F1.1 和 HTTP\u002F2 协议，同时提供了同步和异步 API 接口，并且内置了一个命令行客户端。该项目基于 `requests` 库的易用性进行了扩展，不仅保持了与 `requests` 兼容的 API，还增加了对 WSGI 和 ASGI 应用程序的支持、严格的超时控制以及全面的类型注解。适用于需要进行网络请求的各种场景，尤其是那些对性能和安全性有较高要求的生产环境。此外，HTTPX2 由 Pydantic 团队维护，确保了项目的持续更新和支持。",2,"2026-06-11 03:53:01","CREATED_QUERY"]