Skip to main content

python geogram binding

Project description

pygeogram: python binding for geogram

This repos provides python bindings for geogram's state-of-the-art Voronoi diagram builder and related algorithms.

Pre-built binary wheels are provided on PyPI which can then be installed with

pip install geogram

Example

A Voronoi diagram can be computed with:

import geogram as geo
import numpy as np

(vertices, triangles) = geo.shape.quad()

seeds = np.random.rand(10000, 2)
voronoi = geo.Voronoi(seeds, domain_vertices=vertices, domain_simplices=triangles)

Elements of the diagram are provided, regardless of the dimension through a decomposition of the diagram into simplices. It should not to be confused with the dual of the diagram, the Delaunay triangulation. Instead, each Voronoi cell is decomposed into a set of simplex:

  • q (#q, d): Voronoi vertices coordinates
  • t (#t, d): Simplices composing the Voronoi cells
  • tadj (#t, d): Simplex's neighbour index
  • tseed (#t): Simplex's corresponding seed index

Plotting the simplices edges t between the voronoi vertices q leads to

See examples for additional notebooks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geogram-0.0.6.tar.gz (16.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

geogram-0.0.6-cp312-abi3-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.12+Windows x86-64

geogram-0.0.6-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

geogram-0.0.6-cp312-abi3-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

geogram-0.0.6-cp312-abi3-macosx_10_15_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.12+macOS 10.15+ x86-64

geogram-0.0.6-cp311-cp311-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.11Windows x86-64

geogram-0.0.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

geogram-0.0.6-cp311-cp311-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

geogram-0.0.6-cp311-cp311-macosx_10_15_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

geogram-0.0.6-cp310-cp310-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.10Windows x86-64

geogram-0.0.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

geogram-0.0.6-cp310-cp310-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

geogram-0.0.6-cp310-cp310-macosx_10_15_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

geogram-0.0.6-cp39-cp39-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.9Windows x86-64

geogram-0.0.6-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

geogram-0.0.6-cp39-cp39-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

geogram-0.0.6-cp39-cp39-macosx_10_15_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

File details

Details for the file geogram-0.0.6.tar.gz.

File metadata

  • Download URL: geogram-0.0.6.tar.gz
  • Upload date:
  • Size: 16.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geogram-0.0.6.tar.gz
Algorithm Hash digest
SHA256 262aa006a220cb7ee7c01a78598d5f2ef3717999c8b4c40640e0706517f842fb
MD5 bcee0f54caec396b062a2adb1c4cf7a3
BLAKE2b-256 6733d7e4942b2f18f2a6780c670dc19415fb5b09056a52719c1eca53459d63e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6.tar.gz:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.6-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geogram-0.0.6-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 46e002b3f7a7de22884bc15a1e777fb388d64717d3fe371de2f41c9a1f7702db
MD5 a81443ab2742734bf4b823cb2068cc6e
BLAKE2b-256 c7b9486f4b32a269c786af999b6843097a76b9c0b99dd725e9717fa3f5e17dc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp312-abi3-win_amd64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3642504aee1bceb5ab5c8a2e7b7259f50db52892a63ad38cc6f17d9b90a10f46
MD5 56c46abcc35296457df67b810336e565
BLAKE2b-256 2fe34c9e5078da50dd49fd335c17f8a4dbd971dba2f697823b586e9f634fe33f

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe55f871235757a104b541848be2fc27f8aec1fbedabc6a4b6edfca439d2fa87
MD5 f13d94b1f90730af45fc2048e674e16a
BLAKE2b-256 0d2940896387be24350e26bf575908516b9cbd71c684a13ee31e9be97dbaa3cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp312-abi3-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp312-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c8c1a00cd38e1eb2ebe18aa500381476bcf7d79bbc332072fb8792777a716237
MD5 0fc36f8fa88c296990282356d3185d4d
BLAKE2b-256 899fe50ca5d497ada14a044203aa20d9bb312c247df6033203dc8e659802b6a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp312-abi3-macosx_10_15_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geogram-0.0.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 37f5340158c25d57f9ab7b6501770221cae32f77c9bd757b6ff59624ef6cae06
MD5 ffb6070a486876c570f814f7a4942e37
BLAKE2b-256 9a940a7f92ae1b1b792b5c2451b2f8f3b4b4995abca66bbe46f2d8e1930ec526

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d12394de538ca1e85527b234b2ae46241e3f64dbf974a3253a9c24f6464ce944
MD5 0e3abe259c0ba1eedebe883cce478d6e
BLAKE2b-256 dac59d7e6d3f6bf6a5aa5aee16c56e4d478ae0dade3bb13614a396cb810bddeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 331a3d1c2ae9e0fd4ee231a2ef7c4786032e434f73231dde395b312e5efa4016
MD5 b67478e1b14f18c23c708fb32944f11e
BLAKE2b-256 2dbb6ed9cceea3a9c89a8f23acbbf1f323cac33cedb668f6d6d66d79ed029a1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 105d491c05f8eb68725b84247b5169d7ec7a80b1c8d36d41736866710774e954
MD5 d5483083aecebeaa43e9e943299f1113
BLAKE2b-256 7f28163a1c3b175eb0efc95da76c4618782985957051cfef55f4c3214c419055

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp311-cp311-macosx_10_15_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geogram-0.0.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f1c48d309b6044314da91b8f54a6757984b929e254a4aee4b21dc365acb8e000
MD5 e913587eff0e7c0062e43ed7549146b6
BLAKE2b-256 5665681fc8bdd893d462a6b2941d348f073c4807fac4a78190729c74c3881fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d675e1f91ce8ccb1a77f7c5598a4c8f5e9f324b56bec959709d56a875b82f495
MD5 dda7c8057386d3b25103f6cd0a5d52c3
BLAKE2b-256 d75e5080d94615374ad9a10ee71387b831293481716447ceb0c0a79815806669

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1c3de2238d255238af013b4c447d2cc4f58e21f3a613054b0ef9732ffb713fc
MD5 79d895713048fd2d5c8b76a4321ee1a7
BLAKE2b-256 6807979d78a6dcb3d2360118ef8b90160612149c7b422ec20259d876320719e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e294e73fafe07332b5eb09da84d3a9b7050d5dee091a20734e914ceea3e9b8db
MD5 7688f3c3d964d281d5b5108bcd781720
BLAKE2b-256 25751736b777c56244d70291e78f52e19f9646ee1205d0b77fe606c66baadb60

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp310-cp310-macosx_10_15_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geogram-0.0.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f5f70546128c93de7f992f7cdcff9d32a57834e46f909c1021c1d26e315c981d
MD5 103fdf0638ca0e1106590ddd1bef7cae
BLAKE2b-256 600948b3bfb8883ecd92e186312ad4849b3dd34020707a686ea530993fdc5ae6

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp39-cp39-win_amd64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84f6c9b54b0b7c05b97afe9a5a3c64955be589ef524dc1b473678a3d4d9a172c
MD5 d7f46596e1d3a53409618488c12da172
BLAKE2b-256 3444dbf4967f580149a3ae861543e2beb2e2b1493142ba9fae7a5495f9c9150d

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e631cd913cedb34b001bf78a9cb31bbcc0da53cda392a21a9eb4ff2f27a73ae
MD5 7d474a0c020fcd088c1243b340d3a095
BLAKE2b-256 b883042c6c3fecd24bd7a6d7402151c10b4f00764fcba4b85179ca95c4b62356

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geogram-0.0.6-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.6-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 98f2b85f9566cb758dd5b179c841d8be0e4a6d292cf498e76866a30d0959ff4e
MD5 e5b6843f3d27fa75e90091d50523902e
BLAKE2b-256 acca1b153fd09defa2b3d86f8745e83951eae9b760219004a46e596f71c06b19

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.6-cp39-cp39-macosx_10_15_x86_64.whl:

Publisher: wheels.yml on PlathC/pygeogram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page