Recommended software for ArduCopter with onboard computer

Hi,
I’m trying to set up my Rasberry pi on a little quad with a kakute H7 mini, so that I can control the copter from the onboard computer. I just wanna do some simple stuff, as taking of, flying to a certain high until cellphone service is stable and landing when the battery is empty.
At first I tried DroneKit but I couldn’t get it to work as its made for python 2.7 and I think it’s not maintained anymore. Next I tried MAVsdk but couldn’t get that to work with ardupilot either, as its only made for px4. Do you guys have any recommendations what I could use?
I’m a little confuse with all the options and in the end it always turns out that the chosen program is not suitable.
Thanks a lot,
Mathis

Pymavlink is the most suited for your application:

Thanks so much for the reply. I only came back to the post now but I ended up using pymavlink.