GEOLib
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 .
Metadata
Release files for d-geolib 2.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| d_geolib-2.9.1.tar.gz | 66.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d_geolib-2.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.4 MB
Release files / d_geolib-2.9.1.tar.gz
| Download URL | d_geolib-2.9.1.tar.gz |
|---|---|
| Size | 66.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
194bf3441a9c7854f437d3abebb42adde5ff9ee35c844b5a48bccdbcab84e886
|
|
BLAKE2b-256 checksum How to use checksums |
3ba6e6ccf731920c4fbf7cd7a0fb14628badb41a3e966a0a13bee40a1ebd84b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / d_geolib-2.9.1-py3-none-any.whl
| Download URL | d_geolib-2.9.1-py3-none-any.whl |
|---|---|
| Size | 179.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
066f5fbfb6fa4f7cd88170ab571d1923194874a67064c9497b2bed3777451d85
|
|
BLAKE2b-256 checksum How to use checksums |
1056c0729478cc364d2c3fa9aba7085acf3a9f98fe30ef3ca4608073ec29ee3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|