comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/httpx-0.28.1.dist-info/METADATA @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
1 Metadata-Version: 2.3
2 Name: httpx
3 Version: 0.28.1
4 Summary: The next generation HTTP client.
5 Project-URL: Changelog, https://github.com/encode/httpx/blob/master/CHANGELOG.md
6 Project-URL: Documentation, https://www.python-httpx.org
7 Project-URL: Homepage, https://github.com/encode/httpx
8 Project-URL: Source, https://github.com/encode/httpx
9 Author-email: Tom Christie <tom@tomchristie.com>
10 License: BSD-3-Clause
11 Classifier: Development Status :: 4 - Beta
12 Classifier: Environment :: Web Environment
13 Classifier: Framework :: AsyncIO
14 Classifier: Framework :: Trio
15 Classifier: Intended Audience :: Developers
16 Classifier: License :: OSI Approved :: BSD License
17 Classifier: Operating System :: OS Independent
18 Classifier: Programming Language :: Python :: 3
19 Classifier: Programming Language :: Python :: 3 :: Only
20 Classifier: Programming Language :: Python :: 3.8
21 Classifier: Programming Language :: Python :: 3.9
22 Classifier: Programming Language :: Python :: 3.10
23 Classifier: Programming Language :: Python :: 3.11
24 Classifier: Programming Language :: Python :: 3.12
25 Classifier: Topic :: Internet :: WWW/HTTP
26 Requires-Python: >=3.8
27 Requires-Dist: anyio
28 Requires-Dist: certifi
29 Requires-Dist: httpcore==1.*
30 Requires-Dist: idna
31 Provides-Extra: brotli
32 Requires-Dist: brotli; (platform_python_implementation == 'CPython') and extra == 'brotli'
33 Requires-Dist: brotlicffi; (platform_python_implementation != 'CPython') and extra == 'brotli'
34 Provides-Extra: cli
35 Requires-Dist: click==8.*; extra == 'cli'
36 Requires-Dist: pygments==2.*; extra == 'cli'
37 Requires-Dist: rich<14,>=10; extra == 'cli'
38 Provides-Extra: http2
39 Requires-Dist: h2<5,>=3; extra == 'http2'
40 Provides-Extra: socks
41 Requires-Dist: socksio==1.*; extra == 'socks'
42 Provides-Extra: zstd
43 Requires-Dist: zstandard>=0.18.0; extra == 'zstd'
44 Description-Content-Type: text/markdown
45
46 <p align="center">
47 <a href="https://www.python-httpx.org/"><img width="350" height="208" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/butterfly.png" alt='HTTPX'></a>
48 </p>
49
50 <p align="center"><strong>HTTPX</strong> <em>- A next-generation HTTP client for Python.</em></p>
51
52 <p align="center">
53 <a href="https://github.com/encode/httpx/actions">
54 <img src="https://github.com/encode/httpx/workflows/Test%20Suite/badge.svg" alt="Test Suite">
55 </a>
56 <a href="https://pypi.org/project/httpx/">
57 <img src="https://badge.fury.io/py/httpx.svg" alt="Package version">
58 </a>
59 </p>
60
61 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**.
62
63 ---
64
65 Install HTTPX using pip:
66
67 ```shell
68 $ pip install httpx
69 ```
70
71 Now, let's get started:
72
73 ```pycon
74 >>> import httpx
75 >>> r = httpx.get('https://www.example.org/')
76 >>> r
77 <Response [200 OK]>
78 >>> r.status_code
79 200
80 >>> r.headers['content-type']
81 'text/html; charset=UTF-8'
82 >>> r.text
83 '<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'
84 ```
85
86 Or, using the command-line client.
87
88 ```shell
89 $ pip install 'httpx[cli]' # The command line client is an optional dependency.
90 ```
91
92 Which now allows us to use HTTPX directly from the command-line...
93
94 <p align="center">
95 <img width="700" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/httpx-help.png" alt='httpx --help'>
96 </p>
97
98 Sending a request...
99
100 <p align="center">
101 <img width="700" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/httpx-request.png" alt='httpx http://httpbin.org/json'>
102 </p>
103
104 ## Features
105
106 HTTPX builds on the well-established usability of `requests`, and gives you:
107
108 * A broadly [requests-compatible API](https://www.python-httpx.org/compatibility/).
109 * An integrated command-line client.
110 * HTTP/1.1 [and HTTP/2 support](https://www.python-httpx.org/http2/).
111 * Standard synchronous interface, but with [async support if you need it](https://www.python-httpx.org/async/).
112 * Ability to make requests directly to [WSGI applications](https://www.python-httpx.org/advanced/transports/#wsgi-transport) or [ASGI applications](https://www.python-httpx.org/advanced/transports/#asgi-transport).
113 * Strict timeouts everywhere.
114 * Fully type annotated.
115 * 100% test coverage.
116
117 Plus all the standard features of `requests`...
118
119 * International Domains and URLs
120 * Keep-Alive & Connection Pooling
121 * Sessions with Cookie Persistence
122 * Browser-style SSL Verification
123 * Basic/Digest Authentication
124 * Elegant Key/Value Cookies
125 * Automatic Decompression
126 * Automatic Content Decoding
127 * Unicode Response Bodies
128 * Multipart File Uploads
129 * HTTP(S) Proxy Support
130 * Connection Timeouts
131 * Streaming Downloads
132 * .netrc Support
133 * Chunked Requests
134
135 ## Installation
136
137 Install with pip:
138
139 ```shell
140 $ pip install httpx
141 ```
142
143 Or, to include the optional HTTP/2 support, use:
144
145 ```shell
146 $ pip install httpx[http2]
147 ```
148
149 HTTPX requires Python 3.8+.
150
151 ## Documentation
152
153 Project documentation is available at [https://www.python-httpx.org/](https://www.python-httpx.org/).
154
155 For a run-through of all the basics, head over to the [QuickStart](https://www.python-httpx.org/quickstart/).
156
157 For more advanced topics, see the [Advanced Usage](https://www.python-httpx.org/advanced/) section, the [async support](https://www.python-httpx.org/async/) section, or the [HTTP/2](https://www.python-httpx.org/http2/) section.
158
159 The [Developer Interface](https://www.python-httpx.org/api/) provides a comprehensive API reference.
160
161 To find out about tools that integrate with HTTPX, see [Third Party Packages](https://www.python-httpx.org/third_party_packages/).
162
163 ## Contribute
164
165 If you want to contribute with HTTPX check out the [Contributing Guide](https://www.python-httpx.org/contributing/) to learn how to start.
166
167 ## Dependencies
168
169 The HTTPX project relies on these excellent libraries:
170
171 * `httpcore` - The underlying transport implementation for `httpx`.
172 * `h11` - HTTP/1.1 support.
173 * `certifi` - SSL certificates.
174 * `idna` - Internationalized domain name support.
175 * `sniffio` - Async library autodetection.
176
177 As well as these optional installs:
178
179 * `h2` - HTTP/2 support. *(Optional, with `httpx[http2]`)*
180 * `socksio` - SOCKS proxy support. *(Optional, with `httpx[socks]`)*
181 * `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*
182 * `click` - Command line client support. *(Optional, with `httpx[cli]`)*
183 * `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)*
184 * `zstandard` - Decoding for "zstd" compressed responses. *(Optional, with `httpx[zstd]`)*
185
186 A huge amount of credit is due to `requests` for the API layout that
187 much of this work follows, as well as to `urllib3` for plenty of design
188 inspiration around the lower-level networking details.
189
190 ---
191
192 <p align="center"><i>HTTPX is <a href="https://github.com/encode/httpx/blob/master/LICENSE.md">BSD licensed</a> code.<br/>Designed & crafted with care.</i><br/>&mdash; 🦋 &mdash;</p>
193
194 ## Release Information
195
196 ### Fixed
197
198 * Reintroduced supposedly-private `URLTypes` shortcut. (#2673)
199
200
201 ---
202
203 [Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)