Skip to main content

geotech-references

Digitized geotechnical reference library: callable Python functions for NAVFAC DM7 and FHWA GEC series equations, figures, and tables.

Installation

pip install geotech-references

Overview

This package provides 559 digitized functions from major geotechnical engineering references, turning published figures, tables, and equations into callable Python code.

from geotech_references.dm7_1.chapter1 import table_1_4_uscs_classification

result = table_1_4_uscs_classification(
    gravel_pct=25, sand_pct=55, fines_pct=20,
    liquid_limit=35, plasticity_index=12
)
print(result)  # {'symbol': 'SC', 'description': 'Clayey sand'}

Contents

NAVFAC DM7 (382 functions, 2,008 tests)

Module Topic Functions
dm7_1.chapter1 Identification & Classification 24
dm7_1.chapter2 Field Exploration & Testing 20
dm7_1.chapter3 Laboratory Testing 18
dm7_1.chapter4 Distribution of Stresses 17
dm7_1.chapter5 Consolidation & Settlement 42
dm7_1.chapter6 Seepage & Drainage 19
dm7_1.chapter7 Slope Stability 10
dm7_1.chapter8 Correlations for Soil Properties 35
dm7_2.prologue Index Properties 12
dm7_2.chapter2 Earth Pressures 26
dm7_2.chapter3 Shallow Foundations 22
dm7_2.chapter4 Deep Foundations 42
dm7_2.chapter5 Bearing Capacity (Deep) 62
dm7_2.chapter6 Retaining Structures 37
dm7_2.chapter7 Slope Stability (Earth Structures) 16

FHWA GEC Series & Micropile (95 functions, 802 tests)

Module Reference Functions
gec_6 Shallow Foundations (FHWA-SA-02-054) 13
gec_7 Soil Nail Walls (FHWA-NHI-14-007) 15
gec_10 Drilled Shafts (FHWA-NHI-10-016) 10
gec_11 MSE Walls & Slopes (FHWA-NHI-10-024) 17
gec_12 Driven Piles (FHWA-NHI-16-009) 16
gec_13 Ground Modification (FHWA-NHI-16-027) 10
micropile Micropile Design (FHWA-NHI-05-039) 14

FEMA, NOAA & UFC Standards (54 functions, 489 tests)

Module Reference Functions
fema_p2192 FEMA P-2192 Seismic Design Category (2024) 10
noaa_frost NOAA Frost Protected Shallow Foundations 9
ufc_backfill UFC 3-220-04N Backfill for Subsurface Structures 8
ufc_dewatering UFC 3-220-05 Dewatering and Groundwater Control 9
ufc_expansive UFC 3-220-07 Foundations in Expansive Soils 9
ufc_pavement UFC 3-260-02 Pavement Design for Airfields 9

Text Retrieval

Structured chapter text is available for GEC-6, GEC-7, GEC-10, GEC-12, GEC-13, and Micropile references:

from geotech_references._retrieval import search_sections

results = search_sections("gec_12", "pile setup")
for section in results:
    print(section["title"], "-", section["body"][:100])

Agents

Pre-built Foundry-style agent wrappers are included for all 14 references in the agents/ directory. These are standalone files for Palantir Foundry AIP Agent Studio — they are not part of the pip-installable geotech-references package. Copy them into your Foundry function repository as needed.

from agents.dm7_agent import dm7_agent, dm7_list_methods

# List available methods
print(dm7_list_methods("chapter1"))

# Call a specific function
result = dm7_agent("table_1_4_uscs_classification", '{"gravel_pct": 25, "sand_pct": 55, "fines_pct": 20, "liquid_limit": 35, "plasticity_index": 12}')

License

MIT

Metadata

Release files for geotech-references 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geotech-references 1.4.1
File Size Uploaded
geotech_references-1.4.1.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for geotech-references 1.4.1
File Interpreter ABI Platform
geotech_references-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 MB

Release files / geotech_references-1.4.1.tar.gz

Download URL geotech_references-1.4.1.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9d18f5d018fee632b3adae7b91d507715566391f4d3d97d6b7642afdb907c68b
BLAKE2b-256 checksum
How to use checksums
00ff1be8766d6a46482e530c2472eaf0c87036425db29ae16cffca0277870303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / geotech_references-1.4.1-py3-none-any.whl

Download URL geotech_references-1.4.1-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
776d675fdeeb8b83b9769c5db23581e44c52762fc15a03563aba4947bd6a2728
BLAKE2b-256 checksum
How to use checksums
2b0b810b5aa7a1b3ab785b85e0043ca9432ccc39f734ad6350fbff8b65d354ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page