Galactic Dynamics in python