Skip to main content

GeoProfile

Checked with mypy Code style: black Imports: isort

Explore the depths of the Earth with GeoProfile, a comprehensive package designed for geotechnical professionals and researchers. This versatile toolkit is your go-to resource for analyzing and visualizing geotechnical profiles, offering a seamless experience in understanding the complex stratigraphy of the subsurface.

Whether you are involved in civil engineering, environmental science, or geotechnical exploration, GeoProfile is your indispensable companion for unraveling the mysteries beneath the surface. Elevate your geotechnical analysis and make informed decisions with GeoProfile – where geology meets technology.

Installation

To install this package, including the map and gef reading functionality, run:

pip install geoprofile[map, gef]

To skip the installation of the GeoProfile library, in case you do not need it (e.g. only use pure plotting), run:

pip install geoprofile

Contribution

Environment

We recommend developing in Python3.13 with a clean virtual environment (using virtualenv or conda), installing the requirements from the requirements.txt file:

Example using virtualenv and pip to install the dependencies in a new environment .env on Linux:

python -m venv .env
source .env/bin/activate
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .

Example using condaand pip to install the dependencies in a new environment env on Windows, using Anaconda Prompt. First you clone the GeoProfile repository to a local folder (c:\my_python_files\geoprofile) and change directory towards it. You will create an empty conda environment with python 3.13 and activate it. Python 3.13 is given in requirements.txt. The name of the environment is not env, as in Linux example above, because the name env has a special property in conda. You will update pip. Install dependencies.

Last line is optional. Installation of ipykernel allows to run a notebook in this environment.

git clone https://github.com/cemsbv/GeoProfile.git c:\my_python_files\geoprofile
cd c:\my_python_files\geoprofile
conda create --name env_geoprofile --no-default-packages python=3.13
conda activate env_geoprofile
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .
conda install ipykernel

Documentation

Build the docs:

python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install .
sphinx-build -b html docs public

Note: You'll need to set the NUCLEI_TOKEN environmental variable. You can get your token at: https://nuclei.cemsbv.io/

Format & Lint

To maintain code quality we use the GitHub super-linter.

To run the linters locally, run the run_super_linters.sh bash script from the root directory.

UnitTest

Test the software with the use of coverage:

python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .
coverage run -m pytest

Requirements

Requirements are autogenerated by pip-compile with python 3.13

uv pip compile --extra=test --extra=docs --extra=map --extra=gef --extra=notebook --extra=plot --output-file=requirements.txt pyproject.toml

To update the requirements within the defined ranges, run:

uv pip compile --upgrade --extra=test --extra=docs --extra=map --extra=gef --extra=notebook --extra=plot --output-file=requirements.txt pyproject.toml

Metadata

Release files for GeoProfile 0.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 GeoProfile 0.4.1
File Size Uploaded
geoprofile-0.4.1.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GeoProfile 0.4.1
File Interpreter ABI Platform
geoprofile-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / geoprofile-0.4.1.tar.gz

Download URL geoprofile-0.4.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a57cdc1a1625983e6b1452ca74895876406e68c39facf37f905bf2c00ab26d43
BLAKE2b-256 checksum
How to use checksums
c2fcf2a06c941f2e73b9db5ee5f2f8530e92f370567e2c490cc0f907e20124bc
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 Sep 12, 2026.

Transparency log

Release files / geoprofile-0.4.1-py3-none-any.whl

Download URL geoprofile-0.4.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9817a341ad2e88f8f2cb4a4889af7b8566404cb3e2f7ce91a83606a12288bb3d
BLAKE2b-256 checksum
How to use checksums
e18658d9fb572111da9c9e229007921206577e2fe532daa57132dad3d8387e17
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 Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.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