3 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
MeshKernelPy
MeshKernelPy is a library for creating and editing meshes.
It supports 1D and 2D unstructured meshes.
Support for curvilinear meshes is planned.
The underlying C++ library MeshKernel can be found here.
Installation
Windows
The library can be installed from PyPI by executing
pip install meshkernel
Linux
Currently, we only offer wheels specific to Deltares' CentOS machines. We plan to release a manylinux wheel at PyPI in the future.
Examples
Creating a triangular mesh inside a polygon
In this example a mesh is created by discretizing the polygon perimeter with the desired edge length.
Mesh orthogonalization
Finite volume staggered flow solvers require the mesh to be as much orthogonal as possible. MeshKernel provides an algorithm to adapt the mesh and achieve a good balance between mesh orthogonality and smoothness.
Mesh refinement
A mesh can be refined in areas based on samples or polygon selections.
License
MeshKernelPy uses the MIT license.
However, the wheels on PyPI bundle the LGPL licensed MeshKernel.
Please make sure that this fits your needs before depending on it.
Contributing
In order to install MeshKernelPy locally, please execute the following line inside your virtual environment
pip install -e .[tests, lint, docs]
Also make sure that your editor is configured to format the code with black and isort.
When modifying Jupyter notebooks, the jupyterlab-code-formatter can be used.
Metadata
Release files for meshkernel 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
3 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meshkernel-1.0.0.tar.gz | 959.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meshkernel-1.0.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| meshkernel-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| meshkernel-1.0.0-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 3.0 MB
Release files / meshkernel-1.0.0.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | meshkernel-1.0.0.tar.gz |
|---|---|
| Size | 959.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f927d1ef1ed6e6325d8ded9ec12af1fb494f4206fac67dd5adfee18a8837605
|
|
BLAKE2b-256 checksum How to use checksums |
3b49295fe0c06db10a7678128995c586520cab39a6910771a24a38edcf9e9f25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.10.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3
|
Release files / meshkernel-1.0.0-py3-none-win_amd64.whl
| Download URL | meshkernel-1.0.0-py3-none-win_amd64.whl |
|---|---|
| Size | 339.1 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
31e686646ef019279dec11a6e2c5b3f8eaba7a55242acb2dbc65d9d3d37afd39
|
|
BLAKE2b-256 checksum How to use checksums |
c9b1f6c8b4a74f84f22b62314981db3c1a9aef1b9e126280329b01afd2541557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/0.23 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / meshkernel-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | meshkernel-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 744.5 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
adb87f29a29ab804bcd5417f30e91570a6169f1293e6a30c92abaf58adde5e43
|
|
BLAKE2b-256 checksum How to use checksums |
ab60c14f774383b852b60fc29f873e349d89dab51d5abfd2f8ff52f39f404f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.1
|
Release files / meshkernel-1.0.0-py3-none-macosx_10_9_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | meshkernel-1.0.0-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 971.7 kB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1d7c0638df0a2f908c3a29939fabcf832557af5c3c9cea73c1f496b3ea7aea8c
|
|
BLAKE2b-256 checksum How to use checksums |
e1b4422869539ed0552f9f040cc8cccc95eb2aad8ada8001be210c34675b0145
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.2
|