Skip to main content

Unit tests Documentation Status PyPI version

Layermesh

Layermesh is a Python library for creating and manipulating computational meshes with a layer/column structure, i.e. a (possibly unstructured) 2-D mesh projected down through a series of layers of constant thickness.

The uppermost layers of the mesh may be incomplete (i.e. do not contain cells for all columns), so that an irregular top surface can be used to represent e.g. topography. Similarly, the bottom layers may also be incomplete.

The Layermesh library can be used to carry out a variety of actions on such meshes, including:

  • creating meshes
  • loading and saving from HDF5 files
  • exporting to a variety of 3-D mesh formats (via the meshio library)
  • fitting surface and bottom elevation data
  • local refinement of the horizontal mesh
  • optimization to improve horizontal mesh quality
  • mesh searching, to locate particular cells, columns or layers
  • 2-D layer and vertical slice plots (via Matplotlib)

Documentation

Documentation for Layermesh can be found on Read The Docs.

Installation

Layermesh can be installed via pip, Python's package manager:

pip install layermesh

or if you don't have permissions for installing system-wide Python packages, you can just install it locally inside your own user account:

pip install --user layermesh

This will download and install Layermesh from the Python Package Index (PyPI).

Licensing

Layermesh is open-source software, released under the GNU Lesser General Public License (LGPL) version 3.

Metadata

Release files for layermesh 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for layermesh 0.5.1
File Size Uploaded Provenance
layermesh-0.5.1.tar.gz 35.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for layermesh 0.5.1
File Interpreter ABI Platform
layermesh-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 64.9 kB

Release files / layermesh-0.5.1.tar.gz

Download URL layermesh-0.5.1.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3b2075a788bd367d352a2a9310fd3eaaa47963bf4749ad6dedf7e7f7d2b47a0f
BLAKE2b-256 checksum
How to use checksums
5c9e34e8f65c78070a9408f3c9cf503ed9942dc89c159221ae533912cb213821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release files / layermesh-0.5.1-py3-none-any.whl

Download URL layermesh-0.5.1-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4764fd0707974e282040965db9d86596c6033d815d3356e3b94445a35fbf6a4
BLAKE2b-256 checksum
How to use checksums
f794cf539b11cd6337a3d41f92e27018c4d8fda500d0de3015a4bb85ca46de14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Security for layermesh 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for layermesh-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page