PyTmgpm is a tide calculator based on the book "Table des marées des grands ports du monde" (TMGPM). It is provided for educational purposes only, in the hope that it will be useful to understand the principles of tide calculations. It must not by used for navigation.