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.5.tar.gz (15.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.5-cp312-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.12+Windows x86-64

geogram-0.0.5-cp312-abi3-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

geogram-0.0.5-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.9 MB view details)

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

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

geogram-0.0.5-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.5-cp311-cp311-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.11Windows x86-64

geogram-0.0.5-cp311-cp311-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

geogram-0.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.9 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.15+ x86-64

geogram-0.0.5-cp310-cp310-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10Windows x86-64

geogram-0.0.5-cp310-cp310-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

geogram-0.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.9 MB view details)

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

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.15+ x86-64

geogram-0.0.5-cp39-cp39-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.9Windows x86-64

geogram-0.0.5-cp39-cp39-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

geogram-0.0.5-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.9 MB view details)

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

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

Uploaded CPython 3.9macOS 11.0+ ARM64

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

File metadata

  • Download URL: geogram-0.0.5.tar.gz
  • Upload date:
  • Size: 15.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.5.tar.gz
Algorithm Hash digest
SHA256 f3afb035cb49d75c26721c62cd4d789747e210a2d3bc0c559ed67c65ed94e242
MD5 a2bc5bbc690b429efcbe8a575afb7d8b
BLAKE2b-256 56db88d0b58867a281e6d580c1042f0d2a5c1dd39079f5e2a8b4210e787260d8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: geogram-0.0.5-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.5-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1781f2b8eae2cbbe33d343cfb1fd7416d34ccd85c55a3e8ba83f096601c3b023
MD5 a23c41a17a596cf55ebd5e76abeeea36
BLAKE2b-256 bdb1f67228d98b25e561cf393664937ee2beef327b86fd9c4a886b59995c14e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d26f63646896c487676640f96ba83db6d66517e2215e897c5377b9c6d0a6e7e6
MD5 4062d97987f0de29a2a72c4d5cfa7a6e
BLAKE2b-256 4f195de78dcdc70a7e4252c6ff0a79181bc09607a93e31b5364de65fbae3246a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ed11ec794b326c549e85594cf24b335794dae6279b771ac99e757d3fefb910f0
MD5 096a6821f7541decadc2f451be59b708
BLAKE2b-256 85cbf174b502cefdd2af602f297cf99ec1a85c09189ead4799eca665b72b2edc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fc24c3cd0301fb2b25612fe771eef1312eb7081d281dff9ad486c6300f91855
MD5 d67e235a454a5e89876c9432789dfa19
BLAKE2b-256 549d80455f4f03bf4f4779ad249e7caccec1df8a4973b452626b6475e2bd772d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp312-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 281bdc217116e4d68c2999073ed50088ecefcf36105809eade9d9d1afeeabf6e
MD5 60d4835392c922e2d8ded8b46d651871
BLAKE2b-256 37a4352866e77b63945d1ed013d0175d3b1f73e2b2c6120acc663470f3935cc0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: geogram-0.0.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f2a65ca9da3c7bc2f1f5b9f2a1a5e18e89cec69b80d160d914a76d4d1850b5c9
MD5 e6dc77965a46fbf379bb63d9d9b330d1
BLAKE2b-256 e936748c276fb99c5a53f2d442ab4110a8d9e8a6f1536b184eb5b3c208c7df17

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.5-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.5-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 490224f7f9a3a717cb67baacb038194d4c2e944f1465e5f3f8e24c561e331ee9
MD5 725fb40d3b75d454260abb34a26be02f
BLAKE2b-256 3c4fae0bdfb0f3771e4e0e1eb6b3521a1f5322f329ae030dff45bf693bfbaa55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98a319b2b71a4947e7b2c1cdceb92cb53a674f6f79b877a72718c6075e0c1352
MD5 d9cd4416686605ac2212125eb769686d
BLAKE2b-256 8d711b2948ea16b8c49629525cefc8dda4aea22a21f2b08edaa97cc9919b06c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 84071684f0bd87febb56965b77e750008c190ded1f9d3b8034e2f604dc893307
MD5 e030e2fd2b96f6014f5bd1f918e378e9
BLAKE2b-256 af5b7cdb7c716e3f5d181c7012b07a1948bdc7ac5328120b580ebd05ce4e8d5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d492783a79fdd933ae5b46d61c9d8e5876a565223f396171bf89123c09f31b7b
MD5 b468b203d20770bc122b76668143d829
BLAKE2b-256 f0237ab654e7e6eae63a06ba62c48df2af0f800ff7c043307901efa81c0abb69

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: geogram-0.0.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 23397ab3ba9c592386cd96b459fa96a6dc7a697cbc481cba718f706c7038100b
MD5 a966843d64fb4287fb1d336442a28870
BLAKE2b-256 4e97ab02dd8ccad24edfc5e392d0154d54bef97c91dc20bb5642528309f83379

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.5-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.5-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e486474972bb7f18c27ecd8f5032fc326756f663fe3280b07cf1a19f009a3216
MD5 e62e5df1de2ce13037fd90762fe4d285
BLAKE2b-256 dd888df861be3bf8e921c50093e706eb732bd870fb44a85f6c9318356a331e53

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d4b07642416c558e994e32f7224caa06ea645fdb87a2b5a6c5acc00e3dae6fb7
MD5 94757cc54c9c0409c441c79e2fc7b243
BLAKE2b-256 b18f471a48dafa0fc81e2d03ad36d4751e9f563f33df612ac0ebeadc39db6e3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26e24e417b245610b26da4382f9a63b24899b0345e5e90b75fdd93492439866c
MD5 fb3d00a8c68a3589a52d49a3b2df4e53
BLAKE2b-256 692f3df3303808b5776466973ea7f1758d166576e17765e6dbe0bb6c40979b60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4d3d43c3eb9d7aacfa4d3f34e24c3c5b5a55ded0165d77e18b9ac58b53c6f44e
MD5 d31469ca19aa659bf951c2e34a82a63d
BLAKE2b-256 c43033e5904ef43750592c3be6128806d3be8c1f162c3394287e60df8ae25f4b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: geogram-0.0.5-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 46c9b8448c280a0bba56e18cf3bc827487b311a3ff66b0d84daf7c9b83f17c8f
MD5 3d69313d4256faa741ee109e098fb7e2
BLAKE2b-256 30cca1582631bd55524f5ab7ce4b15f42533332f4346a12c3357603959096208

See more details on using hashes here.

Provenance

The following attestation bundles were made for geogram-0.0.5-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.5-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for geogram-0.0.5-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3935954b7ef74f5b02dd3710e908310d816c0b9a86e6988e6d04187a093c837a
MD5 66745b5402fbaaa32b230b6ec1c5ac33
BLAKE2b-256 484ec7ec55770e3f2c0076d2567a9b69d10764f730293f01bd6181704f22dfe9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edfbbc928ee882b89d741e5d8c313af7ca9e6bc7cd03fd89eb9d6ad0b0d2501a
MD5 90ca4c1b8c96e97ae6e797d74c2d3515
BLAKE2b-256 104ba55e8e7cb9a3cc95f773846290a6d18375d10289f2061a96dcaa18631b66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65f04e5534b827fa04614a6ec1ac078826a7306cfeadafc06a08ee9f8c7ce481
MD5 6eaed5dc440942d6f56e2df35c6c48bf
BLAKE2b-256 f2ab7e4dc5c937dfb455e143bea7e88fe5db19df7f336b7779840d8a65915b19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for geogram-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7a96ca58ac3814def39befaa9685c9b246eb4c275edba6b31084ec46f9eeae37
MD5 4db14c17cb2f9f1ff8bdca226c29e19e
BLAKE2b-256 37bb95bc7c59ae4271033a034f1902104349d1a562bf03708d74cf5742f5df56

See more details on using hashes here.

Provenance

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