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

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

Built distributions (wheels)

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

Download URL bsb_native-8.0.1.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dac82c7cea5f022b2adcb14858c64e0a52ac0adae9056b06e454b951e7aa5522
BLAKE2b-256 checksum
How to use checksums
afb984828f88731bbad3f9c0c3ab53e413849378f088453956d437f7dfc2d81e
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.1-cp310-abi3-win_amd64.whl

Download URL bsb_native-8.0.1-cp310-abi3-win_amd64.whl
Size 230.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b06f9cb665f66dfcb3e395619aaeea54ccdcc2b3c4066f6ffc8356136f633ee2
BLAKE2b-256 checksum
How to use checksums
59af8d7ec080649f5ac0507691b8c08b4d3af24d3ef8805273093ae7ad7bc3e0
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.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bsb_native-8.0.1-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
0ea831404d5652cefbfb543f495f8fd176a5edfca1b7f5007a5e0b9a2068f194
BLAKE2b-256 checksum
How to use checksums
1372e3ce8d15cc6d6b7673566d73e220a585a00f83941c34589a01a5145e953a
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.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL bsb_native-8.0.1-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
5a0ea5f5be163bf1d0f7a6e2650c7392b8247242d3e5a38f371db95ae76d49b8
BLAKE2b-256 checksum
How to use checksums
d62f0f550ee01f92a1e86e12659a7b7b9dabf65cccb47bdba193f66beacada68
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.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL bsb_native-8.0.1-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
21f2b0eafd45e19328e92b24caa8bc871c797271238a1ebe653527322d10d14c
BLAKE2b-256 checksum
How to use checksums
4f7a5ed7fe64f0f4e0c47ab0efe3c98906f7a6f6072f77cbfe9b3aa737d64036
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.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL bsb_native-8.0.1-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
e34369dcc06d1f545e4464b95cae50be44f56e40b809af05d9924576d1a2c1d4
BLAKE2b-256 checksum
How to use checksums
363aec1be57381d3a4ceaf7585da75783a827c5ac5acf30d8798a63d5137ac6d
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.1

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