Skip to main content

Python wrappers around the input and output files of the Deltares D-Serie and D-GEO Suite models

Project description

GEOLib is a Python package to generate, execute and parse several D-Serie and D-GEO Suite numerical models.

Installation

Install GEOLib with:

$ pip install d-geolib

Configure your environment using the instructions on our Setup page. You may get the console executables from the Deltares download portal, or in the case of the D-GEO Suite, you may copy the contents of the installation ‘bin’ directory to your console folder.

Running the source code

If you want to make changes to GEOLib you can run the source code from GitHub directly on your local machine, please follow the instructions below on how to set up your development environment using Pixi.

You do not need to follow these instructions if you want to use the GEOLib package in your project.

Requirements

To install the required dependencies to run GEOLib code, use Pixi:

$ pixi install

This will create a reproducible development environment with all dependencies.

Testing & Development

Make sure all dependencies are installed:

$ pixi install

In order to run the testcode, from the root of the repository, run:

$ pixi run pytest

Running mypy for type checking:

$ pixi run mypy --config-file pyproject.toml geolib

Running standard linters:

$ pixi run isort .
$ pixi run black .

Documentation

In order to build the documentation, from the root of the repository, run:

$ cd docs
$ pixi run sphinx . build -b html -c .

The documentation is now in the build subfolder, where you can open the index.html in your browser.

Build wheel

To build a distributable wheel package using hatchling:

$ pip install build
$ python -m build

The distributable packages are now built in the dist subfolder.

Update lock files

To update dependencies and lock files, use Pixi for local development:

$ pixi install

CI uses uv for multi-version testing and will regenerate uv.lock automatically.

Code linter

In order to run code cleanup/linter use the following commands:

$ pixi run isort .
$ pixi run black .

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

d_geolib-2.9.1.tar.gz (66.2 MB view details)

Uploaded Source

Built Distribution

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

d_geolib-2.9.1-py3-none-any.whl (179.2 kB view details)

Uploaded Python 3

File details

Details for the file d_geolib-2.9.1.tar.gz.

File metadata

  • Download URL: d_geolib-2.9.1.tar.gz
  • Upload date:
  • Size: 66.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for d_geolib-2.9.1.tar.gz
Algorithm Hash digest
SHA256 194bf3441a9c7854f437d3abebb42adde5ff9ee35c844b5a48bccdbcab84e886
MD5 dd7dbef68c523f216888ede4db26dae0
BLAKE2b-256 3ba6e6ccf731920c4fbf7cd7a0fb14628badb41a3e966a0a13bee40a1ebd84b6

See more details on using hashes here.

File details

Details for the file d_geolib-2.9.1-py3-none-any.whl.

File metadata

  • Download URL: d_geolib-2.9.1-py3-none-any.whl
  • Upload date:
  • Size: 179.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for d_geolib-2.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 066f5fbfb6fa4f7cd88170ab571d1923194874a67064c9497b2bed3777451d85
MD5 39d6520b57fadaf96367be27375edab2
BLAKE2b-256 1056c0729478cc364d2c3fa9aba7085acf3a9f98fe30ef3ca4608073ec29ee3e

See more details on using hashes here.

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