{"id":15049525,"url":"https://github.com/aluriak/pydelaunator","last_synced_at":"2026-03-16T08:35:59.990Z","repository":{"id":62579835,"uuid":"87021991","full_name":"Aluriak/pydelaunator","owner":"Aluriak","description":"Pure python binding of delaunator","archived":false,"fork":false,"pushed_at":"2017-04-07T21:27:25.000Z","size":198,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T14:02:33.278Z","etag":null,"topics":["c","delaunay-triangulation","graph","pyglet","python","triangulation"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aluriak.png","metadata":{"files":{"readme":"README.mkd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-02T23:07:51.000Z","updated_at":"2022-09-06T06:59:54.000Z","dependencies_parsed_at":"2022-11-03T19:31:49.070Z","dependency_job_id":null,"html_url":"https://github.com/Aluriak/pydelaunator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aluriak%2Fpydelaunator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aluriak%2Fpydelaunator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aluriak%2Fpydelaunator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aluriak%2Fpydelaunator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aluriak","download_url":"https://codeload.github.com/Aluriak/pydelaunator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510127,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c","delaunay-triangulation","graph","pyglet","python","triangulation"],"created_at":"2024-09-24T21:21:08.192Z","updated_at":"2025-12-28T09:20:21.517Z","avatar_url":"https://github.com/Aluriak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyDelaunator\nTest of implementation of a quad-edge data structure using python.\n\nThis little project is here to study quad-edge structure\nfor further developments of [Delaunator](https://pypi.python.org/pypi/delaunator),\nwhich waits since a long time.\n\nThere is a small GUI (done with the awesome [pyglet](http://pyglet.org) module)\nthat allow one to play with the triangulation.\n\n\n## Installation/requirements\nInstallation in one command, including dependancies:\n\n    pip install pydelaunator\n\n\n## Usage\nThe package run the GUI if launched directly:\n\n    python -m pydelaunator\n    \nUse `--help` for options.\n\nThe higher-level API is the [Placer object](pydelaunator/placer.py). See [tests](pydelaunator/test/test_placer.py) for other usage examples.\n\n## Notes\n### Goals\nThis work is mainly here to prototype a better API and detect where\nand why are bugs in Delaunator.\n\nEfficiency is not a primarily goal, altough, since interfacing python with\nother languages is a fun exercise, i probably will try some optimizations related to C.\nSimilarly, some algorithms ideas could be easily tested here.\n\nTherefore, PyDelaunator is also a playground for further researchs.\n\n### Computational geometry\n[Codes used there](pydelaunator/geometry.py) are mainly constitued from online ressources (SO, wikipedia).\nThey are *not* toroughly [tested](pydelaunator/test/test_geometry.py), but as far as the triangulation works.\n\nImplementating them in C could probably speed them up a little,\nsince in python arithmetic codes tends to be costly.\n\n### Duality Vertex/data\nMaybe not the most optimized, but a mapping object/vertex with a dict\nis certainly the less invasive for end-user, [as implemented in the Placer object](pydelaunator/placer.py).\n\nOther ways to go:\n\n- client objects inheriting from Vertex\n- client objects keeping a reference to their vertex\n\nThese two ways are probably far more efficient in case of big data.\nHowever, if current API *allow* these, Placer object continue to track objects using the dict mapping.\nModification of the Placer is needed, or an alternative implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faluriak%2Fpydelaunator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faluriak%2Fpydelaunator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faluriak%2Fpydelaunator/lists"}