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.2

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.2
File Size Uploaded Provenance
bsb_native-8.0.2.tar.gz 34.1 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for bsb-native 8.0.2
File
bsb_native-8.0.2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
bsb_native-8.0.2-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.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
bsb_native-8.0.2-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
bsb_native-8.0.2-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.2.tar.gz

Download URL bsb_native-8.0.2.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1f74a01674f5dca057fc3bfb870fe092501999c0d03fbdc638fbbf4924dadb5d
BLAKE2b-256 checksum
How to use checksums
750970f7c1f40217fad59e021efbcb3c910ecd49c960047eead65b0c8ff9989e
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.0.2-cp310-abi3-win_amd64.whl
Size 230.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5e48a873ee97632379246bcc360f31f90c2f95760ca12c6d877418b2f061f979
BLAKE2b-256 checksum
How to use checksums
bc10d38dd207f02d04256a0116fb26df97353c8a89ffab9fa8b3a90785eba87f
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.0.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 361.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b7712a678ab5774ab7022a6a24a08ade56a529385916f87510b819427171aa08
BLAKE2b-256 checksum
How to use checksums
5097ce560765506913c495674b20883c180035943ad90f2c67a9663984fee4bd
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.0.2-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
5386fbee037f5e5dfebd51ba5056827e3ba05c67f9ac8cb754aff3ec87f15468
BLAKE2b-256 checksum
How to use checksums
c0e213d7084de0647bdd3114e4247881ba0376e161e068fe06ed1c7a648396ee
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.0.2-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
dce697be5f78a5fbe8f3f058b06655dfef4f6c9486e18a7f6173af4b694ca30e
BLAKE2b-256 checksum
How to use checksums
f4dfd2e0b2f47410d7bd57ea91b44b800d1f6426ffbaa8c83f9c6bdc54832bb0
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.0.2-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
27528026afff08a828df0314c375ab918ccbc1f24bbc2c4585e00f83d4f7835a
BLAKE2b-256 checksum
How to use checksums
0e31d5a1966f60ddf46e4e492e215354d7bcb24c9fe5566e925603d49aa4ec84
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 20, 2026.

Transparency log

Security for bsb-native 8.0.2

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for bsb_native-8.0.2.tar.gz

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 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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