Proxy usage
Using a proxy is done by setting the environment variable https_proxy.
Either directly in Python:
import os
os.environ['https_proxy'] = 'proxy.example.com'or Linux/Mac:
export https_proxy=proxy.example.comor Windows:
set https_proxy=proxy.example.com