Mention optional niquests
dependencies on the "Installation of Niquests" page
#217
Labels
documentation
Improvements or additions to documentation
Current state:
$ python -m pip install niquests section does not mention optional dependencies and does not contain a link to PyPI.
Proposed changes:
(a) add a link to PyPI e.g. in form:
"To install Niquests from PyPI, simply run this simple command in your terminal of choice:"
(b) add list of optional dependencies with links to appropriate documentation pages, e.g.:
"Optional dependencies:
http3
orocsp
—HTTP/3 over QUIC, OCSP or Certificate Revocation, 3.1.3 (2023-10-19) [See Note below!]socks
—SOCKSspeedups
—Speedupsws
—WebSockets"Note:
http3
andocsp
dependencies are a bit confusing. To my understanding, their roots are in 3.1.3 (2023-10-19). At this moment they both require the sameurllib3.future[qh3]
, andqh3
in turn is a dependency ofurllib3.future
itself, so it is installed automatically withniquests
.To avoid confusion, I think it should be clearly documented under what circumstances
http3
/ocsp
might be needed to mention explicitly. Maybe it's a time to just remove them?(c) Related:
List all speedups explicitly in the Speedups section, e.g.:
"To enable following optimizations
install Niquests with:"
Off-topic:) And, of course, thank you for your work!
The text was updated successfully, but these errors were encountered: