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

Download files

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

Source Distribution

geoprofile-0.4.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

geoprofile-0.4.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file geoprofile-0.4.1.tar.gz.

File metadata

  • Download URL: geoprofile-0.4.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geoprofile-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a57cdc1a1625983e6b1452ca74895876406e68c39facf37f905bf2c00ab26d43
MD5 5a206a26089b42a0511fbebf07d38d5f
BLAKE2b-256 c2fcf2a06c941f2e73b9db5ee5f2f8530e92f370567e2c490cc0f907e20124bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoprofile-0.4.1.tar.gz:

Publisher: release_pypi.yaml on cemsbv/GeoProfile

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

File details

Details for the file geoprofile-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: geoprofile-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geoprofile-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9817a341ad2e88f8f2cb4a4889af7b8566404cb3e2f7ce91a83606a12288bb3d
MD5 78813549971b7d97930bd720876bd15b
BLAKE2b-256 e18658d9fb572111da9c9e229007921206577e2fe532daa57132dad3d8387e17

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoprofile-0.4.1-py3-none-any.whl:

Publisher: release_pypi.yaml on cemsbv/GeoProfile

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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 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