Is there a way to get the public key from a private key with web3.py? I know I could get it by checking a transaction signed by that key but that's not working for me in this example.
It should be accessible somehow as the address is derived from it. So there must be an internal way within web3.py to access it.
Unfortunately there is no information on it in the docs and all I found was this solution for web3j which isn't portable to web3.py.