I'm trying to create a KeyPair class instance (https://github.com/polkascan/py-substrate-interface/blob/master/substrateinterface/base.py) from a Ledger hardware wallet. Does anyone know how to do this (if it's even possible)?
Alternatively, I can just generate the signature payload and use other tooling to sign it with the Ledger. But eventually it would be nice to be able to use Ledger out of the box to sign transactions in substrate interface. I can submit a PR with this functionality if it doesn't already exist.