Skip to main content

bsb-native

Native (Rust) numerical kernels for the BSB.

This package ships a compiled extension module (bsb_native._native) built from Rust with PyO3 + maturin. It exposes low-level kernels that the BSB's placement and connectivity strategies call:

  • poisson_disk(...) — Bridson Poisson-disk sampling in a 3D box, with optional fixed-point constraints (for seamless cross-chunk placement) and a seed for reproducibility.
  • SegmentTree — a per-morphology segment bounding-volume hierarchy (the "BLAS") with an exact capsule (segment-to-segment distance) query, used to find morphology contacts.

The package has no dependency on bsb-core: it is a pure numeric library (numpy in, numpy out), so the kernels are reusable and independently testable. The algorithm core is plain Rust unit-tested with cargo test; the PyO3 bindings live behind the python cargo feature that maturin enables.

Development

# Run the pure-Rust algorithm tests (no Python needed):
cargo test --manifest-path packages/bsb-native/Cargo.toml

# Build + install the extension into the active environment (editable):
maturin develop -m packages/bsb-native/Cargo.toml

Metadata

Release files for bsb-native 8.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bsb-native 8.0.0
File Size Uploaded
bsb_native-8.0.0.tar.gz 34.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for bsb-native 8.0.0
File
bsb_native-8.0.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
bsb_native-8.0.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
bsb_native-8.0.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
bsb_native-8.0.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
bsb_native-8.0.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 1.6 MB

Release files / bsb_native-8.0.0.tar.gz

Download URL bsb_native-8.0.0.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4bd44481ddadaba69ebd9a1b39afc0371814048f6da2dc57661ef5d8b975f7d6
BLAKE2b-256 checksum
How to use checksums
ed2d66bd19f9e12152da21e1b84e46fda2b0944bc4240e1ec830e8cabfe3c4ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / bsb_native-8.0.0-cp310-abi3-win_amd64.whl

Download URL bsb_native-8.0.0-cp310-abi3-win_amd64.whl
Size 230.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
74aea8b433a3eaf5659fb3473a6faa939cf4398be06270bc35eb8ed667c764de
BLAKE2b-256 checksum
How to use checksums
5b5d532035a0234e537671b91b44f164e35ef3949ac01ab81b6244c6465007b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / bsb_native-8.0.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bsb_native-8.0.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 361.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1da4ee72316310eaa66b574267d18ce4c149405fbdf033086ab3da23cdf9b868
BLAKE2b-256 checksum
How to use checksums
6deb21e793e8e952b41e207b5d4b41a284ab492cbdcdcea637075946d1599fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / bsb_native-8.0.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL bsb_native-8.0.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 359.3 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
c45916b683c546237e969727b4cec47ed475cee4dd1cca377a1a5c1e7c38fe0d
BLAKE2b-256 checksum
How to use checksums
f4255dc9ab0b86794f93e9352cc97ec1b7899a9f231b5d2ec9cd727797699e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / bsb_native-8.0.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL bsb_native-8.0.0-cp310-abi3-macosx_11_0_arm64.whl
Size 316.6 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
df9892b2a2b16d15d350c233b2a181a87440e80ef4fce158b1a74fa8d258f15a
BLAKE2b-256 checksum
How to use checksums
876551c79f8554015b2c7e7ace8d2ef84fa037262b20d6843362f1ba07c2adae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / bsb_native-8.0.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL bsb_native-8.0.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 324.1 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c2c2c104254213dacc479c7d34681d9ea2421b353b950240d98f6f665403d246
BLAKE2b-256 checksum
How to use checksums
b739e247b2a915c2804245420f21f9c01a6ba59328e4e06afac748c2f7520659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

8.0.0 This release

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page