Look at adding Disco support: https://github.com/mimoo/disco/issues/4
Look at: https://github.com/qwj/python-proxy
If you are building on machine w/ an older version of OpenSSL (error: cryptography.exceptions.UnsupportedAlgorithm: X448 is not supported by this version of OpenSSL.
), you can manually build the package cryptography using a newer version of OpenSSL. First d/l and build OpenSSL:
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar -xzf openssl-1.1.1g.tar.gz
cd openssl-1.1.1g && ./config
cd openssl-1.1.1g && make -j 4
Now, rebuild the cryptography package w/ the new library:
pip uninstall cryptography
export CFLAGS=-I<path>/openssl-1.1.1g/include; export LDFLAGS=-L<path>/openssl-1.1.1g
pip install --no-binary :all: cryptography
export LD_LIBRARY_PATH=<path>/openssl-1.1.1g