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.0.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.0-py3-none-any.whl (179.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for d_geolib-2.9.0.tar.gz
Algorithm Hash digest
SHA256 f2924efa03847ae27f67a2987aabdf6cc9dce643d16692cf5cb303187bad7681
MD5 0ec0fb7681eb5b10014d88ac9c9ff907
BLAKE2b-256 d5f80caf19466551f20bd6511d4678f8b369467ab7ede91331f8d859e71ec94b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for d_geolib-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ce4cd44c3dc5b208f82c4e8f92f5aa21f04ef3ac10f8f53a2b5e774bc1d0f8
MD5 41d3657e1ebecb877054f6001d91dd90
BLAKE2b-256 3855cc3bdf76d0fbe4df0c82915e453c2e4c875d18cee9933f7980cb6c91d81e

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