geomodelr (pypi): Geomodelr is the open source query tool for geomodelr.com models. It contains the basic algorithm too, if you want to take a look.
Keywords: geology