I am trying to do more or less the same. You can install the LoRa-RF python library (standard one, not a third party), as all the implementation is thought to be with SPI. Or maybe you can use https://github.com/chandrawi/LoRaRF-Python , that is more or less the same but with some upgrades (third party).
I have worked with SX127X as it seems to be fine.
But i am struggling with SX1262. As i always get 0x00 from the SPI. This, for example, is the output of your program: GetStatus 0x0 GetPacketStatus 0x0 ReadBuffer 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
But i have tried with very simple tests and always get 0x00. My RPi SPI seems to be working fine as i can connect with the already mentioned SX127X. But i am unable with SX126X. My comm jumpers are both at B and the M1 and M0 are both short. Do you have any idea of what can be happening to me, as you seem to have this working?
Regards!