bitcoin.py from electrum and ecdsa from python-ecdsa modified for python 3. Not tested yet, but builds