$npx skillfedfor your agent

triangle

Python binding to the triangle library

With conditionsPyPI MathematicsReleased Jan 2025511.1K downloads / moLGPL-3.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — triangle-20250106-cp310-cp310-macosx_11_0_arm64.whl · triangle-20250106-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl · triangle-20250106-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
v20250106 · released 2025-01-07 · Python >=3.7 · 1 runtime deps: numpy

Yes, if you need reliable 2D Delaunay triangulation or quality mesh generation: triangle is a mature, well-tested binding to a standard library with no known vulnerabilities and straightforward installation. However, be aware the project is dormant—maintenance is minimal, so plan accordingly if you need active support or encounter bugs. The LGPL-3.0 copyleft license requires careful review if you intend to distribute derivative work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires numpy; Python >= 3.7.
  • Medium install friction: precompiled wheels available across macOS, Linux, and Windows for multiple Python versions, but the package is dormant with no recent maintenance activity beyond the repository remaining open.

License · maintenance · safety

LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft): any derivative work or modification must be released under the same license, and linking in a proprietary application may require careful licensing review.

last release 2025-01-07 (584 days) · last repo commit 2025-01-07 · 264 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 511,074 downloads/mo, #6,262 on PyPI

Verify before relying

import numpy as np
import triangle

points = np.array([[0, 0], [1, 0], [1, 1], [0, 1]])
A = dict(vertices=points)
B = triangle.triangulate(A, 'p')
print(B['triangles'])
  • Whether the wrapped triangle library version and its mesh quality guarantees are documented.
  • Performance characteristics and scalability limits for large point sets or complex polygons.
  • Active maintenance status: last commit is recent (2025-01-07) but maintenance is marked dormant.
Same gist for agents: .md · .json

What it is and what it does

Triangle is a Python binding to Jonathan Richard Shewchuk's widely-used C library for two-dimensional mesh generation and Delaunay triangulation. It wraps the C API using Cython to provide direct access to quality mesh refinement, constrained triangulation, and Delaunay computation from Python. The package accepts point sets and polygonal regions as input and produces triangulated meshes suitable for finite-element analysis, computational geometry, and spatial subdivision tasks.

The package depends only on numpy and is available as precompiled wheels across macOS, Linux, and Windows, making installation straightforward. However, the project is dormant—the last release was in January 2025 and there has been no active maintenance beyond repository preservation, so users should expect limited responsiveness to issues or feature requests.

Use it for

  • Generate quality meshes for finite-element simulations by refining point sets and constraining boundaries.
  • Compute Delaunay triangulations of scattered point data for spatial analysis and interpolation.
  • Triangulate polygonal regions with holes for computational geometry and mesh-based algorithms.
  • Subdivide planar domains into triangles for numerical methods and geometric processing.
  • Create constrained Delaunay triangulations that respect user-specified edge and region constraints.

Worth the install?

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

With conditions

Yes, if you need reliable 2D Delaunay triangulation or quality mesh generation: triangle is a mature, well-tested binding to a standard library with no known vulnerabilities and straightforward installation.

However, be aware the project is dormant—maintenance is minimal, so plan accordingly if you need active support or encounter bugs. The LGPL-3.0 copyleft license requires careful review if you intend to distribute derivative work.

Install

triangle on PyPI

Before you install

Medium install friction: precompiled wheels available across macOS, Linux, and Windows for multiple Python versions, but the package is dormant with no recent maintenance activity beyond the repository remaining open.

Requires numpy; Python >= 3.7.

License in practice

Licensed under LGPL-3.0 (copyleft): any derivative work or modification must be released under the same license, and linking in a proprietary application may require careful licensing review.

Quickstart

import numpy as np
import triangle

points = np.array([[0, 0], [1, 0], [1, 1], [0, 1]])
A = dict(vertices=points)
B = triangle.triangulate(A, 'p')
print(B['triangles'])

Verify before relying

  • Whether the wrapped triangle library version and its mesh quality guarantees are documented.
  • Performance characteristics and scalability limits for large point sets or complex polygons.
  • Active maintenance status: last commit is recent (2025-01-07) but maintenance is marked dormant.

Package facts

LicenseLGPL-3.0 copyleft
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceDormant 584 days since the last release
Last repo commit
First released
Downloads511,074 / month, #6,262 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: triangle-20250106-cp310-cp310-macosx_11_0_arm64.whl; triangle-20250106-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; triangle-20250106-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; triangle-20250106-cp310-cp310-win32.whl; triangle-20250106-cp310-cp310-win_amd64.whl; triangle-20250106-cp311-cp311-macosx_11_0_arm64.whl; triangle-20250106-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; triangle-20250106-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; triangle-20250106-cp311-cp311-win32.whl; triangle-20250106-cp311-cp311-win_amd64.whl; triangle-20250106-cp312-cp312-macosx_11_0_arm64.whl; triangle-20250106-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; triangle-20250106-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; triangle-20250106-cp312-cp312-win32.whl; triangle-20250106-cp312-cp312-win_amd64.whl; triangle-20250106-cp313-cp313-macosx_11_0_arm64.whl; triangle-20250106-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; triangle-20250106-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; triangle-20250106-cp313-cp313-win32.whl; triangle-20250106-cp313-cp313-win_amd64.whl

Tags

Capabilities
delaunay triangulation pythonmesh generation 2dquality mesh generatorcomputational geometry triangulationpolygon triangulation libraryconstrained delaunay triangulationmesh refinement
Topics
computational-geometrymesh-generationdelaunay

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 › “delaunay triangulation python”

  • triangleTriangle wraps Jonathan Richard Shewchuk's C library to generate…
  • cytriangleCyTriangle wraps Jonathan Shewchuk's Triangle library via Cython to…
  • cmeel-qhullProvides precompiled qhull binaries (convex hull, Delaunay…

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

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also cytriangle · tetgen · mapbox-earcut · cmeel-qhull · trianglesolver · xatlas · pymeshlab · bermuda · manifold3d · pipablepytorch3d