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.7.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.7-cp312-abi3-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.12+Windows x86-64

geogram-0.0.7-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.7-cp312-abi3-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

geogram-0.0.7-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.7-cp311-cp311-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.11Windows x86-64

geogram-0.0.7-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.7-cp311-cp311-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.15+ x86-64

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

Uploaded CPython 3.10Windows x86-64

geogram-0.0.7-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.7-cp310-cp310-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.15+ x86-64

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

Uploaded CPython 3.9Windows x86-64

geogram-0.0.7-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.7-cp39-cp39-macosx_11_0_arm64.whl (6.6 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

geogram-0.0.7-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.7.tar.gz.

File metadata

  • Download URL: geogram-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 e3ac08a5a67f237274b059b5d3a9b5d7aa2c6be5dc656c4f4681df716706786d
MD5 30cf4072c9c509523d93b2e2ff9ef64b
BLAKE2b-256 662e58ef9caf3a80272ddeebdf190d81f04068583b66e15ab98155df15bb9de9

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7.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.7-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.7-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.7-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d8339a3e939c560589d797768a58c3861dfd7ca4d697afbc161513881967369e
MD5 5a45c3ff159fff8a0eae556456281606
BLAKE2b-256 439b752a11445df53d45e1654c5541d3004c9a72796bf27c597deea520ddcfd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 924f0898e9d3ebcd9e733be93f19e8a249fd43f9d84d4ecfec94af5bc2ca7184
MD5 31661582b3dfe5b942480c79f87def6a
BLAKE2b-256 1597040534fe2bcd2fccaec18660c829bb9841d77842d8b0ba62e17e0a76914e

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f6deb70e36c8ec7e528386fe5162a6ef3e8ad0568f4730dffc6e12df5bc7d85
MD5 82e13c2b04f98a26b29a1fa000808578
BLAKE2b-256 b95a65a79487b9ad8e54660c54632c58bbf13317311522b10361cbc86fcb038d

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp312-abi3-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp312-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9515102319f5a8ac07a9987355cea06f1daf161769692e84734ca75d6c494ad8
MD5 7cdae6e8127d2cf6149bfec147aece4f
BLAKE2b-256 9eb8541dcd86dc3570c5229a5ff3b5c4daf30c958f991944b8b681a9712bf559

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.7-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.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a88fa0a681d6c74d36b7ce6ad15e0225951a190402b9d88d60ac9f30e9f28741
MD5 beea9db30fee6ea2aaa1c725666404e0
BLAKE2b-256 6bf088160cc19df71a973493a0e2194d4bcf2c7bf7bbf5b53419e9aeade3c9d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95ab6a075d1eaa1d731cecdecfad2517e31548d99b724a25bd3b3974e44b87da
MD5 034d7939acdef34237a7796df539df3c
BLAKE2b-256 7d8632d5748557756f0882cf043765b2fb9ddf34a81d6b908c27fef13a0b00c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85c955d1bb7b93270d0206961b5b30b875a23819bb8b2c3c39d20a3afa9397a4
MD5 fd0f3517776e281168f3c7c6f22e46fc
BLAKE2b-256 fd5d47194369503948f9e0418262d336022b67afcbd09e696af157dd7e8cd654

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1b3d3a5bdca991ab48da89688c6e62e4e33d8f8ae9810bcd7acad2408e1162e1
MD5 b94b52563fa303cd1ae2fbe5913a6ef2
BLAKE2b-256 c22b914f97662cd8ef3f9885872597b2eb3ea2932057e000fc89a6f61e0d5cdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.7-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.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9624f8683aed437ac04a5de5f334f30f2b82620c33a6565530a374683255a85d
MD5 da0fc11f4f7e179daf6c0673884cf3b8
BLAKE2b-256 5aeeb7004fd8679a9ce4fba2983727ea79362e67e3132539a639941de3b6a175

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4157857f7cf0eb66e68ff96fd4f9e8ebb0663b64d66871ee8908475fec442803
MD5 9d9bb70998890cd2cb654844340389b5
BLAKE2b-256 3a9d24e194189b4bbe7fcbba43589c8056ba7221833ad8a9df9cbead4688049a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10f3655c2a16b7c6cab0462c64b6e3d072acb9cbcf0bf920cc037d4ca97aa3ec
MD5 3994ee066a11abf862b18d02449d1c59
BLAKE2b-256 8fe89572d69544fc7629fe3905e23ff2dccff17796d6539af31058fe8bde825f

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1d39ef5f66a225dc255c51012f606a4e2ee00a89f53d7e8e79d12a34efec7b03
MD5 7f9d6b87078becd3faede911a0b8f071
BLAKE2b-256 4cdc549183d2528970c8e3bd3ab0f0238537e90a4f11d7ae021810b06a726020

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: geogram-0.0.7-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.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9f68ee96c5fcf3dd83993e3d7f839a65a51c6fa24c3a17ca2be7a36cbb8b86ac
MD5 28b9249118f98d9bf25e62e73661b497
BLAKE2b-256 30d1db99df55c80b9b6b4de7a19ec36345dac181d99bdd8edf31fc657877ddd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f4dd09db97e3027261abfcd9200f30619ee1d49cc17f88f1c2ed3552ffa6ed1
MD5 7b130692612226e0d29d68d207bddcce
BLAKE2b-256 ae0e9ea95d62ae6c7b3cce12d57c4fa32acd47327142c1aa00abb9727b86de62

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a987f1a4f8a63db2a569a8bf92a9d9e59c23977d9d1c757a12e8a8aa6ba3f7b6
MD5 7a8cf0fdb00c4305f89adf68e3682f57
BLAKE2b-256 630d8a9c202d6baac3ab0dcbaaa5dd03ce14b0cbd89ab4a5b0d87e24fc594b0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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.7-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.7-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 bcd9bca5ebca7cdd1dd9380cd92e6378e62059b46cd8f46881cf3fe11adc286b
MD5 d4e0c80ce727ac80a35b1d0723de3572
BLAKE2b-256 a76d7125950093e91732e2d102d6c9c5f0d5495b6b91502c3269c94e4dd0ce4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.7-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