[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70736":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":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},70736,"httpx","encode\u002Fhttpx","encode","A next generation HTTP client for Python. 🦋","https:\u002F\u002Fwww.python-httpx.org\u002F",null,"Python",15296,1167,120,147,0,17,47,51,44.2,"BSD 3-Clause \"New\" or \"Revised\" License",false,"master",true,[26,27,28,29],"asyncio","http","python","trio","2026-06-12 02:02:42","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.python-httpx.org\u002F\">\u003Cimg width=\"350\" height=\"208\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fencode\u002Fhttpx\u002Fmaster\u002Fdocs\u002Fimg\u002Fbutterfly.png\" alt='HTTPX'>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cstrong>HTTPX\u003C\u002Fstrong> \u003Cem>- A next-generation HTTP client for Python.\u003C\u002Fem>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fencode\u002Fhttpx\u002Factions\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fencode\u002Fhttpx\u002Fworkflows\u002FTest%20Suite\u002Fbadge.svg\" alt=\"Test Suite\">\n\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fhttpx\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fbadge.fury.io\u002Fpy\u002Fhttpx.svg\" alt=\"Package version\">\n\u003C\u002Fa>\n\u003C\u002Fp>\n\nHTTPX 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---\n\nInstall HTTPX using pip:\n\n```shell\n$ pip install httpx\n```\n\nNow, let's get started:\n\n```pycon\n>>> import httpx\n>>> r = httpx.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\n$ pip install 'httpx[cli]'  # The command line client is an optional dependency.\n```\n\nWhich now allows us to use HTTPX directly from the command-line...\n\n\u003Cp align=\"center\">\n  \u003Cimg width=\"700\" src=\"docs\u002Fimg\u002Fhttpx-help.png\" alt='httpx --help'>\n\u003C\u002Fp>\n\nSending a request...\n\n\u003Cp align=\"center\">\n  \u003Cimg width=\"700\" src=\"docs\u002Fimg\u002Fhttpx-request.png\" alt='httpx http:\u002F\u002Fhttpbin.org\u002Fjson'>\n\u003C\u002Fp>\n\n## Features\n\nHTTPX builds on the well-established usability of `requests`, and gives you:\n\n* A broadly [requests-compatible API](https:\u002F\u002Fwww.python-httpx.org\u002Fcompatibility\u002F).\n* An integrated command-line client.\n* HTTP\u002F1.1 [and HTTP\u002F2 support](https:\u002F\u002Fwww.python-httpx.org\u002Fhttp2\u002F).\n* Standard synchronous interface, but with [async support if you need it](https:\u002F\u002Fwww.python-httpx.org\u002Fasync\u002F).\n* Ability to make requests directly to [WSGI applications](https:\u002F\u002Fwww.python-httpx.org\u002Fadvanced\u002Ftransports\u002F#wsgi-transport) or [ASGI applications](https:\u002F\u002Fwww.python-httpx.org\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\n$ pip install httpx\n```\n\nOr, to include the optional HTTP\u002F2 support, use:\n\n```shell\n$ pip install httpx[http2]\n```\n\nHTTPX requires Python 3.9+.\n\n## Documentation\n\nProject documentation is available at [https:\u002F\u002Fwww.python-httpx.org\u002F](https:\u002F\u002Fwww.python-httpx.org\u002F).\n\nFor a run-through of all the basics, head over to the [QuickStart](https:\u002F\u002Fwww.python-httpx.org\u002Fquickstart\u002F).\n\nFor more advanced topics, see the [Advanced Usage](https:\u002F\u002Fwww.python-httpx.org\u002Fadvanced\u002F) section, the [async support](https:\u002F\u002Fwww.python-httpx.org\u002Fasync\u002F) section, or the [HTTP\u002F2](https:\u002F\u002Fwww.python-httpx.org\u002Fhttp2\u002F) section.\n\nThe [Developer Interface](https:\u002F\u002Fwww.python-httpx.org\u002Fapi\u002F) provides a comprehensive API reference.\n\nTo find out about tools that integrate with HTTPX, see [Third Party Packages](https:\u002F\u002Fwww.python-httpx.org\u002Fthird_party_packages\u002F).\n\n## Contribute\n\nIf you want to contribute with HTTPX check out the [Contributing Guide](https:\u002F\u002Fwww.python-httpx.org\u002Fcontributing\u002F) to learn how to start.\n\n## Dependencies\n\nThe HTTPX project relies on these excellent libraries:\n\n* `httpcore` - The underlying transport implementation for `httpx`.\n  * `h11` - HTTP\u002F1.1 support.\n* `certifi` - SSL certificates.\n* `idna` - Internationalized domain name support.\n* `sniffio` - Async library autodetection.\n\nAs well as these optional installs:\n\n* `h2` - HTTP\u002F2 support. *(Optional, with `httpx[http2]`)*\n* `socksio` - SOCKS proxy support. *(Optional, with `httpx[socks]`)*\n* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*\n* `click` - Command line client support. *(Optional, with `httpx[cli]`)*\n* `brotli` or `brotlicffi` - Decoding for \"brotli\" compressed responses. *(Optional, with `httpx[brotli]`)*\n* `zstandard` - Decoding for \"zstd\" compressed responses. *(Optional, with `httpx[zstd]`)*\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>HTTPX is \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fencode\u002Fhttpx\u002Fblob\u002Fmaster\u002FLICENSE.md\">BSD licensed\u003C\u002Fa> code.\u003Cbr\u002F>Designed & crafted with care.\u003C\u002Fi>\u003Cbr\u002F>&mdash; 🦋 &mdash;\u003C\u002Fp>\n","HTTPX 是一个面向 Python 3 的下一代 HTTP 客户端库。它支持 HTTP\u002F1.1 和 HTTP\u002F2 协议，提供了同步和异步两种 API，并集成了命令行客户端。该库基于成熟的 `requests` 库设计，具有广泛兼容的 API，同时新增了对 WSGI 和 ASGI 应用的支持、严格的超时控制以及全面的类型注解等特性。HTTPX 适用于需要进行高效网络请求处理的各种场景，特别是那些要求高性能和灵活性的 Web 开发项目。",2,"2026-06-11 03:33:54","high_star"]