Skip to main content

`UGrid` is a library to write and read UGrid files.

Project description

UGridPy

UGridPy is a library for writing/reading UGrid files. It supports writing 1D networks, 1D mesh, 2D meshes and 1D-2D contacts in UGrid Format. The underlying C++ library UGrid can be found here.

Installation

Windows

The library can be installed from PyPI by executing

pip install ugrid

Linux

Currently, we only offer wheels specific to Deltares' CentOS machines. We plan to release a manylinux wheel at PyPI in the future.

Examples

To be detailed

License

UGridPy uses the MIT license. However, the wheels on PyPI bundle the LGPL licensed UGrid. Please make sure that this fits your needs before depending on it.

Contributing

In order to install UGridPy locally, please execute the following line inside your virtual environment

pip install -e ".[tests, lint, docs]"

Then add a compiled UGridApi.dll into your src folder.

Also make sure that your editor is configured to format the code with black and isort.

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

UGrid-0.13.0.tar.gz (3.1 MB view hashes)

Uploaded Source

Built Distribution

UGrid-0.13.0-py3-none-win_amd64.whl (3.1 MB view hashes)

Uploaded Python 3 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page