Python wrappers around the input and output files of the Deltares D-Serie models
Project description
GEOLib is a Python package to generate, execute and parse several D-Serie numerical models.
Installation
Install GEOLib with:
$ pip install d-geolib
Requirements
To install the required dependencies to run GEOLib code, run:
$ pip install -r requirements
Or, when having poetry installed (you should):
$ poetry install
Testing & Development
Make sure to have the server dependencies installed:
$ poetry install -E server
In order to run the testcode, from the root of the repository, run:
$ pytest
or, in case of using Poetry
$ poetry run pytest
Running flake8, mypy is also recommended. For mypy use:
$ mypy --config-file pyproject.toml geolib
Documentation
In order to run the documentation, from the root of the repository, run:
$ cd docs
$ sphinx-build . 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, run:
$ poetry build
The distributable packages are now built in the dist subfolder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for d_geolib-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fcd14989bb5a5de447868534b564afc8506fbd1ece3f6306f40d3c8f4f5a1b6 |
|
MD5 | ff4b8fc06c9c9a753458633d29c5ecad |
|
BLAKE2b-256 | c40ce50707fff172e40c5895e39641913518bc6c5bba30a19d05b5b301d8b39b |