Skip to main content

Binding for wood project that is compiled into a binding using nanobind and scikit-build

Project description

wood_nano

Python bindings for the wood C++ library using nanobind.

CI status
Build Build
Release Release

Quick Start

pip install wood_nano
import wood_nano as m
print(m.add(1, 2))

Build from Source

All C++ dependencies (CGAL, Boost, Eigen, etc.) are downloaded automatically by CMake.

Windows

git clone --recursive https://github.com/petrasvestartas/wood_nano.git
cd wood_nano
pip install uv
uv venv .venv
.venv\Scripts\activate
uv pip install -r requirements-dev.txt
uv pip install --no-build-isolation -ve .

macOS

git clone --recursive https://github.com/petrasvestartas/wood_nano.git
cd wood_nano
pip install uv
uv venv .venv
source .venv/bin/activate
uv pip install -r requirements-dev.txt
uv pip install --no-build-isolation -ve .

Linux

git clone --recursive https://github.com/petrasvestartas/wood_nano.git
cd wood_nano
pip install uv
uv venv .venv
source .venv/bin/activate
uv pip install -r requirements-dev.txt
uv pip install --no-build-isolation -ve .

Test

python -c "import wood_nano as m; print(m.add(1, 2))"

PyPI Release

Releases are automated via GitHub Actions using trusted publishing.

One-time setup (PyPI):

  1. Go to https://pypi.org/manage/account/publishing/
  2. Add pending publisher:
    • Project: wood_nano
    • Owner: petrasvestartas
    • Repository: wood_nano
    • Workflow: release.yml

To publish a new version:

  1. Update the version number in src/wood_nano/__init__.py:

    __version__ = "0.3.0"  # Change to new version
    
  2. Commit the version change:

    git add src/wood_nano/__init__.py
    git commit -m "Bump version to 0.3.0"
    git push
    
  3. Create and push the tag:

    git tag v0.3.0
    git push origin v0.3.0
    

This triggers the release workflow which builds wheels for all platforms and publishes to PyPI.

Development

Update wood submodule:

git submodule update --init --recursive

Clean rebuild:

rm -rf build .deps
pip install --no-build-isolation -ve .

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

wood_nano-0.3.5.tar.gz (104.6 MB view details)

Uploaded Source

Built Distributions

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

wood_nano-0.3.5-cp312-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12+Windows x86-64

wood_nano-0.3.5-cp312-abi3-manylinux_2_28_x86_64.whl (1.9 MB view details)

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

wood_nano-0.3.5-cp312-abi3-macosx_11_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ x86-64

wood_nano-0.3.5-cp312-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

wood_nano-0.3.5-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

wood_nano-0.3.5-cp311-cp311-manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

wood_nano-0.3.5-cp311-cp311-macosx_11_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

wood_nano-0.3.5-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

wood_nano-0.3.5-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

wood_nano-0.3.5-cp310-cp310-manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

wood_nano-0.3.5-cp310-cp310-macosx_11_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

wood_nano-0.3.5-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

wood_nano-0.3.5-cp39-cp39-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9Windows x86-64

wood_nano-0.3.5-cp39-cp39-manylinux_2_28_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

wood_nano-0.3.5-cp39-cp39-macosx_11_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

wood_nano-0.3.5-cp39-cp39-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file wood_nano-0.3.5.tar.gz.

File metadata

  • Download URL: wood_nano-0.3.5.tar.gz
  • Upload date:
  • Size: 104.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wood_nano-0.3.5.tar.gz
Algorithm Hash digest
SHA256 a1627810e8e4e0b541458d7236a56ede3c9ea9eff69a91f95862325dbd729c25
MD5 8dc6f4867cde76b13eedff37f9f0d916
BLAKE2b-256 00153d1c87e5daa432b6e329cadeadf02f693f41a5959a3a48bfdc13c1eac91f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5.tar.gz:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: wood_nano-0.3.5-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wood_nano-0.3.5-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7b779bd23ed3170775ddf4b280866287e134f32ef26164063c1a20be6da7a7c3
MD5 200982698559c7334072ef8d5d609b59
BLAKE2b-256 74ec4b6869fcb764e40a095697e5a0b076896f89cab8a319ee8223178f5cd9ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp312-abi3-win_amd64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b5eaf87c66ee2f8a55091adcfa3f4e8bbb61807508ccff41f0c4290c8ff8958
MD5 fca76c47f4f9c038b1518f00666a90c5
BLAKE2b-256 14a23e20ed1230d69e92f8435f81b504f798f14bf29b9227e74567f8c7e0aa91

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp312-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp312-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e19f57e2488dd8f206ad0a5b24fd544a5333afee21430123a60b3ede206c5751
MD5 6d2052ebac6166b88f8b00a041fc496a
BLAKE2b-256 1d7242d2918180b47ff5124fbc9623dfe5870339fd82ee8c980ef7bc0386cda8

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp312-abi3-macosx_11_0_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13934ca1903cc14373414ae93e760e1d115fe640b4a6c5db4ce7c2988c5ee7a9
MD5 4de142f633de02dac53be6ff2d448573
BLAKE2b-256 e258a53bad0e8246e4fd3e607844e3f4c7c837b5549e5c26eecba512dc1cbf78

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: wood_nano-0.3.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wood_nano-0.3.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d63a5c66c8c21e47e07f63c1627bf78f432bd247104587cb08ab2cb7e7842768
MD5 fd098a25952899e34fc5f3bd4c7ae62b
BLAKE2b-256 edd040d71b6edaf3388fab5f05d8dc8237c68565d52804d61e34ce16f2776439

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp311-cp311-win_amd64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6e68eef96e33613eac167c63a738732839376bc73a5538b96c5247fc38c737d1
MD5 d3da43c0f908b27d6336ebf38d56ce64
BLAKE2b-256 e726115a509192965292ed5ecf08772a5b6786fd8e0f73f3c73666a6375fb2bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 90a839abe181725b9d2a51da9642e243b848bbb82595805033e08f38d69b8d1d
MD5 5bede53d6e3046d6fa9686b621c5395e
BLAKE2b-256 4e792479cdc2e685f93483bca688c1504690cff04e1a5f0a850d02ac31520a12

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp311-cp311-macosx_11_0_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae90837dbec1c42532a2519a42211cf1862b272d96214f9ec33547ab6397fdff
MD5 e36f7e6af14fb6076315ba912db079b8
BLAKE2b-256 0ac2cf87fd66ed6c61be6f468b21f3ead591ce736a5534569501b20615832211

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: wood_nano-0.3.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wood_nano-0.3.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 65b6788c013d049dc0ff2dd4cc831a966e7d5005060b6f59b50e401b98b238b7
MD5 abd36ecfb9b4e81a003b383654b1ccc8
BLAKE2b-256 a039f11fa6246892361eb3dd2742c8a87108d335d0acf0a9db0f4645eacce021

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp310-cp310-win_amd64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 66b7e13f0d71bc2e8d3b7f804bda6e22c400f45577ff025ce374afdd6e2c5fa1
MD5 f33543f0d00a5ba50e362bbe2d6d7f24
BLAKE2b-256 c9d529793911b86a23d90c48fb98bd2e1f54dbe9fde0fc1643251fb7336f7fb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 cac66b082ad53ddcab60438a4bdaf2bb557281514b7faa0e205dcb9f206fff64
MD5 6a15ba6f66b55737d1d955dd8020bdb1
BLAKE2b-256 c9a3dcd964f289e7b02b765096fd4b042a0600e955b19ff1fb4ec5583bd3be9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp310-cp310-macosx_11_0_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d3d103d60e80398dc7c1f044641b95265dd4522cb59a46e1d4405185763452f
MD5 28639ca91f53500a7a5147595dc0669a
BLAKE2b-256 299ccb90b3221e04fbaba13087f3382fba7cf5d7b58d534c6b20dea58f753b24

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: wood_nano-0.3.5-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wood_nano-0.3.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 554292b367c229e172a5b2a01d914a2cd1749610330b4520e368334d56969124
MD5 7b578153564e758f512df3aff0199997
BLAKE2b-256 0d13d7ed0704134e50ad1a26cf19e10c32d43e57d774e81b4ddcfdd40abd2f0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp39-cp39-win_amd64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab21294f1fb888d1a0b3ea4edcb379338ccb388bdc72d162b16225ebcbc173eb
MD5 b9f4cccaba14eba61a3b44301b7f877a
BLAKE2b-256 a041c97844bbb1882b43e22927853c0bd8659091f488dc9ca6f7b5ed342e0bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp39-cp39-manylinux_2_28_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ead4517178d601f0bbc6543feb6c4c975e18ccf2890d3aa516388c54ae85d490
MD5 15e34e2c36a86d45836dd2ffc5741cb8
BLAKE2b-256 e8d83d7fcc00a8f17ee7cdffc0d04a11d60b6d95e83a39fec12f93997c579d35

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp39-cp39-macosx_11_0_x86_64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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

File details

Details for the file wood_nano-0.3.5-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wood_nano-0.3.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 717597c32ef50f45ca503c3d1f5a1165566179af1ef1a3901f28b15eb1c4620b
MD5 c10d0e40e3773fde66d5feda2be9bb90
BLAKE2b-256 68fa5e376f3b73bbe170fec39418def32f3bc70bb6fe293ad49c46bd0c7917bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for wood_nano-0.3.5-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: release.yml on petrasvestartas/wood_nano

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