{"id":13714971,"url":"https://github.com/meshpro/meshplex","last_synced_at":"2026-04-01T20:45:17.400Z","repository":{"id":43021555,"uuid":"80457714","full_name":"meshpro/meshplex","owner":"meshpro","description":":spider_web: Compute interesting points, areas, and volumes in simplex meshes of any dimension.","archived":false,"fork":false,"pushed_at":"2025-07-23T09:47:19.000Z","size":5071,"stargazers_count":109,"open_issues_count":8,"forks_count":21,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-21T22:46:33.466Z","etag":null,"topics":["mathematics","mesh","pypi","python","voronoi-diagram"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meshpro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-01-30T19:58:31.000Z","updated_at":"2026-02-19T22:20:49.000Z","dependencies_parsed_at":"2024-06-19T00:27:38.282Z","dependency_job_id":"4bb2a3f7-a048-4846-96c2-83ded3e4af35","html_url":"https://github.com/meshpro/meshplex","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"e338026d6010863f8aa79baaab98f170d14f496f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meshpro/meshplex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshpro%2Fmeshplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshpro%2Fmeshplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshpro%2Fmeshplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshpro%2Fmeshplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meshpro","download_url":"https://codeload.github.com/meshpro/meshplex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshpro%2Fmeshplex/sbom","scorecard":{"id":637236,"data":{"date":"2025-08-11","repo":{"name":"github.com/meshpro/meshplex","commit":"7a4b754ebe9e2a51e7fd6a3bce3df8a66543610a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}}]},"last_synced_at":"2025-08-21T09:33:52.543Z","repository_id":43021555,"created_at":"2025-08-21T09:33:52.543Z","updated_at":"2025-08-21T09:33:52.543Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mathematics","mesh","pypi","python","voronoi-diagram"],"created_at":"2024-08-03T00:00:52.586Z","updated_at":"2026-04-01T20:45:17.369Z","avatar_url":"https://github.com/meshpro.png","language":null,"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/nschloe/meshplex\"\u003e\u003cimg alt=\"meshplex\" src=\"https://raw.githubusercontent.com/meshpro/meshplex/assets/meshplex-logo.svg\" width=\"60%\"\u003e\u003c/a\u003e\n  \u003cp align=\"center\"\u003eFast tools for simplex meshes.\u003c/p\u003e\n\u003c/p\u003e\n\n[![PyPi Version](https://img.shields.io/pypi/v/meshplex.svg?style=flat-square)](https://pypi.org/project/meshplex/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/meshplex.svg?style=flat-square)](https://pypi.org/project/meshplex/)\n[![GitHub stars](https://img.shields.io/github/stars/nschloe/meshplex.svg?style=flat-square\u0026logo=github\u0026label=Stars\u0026logoColor=white)](https://github.com/nschloe/meshplex)\n[![PyPi downloads](https://img.shields.io/pypi/dm/meshplex.svg?style=flat-square)](https://pypistats.org/packages/meshplex)\n\n[![Discord](https://img.shields.io/static/v1?logo=discord\u0026label=chat\u0026message=on%20discord\u0026color=7289da\u0026style=flat-square)](https://discord.gg/hnTJ5MRX2Y)\n\nCompute all sorts of interesting points, areas, and volumes in simplex\n(triangle, tetrahedral, n-simplex) meshes of any dimension, with a focus on\nefficiency. Useful in many contexts, e.g., finite-element and finite-volume\ncomputations.\n\n### Installation\n\nInstall meshplex [from PyPI](https://pypi.org/project/meshplex/) with\n\n```\npip install meshplex\n```\n\nFor full usage of meshplex, you require a license. Licenses for personal and\nacademic use can be purchased\n[here](https://buy.stripe.com/5kA3eV8t8af83iE9AE). For more info, see\n[here](https://github.com/meshpro).\n\n### Quickstart\n\nmeshplex can compute the following data:\n\n```python\nimport meshplex\n\n# create a simple Mesh instance\npoints = [[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]\ncells = [[0, 1, 2]]\nmesh = meshplex.Mesh(points, cells)\n# or read it from a file\n# mesh = meshplex.read(\"pacman.vtk\")\n\n# triangle volumes, heights\nprint(mesh.cell_volumes)\nprint(mesh.signed_cell_volumes)\nprint(mesh.cell_heights)\n\n# circumcenters, centroids, incenters\nprint(mesh.cell_circumcenters)\nprint(mesh.cell_centroids)\nprint(mesh.cell_incenters)\n\n# circumradius, inradius, cell quality\nprint(mesh.cell_circumradius)\nprint(mesh.cell_inradius)\nprint(mesh.q_radius_ratio)  # d * inradius / circumradius (min 0, max 1)\n\n# control volumes, centroids\nprint(mesh.control_volumes)\nprint(mesh.control_volume_centroids)\n\n# covolume/edge length ratios\nprint(mesh.ce_ratios)\n\n# count Delaunay violations\nprint(mesh.num_delaunay_violations)\n\n# get all boundary angles in radians\nprint(mesh.outside_boundary_angles_radians)\n\n# removes some cells\nmesh.remove_cells([0])\n```\n\nFor triangular meshes (`MeshTri`), meshplex also has some mesh manipulation routines:\n\n\u003c!--pytest.mark.skip--\u003e\n\n```python\nmesh.show()  # show the mesh\nmesh.angles  # compute angles\nmesh.flip_until_delaunay()  # flips edges until the mesh is Delaunay\n```\n\nFor a documentation of all classes and functions, see\n[readthedocs](https://meshplex.readthedocs.io/).\n\n(For mesh creation, check out\n[this list](https://github.com/nschloe/awesome-scientific-computing#meshing)).\n\n### Plotting\n\n#### Triangles\n\n\u003cimg src=\"https://raw.githubusercontent.com/meshpro/meshplex/assets/pacman.png\" width=\"30%\"\u003e\n\n\u003c!--pytest.mark.skip--\u003e\n\n```python\nimport meshplex\n\nmesh = meshplex.read(\"pacman.vtk\")\nmesh.show(\n    # show_coedges=True,\n    # control_volume_centroid_color=None,\n    # mesh_color=\"k\",\n    # nondelaunay_edge_color=None,\n    # boundary_edge_color=None,\n    # comesh_color=(0.8, 0.8, 0.8),\n    show_axes=False,\n)\n```\n\n#### Tetrahedra\n\n\u003cimg src=\"https://raw.githubusercontent.com/meshpro/meshplex/assets/tetra.png\" width=\"30%\"\u003e\n\n\u003c!--pytest.mark.skip--\u003e\n\n```python\nimport numpy as np\nimport meshplex\n\n# Generate tetrahedron\npoints = np.array(\n    [\n        [1.0, 0.0, -1.0 / np.sqrt(8)],\n        [-0.5, +np.sqrt(3.0) / 2.0, -1.0 / np.sqrt(8)],\n        [-0.5, -np.sqrt(3.0) / 2.0, -1.0 / np.sqrt(8)],\n        [0.0, 0.0, np.sqrt(2.0) - 1.0 / np.sqrt(8)],\n    ]\n) / np.sqrt(3.0)\ncells = [[0, 1, 2, 3]]\n\n# Create mesh object\nmesh = meshplex.MeshTetra(points, cells)\n\n# Plot cell 0 with control volume boundaries\nmesh.show_cell(\n    0,\n    # barycenter_rgba=(1, 0, 0, 1.0),\n    # circumcenter_rgba=(0.1, 0.1, 0.1, 1.0),\n    # circumsphere_rgba=(0, 1, 0, 1.0),\n    # incenter_rgba=(1, 0, 1, 1.0),\n    # insphere_rgba=(1, 0, 1, 1.0),\n    # face_circumcenter_rgba=(0, 0, 1, 1.0),\n    control_volume_boundaries_rgba=(1.0, 0.0, 0.0, 1.0),\n    line_width=3.0,\n)\n```\n","funding_links":[],"categories":["Meshing"],"sub_categories":["Mesh tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshpro%2Fmeshplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshpro%2Fmeshplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshpro%2Fmeshplex/lists"}