gmsh
Gmsh is a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities.
Decision gist · record as of 2026-08-14
Yes, if you are working on open-source or academic finite element projects and need a mature, cross-platform mesh generator. The copyleft license and binary-only distribution make it unsuitable for proprietary software. Medium install friction is acceptable for the maturity and feature completeness it provides.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a platform with a supported binary wheel (macOS 10.15+, Windows x86_64, or Linux x86_64); no pure-Python fallback.
- Medium install friction due to platform-specific binary wheels (macOS x86_64 and arm64, Linux, Windows).
- Package is actively maintained with recent releases and carries Production/Stable status.
License · maintenance · safety
GPLv2+ (copyleft) — GPLv2+ copyleft license means any derivative work or modification must also be open-source under compatible terms; acceptable for research and education but requires careful review in proprietary or closed-source projects.
last release 2026-03-24 (143 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 396,981 downloads/mo, #6,966 on PyPI
Alternatives
Verify before relying
pip install gmsh
import gmsh
gmsh.initialize()
gmsh.fltk.run()
gmsh.finalize()- Whether the Python API is fully feature-complete relative to the C++ API or if some advanced features require direct C/C++ access
- Performance characteristics and typical mesh size limits for common use cases
What it is and what it does
Gmsh is a Python wrapper around the official Gmsh finite element mesh generator, bundling the compiled application and SDK for cross-platform use. It provides both a graphical interface (via the FLTK toolkit) and a Python API for programmatic mesh generation, making it accessible to researchers and engineers who need to create structured or unstructured meshes for finite element analysis without managing separate C++ dependencies.
The package includes pre- and post-processing facilities and is intended for scientific and educational use. It ships as platform-specific wheels containing pre-built binaries, so installation is straightforward but tied to the supported architectures (macOS x86_64 and arm64, Linux x86_64, Windows x86_64). The copyleft license and binary-only distribution model mean it is best suited for open-source or academic projects rather than proprietary software.
Use it for
- Generate unstructured tetrahedral meshes for finite element simulations in structural or fluid dynamics analysis
- Create structured or hybrid meshes for CAD-based engineering workflows with built-in geometry preprocessing
- Batch-process mesh generation in research pipelines using the Python API without launching the GUI
- Prototype and visualize mesh quality before running expensive computational solvers
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working on open-source or academic finite element projects and need a mature, cross-platform mesh generator.
The copyleft license and binary-only distribution make it unsuitable for proprietary software. Medium install friction is acceptable for the maturity and feature completeness it provides.
Install
gmsh on PyPI
Before you install
Medium install friction due to platform-specific binary wheels (macOS x86_64 and arm64, Linux, Windows). Package is actively maintained with recent releases and carries Production/Stable status.
Requires a platform with a supported binary wheel (macOS 10.15+, Windows x86_64, or Linux x86_64); no pure-Python fallback.
License in practice
GPLv2+ copyleft license means any derivative work or modification must also be open-source under compatible terms; acceptable for research and education but requires careful review in proprietary or closed-source projects.
Quickstart
pip install gmsh
import gmsh
gmsh.initialize()
gmsh.fltk.run()
gmsh.finalize()
Verify before relying
- Whether the Python API is fully feature-complete relative to the C++ API or if some advanced features require direct C/C++ access
- Performance characteristics and typical mesh size limits for common use cases
Package facts
| License | GPLv2+ copyleft |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 143 days since the last release |
| First released | |
| Downloads | 396,981 / month, #6,966 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)Operating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: C++Programming Language :: PythonTopic :: Scientific/Engineering |
Evidence: gmsh-4.15.2-py2.py3-none-macosx_10_15_x86_64.whl; gmsh-4.15.2-py2.py3-none-macosx_12_0_arm64.whl; gmsh-4.15.2-py2.py3-none-manylinux_2_24_x86_64.whl; gmsh-4.15.2-py2.py3-none-win_amd64.whl
Tags
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 › “finite element mesh generation”
- gmshGmsh is a three-dimensional finite element mesh generator that wraps…
- tetgentetgen wraps the TetGen C++ library to generate tetrahedral meshes…
- cytriangleCyTriangle wraps Jonathan Shewchuk's Triangle library via Cython to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
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.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
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.
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.
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.
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.
See also pygmsh · meshio · scikit-fem · meshioplusplus · tetgen · cytriangle · manifold3d · gplugins · openseespylinux · anastruct