alphashape
Toolbox for generating alpha shapes.
Decision gist · record as of 2026-08-14
Yes. The package is stable (Production/Stable classifier), actively maintained, permissively licensed, has no known vulnerabilities, and installs with low friction. It fills a genuine gap between convex hulls and manual boundary fitting. Install it if you need adaptive bounding shapes; skip it only if you require only convex hulls or if your use case is strictly 2D and you prefer a lighter dependency tree.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure-Python wheel with no compiled dependencies.
- Actively maintained as of 2026-07-23 with 313 repository stars and no known vulnerabilities.
License · maintenance · safety
MIT license (permissive) — MIT license permits commercial and private use with minimal restrictions; attribution required but no copyleft obligations.
last release 2021-04-16 (1946 days) · last repo commit 2026-07-23 · 313 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,434,301 downloads/mo, #3,903 on PyPI
Alternatives
Verify before relying
pip install alphashape
import alphashape
import numpy as np
points = [(0., 0.), (0., 1.), (1., 1.), (1., 0.), (0.5, 0.25)]
alpha_shape = alphashape.alphashape(points, 2.0)- Performance characteristics on large datasets (fact sheet notes solving for alpha can be slow but does not quantify thresholds)
- Numerical stability or precision guarantees for edge cases in high dimensions
What it is and what it does
Alphashape is a computational geometry library that wraps point clouds in tight, adaptive bounding shapes. Unlike a convex hull—which always produces the outermost perimeter—an alpha shape lets you control how tightly the boundary fits by adjusting an alpha parameter: lower values yield convex shapes, higher values produce concave hulls that hug the data more closely. The library works in 2, 3, 4, or higher dimensions and returns either a polygon (2D), a mesh (3D+), or a set of simplices depending on dimensionality.
You can specify the alpha parameter directly, define it as a function of local point density, or let the library solve for an optimal value automatically. A command-line tool is included for batch processing. The package depends on shapely for 2D geometry, trimesh for 3D visualization, and standard scientific Python stack (numpy, scipy, networkx, rtree) for computational backbone.
Use it for
- Compute concave hulls around GPS traces or sensor readings to define coverage regions without over-fitting to outliers.
- Mesh 3D point clouds from LiDAR or photogrammetry by generating alpha shapes at varying scales.
- Automatically determine tight bounding polygons for geospatial features where convex hulls are too loose.
- Solve for optimal alpha values in exploratory analysis to find the best-fitting boundary without manual parameter tuning.
- Generate n-dimensional simplicial complexes for topological or statistical analysis of high-dimensional point sets.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is stable (Production/Stable classifier), actively maintained, permissively licensed, has no known vulnerabilities, and installs with low friction. It fills a genuine gap between convex hulls and manual boundary fitting. Install it if you need adaptive bounding shapes; skip it only if you require only convex hulls or if your use case is strictly 2D and you prefer a lighter dependency tree.
Install
alphashape on PyPI
Before you install
Low friction: pure-Python wheel with no compiled dependencies. Actively maintained as of 2026-07-23 with 313 repository stars and no known vulnerabilities.
License in practice
MIT license permits commercial and private use with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install alphashape
import alphashape
import numpy as np
points = [(0., 0.), (0., 1.), (1., 1.), (1., 0.), (0.5, 0.25)]
alpha_shape = alphashape.alphashape(points, 2.0)
Verify before relying
- Performance characteristics on large datasets (fact sheet notes solving for alpha can be slow but does not quantify thresholds)
- Numerical stability or precision guarantees for edge cases in high dimensions
Package facts
| License | MIT license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesClickclick-logshapelynumpytrimeshnetworkxrtreescipy |
| Maintenance | Actively maintained 1,946 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,434,301 / month, #3,903 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 :: Science/ResearchLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering |
Evidence: alphashape-1.3.1-py2.py3-none-any.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 › “alpha shape generation”
- alphashapeGenerates n-dimensional alpha shapes—concave or convex bounding…
- vsdxvsdx reads, modifies, and creates Microsoft Visio .vsdx files…
- aleph-alpha-clientPython client library for calling the Aleph Alpha API, supporting…
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 bermuda · vhacdx · cmeel-qhull · trimesh · umap-learn · cvxopt · paretoset · gstools · pygmsh · descartes