🌐 Website: https://bedrock.engineer/
📃 Documentation: https://bedrock.engineer/getting-started
📃 API Reference: https://bedrock.engineer/reference/
🖥️ Source Code: https://github.com/bedrock-engineer/bedrock-ge
🐍 bedrock-ge on PyPI: https://pypi.org/project/bedrock-ge/
🔗 LinkedIn: https://www.linkedin.com/company/bedrock-engineer
Definition of Bedrock
In an abstract sense, the bedrock refers to the main principles something is based on. [1]
In the real world, the bedrock is the hard area of rock in the ground that holds up the loose soil above. [1]
In many civil engineering projects, the identification of the bedrock through digging, drilling or geophysical methods is an important task, which greatly influences (geotechnical) design. [2]
Sources: [1] Bedrock | Cambridge Dictionary, [2] Bedrock | Wikipedia
Ground Investigation (GI) data is often trapped in bespoke or legacy formats that limit analysis and visualization possibilities.
bedrock-ge lets you transform this data from specialized geotechnical formats and common tabular formats (Excel, CSV) into modern, standardized geospatial data.
This standardization lets you bridge the gap between raw geotechnical data, the modern Python (geo)scientific ecosystem and modern geospatial tools. This gives geotechnical engineers greater flexibility in visualization, modeling, and integration across different software environments while avoiding vendor lock-in. For example, this enables connecting your GI data with GIS as well as BIM environments through platforms like Speckle.
The purpose of Bedrock is NOT to become THE standard for geotechnical data, because we don't need 15 instead of 14 competing standards.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
The API reference documentation in src/content/docs/reference/api/ is auto-generated from the bedrock-ge Python package using a custom zero-dependency Python script.
- Ensure the bedrock-ge package is installed in your environment:
uv add bedrock-ge # Install the package to document
To regenerate the API reference documentation:
npm run docs:generateThis command runs scripts/docs/generate_api_docs.py which auto-discovers modules in bedrock-ge, extracts docstrings and type annotations, and generates enhanced markdown documentation with parameter tables and filtered content, saving to src/content/docs/reference/api/.
The generated files automatically integrate with Starlight's navigation via the "API Reference" link in the sidebar and the autogenerate: { directory: "reference" } setting in astro.config.mjs.
