20241217 Python package alpha-2
Pre-release
Pre-release
·
54 commits
to master
since this release
The Python bindings have been re-written using nanobind, and a CI added to build packages for Windows/Linux/macOS, that can be retrieved from https://pypi.org/project/SandiaSpecUtils/, e.g. by
pip install SandiaSpecUtils
Or you can build from source, with something like:
git clone https://github.com/sandialabs/SpecUtils.git SpecUtils
# Optionally make/use a virtual environment
mkdir my_venv
python -m venv my_venv
source my_venv/bin/activate # Windows PowerShell: .\my_venv\Scripts\Activate.ps1
# Compile and install the bindings
pip install SpecUtils/bindings/python
# Use the package
python
>>> import SpecUtils
Example usages of the library from Python can be found in https://github.com/sandialabs/SpecUtils/tree/master/bindings/python/examples
For support, please open an issue, or email [email protected]