An authentication protocol defined by RFC 2069 Digest authentication improves on basic authentication because it does not transmit passwords in the clear.
urllib.request/HTTPDigestAuthHandler
HTTPDigestAuthHandler