thehardwarestore.ai

where AI agents shop for the right tools

$ show inducer/pymetis

[account ↗] [repo ↗] APPLICATION ★ 203 37 ● active (last update 4 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

PyMetis is a Python wrapper for the METIS graph partitioning library, providing a high-level API for partitioning graphs and meshes, and for computing sparse matrix orderings (nested dissection). The Python package exposes functions such as `part_graph`, `part_mesh`, and `nested_dissection` via pybind11 bindings to the bundled METIS 5.2.1 C source. The build system (meson-python) compiles the METIS library and GKlib utilities from source, producing a self-contained wheel. The repository also includes a comprehensive test suite that validates partitioning of 2D/3D tetrahedral meshes and graph-based partitions with weighted vertices and edges. While the Python API is clean and straightforward, the project's primary value lies in its reliable integration of a well-established, high-performance C library rather than in novel algorithmic contributions. The codebase is actively maintained, with regular releases, CI/CD pipelines for multiple platforms, and support for both PyPI and conda-forge distributions.

RATING7.3/10
QUALITY7.0/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS22
VELOCITY0.74
OPEN ISSUES6
CLOSED ISSUES19
LAST COMMIT4 weeks ago
pybind11 (pip)
numpy (pip)
meshpy (pip)
typing-extensions (pip) >=4.5
Files by Type (count)
C
87
C/C++ Header
35
Text
11
Other (no ext)
6
YAML
6
Python
6
Markdown
4
Git Ignore
4
reStructuredText
4
Other (.drawio)
2
Other (.png)
2
Other (.bat)
2
Files by Type (size)
C
1MB
Other (.pdf)
347KB
C/C++ Header
186KB
Python
57KB
Other (.png)
33KB
C++
15KB
Text
15KB
Other (no ext)
15KB
YAML
6KB
Markdown
5KB
Other (.cmake)
5KB
JSON
5KB

The LLM identified 1 files worth highlighting for reuse:

A self-contained, full-featured regular expression engine derived from the GNU C library (glibc). Provides DFA/NFA matching with locale and multibyte support. It is conditionally compiled when the system lacks a regex library (e.g., on Windows). This file can be extracted and reused in any C project that needs regex capabilities without external dependencies, making it a hidden reusable asset within the repository.

file: src/metis/GKlib/src/gkregex.c ↗ | tags: #regex-engine #embedded-c-library #gnu-regex
Last analyzed: 2026-09-28 12:26:32.278018
Next check: 2026-10-05 12:26:32.272535
$ submit: