There are 2 repositories under wellbore topic.
A collection of Wells/Drilling Engineering tools, focused on well trajectory planning for the time being.
The python tool for well trajectories
Calculate directional survey metadata points along the wellbore.
This is class project I conducted as team leader. I developed Matlab code to calculate the wellbore stability considering Mohr-Columb failure criteria in gemomechanical calculations. Example cases was studied using the code and based on results conclusions about wellbore stability during drilling was reached.
See https://www.drillingmanual.com/directional-well-trajectory-calculation-profile-design-planning/