Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Test of implementation of a quad-edge data structure using python.
This little project is here to study quad-edge structure for further developments of Delaunator, which waits since a long time.
There is a small GUI (done with the awesome pyglet module) that allow one to play with the triangulation.
Installation in one command, including dependancies:
pip install pydelaunator
The package run the GUI if launched directly:
python -m pydelaunator
Use --help
for options.
The higher-level API is the Placer object. See tests for other usage examples.
This work is mainly here to prototype a better API and detect where and why are bugs in Delaunator.
Efficiency is not a primarily goal, altough, since interfacing python with other languages is a fun exercise, i probably will try some optimizations related to C. Similarly, some algorithms ideas could be easily tested here.
Therefore, PyDelaunator is also a playground for further researchs.
Codes used there are mainly constitued from online ressources (SO, wikipedia). They are not toroughly tested, but as far as the triangulation works.
Implementating them in C could probably speed them up a little, since in python arithmetic codes tends to be costly.
Maybe not the most optimized, but a mapping object/vertex with a dict is certainly the less invasive for end-user, as implemented in the Placer object.
Other ways to go:
These two ways are probably far more efficient in case of big data. However, if current API allow these, Placer object continue to track objects using the dict mapping. Modification of the Placer is needed, or an alternative implementation.
FAQs
quad-edge data structure
We found that pydelaunator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.