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.1.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.1.1
File Size Uploaded Provenance Actions
bsb_native-8.1.1.tar.gz 34.2 kB With provenance Details for bsb_native-8.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / bsb_native-8.1.1.tar.gz

Download URL bsb_native-8.1.1.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2c86a212c73473157b6ae84eb105a1530e0a64a1bc62b5a38de220ca67687ed7
BLAKE2b-256 checksum
How to use checksums
c24dd95f5a45017bb5d02a88a39bd1f50ea1a05c1b21b33c6ab964c5593b72f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL bsb_native-8.1.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
4205ecf82c75deffc0a9ceb5419008ce27fc268ba28153bb59c3d59bccbc192d
BLAKE2b-256 checksum
How to use checksums
c9e82017d6ddc30d5bd5d28f6069b57fa130588ccd825aca7a7e8363b01c5683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL bsb_native-8.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 363.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f9cb29bbeb555fd4c28ff7984c0e7aab1f720f29efeec3d54597b9c784bd59a0
BLAKE2b-256 checksum
How to use checksums
bebe73247b0f709e77972b7ad9f94e9bbf870c22a0bb25498e7068d4243598cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

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

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 Nov 18, 2026.

Transparency log

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

Download URL bsb_native-8.1.1-cp310-abi3-macosx_11_0_arm64.whl
Size 319.3 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
12987f7cd42836bd61a06877b6a951ffbcd1d936442f3bb35b1749190dcb5c67
BLAKE2b-256 checksum
How to use checksums
0784ace6f663600f86b9b1de944b4cff49ec7e55ee5a10c04f8d8c533fc519cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL bsb_native-8.1.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
c23af249f51e91e14158b43baaa82c34d201442e15c0c52f9449a0c698ac3af2
BLAKE2b-256 checksum
How to use checksums
6d062c993a61241f5d7ff0b1171333fda199f58ea4c0c80c1019b3c4653f9e18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for bsb-native 8.1.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.1.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 Nov 18, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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