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

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / bsb_native-8.1.0.tar.gz

Download URL bsb_native-8.1.0.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7bbfe32e911cc474d57b126f38b77d9723d306abb5d11e3153d39fe2d2e8d7dd
BLAKE2b-256 checksum
How to use checksums
010b5a289604c5aa103ee088535a10df18c17cf84430c3b8510649fc885d6a10
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.0-cp310-abi3-win_amd64.whl

Download URL bsb_native-8.1.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
f1bdb6f0b16269b45dae27e39b12d02663568c70e041bf58e27826d3a1929359
BLAKE2b-256 checksum
How to use checksums
51c3214eef5de7bd83805772d5999ef1ff8ec44be088abe50589635e509c7e5d
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.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL bsb_native-8.1.0-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
950c978fd510f073fe03e99cca9283e027e262a04edd8d3e98a58c02cd37b784
BLAKE2b-256 checksum
How to use checksums
5cc89dc62a5f7742a968f5c88be0f25b1a18350d4e22ddce526f6de19d8efe3f
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.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL bsb_native-8.1.0-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
80b71b2930e4fa6c5dd7a3c98fd5aef46376170ff3890f94027f68239f2df600
BLAKE2b-256 checksum
How to use checksums
485eaa672ab39660236a2b7175d91779ea5bee7df62af8c0375b40545c95e686
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.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL bsb_native-8.1.0-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
07ba7eee00e0f84496fc8fbeb74f62f29c2d4b361483f1715cb79bc0105ed046
BLAKE2b-256 checksum
How to use checksums
47b18c322f70f24a209f5d50b830629b0b267c28c9e56631fe3985ae96f3a6d8
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.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL bsb_native-8.1.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
2efd4872f10bd40f14042145d2fd66e45d17dbf16cf8269c4c3cddfcc70c18e6
BLAKE2b-256 checksum
How to use checksums
6c3d4a812aca39f9a69ec833d232cb9b0d9c156dedda9871b2545858eac11cdc
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.0

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