How to move a drone to its right or left using NED?

I have been trying to develop some logic in python to move a drone to right or left from its current position using position or velocity setpoints. I have found examples in MavSDK but I am not finding the low level details. Can anyone help with mathematical ideas or programming examples in python? I will be using mavlink/mavros with PX4 but any relevant examples demonstrating the concept is welcome. I would also like to fly a drone in circular path.