Understanding how initializing the Ledger Bitcoin hardware wallet works
Ledger provides a python library which also links to some limited documentation of the API: https://github.com/ledgerhq/btchip-python