Skip to main content

Python toolkit for LLM-based geotechnical engineering agents — 30 analysis modules covering foundations, piles, slopes, seismic, and more

Project description

GeotechStaffEngineer

Python toolkit for LLM-based geotechnical engineering agents. 30 analysis modules covering foundations, piles, slopes, seismic analysis, ground improvement, and more.

Installation

# Core package (numpy + scipy + geotech-references)
pip install geotech-staff-engineer

# With all optional agent libraries
pip install geotech-staff-engineer[full]

# Or install individual extras
pip install geotech-staff-engineer[plot,groundhog,opensees]

Quick Start

from bearing_capacity import Footing, SoilLayer, BearingSoilProfile, BearingCapacityAnalysis

footing = Footing(width=2.0, length=10.0, depth=1.5, shape="strip")
layer = SoilLayer(phi_deg=30.0, c_kPa=10.0, gamma_kNm3=18.0, thickness_m=10.0)
profile = BearingSoilProfile(layers=[layer], gwt_depth_m=5.0)

analysis = BearingCapacityAnalysis(footing=footing, soil=profile)
result = analysis.calculate()
print(result.summary())

Modules

All units are SI (meters, kPa, kN, degrees). Every module returns dataclasses with .summary() and .to_dict() methods for easy LLM integration.

Core Analysis (15 modules)

Module Purpose
bearing_capacity Shallow foundations — Vesic, Meyerhof, Hansen
settlement Consolidation and immediate settlement
axial_pile Driven pile capacity — Nordlund, Tomlinson, Beta
sheet_pile Cantilever and anchored sheet pile walls
lateral_pile Lateral pile analysis — COM624P, 8 p-y models
pile_group Rigid-cap pile groups — 6-DOF, efficiency factors
wave_equation Smith 1-D wave equation — bearing graph, drivability
drilled_shaft Drilled shaft capacity — GEC-10 alpha/beta/rock socket
seismic_geotech Site classification, M-O pressures, liquefaction
retaining_walls Cantilever and MSE retaining walls
ground_improvement Aggregate piers, wick drains, vibro-compaction
slope_stability Fellenius, Bishop, Spencer — circular slip surfaces
downdrag Neutral plane method, dragload estimation
geotech_common Shared soil profile, adapters, plotting utilities
calc_package Calculation package report generation

Library Wrapper Agents (15 modules)

Each agent wraps a third-party geotechnical library with a dict-based API for LLM tool use.

Module Library Purpose
opensees_agent OpenSeesPy PM4Sand cyclic DSS, BNWF pile, 1D site response
pystrata_agent pystrata 1D equivalent-linear site response
seismic_signals_agent eqsig + pyrotd Earthquake signal processing
liquepy_agent liquepy CPT-based liquefaction triggering
pygef_agent pygef GEF/BRO-XML CPT and borehole parsing
hvsrpy_agent hvsrpy HVSR site characterization
gstools_agent gstools Geostatistical kriging and random fields
ags4_agent python-ags4 AGS4 data format reading and validation
salib_agent SALib Sobol and Morris sensitivity analysis
pyseismosoil_agent PySeismoSoil Nonlinear soil curve calibration
swprocess_agent swprocess MASW surface wave dispersion
geolysis_agent geolysis Soil classification and SPT corrections
pystra_agent pystra FORM/SORM/Monte Carlo reliability
pydiggs_agent pydiggs DIGGS 2.6 XML validation
groundhog_agent groundhog Site investigation and soil mechanics

Optional Extras

Extra Libraries
plot matplotlib
calc jinja2
groundhog groundhog
opensees openseespy
pystrata pystrata
seismic-signals eqsig, pyrotd
liquepy liquepy
pygef pygef
hvsrpy hvsrpy
gstools gstools
ags4 python-ags4
salib SALib
pyseismosoil PySeismoSoil
swprocess swprocess
geolysis geolysis
pystra pystra
pydiggs pydiggs
full All of the above

Related Package

geotech-references — Digitized NAVFAC DM7 and FHWA GEC reference library (installed automatically as a dependency).

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geotech_staff_engineer-3.0.0.tar.gz (407.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geotech_staff_engineer-3.0.0-py3-none-any.whl (490.7 kB view details)

Uploaded Python 3

File details

Details for the file geotech_staff_engineer-3.0.0.tar.gz.

File metadata

  • Download URL: geotech_staff_engineer-3.0.0.tar.gz
  • Upload date:
  • Size: 407.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geotech_staff_engineer-3.0.0.tar.gz
Algorithm Hash digest
SHA256 0fa100b69a6ce2bc1bc88a45fa56e33c0ab0d3d333d425819349e354d1eedd0b
MD5 736bd901fbaa255592a641196cc1f74b
BLAKE2b-256 3d9b136f1c0c4a361e7ddd4dbee41732734d2d71708b75347774f50f3502d11f

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotech_staff_engineer-3.0.0.tar.gz:

Publisher: publish.yml on soconnell345-geotech/GeotechStaffEngineer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geotech_staff_engineer-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geotech_staff_engineer-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa017ad11b91fa7d6fb96c7d5394592f971646272a7e2abbe007ae8da32ddbc
MD5 ec25d14df47bc53f052011bbcb2ea66c
BLAKE2b-256 7dc9c3d7447be40c1f75d19717f815b64a8b9cc52406eb2d961e6acfba58ea7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for geotech_staff_engineer-3.0.0-py3-none-any.whl:

Publisher: publish.yml on soconnell345-geotech/GeotechStaffEngineer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page