$npx skillfedfor your agent

gstools

GSTools: A geostatistical toolbox.

Worth itPyPI Scientific/EngineeringReleased Apr 2025136.9K downloads / moLGPL-3.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gstools-1.7.0-py3-none-any.whl
v1.7.0 · released 2025-04-28 · Python >=3.8 · 7 runtime deps: emcee, gstools-cython, hankel, meshio, numpy, pyevtk, scipy

Yes. GSTools is actively maintained, has no known vulnerabilities, supports current Python versions, and provides a comprehensive toolkit for geostatistical modelling. The LGPL-3.0 license is copyleft; ensure your use case permits derivative-work licensing. Install friction is low. It is well-suited for research, academic, and open-source projects requiring spatial statistics and field simulation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-wheel distribution.
  • Active maintenance with recent commits and a stable release cadence; supports Python 3.8 through 3.13.
  • Runtime dependencies include scipy, numpy, and optional Cython acceleration via gstools-cython.

License · maintenance · safety

LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft). Derivative works and modifications must be released under the same license; proprietary use requires careful review of linking and distribution terms.

last release 2025-04-28 (473 days) · last repo commit 2026-08-14 · 649 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 136,891 downloads/mo, #11,383 on PyPI

Verify before relying

import gstools as gs
import numpy as np

# Generate a 2D Gaussian random field
model = gs.Gaussian(dim=2, var=1, len_scale=10)
srf = gs.SRF(model)
field = srf((range(100), range(100)), mesh_type='structured')
  • Whether gstools-cython acceleration is automatically installed and used by default, or requires separate setup steps.
  • Performance characteristics and scalability limits for very large fields or high-dimensional problems.
  • Whether the package supports GPU acceleration or distributed computing beyond what emcee provides.
Same gist for agents: .md · .json

What it is and what it does

GSTools is a Python geostatistics library for modelling and simulating spatial phenomena. It implements kriging (simple, ordinary, universal, and external drift variants), random field generation via the randomisation method, variogram estimation and fitting, and support for user-defined covariance models. The library handles structured and unstructured spatial data in 1D, 2D, and 3D, with optional geographic coordinate support and VTK export for visualization.

The package is built on numpy and scipy, with optional Cython acceleration via gstools-cython and MCMC sampling via emcee for parameter estimation. It targets researchers and practitioners in hydrogeology, geophysics, and environmental science who need to interpolate sparse measurements, generate ensemble field realizations, or analyse spatial structure through variograms. Conditioned field generation allows ensemble members to respect measurement constraints while capturing spatial uncertainty.

Use it for

  • Generate ensemble realizations of hydrogeological properties conditioned to well measurements for uncertainty quantification.
  • Estimate and fit variograms from scattered spatial data to characterize spatial correlation structure.
  • Interpolate sparse measurements using kriging to create continuous field estimates with uncertainty bounds.
  • Create synthetic spatial random fields with specified covariance structure for Monte Carlo simulation studies.
  • Export 3D spatial fields to VTK format for visualization in ParaView or analysis with PyVista.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

GSTools is actively maintained, has no known vulnerabilities, supports current Python versions, and provides a comprehensive toolkit for geostatistical modelling. The LGPL-3.0 license is copyleft; ensure your use case permits derivative-work licensing. Install friction is low. It is well-suited for research, academic, and open-source projects requiring spatial statistics and field simulation.

Install

gstools on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with recent commits and a stable release cadence; supports Python 3.8 through 3.13. Runtime dependencies include scipy, numpy, and optional Cython acceleration via gstools-cython.

License in practice

Licensed under LGPL-3.0 (copyleft). Derivative works and modifications must be released under the same license; proprietary use requires careful review of linking and distribution terms.

Quickstart

import gstools as gs
import numpy as np

# Generate a 2D Gaussian random field
model = gs.Gaussian(dim=2, var=1, len_scale=10)
srf = gs.SRF(model)
field = srf((range(100), range(100)), mesh_type='structured')

Verify before relying

  • Whether gstools-cython acceleration is automatically installed and used by default, or requires separate setup steps.
  • Performance characteristics and scalability limits for very large fields or high-dimensional problems.
  • Whether the package supports GPU acceleration or distributed computing beyond what emcee provides.

Package facts

LicenseLGPL-3.0 copyleft
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
emceegstools-cythonhankelmeshionumpypyevtkscipy
MaintenanceActively maintained 473 days since the last release
Last repo commit
First released
Downloads136,891 / month, #11,383 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Natural Language :: EnglishOperating System :: MacOSOperating System :: MicrosoftOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: GISTopic :: Scientific/Engineering :: HydrologyTopic :: Scientific/Engineering :: MathematicsTopic :: Scientific/Engineering :: PhysicsTopic :: Utilities

Evidence: gstools-1.7.0-py3-none-any.whl

Tags

Capabilities
geostatistical random field generationkriging interpolation spatial datavariogram estimation fittingcovariance models spatial statisticsconditioned random field simulationspatial data analysis pythongeostatistics toolkit
Topics
geostatisticsspatial-statisticskriging

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “geostatistical random field generation”

  • gstoolsGSTools provides geostatistical tools for spatial random field…
  • model-mommyModel Mommy generates Django model instances with random data for…
  • gstools-cythonProvides optimized Cython implementations of geostatistical…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also gstools-cython · PeakUtils · spglm · arch · spreg · mgwr · spint · gamma-pytools · xtgeoviz · access