Skip to main content

Python interface to Zeo++

Project description

pyzeo

Python wrapper for the Zeo++ library. Based on the latest released version 0.3.

Installation

We provide pre-built wheels for several platforms (including Apple Silicon). So in most cases you will want to install the package with pip:

pip install pyzeo

Installing from source

If you wish to install the package directly from the source code, you can do so with:

git clone https://github.com/nomad-coe/pyzeo
cd pyzeo
pip install .

Note that this type of installation will require a separate, platfrom-dependent compilation step. These are some common problems you may encounter in the compilation step:

  • fatal error: Python.h: No such file or directory: The package depends on C/C++ extensions that are compiled during the setup. For the compilation to work you will need to install the pythonX.X-dev-package, where X.X is the python version you use. E.g. for python 3.9 on Ubuntu this package could be installed with:

    .. code-block:: sh

     sudo apt install python3.9-dev
    
  • Installation errors on MacOS: The package depends on C++ extensions that are compiled during the setup. If experiencing problems with setup on MacOS, you may need to install the Xcode Command Line tools package. This can be done with:

    .. code-block:: sh

    xcode-select --install
    

Cython

By default the package comes with pre-built Cython binding code. The cython wrapper definitions live inside src/pyzeo. These bindings can be recreated by first setting USE_CYTHON=True in setup.py, and then recreating the bindings with:

python setup.py build_ext --inplace --force

Remember to disable cython afterwards by setting USE_CYTHON=False in setup.py.

Maintainers: see scripts/RELEASE.md for the full release process.

License

The python wrapper code is licensed under Apache 2.0. Zeo++ library and Voro++ library which are included in the source code have the following license:

Zeo++

Zeo++ Copyright (c) 2011, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

(1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

(2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

(3) Neither the name of the University of California, Lawrence Berkeley National Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to Lawrence Berkeley National Laboratory, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form.

Voro++

Voro++ Copyright (c) 2008, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

(1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

(2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

(3) Neither the name of the University of California, Lawrence Berkeley National Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to Lawrence Berkeley National Laboratory, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form.

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

pyzeo-0.2.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

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

pyzeo-0.2.0-cp314-cp314-musllinux_1_2_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pyzeo-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyzeo-0.2.0-cp314-cp314-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pyzeo-0.2.0-cp314-cp314-macosx_10_15_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pyzeo-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pyzeo-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pyzeo-0.2.0-cp313-cp313-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyzeo-0.2.0-cp313-cp313-macosx_10_13_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pyzeo-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pyzeo-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

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

pyzeo-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyzeo-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pyzeo-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pyzeo-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.9 MB view details)

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

pyzeo-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyzeo-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pyzeo-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pyzeo-0.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

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

pyzeo-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pyzeo-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file pyzeo-0.2.0.tar.gz.

File metadata

  • Download URL: pyzeo-0.2.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pyzeo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f838283f2c4c17d9afca5d7c5c282d5af7a218db1ea8c1f566efa224fe4a9795
MD5 b44b6a179dd2ca0a86ce3a83d307acb1
BLAKE2b-256 b8be8b16a05c3c70ad2b24d1561ae32cc1e2ad1ef08818b97e721951fa9c323b

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a343b4ef279306213bd337042669863c2ec65faf3595a2cba3cabc8d25aaed3a
MD5 c20dbe37f489eee9f35a6688cad4cb47
BLAKE2b-256 6f323c2c79e198a6107c44f9a694bea97915d7752e8e792ed32cd7adb703fab1

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfb447f5053685dec5ba5d8caed6f530fa9e77bb627771597f202624d400315b
MD5 70d88d6e84ca050aa49eebfaa7f01d37
BLAKE2b-256 fc8a4886ac89ae1fae99288fc0a6fe60356ce564646ba773f524bed4a8c0f4ec

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 112e5270586d0690008bf9e1da115e785bd6a67efdc887b128ae08a5cde0fd13
MD5 a927f211f8b15a9bb9da8dcaab298868
BLAKE2b-256 91c25326a34fc6cc7dc3b0833a09e43dbdc564fd51e2d3bcbebe79686a1d9341

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 63a0d7c851ca2ed335e30f08cb945d81b7a6fe98db7b59ba95e5ef57ee4d9ece
MD5 a4dc2c9b664bc5a2c5455a3e56221861
BLAKE2b-256 cc7fa40d01528b2375380d1360ed03fac7cf281bd73527b1cc9550f4d4766f79

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 765bcc7a80a64a05050f633265f6412660ad026dd40e4351f3f7f547cc94a32f
MD5 7e76dfc4d80967fb2301f68233f9813f
BLAKE2b-256 0d8c4d1872f990e58c0306640044e62b3437087a2f5ee52706d257372f656c90

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af4710b750573077b31b926adf290bd1f5ae96ef3298a41062062b146fc298f1
MD5 10eeca92659a13ea7ca548192a1c1ed5
BLAKE2b-256 5655868327faa7992fb5f84fc277ed0846fbb014bb48eecad3f7c1c0229c4918

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bcdeeb57b41392837859243fa99febf6d44eab309ba9d52f9933e944cd9b5dea
MD5 e90b05c59d8e82f5445085d92007efd8
BLAKE2b-256 aa368983e8b3640c4a4d1ed6edb6cb7b1688c0bea6bb53a6f321654d2df674bd

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f9d04d2b2af8d0969ec008507065a53b69c102bc33365d67bedda6c2d3b31297
MD5 eb7713e380e6484b399794cbae3d7680
BLAKE2b-256 03019549d41b5244077e421f9de6dc5871bf410f3657f41926bcc0e75f464d6e

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d90fe148cd4f4b242125a6b669085ae882f815dfbbf7bcb5142f81acd6697c57
MD5 50778f692b4e2218b2436ea56efb644d
BLAKE2b-256 3e2283eb230c25412afa22369f8f5bc28fa03b81ac28fe0b03fc3c810e459648

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 961d081c44813b41e1e1ed3bb1aaa417603e4654d5a1ebd718cd9e4efcb5514c
MD5 975d54de6852580ea26ce12dc919cac4
BLAKE2b-256 cd427ec0cba644a424085926a66d4937eef988ca0bb72fcb40d59966c0ff01cb

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f23f7dbfab2f23af17133355d5791232412f8c541ee005293701844b1346f68f
MD5 08b95c5bc2cd4842394ac6ce40ae5881
BLAKE2b-256 2deac242d22f88deeffcfefa9afc51907701f7a723c48f2b2a29350226bb2d6f

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 035ee508a5b5ebfc4bed44b9b86721ba3208dd1a9edc3b9bb6ed1284ada7dd39
MD5 3fc84bb3c078a2e6917d57ae136b94a4
BLAKE2b-256 3363710072715784d2a94fff4ab0c66966d2f43f2facbf732d3ddb0e43726039

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3d8fe791eb222eb60ba5fa45c94e9a0968cc8e70f3f114e17a01bcd63331989a
MD5 41e78dc3ee9b4c6b411278391184481e
BLAKE2b-256 27ca3e97b148006c9f7c21dcdc51ceffd80e06c22c31148a7bc97bd6c46da161

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd100ae48eb470deec638bdadfeb66964e3060195abf0d8027973a62569da425
MD5 6d13b3d04df392a2cb8d74bd33bb1665
BLAKE2b-256 0079da0793ed35a91289dc9a4ab87b76157c77861ec23db36cd8b2f04754ed48

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 421d84fb41a4840da9c97cc979b07bb7c33586cfec5b6caa2ca39254d0284f37
MD5 d4674e418047983ab2b3c45cfa795776
BLAKE2b-256 550d73558127ef7fb9ce472476fecc2287f431b937cf8e65e5c5a5705da32b13

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f0f9e21c782809d0a35f227950223bbdf6a9924dbb9ce37e08d494d1c04ada5f
MD5 32a948c68da16ec1afcfe3d773504cb2
BLAKE2b-256 0b69a9979c5ff21985f73c214951bbe1fb293e262fc3ecdc6869ab2576745faa

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 38ab48294a12967bcb07bcee685dbb7722e3c4cd0432c0d36ff8b0dceeb60797
MD5 164d842b2e0bb2aafd7b67f8eb714d00
BLAKE2b-256 79f362cc92ed170c8cd9fe7faaac0d7ca3e1efc9cae275ea2b37facbaf73ee22

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75324e1579ac2cffe0d6835d90c86511292d1ed226cdd66d21ae36c479733266
MD5 37e8bed981295004173104ae9bbc1475
BLAKE2b-256 21045c01433ccf97a893ab3b1c9b0a8acf6b89f514ece2555b298276622a64f7

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0b6a3b9b4fbfde28722f568a0298c99cf56838f6b7ab9075a91d70d04d27070
MD5 f0581c5f60f8c0add1cb02eeda9acc9a
BLAKE2b-256 ae212da8c02961fbc5d0a3a0243e7366fdcc5118be01787c6aa70e0c9ce7025d

See more details on using hashes here.

File details

Details for the file pyzeo-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyzeo-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f7814d449d23c7581963668273d081412302eabd1d600c34f43694f54a20588c
MD5 b172c696d5195e3c0f857ed3a96e8dc2
BLAKE2b-256 cca836ddadb796c859dfc33f20d4adbf25be48cf931bc19a6b7199254c3fe910

See more details on using hashes here.

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