{"repo":"encode/httpx","free":true,"listed":false,"github":"https://github.com/encode/httpx","clone":"git clone https://github.com/encode/httpx.git","description":"A next generation HTTP client for Python. 🦋","language":"Python","stars":15429,"topics":["python","http","trio","asyncio"],"license":"BSD-3-Clause","category":"api-integrations-sdks","readme_excerpt":"HTTPX - A next-generation HTTP client for Python. HTTPX is a fully featured HTTP client library for Python 3. It includes an integrated command line client , has support for both HTTP/1.1 and HTTP/2 , and provides both sync and async APIs . --- Install HTTPX using pip: Now, let's get started: Or, using the command-line client. Which now allows us to use HTTPX directly from the command-line... Sending a request... Features HTTPX builds on the well-established usability of requests , and gives you: A broadly requests-compatible API. An integrated command-line client. HTTP/1.1 and HTTP/2 support. Standard synchronous interface, but with async support if you need it. Ability to make requests directly to WSGI applications or ASGI applications. Strict timeouts everywhere. Fully type annotated. 100% test coverage. Plus all the standard features of requests ... International Domains and URLs Keep-Alive & Connection Pooling Sessions with Cookie Persistence Browser-style SSL Verification Basic/Digest Authentication Elegant Key/Value Cookies Automatic Decompression Automatic Content Decoding Unicode Response Bodies Multipart File Uploads HTTP(S) Proxy Support Connection Timeouts Streaming Downloads .netrc Support Chunked Requests Installation Install with pip: Or, to include the optional HTTP/2 support, use: HTTPX requires Python 3.9+. Documentation Project documentation is available at https://www.python-httpx.org/. For a run-through of all the basics, head over to the QuickStart. For ","default_branch":null,"files":null,"tree":[],"storefront":"/r/encode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/encode/httpx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}