geoh5py
Python API for geoh5, an open file format for geoscientific data
What it is and what it does
geoh5py is a Python library for working with the geoh5 file format, an open standard for storing and exchanging geoscientific data. It lets you programmatically read, create, and modify geoscientific datasets—points, curves, surfaces, and 2D/3D grids—directly from Python, then visualize them in Geoscience ANALYST or integrate them with other Python scientific tools.
The package wraps h5py and NumPy to handle the underlying HDF5 storage and array operations. It's maintained by Mira Geoscience and targets Python 3.12+, with active development and no known security vulnerabilities. It's useful for geologists, geophysicists, and data engineers who need to automate data workflows, share data across tools, or build custom analysis pipelines around geoscientific datasets.
Use it for:
- Automate batch processing of geological survey data stored in geoh5 format without manual Geoscience ANALYST interaction.
- Convert and integrate geoscientific data from other formats into geoh5 for standardized storage and visualization.
- Build custom analysis pipelines combining geoh5 data with NumPy, SciPy, or other Python scientific libraries.
- Programmatically create synthetic or processed geoscientific grids and surfaces for simulation or modeling workflows.
- Export processed geophysical inversion results or survey interpretations back to geoh5 for team collaboration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
geoh5py provides a Python API to read, write, and manipulate geoscientific data (points, curves, surfaces, grids) in the geoh5 file format, enabling interoperability with Geoscience ANALYST visualization software.
Yes. geoh5py is actively maintained, has low install friction, no known vulnerabilities, and fills a specific role in the geoscience Python ecosystem. Install it if you work with geoh5 data or need to integrate geoscientific datasets with Geoscience ANALYST. The LGPL-3.0-or-later license is permissive for most use cases but requires source disclosure if you distribute derivative works.
Install
geoh5py on PyPI
pip
pip install geoh5pyuv
uv add geoh5pypoetry
poetry add geoh5pyInstalling geoh5py
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a recent release (44 days old) and ongoing repository activity. Depends on well-established packages: NumPy, h5py, Pillow, psutil, and pydantic.
License in practice
Licensed under LGPL-3.0-or-later (copyleft). You may use and modify geoh5py freely, but any derivative works must also be distributed under LGPL-3.0-or-later and include source code availability.
Quickstart
pip install geoh5py
import geoh5py
# Create or open a geoh5 workspace to manipulate geoscientific data
Requires Python 3.12 or later (supports 3.12, 3.13, 3.14); does not support Python 3.15+.
Verify before relying
- Whether the package supports reading and writing all geoscientific data types (points, curves, surfaces, 2D/3D grids) with equal feature completeness.
- Performance characteristics and memory efficiency when working with large geoscientific datasets.
- Specific version compatibility or known issues with Geoscience ANALYST software versions.
Package facts
| License | LGPL-3.0-or-later (copyleft) |
| Python support | supports the current Python release (<3.15,>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — Pillow, h5py, numpy, psutil, pydantic |
| Maintenance | actively maintained — 44 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 548,729/month — #6,059 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: geoh5py-0.13.0-py3-none-any.whl
Keywords: geology, geophysics, data, interoperability
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
xtgeoXTGeo manipulates subsurface reservoir…
copyleft · top 15,000 on PyPI
h5pyh5py reads and writes HDF5 files from Python,…
permissive · top 1,000 on PyPI
GridDataFormatsGridDataFormats reads and writes n-dimensional…
copyleft · top 15,000 on PyPI
pyvistaPyVista provides a NumPy-native API for 3D…
permissive · top 5,000 on PyPI
vispyVisPy is a GPU-accelerated 2D/3D visualization…
permissive · top 5,000 on PyPI
isosurfacesConstructs isolines and isosurfaces of 2D and…
permissive · top 15,000 on PyPI
h5netcdfh5netcdf reads and writes netCDF4 files using…
permissive · top 5,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI