From 7e01677f0ac780482686e5eb50bec6806c313187 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 14 Sep 2021 10:44:07 +0100 Subject: [PATCH] List 'click' and 'rich' in the project dependencies (#1858) --- README.md | 6 ++++-- docs/index.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1d84e611..8ace165b 100644 --- a/README.md +++ b/README.md @@ -129,14 +129,16 @@ The HTTPX project relies on these excellent libraries: * `httpcore` - The underlying transport implementation for `httpx`. * `h11` - HTTP/1.1 support. - * `h2` - HTTP/2 support. *(Optional)* + * `h2` - HTTP/2 support. *(Optional, with `httpx[http2]`)* * `certifi` - SSL certificates. * `charset_normalizer` - Charset auto-detection. * `rfc3986` - URL parsing & normalization. * `idna` - Internationalized domain name support. * `sniffio` - Async library autodetection. +* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)* +* `click` - Command line client support. *(Optional, with `httpx[cli]`)* * `async_generator` - Backport support for `contextlib.asynccontextmanager`. *(Only required for Python 3.6)* -* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional)* +* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)* A huge amount of credit is due to `requests` for the API layout that much of this work follows, as well as to `urllib3` for plenty of design diff --git a/docs/index.md b/docs/index.md index b302379a..4445c016 100644 --- a/docs/index.md +++ b/docs/index.md @@ -114,14 +114,16 @@ The HTTPX project relies on these excellent libraries: * `httpcore` - The underlying transport implementation for `httpx`. * `h11` - HTTP/1.1 support. - * `h2` - HTTP/2 support. *(Optional)* + * `h2` - HTTP/2 support. *(Optional, with `httpx[http2]`)* * `certifi` - SSL certificates. * `charset_normalizer` - Charset auto-detection. * `rfc3986` - URL parsing & normalization. * `idna` - Internationalized domain name support. * `sniffio` - Async library autodetection. +* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)* +* `click` - Command line client support. *(Optional, with `httpx[cli]`)* * `async_generator` - Backport support for `contextlib.asynccontextmanager`. *(Only required for Python 3.6)* -* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional)* +* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)* A huge amount of credit is due to `requests` for the API layout that much of this work follows, as well as to `urllib3` for plenty of design