Skip to main content

isobenefit

The Rust simulation core for the Isobenefit Urbanism QGIS plugin.

It is a pure compute engine: arrays in, arrays out. It never imports QGIS or performs any GIS IO; the plugin handles reading layers, reprojection, rasterization and writing rasters, then hands plain numpy arrays to this core.

Layout

  • src/neighbours.rs: neighbour iteration, contiguity counting, green-span checks
  • src/access.rs: heap-based bounded Dijkstra accessibility (parallel map-reduce)
  • src/density.rs: deterministic per-work-item RNG + density draws
  • src/sim.rs: the Simulation state machine and run_ensemble
  • src/lib.rs / src/py_bindings.rs: PyO3 bindings (built only with --features python)

Development

cargo test                 # pure-Rust algorithm tests (no Python needed)
maturin develop --release  # build + install the extension into the active venv
pytest tests_py            # Python-level golden + property tests

Parallelism (rayon) and determinism are first-class: results are independent of thread count. Reproducibility comes from per-work-item seeding (ChaCha8Rng derived from (seed, work_id)) and order-independent integer-sum reductions in the accessibility kernels.

Licensed under AGPL-3.0-or-later.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isobenefit-0.15.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

isobenefit-0.15.0-cp39-abi3-win_amd64.whl (277.0 kB view details)

Uploaded CPython 3.9+Windows x86-64

isobenefit-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (394.2 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

isobenefit-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (701.4 kB view details)

Uploaded CPython 3.9+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file isobenefit-0.15.0.tar.gz.

File metadata

  • Download URL: isobenefit-0.15.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for isobenefit-0.15.0.tar.gz
Algorithm Hash digest
SHA256 11c38b4e2bdc96d4440973015efb51dc1fbde5e1702114304d96159629f3ae65
MD5 f38e636a4fa9cfe8efe14e90f4de2a82
BLAKE2b-256 869b78cdd15d87f7b9d4dacd2f2c2ef44c77d19edd685b63f4135b0843698c62

See more details on using hashes here.

Provenance

The following attestation bundles were made for isobenefit-0.15.0.tar.gz:

Publisher: ci.yml on UCL/BSP-isobenefit-qgis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file isobenefit-0.15.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: isobenefit-0.15.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 277.0 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for isobenefit-0.15.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 171af581a53319fbf24aa3b2eedc0c22203b5f90e635cfa80f85b2e90f30e0b5
MD5 ff4d9161b51f19c2025ecd5a3f4a8d74
BLAKE2b-256 bc03f0dc22990b3e25db1a23d496b593f47d5a33d602beb6d556227a31a4b7c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for isobenefit-0.15.0-cp39-abi3-win_amd64.whl:

Publisher: ci.yml on UCL/BSP-isobenefit-qgis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file isobenefit-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for isobenefit-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4877ee0b40bd031744ff1b28bfce5e46a169d6eb4e23310e42f4576f4e51a1a0
MD5 02e757dfd2a197a257a49fabdd1a8f59
BLAKE2b-256 e18a2d9e3661a361456936f4abd12962a1b9041b8e18adcf37eaad068c0b531d

See more details on using hashes here.

Provenance

The following attestation bundles were made for isobenefit-0.15.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on UCL/BSP-isobenefit-qgis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file isobenefit-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for isobenefit-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 3e777072df82c046c204f0178e73a6ea41fffd6c2f790e033ccb9bb0c95e97dd
MD5 a68851a7c59dca35f7e00e2c588e3d59
BLAKE2b-256 1939d30adf17ed9e06064a7b8d211905c33e1e3e3442891eb96fd5b36c13967b

See more details on using hashes here.

Provenance

The following attestation bundles were made for isobenefit-0.15.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: ci.yml on UCL/BSP-isobenefit-qgis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.17.1

4 files

0.17.0

4 files

0.16.0

4 files

This release

0.15.0 This release

4 files

0.14.0

4 files

0.13.0

4 files

0.12.22

4 files

0.12.21

4 files

0.12.20

4 files

0.12.19

4 files

0.12.18

4 files

0.12.17

4 files

0.12.16

4 files

0.12.15

4 files

0.12.14

4 files

0.12.13

4 files

0.12.12

4 files

0.12.11

4 files

0.12.10

4 files

0.12.9

4 files

0.12.8

4 files

0.12.7

4 files

0.12.6

4 files

0.12.4

4 files

0.12.3

4 files

0.12.1

4 files

0.11.0

4 files

0.10.0

4 files

0.9.0

4 files

0.8.0

4 files

0.7.0

4 files

0.6.0

4 files

0.2.0

4 files

0.1.0

4 files

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