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

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

Built distributions (wheels)

Table of built distributions (wheels) for bsb-native 8.1.3
File Actions
bsb_native-8.1.3-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for bsb_native-8.1.3-cp310-abi3-win_amd64.whl
bsb_native-8.1.3-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.3-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
bsb_native-8.1.3-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for bsb_native-8.1.3-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
bsb_native-8.1.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for bsb_native-8.1.3-cp310-abi3-macosx_11_0_arm64.whl
bsb_native-8.1.3-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for bsb_native-8.1.3-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 1.6 MB

Release files / bsb_native-8.1.3.tar.gz

Download URL bsb_native-8.1.3.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9310d397e09df667fd4f5a14fe4ebc6a885a1dad3f387c8bf65dc060ebdcb24a
BLAKE2b-256 checksum
How to use checksums
b836f514b5f6c9a4a1d671672e854e492b08ed5e7cf107383722f7649502a94d
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.1.3-cp310-abi3-win_amd64.whl
Size 234.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
27f17f132b7feecca365fd7f9a23a30bdbf95aad0f8477b394d34e825641591a
BLAKE2b-256 checksum
How to use checksums
797d2bc6dabe0456a248f092523b5ad0812972b4ed60ba9837670bf6399e86e2
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.1.3-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
0364e6e4402bad0b08eb062098cb43d443ece39c76c2d085391d0a264efaaa2d
BLAKE2b-256 checksum
How to use checksums
a7a30cd111a51762e17ef63e9b7cadf2e8e967374dc68aeff95ce755cb6251d6
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.1.3-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
ad2a7da0237d2c58ddaaaf96a42f35856e50bfdf8220aa44e38dc8cab82d8573
BLAKE2b-256 checksum
How to use checksums
5f5796fefcc36019f284553796add51bb18606940c3472f587120c95ca52c9f1
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.1.3-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
0dba3ba4de0f7be8dbccb77223e840d8cc82bd51feef955731561e2c6064de90
BLAKE2b-256 checksum
How to use checksums
32c66717814234a99b333d0bc7c55cfc9b0f52db9581080b97203294c5da079d
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 20, 2026.

Transparency log

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

Download URL bsb_native-8.1.3-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
25cc051794d58739b4bc273834ca95091fa571b534f182d9d34a2b29a358ed05
BLAKE2b-256 checksum
How to use checksums
99ec7800cf6a52f4f001d82f2ffc7af68fa973e550095f1081f3a622ec4a448b
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 20, 2026.

Transparency log

Security for bsb-native 8.1.3

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

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