Skip to main content

Parallel cell-based 3D voronoi tessellations

Project description

https://github.com/eleftherioszisis/multivoro/blob/main/logo.png

Parallel cell-based 3D voronoi tessellations

multivoro is a python library that allows building 3D Voronoi/Laguerre tessellations with voro++ exposed in python via the nanobind library. It leverages the latest multi-threaded extension of Voro++ to allow computing the voronoi cells in parallel.

Codebases

Installation

Wheels

There are available pre-compiled wheels to pip install for Linux and macOS. However, note that these wheels are compiled without multithreading support.

To install them in your system:

pip install multivoro

Source

To build multivoro from source in Ubuntu:

Setup a python virtual environment:

# python versions to choose from: [python3.8-python3.12]
sudo apt install python3.10-dev python3.10-venv
python3.10 -mvenv venv
source ./venv/bin/activate

Install openmp runtime and compile the wheel:

sudo apt install libomp-dev
git clone --recurse-submodules https://github.com/eleftherioszisis/multivoro.git
cd multivoro
USE_OpenMP=ON pip install .

USE_OpenMP environment variable is used as an option in multivoro cmake. By default it is set to ‘OFF’.

Usage

from multivoro import compute_voronoi

cells = compute_voronoi(
    points=[[-1.0, 0.0, 0.0], [1.0, 0.0, 0.0]],
    radii=[1.0, 1.0],
    limits=[[-2.0, -1.0, -1.0], [2.0, 1.0, 1.0]],
    n_threads=6,
)

for cell in cells:
    print(cell.get_vertices())
    print(cell.get_neighbors())
    print(cell.get_face_vertices())

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

multivoro-0.1.2.tar.gz (850.2 kB view details)

Uploaded Source

Built Distributions

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

multivoro-0.1.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (109.6 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

multivoro-0.1.2-cp312-abi3-macosx_11_0_arm64.whl (77.2 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

multivoro-0.1.2-cp312-abi3-macosx_10_14_x86_64.whl (84.0 kB view details)

Uploaded CPython 3.12+macOS 10.14+ x86-64

multivoro-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

multivoro-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (79.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

multivoro-0.1.2-cp311-cp311-macosx_10_14_x86_64.whl (85.6 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

multivoro-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (113.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

multivoro-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (79.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

multivoro-0.1.2-cp310-cp310-macosx_10_14_x86_64.whl (85.9 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

multivoro-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (113.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

multivoro-0.1.2-cp39-cp39-macosx_11_0_arm64.whl (79.6 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

multivoro-0.1.2-cp39-cp39-macosx_10_14_x86_64.whl (86.1 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

multivoro-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (112.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

multivoro-0.1.2-cp38-cp38-macosx_11_0_arm64.whl (78.8 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

multivoro-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl (85.3 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file multivoro-0.1.2.tar.gz.

File metadata

  • Download URL: multivoro-0.1.2.tar.gz
  • Upload date:
  • Size: 850.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for multivoro-0.1.2.tar.gz
Algorithm Hash digest
SHA256 410816ea2d1bbda614e3749b2771dd9293b672424e29f1785619086de082980d
MD5 c19bc5b8a5490a549f682dc900166db4
BLAKE2b-256 fb01d2b0748573c75049ee4d953192b3897cb3c46c51b07f04659558c6dc5a3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2.tar.gz:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f2ad6a04a9dce011b17b4c907abecec809ee9ad4cb8bd1237582801a21aa272
MD5 1c893bca428ea08f66288b71cd8f9e8c
BLAKE2b-256 a2df53e9ff031bb062523e96b2b98bdac5a865b31c268365cfc6a980f361ed02

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4d3177cb103b58f6483a9a318de37d7b24f7e80da484f7bf888de8659307157
MD5 4a6c15521ea8f672815a1a3fc2d8bab2
BLAKE2b-256 b0ac5e56967376f29a9b3e780865547ca09219eea51df5bf6fc44832d6ebe9f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp312-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp312-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e951a7ef2174275f6eb4254c0da5094005cd576f8628d4746ef8d38fd3fc514f
MD5 8fbf551949b077d20d94c6dde00f7005
BLAKE2b-256 0bd8d329e322afd142b8c1b63410896aed50b715e216b45a9568ecb70540674c

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp312-abi3-macosx_10_14_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 360d0854c7e56ac4dddd13166439741c25beae1accd265a246fa91937c044108
MD5 bce0beeb51dedebd17538f2f13af8759
BLAKE2b-256 4722050f33837f3f96853cdf86227944ed5738636ad9b8a4896144ef6b70d264

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28c5eb331cf20231feb27e930e4f980320844373ee419d2474414871cd1453f4
MD5 1ddae1cf08ba07a0719c9e07ca61ada5
BLAKE2b-256 2ce1dc92ec1bfc611b573c666808e2000660b3ef136ad82eca82d7bc69da6cb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 396322541c1990fb45b1d2ba0172555193eeec513544c31b6ec80554d40330d8
MD5 eb482d8615e1b5a3ab623cda0beebea8
BLAKE2b-256 9b63813d3645d8147851b91eee7b2ba2fe762caa00c802ea36d61fa9dc5557e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp311-cp311-macosx_10_14_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48719e24b97b4d21d9ab103fdd59c49e875b3b78580ffddc92b0ac8277908996
MD5 90461f4cb307366e8898e0ff2d93ed8f
BLAKE2b-256 bbae6dbed3a4282f9080b0bb70ec87c889e4a84b16281428a808f4cd47c2fd06

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 332b497850071963763945396cac2ccbd1f9f56693ec73a370c79edda885ece4
MD5 0b63890e262fe5540d56ad35c4a02a3f
BLAKE2b-256 8b64be90ea0768c50c47359549f17e31c75f1d690a4f3f606a0ac7b7960e8250

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1cd76dc535f29fc26b23cab6040a14fb7912a3d5735518e0140b4b45f39b9ef9
MD5 b17f62bc56783c31bcf576dc3327da75
BLAKE2b-256 c7cf44a91c43433c06eff7540a51c71d2ba0dce2096e0f6a3506cac5f50cdaeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp310-cp310-macosx_10_14_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 205b56b0068697b26b051635e4f371c1c120e450b1bec1cb611a75fc15fa029f
MD5 8bd0fdcbdfb515a8d166621ef6e84927
BLAKE2b-256 51da399381e01ed44e23429279ce91b7d28585b513a16a879263022e6962b9ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6a19432caf0ec86ba341ec86137a2d02b02390e25666e2e74e9d8d542dc8ddc
MD5 0786d73150d940156cf626ae7ea1ada0
BLAKE2b-256 fbd88c326a786bb406c7f36207ff219b313ac7864a4e7b5d7e2b5385ff2ec9d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6bdd408f45b1edbbbad6b5e1f6521ba74ae949a3dda95936e69efdcedc8dd6e4
MD5 0c8c2336933ff9035c9a05af616c98f7
BLAKE2b-256 07e72140f7714b6178348ea387bd900f3d2f412a98262a47aa0a160c96480203

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp39-cp39-macosx_10_14_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6f56d4d7a070b8a5cb7370012bd85cd3e3d952680de04dd7246b8919f19ce1c
MD5 bd5e6f116d77720d57ddc2801096d0d3
BLAKE2b-256 ed9bbfcee5c3596901cc5d0265e83d22c9414eab5d9bda20cb71c42994f47cac

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7815e56053f93b0352eef4c0469c5dde42eb18ae006f6071c99e0f4a27e293ab
MD5 870789b7530d6b8639cb5cdee489e4dd
BLAKE2b-256 58c9ef99ef348dc0523d78fdb46eb24f99c36b564fa047144414fb9b29ad7b7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp38-cp38-macosx_11_0_arm64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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

File details

Details for the file multivoro-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for multivoro-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5489e29a690b46036068b24a08717e8c90717549617cae3dc11bd0aac69b7211
MD5 7bbe5a283a4fc85808349412dd6c3b56
BLAKE2b-256 27883a12cce364d2d7709902b31cb230d93cddecb4d0af049922915fc4f49059

See more details on using hashes here.

Provenance

The following attestation bundles were made for multivoro-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl:

Publisher: wheels.yml on eleftherioszisis/multivoro

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