Bruges is a bag of really useful geophysical equations and stuff. It is a Python library, mostly consisting of functions. The library is available on PyPi, so you can install it with:
pip install bruges
It is compatible with Python 2.7 and Python 3.4+ (tested with Python 3.6).