GeoEq is an open-source Python library that replaces spreadsheet-based geotechnical calculations with 170+ validated, citable functions under a single flat namespace.
import geoeq as ge
ge.bearing_capacity(c=10, gamma=18, Df=1, B=2, phi=30, method="meyerhof")
ge.liquefaction_fos(CSR=0.20, CRR=0.18, Mw=7.0)
ge.spt_n160(N=15, sigma_v=100, method="liao_whitman")| Module | What it covers |
|---|---|
| Soil Properties | Phase relations, Atterberg limits, USCS & AASHTO classification |
| Lab Testing | Sieve & hydrometer, direct shear, triaxial, consolidation, compaction, permeability, CBR |
| Site Investigation | SPT, CPT, field vane, pressuremeter, plate load, pile load tests, slug & pumping tests, DCP |
| Design | Bearing capacity (Terzaghi/Meyerhof/Hansen/Vesic), settlement, earth pressure, retaining walls, pile design, slope stability |
| Dynamics | Gmax, modulus reduction, damping, liquefaction triggering (CSR/CRR/FS) |
| Data I/O | CSV, AGS4, GEF-CPT readers |
pip install geoeqPython 3.9+ · Dependencies: numpy, matplotlib, scipy
Website · User Guide · PyPI · Source Code · Issues